summaryrefslogtreecommitdiff
path: root/source3/smbd/filename.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-06-11 06:24:54 +0000
committerAndrew Tridgell <tridge@samba.org>2000-06-11 06:24:54 +0000
commit0fb1dbe7fa0da5a1374e4a8cb9c3e922c9a08c8d (patch)
tree07b6abd39ec717219fee0dee47650088fdac333a /source3/smbd/filename.c
parent8843a6379d7c1cf59f0f3673cbc567b09994b7d2 (diff)
downloadsamba-0fb1dbe7fa0da5a1374e4a8cb9c3e922c9a08c8d.tar.gz
samba-0fb1dbe7fa0da5a1374e4a8cb9c3e922c9a08c8d.tar.bz2
samba-0fb1dbe7fa0da5a1374e4a8cb9c3e922c9a08c8d.zip
fixed Linux capabilities handling
I used a trick where CAP_LEASE isn't claimed until it is needed. This means we avoid a system call per setreuid(), and never call capset() unless a user tries to get a oplock on a file that they don't own (This used to be commit afa98d511f70f455d599c3a36dd25e49fe74ac09)
Diffstat (limited to 'source3/smbd/filename.c')
0 files changed, 0 insertions, 0 deletions