summaryrefslogtreecommitdiff
path: root/source4/lib/util
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/util')
-rw-r--r--source4/lib/util/capability.c12
-rw-r--r--source4/lib/util/fault.m42
-rw-r--r--source4/lib/util/signal.m41
-rw-r--r--source4/lib/util/util.m41
4 files changed, 4 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
-}
diff --git a/source4/lib/util/fault.m4 b/source4/lib/util/fault.m4
new file mode 100644
index 0000000000..6d2c4f2a6a
--- /dev/null
+++ b/source4/lib/util/fault.m4
@@ -0,0 +1,2 @@
+AC_CHECK_HEADER(execinfo.h)
+AC_CHECK_FUNCS(backtrace)
diff --git a/source4/lib/util/signal.m4 b/source4/lib/util/signal.m4
new file mode 100644
index 0000000000..c6d7f72f68
--- /dev/null
+++ b/source4/lib/util/signal.m4
@@ -0,0 +1 @@
+AC_CHECK_FUNCS(sigprocmask sigblock sigaction)
diff --git a/source4/lib/util/util.m4 b/source4/lib/util/util.m4
new file mode 100644
index 0000000000..9e362954cd
--- /dev/null
+++ b/source4/lib/util/util.m4
@@ -0,0 +1 @@
+AC_CHECK_FUNCS(setsid)