repo.or.cz
/
Samba.git
/
search
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
first
·
prev
·
next
smbd: Use file_id_str_buf() in defer_open()
2019-09-10
V
ol
k
er Lendecke
smbd: Use file_id
_
str_bu
f
()
in defe
r
_
o
pen()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-09-10
Volke
r
Lendecke
sm
b
status: Use
file_id_str_buf() in
p
rint_brl()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-09-10
V
o
lker
Lendecke
smbd: Use file_id_st
r
_buf() in set_s
t
i
ck
y
_
writ
e
_tim
e
()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-09-10
Volke
r
L
e
nd
e
c
ke
s
mbd:
U
s
e f
i
l
e
_id_str_buf
(
) in share_mode_str()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-09-10
Volker Lendecke
smbd: Use file_id
_
str_b
u
f() i
n
brl_c
l
eanup_discon
n
ected
(
)
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-09-10
Volk
e
r Lendecke
smbd
:
Use f
i
l
e_
i
d_str_
b
uf() in brl_get_locks()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-09-10
Volker Len
d
ecke
vfs: Use file_id_str_buf() in xa
t
tr_tdb_setattr
(
)
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-09-10
Vo
l
ker Lendecke
vfs: Us
e
file_i
d
_
str_b
u
f() in x
a
t
tr_tdb
_
getattr()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-09-10
Vol
k
e
r
L
endecke
lib: U
s
e file_
i
d_str_buf() in file
_
id_string()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-09-10
Volker Lende
c
ke
l
ib: Add file_id_str_b
u
f()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-09-10
Vol
k
er Lendecke
lib: Pr
o
perly #ifde
f
__LIB_FILE_ID_H__
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-09-04
Vol
k
er Le
n
decke
tortur
e
: Fix the FreeBSD clang
b
uild
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-09-04
V
o
lker Len
d
ecke
samr: Fix CID 145346
3
: Null point
e
r dere
f
erences
(
NUL
L
_RETURNS)
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-09-04
V
o
lker Lendecke
dsd
b
: Fix
C
I
D
1
4534
6
4: E
r
r
or handling is
s
ues (CHE
C
K
ED
_
RETURN)
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-09-04
Volker Lendec
k
e
d
sdb: Fix CID 1453465: Null
p
o
i
nter derefe
r
ences (NULL_RETURNS)
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-20
V
o
lker Lendecke
smbd: M
o
v
e
lease type
detection in d
e
lay_
f
o
r_oplo
c
k()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Volker
L
end
e
cke
smbd: Mer
g
e grant_fsp
_
oplock_type() into dela
y
_
f
o
r_oplock()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Volker Lendecke
smbd: Mo
v
e de
l
ay_fo
r
_oplock() down
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Vol
k
e
r Lende
c
ke
smbd: Mak
e
d
e
la
y
_for_oplo
c
k
(
) return
NTSTATUS
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
V
o
lker Lendecke
smbd:
S
lightly simplify grant_fsp_oplock_type()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Volker
L
endecke
smbd:
Slightly simplify de
l
ay_for_oplock()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
V
olke
r
Lend
e
ck
e
smb
d
: Introdu
c
e
h
andl
e
_
s
hare_mode_lea
s
e
(
)
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Volker
L
e
n
decke
smbd: Move set_share_mod
e
() out of grant_fsp_oplock
_
type()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Volker Le
n
de
c
k
e
smbd: Move grant_fsp_opl
o
ck_type()
c
l
o
se to
d
elay_f
o
r_
o
plock(
)
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Volker Lendecke
smbd:
S
l
ightly si
m
plify open_
f
i
l
e_
n
tcreate()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Volker Lendecke
smbd:
R
emove
a
l
ate ref to "
f
i
l
e_existed" in op
e
n_
f
ile_ntcre
.
.
.
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Vol
k
er Lendecke
sm
b
d
:
Move reset
t
ing "oploc
k
_request" t
o
b
efore delay_for
_
op
.
.
.
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
V
o
lk
e
r
L
en
d
e
cke
smbd
:
For kernel-oploc
k
ed files do
n
't call delay_for_opl
o
c
k
(
)
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Vol
k
er Lend
e
cke
smbd:
O
ption
a
lly wait for
a share mode record in setup_poll_
.
.
.
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Volker Lendec
k
e
smb
d
: Simplify h
a
s_other_nonposi
x
_
o
pens()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Volker Lende
c
k
e
smbd: Align
i
nteg
e
r
t
ypes
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Volker Lendeck
e
smbd:
Si
m
plify delay_for_
o
p
l
ock()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Volker Lendecke
smbd: Move
is_sa
m
e_
l
e
ase() up in t
h
e
file
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Volker Lendecke
smbd:
S
i
m
plify is_same_lease
(
)
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Volk
e
r
Lend
e
ck
e
smbd
:
Optimiz
e
delay_for_oplock()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Volker Lendecke
lib: R
e
move a
d
upl
i
c
a
t
e
fu
n
c
t
ion prototype
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Volk
e
r Lendecke
smbd:
R
emove a m
i
sleadi
n
g
comment
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
V
olker Lendecke
smbd
:
Merg
e
two DEBUGs into
o
n
e
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
Vo
l
k
er Len
d
ecke
smbd: Avoid casts in sh
a
r
e_conflict()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
V
o
lker Lendecke
s
m
bd: Sa
v
e
two
l
ine
s
in find_share_mod
e
_entry
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-19
V
olker
Lend
e
cke
lib: M
i
cro-op
t
imiza
t
ion for
d
b
_
tdb
_
d
o
_locked()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-14
Volke
r
L
endec
k
e
smbd: Fix CID
1
452293 In
c
orrect expres
s
i
on (NO_EFFECT)
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-14
Volker Lendeck
e
torture: Fix CID 1452288 Null pointer dereferences
.
.
.
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-14
Vo
l
ker Len
d
eck
e
lib: CID 145
2
2
89:
API usa
g
e errors
(
USE_AFTER_FRE
E
)
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-14
Volker Lend
e
ck
e
s
mbd: Fix CID 14
5
2290 Null pointer
d
ereferences (REVERSE_INUL
L
)
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-14
Vo
l
ke
r
Lendecke
smb
d
:
Fix C
I
D 1452291 Null p
o
inter dere
f
e
rences
(NULL_RETURNS)
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-14
Volk
e
r Lendecke
l
ibrp
c
: Fix C
I
D
145229
2
Null pointer dereferences
.
.
.
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-10
V
olker Lendecke
sm
b
d: Simplify fd_ope
n
_atomic()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-09
V
olker Lendecke
smbd: FTRUNCATE
r
egu
l
ar
files only
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-09
Volker Len
d
ecke
smbd: Make "lease
"
cons
t
in SMB_V
F
S_
C
REATE_FILE()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-09
Volker Lendecke
smbd: Make "lease" const in c
r
e
a
te
_
f
i
le_de
f
ault()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-09
Volk
e
r Len
d
ecke
smbd: Make "lease
"
cons
t
in
c
r
eate_file_
u
nixpath()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-09
Volker
Lendecke
smbd: Make "lease_key" const
i
n lease_match()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-09
Volke
r
Lendecke
smbd:
Make "leas
e
"
con
s
t in open_
f
ile_ntcreate()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-09
Volker
L
endecke
smbd: Ma
k
e
"leas
e
" co
n
st
i
n grant_
f
s
p
_oplock_type()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-09
Vol
k
er Lendecke
s
mbd: Nobo
d
y
u
ses the cha
n
ge
d
"lease" from
grant_fsp_oplock_
t
ype
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-09
V
o
lker
L
endeck
e
mdssvc: Fix the clang build
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-08
Volker
L
end
e
c
ke
torture: SMB1 unl
i
nk
n
ee
d
s delay
f
or a strea
m
's SHARING_VIOL
.
.
.
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-07
Volker L
e
n
d
e
c
ke
smbd: Mo
v
e
handling th
e
1sec sharing
_
vio
l
ation delay
.
.
.
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-07
Vol
k
er Lendecke
s
m
bd: Add defe
r
_
s
hari
n
g
_
v
iolation_smb1
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-07
Volker Le
n
d
e
cke
s
mbd: Ge
t
"req->req
u
est_tim
e
" early in create
_
file_default()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-07
V
o
lker Lend
e
c
ke
smbd: Do
not exce
e
d the
r
eq's max timeou
t
in setu
p
_pol
l
_open()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-07
Volker L
e
ndeck
e
smbd: Make s
e
tup_po
l
l_open() ret
u
rn bool
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-07
Volker Lendecke
smbd: Make
setup_kernel_oplock_poll_open() more ge
n
eral
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-07
Vo
l
k
er
L
ende
c
k
e
smb
d
: Avoid exit_server() in s
e
tup_kernel_oplock_poll_open()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-07
Volker Lend
e
cke
s
m
bd
:
Re
m
ove access check on SHARING_VIOLATION
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker
L
endecke
s
m
bd: Asser
t
th
a
t INTERNAL_OPEN_ONLY nev
e
r gets r
e
al
.
.
.
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
V
olker L
e
ndecke
smbd: Remove deferred_op
e
n_record_cr
e
ate()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker Lendeck
e
smbd: Remove "del
a
yed_f
o
r
_
o
p
l
ock
s
"
from de
f
erred_open_record
.
.
.
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker Lendecke
smb
d
:
Remove "deferred_open_r
e
cord->delayed_fo
r
_oplocks"
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker Lendecke
smbd: Remove
"id" from deferred
_
open_r
e
cord
_
cr
e
a
te()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker Lendeck
e
smbd:
R
em
o
ve "deferred_open_record->id"
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
V
o
lker
L
ende
c
ke
smbd: Clean up
l
eases
.
t
d
b
i
f set_sh
a
re
_
mode() f
a
i
ls
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker Lendecke
smb
d
: Factor
out remove_lease_if_s
t
al
e
(
)
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
V
olker Lendec
k
e
sm
b
d: Inline remove_oplock_under_lo
c
k() i
n
to its only
.
.
.
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker Lendecke
smbd
:
Make re
m
o
v
e_oploc
k
_under
_
lock static
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker Lendecke
smbd: Sl
i
ghtly simplify set_share
_
mode(
)
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Vo
l
ker
L
endeck
e
s
mbd: Mo
v
e
f
sp_c
l
ient_guid
(
)
t
o locki
n
g/
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
V
o
lke
r
Lendec
k
e
smbd: Slightly optimize reply_o
p
e
n_and_X()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker
Lendecke
sm
b
d:
R
emov
e
"
share_acc
e
ss"
from fcb_or_
d
os
_
o
pen()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volk
e
r Lendecke
s
mbd: Remove "share_a
c
ces
s
"
from d
u
p
_f
i
le_fsp()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker Le
n
decke
s
mb
d
:
R
em
o
ve "share_
a
c
c
ess"
f
ro
m
f
il
e
s_struct
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker
L
endec
k
e
vfs_gpfs: Avoid "fsp->sha
r
e_access" in
vfs_gpfs_kern
e
l_fl
o
ck(
)
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker Lendec
k
e
s
m
bd: Pass
s
hare_acces
s
/access
_
mask e
x
plicitly t
o
grant_fsp_
.
.
.
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker Lende
c
k
e
sm
b
d
:
P
ass
s
hare_acce
s
s/access_mask e
x
plici
t
l
y to set_
s
har
e
_
.
.
.
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
V
o
lker Lend
e
cke
smb
d
: Fix a typo
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volke
r
L
e
ndecke
sm
b
d: Fix a typ
o
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker Lendecke
smbd: Enhance deb
u
ggi
n
g in
p
u
s
h
_defe
r
r
e
d
_
op
e
n
_mes
s
ag
e
_smb()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Vol
k
er Lendeck
e
s
mbd:
U
se timeval_str
_
buf() in
defer_open()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker Len
d
ecke
smbd
:
Fix a signed/unsigne
d
warning
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker Lendecke
smbd:
Fix a signed/unsigne
d
comparison
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Vol
k
er
Lendecke
smbd: R
e
move a fal
s
e
c
ommen
t
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
V
o
lk
e
r Lendecke
torture3: Don
'
t duplic
a
t
e
set_bl
o
c
k
ing()
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volk
e
r Lendecke
lib: Rem
o
ve a duplicate prototype for set_bloc
k
ing(
)
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker Lendecke
buil
d
: Only ch
e
ck rpc/xd
r
.
h
in tirpc if require
d
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker Lendecke
vfs: F
i
x the
n
f
s4acl build
o
n Fr
e
e
B
SD
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volker Lendecke
build
:
Correctly detect rpc/xdr
.
h on FreeBSD
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
V
olker
L
endeck
e
wscript: Fix a typo
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volk
e
r Lendecke
wi
n
bind: Fix the clang build
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
2019-08-06
Volke
r
Lendecke
v
fs: F
i
x the FreeB
S
D
nfs4a
c
l build
Signed-off-by:
Volker Lendecke
<vl@samba.org>
commit
|
commitdiff
|
tree
next