summaryrefslogtreecommitdiff
path: root/include/sys/prctl.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/sys/prctl.h')
-rw-r--r--include/sys/prctl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/sys/prctl.h b/include/sys/prctl.h
index 4ba73f42..087a75c9 100644
--- a/include/sys/prctl.h
+++ b/include/sys/prctl.h
@@ -168,6 +168,15 @@ struct prctl_mm_map {
#define PR_SET_IO_FLUSHER 57
#define PR_GET_IO_FLUSHER 58
+#define PR_SET_SYSCALL_USER_DISPATCH 59
+#define PR_SYS_DISPATCH_OFF 0
+#define PR_SYS_DISPATCH_ON 1
+#define SYSCALL_DISPATCH_FILTER_ALLOW 0
+#define SYSCALL_DISPATCH_FILTER_BLOCK 1
+
+#define PR_PAC_SET_ENABLED_KEYS 60
+#define PR_PAC_GET_ENABLED_KEYS 61
+
int prctl (int, ...);
#ifdef __cplusplus