author | Szabolcs Nagy <nsz@port70.net> | 2021年03月07日 20:50:17 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2022年03月08日 17:19:38 -0500 |
commit | f35b99b38721c0e76152069254b642dd345da784 (patch) | |
tree | 89cc1d506db69acfeea6d62c320dcae16a2dbdf6 | |
parent | b21f3ded780cc8fd8e510c99aeaf4a453d8c8a22 (diff) | |
download | musl-f35b99b38721c0e76152069254b642dd345da784.tar.gz |
-rw-r--r-- | include/sys/prctl.h | 6 |
diff --git a/include/sys/prctl.h b/include/sys/prctl.h index 4ba73f42..3f0254c7 100644 --- a/include/sys/prctl.h +++ b/include/sys/prctl.h @@ -168,6 +168,12 @@ 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 + int prctl (int, ...); #ifdef __cplusplus |