File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
src/unix/linux_like/android Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -1638,6 +1638,10 @@ POSIX_FADV_SEQUENTIAL
16381638POSIX_FADV_WILLNEED
16391639PR_SET_VMA
16401640PR_SET_VMA_ANON_NAME
1641+ PR_SET_NO_NEW_PRIVS
1642+ PR_GET_NO_NEW_PRIVS
1643+ PR_GET_SECCOMP
1644+ PR_SET_SECCOMP
16411645PRIO_MAX
16421646PRIO_MIN
16431647PRIO_PGRP
Original file line number Diff line number Diff line change @@ -2498,6 +2498,10 @@ pub const PROP_NAME_MAX: ::c_int = 32;
24982498// sys/prctl.h
24992499pub const PR_SET_VMA : :: c_int = 0x53564d41 ;
25002500pub const PR_SET_VMA_ANON_NAME : :: c_int = 0 ;
2501+ pub const PR_SET_NO_NEW_PRIVS : :: c_int = 38 ;
2502+ pub const PR_GET_NO_NEW_PRIVS : :: c_int = 39 ;
2503+ pub const PR_GET_SECCOMP : :: c_int = 21 ;
2504+ pub const PR_SET_SECCOMP : :: c_int = 22 ;
25012505
25022506f ! {
25032507 pub fn CMSG_NXTHDR ( mhdr: * const msghdr,
You can’t perform that action at this time.
0 commit comments