summaryrefslogtreecommitdiffstats
path: root/source/profile/profile.c
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2007-02-14 02:37:14 +0000
committerJim McDonough <jmcd@samba.org>2007-02-14 02:37:14 +0000
commite2101ed77f746bc03c1aa6890068fd1f81cca4b5 (patch)
treeba11132f0a73af3ddf6a5f01fcd63bb654419878 /source/profile/profile.c
parent61bbf21f075441982f18160da83c6c1c5218b791 (diff)
downloadsamba-e2101ed77f746bc03c1aa6890068fd1f81cca4b5.tar.gz
samba-e2101ed77f746bc03c1aa6890068fd1f81cca4b5.tar.xz
samba-e2101ed77f746bc03c1aa6890068fd1f81cca4b5.zip
r21324: Add linux setlease to the vfs layer. Next round, as Volker points out,
it should be abstracted a little higher up so other os'es can have an entry, but it will take a bit more work. Thanks to Chetan Shringarpure and Mathias Dietz. I didn't increment the vfs number again because the kernel change notify stuff hasn't been released yet anyway.
Diffstat (limited to 'source/profile/profile.c')
-rw-r--r--source/profile/profile.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/profile/profile.c b/source/profile/profile.c
index fe03bc04a39..1b446f36c55 100644
--- a/source/profile/profile.c
+++ b/source/profile/profile.c
@@ -288,6 +288,7 @@ BOOL profile_setup(BOOL rdonly)
"syscall_ftruncate", /* PR_VALUE_SYSCALL_FTRUNCATE */
"syscall_fcntl_lock", /* PR_VALUE_SYSCALL_FCNTL_LOCK */
"syscall_kernel_flock", /* PR_VALUE_SYSCALL_KERNEL_FLOCK */
+ "syscall_linux_setlease", /* PR_VALUE_SYSCALL_LINUX_SETLEASE */
"syscall_fcntl_getlock", /* PR_VALUE_SYSCALL_FCNTL_GETLOCK */
"syscall_readlink", /* PR_VALUE_SYSCALL_READLINK */
"syscall_symlink", /* PR_VALUE_SYSCALL_SYMLINK */