Home
last modified time | relevance | path

Searched refs:PR_SET_NO_NEW_PRIVS (Results 1 - 25 of 29) sorted by relevance

12

/third_party/ltp/include/lapi/
H A Dprctl.h39 #ifndef PR_SET_NO_NEW_PRIVS
40 # define PR_SET_NO_NEW_PRIVS 38 macro
/third_party/ltp/testcases/kernel/syscalls/prctl/
H A Dprctl02.c20 * - EINVAL when option is PR_SET_NO_NEW_PRIVS & arg2 is not equal to 1 &
22 * - EINVAL when option is PR_SET_NO_NEW_PRIVS & arg2 is equal to 1 & arg3
99 {PR_SET_NO_NEW_PRIVS, &num_0, &num_0, EINVAL, "PR_SET_NO_NEW_PRIVS"},
100 {PR_SET_NO_NEW_PRIVS, &num_1, &num_1, EINVAL, "PR_SET_NO_NEW_PRIVS"},
126 case PR_SET_NO_NEW_PRIVS: in verify_prctl()
H A Dprctl06.c10 * Test PR_GET_NO_NEW_PRIVS and PR_SET_NO_NEW_PRIVS of prctl(2).
43 TEST(prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0)); in do_prctl()
45 tst_res(TFAIL | TTERRNO, "prctl(PR_SET_NO_NEW_PRIVS) failed"); in do_prctl()
48 tst_res(TPASS, "prctl(PR_SET_NO_NEW_PRIVS) succeeded"); in do_prctl()
/third_party/libfuse/util/
H A Dmount.fuse.c47 #ifndef PR_SET_NO_NEW_PRIVS
48 #define PR_SET_NO_NEW_PRIVS 38 macro
228 if (prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) == -1) { in drop_and_lock_capabilities()
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dprctl.h111 #define PR_SET_NO_NEW_PRIVS 38 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dprctl.h111 #define PR_SET_NO_NEW_PRIVS 38 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dprctl.h111 #define PR_SET_NO_NEW_PRIVS 38 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dprctl.h111 #define PR_SET_NO_NEW_PRIVS 38 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dprctl.h111 #define PR_SET_NO_NEW_PRIVS 38 macro
/third_party/musl/include/sys/
H A Dprctl.h111 #define PR_SET_NO_NEW_PRIVS 38 macro
/third_party/rust/crates/rustix/src/thread/
H A Dprctl.rs499 // PR_GET_NO_NEW_PRIVS/PR_SET_NO_NEW_PRIVS
515 const PR_SET_NO_NEW_PRIVS: c_int = 38; consts
520 /// - [`prctl(PR_SET_NO_NEW_PRIVS,...)`]
522 /// [`prctl(PR_SET_NO_NEW_PRIVS,...)`]: https://man7.org/linux/man-pages/man2/prctl.2.html
525 unsafe { prctl_2args(PR_SET_NO_NEW_PRIVS, no_new_privs as usize as *mut _) }.map(|_r| ()) in set_no_new_privs()
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/
H A Dmod.rs1126 pub const PR_SET_NO_NEW_PRIVS: ::c_int = 38; consts
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs2766 pub const PR_SET_NO_NEW_PRIVS: ::c_int = 38; consts
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs1256 pub const PR_SET_NO_NEW_PRIVS: u32 = 38; consts
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs2609 pub const PR_SET_NO_NEW_PRIVS: ::c_int = 38; consts
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs2020 pub const PR_SET_NO_NEW_PRIVS: ::c_int = 38; consts
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs1259 pub const PR_SET_NO_NEW_PRIVS: u32 = 38; consts
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs1251 pub const PR_SET_NO_NEW_PRIVS: u32 = 38; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
H A Dgeneral.rs1269 pub const PR_SET_NO_NEW_PRIVS: u32 = 38; consts
/third_party/rust/crates/linux-raw-sys/src/mips64/
H A Dgeneral.rs1264 pub const PR_SET_NO_NEW_PRIVS: u32 = 38; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc/
H A Dgeneral.rs1261 pub const PR_SET_NO_NEW_PRIVS: u32 = 38; consts
/third_party/rust/crates/linux-raw-sys/src/mips/
H A Dgeneral.rs1256 pub const PR_SET_NO_NEW_PRIVS: u32 = 38; consts
/third_party/rust/crates/linux-raw-sys/src/arm/
H A Dgeneral.rs1245 pub const PR_SET_NO_NEW_PRIVS: u32 = 38; consts
/third_party/rust/crates/linux-raw-sys/src/sparc/
H A Dgeneral.rs1469 pub const PR_SET_NO_NEW_PRIVS: u32 = 38; consts
/third_party/rust/crates/linux-raw-sys/src/s390x/
H A Dgeneral.rs1254 pub const PR_SET_NO_NEW_PRIVS: u32 = 38; consts

Completed in 181 milliseconds

12