summaryrefslogtreecommitdiff
path: root/source4/lib/util/capability.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-05-13 18:12:53 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:05:58 -0500
commit53f005f6aaa2aa2eb599e6787e2c700a1d44d2a2 (patch)
treed510574c7415fb019edccdb2df210ed2da26e5a7 /source4/lib/util/capability.c
parent089cbd4a8e8108306ba92b01746ecd261e9fdd7c (diff)
downloadsamba-53f005f6aaa2aa2eb599e6787e2c700a1d44d2a2.tar.gz
samba-53f005f6aaa2aa2eb599e6787e2c700a1d44d2a2.tar.bz2
samba-53f005f6aaa2aa2eb599e6787e2c700a1d44d2a2.zip
r15572: Trim build/m4/rewrite.m4 a bit more, remove unused tests.
(This used to be commit d72c5c8f755277eb22e1f6834d98202f00c09934)
Diffstat (limited to 'source4/lib/util/capability.c')
-rw-r--r--source4/lib/util/capability.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source4/lib/util/capability.c b/source4/lib/util/capability.c
index 683bc99723..7d8222fe11 100644
--- a/source4/lib/util/capability.c
+++ b/source4/lib/util/capability.c
@@ -102,15 +102,3 @@ static BOOL set_inherited_process_capability( uint32_t cap_flag, BOOL enable )
return True;
}
#endif
-
-/**
- Gain the oplock capability from the kernel if possible.
-**/
-
-_PUBLIC_ void oplock_set_capability(BOOL this_process, BOOL inherit)
-{
-#if HAVE_KERNEL_OPLOCKS_IRIX
- set_process_capability(KERNEL_OPLOCK_CAPABILITY,this_process);
- set_inherited_process_capability(KERNEL_OPLOCK_CAPABILITY,inherit);
-#endif
-}