Home
last modified time | relevance | path

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

12

/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dprctl.h19 #define PR_SET_KEEPCAPS 8 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dprctl.h19 #define PR_SET_KEEPCAPS 8 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dprctl.h19 #define PR_SET_KEEPCAPS 8 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dprctl.h19 #define PR_SET_KEEPCAPS 8 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dprctl.h19 #define PR_SET_KEEPCAPS 8 macro
/third_party/ltp/testcases/kernel/security/securebits/
H A Dcheck_keepcaps.c18 a. do with prctl(PR_SET_KEEPCAPS)
24 results, and execute that as test 4 after doing PR_SET_KEEPCAPS).
119 ret = prctl(PR_SET_KEEPCAPS, 1); in main()
122 "PR_SET_KEEPCAPS failed"); in main()
127 "PR_SET_KEEPCAPS did not set keepcaps"); in main()
/third_party/musl/include/sys/
H A Dprctl.h19 #define PR_SET_KEEPCAPS 8 macro
/third_party/libwebsockets/lib/plat/unix/
H A Dunix-caps.c46 prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); in _lws_plat_apply_caps()
/third_party/rust/crates/rustix/src/thread/
H A Dprctl.rs22 // PR_GET_KEEPCAPS/PR_SET_KEEPCAPS
38 const PR_SET_KEEPCAPS: c_int = 8; consts
43 /// - [`prctl(PR_SET_KEEPCAPS,...)`]
45 /// [`prctl(PR_SET_KEEPCAPS,...)`]: https://man7.org/linux/man-pages/man2/prctl.2.html
48 unsafe { prctl_2args(PR_SET_KEEPCAPS, enable as usize as *mut _) }.map(|_r| ()) in set_keep_capabilities()
/third_party/ltp/testcases/kernel/security/filecaps/
H A Dverify_caps_exec.c80 prctl(PR_SET_KEEPCAPS, 1); in drop_root()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
H A Dos_unix.c349 prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); in os_program_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
H A Dos_unix.c357 prctl(PR_SET_KEEPCAPS, 1, 0, 0, 0); in os_program_init()
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/
H A Dmod.rs1040 pub const PR_SET_KEEPCAPS: ::c_int = 8; consts
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs1188 pub const PR_SET_KEEPCAPS: u32 = 8; consts
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs2523 pub const PR_SET_KEEPCAPS: ::c_int = 8; consts
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs1934 pub const PR_SET_KEEPCAPS: ::c_int = 8; consts
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs1191 pub const PR_SET_KEEPCAPS: u32 = 8; consts
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs1183 pub const PR_SET_KEEPCAPS: u32 = 8; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
H A Dgeneral.rs1201 pub const PR_SET_KEEPCAPS: u32 = 8; consts
/third_party/rust/crates/linux-raw-sys/src/mips64/
H A Dgeneral.rs1196 pub const PR_SET_KEEPCAPS: u32 = 8; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc/
H A Dgeneral.rs1193 pub const PR_SET_KEEPCAPS: u32 = 8; consts
/third_party/rust/crates/linux-raw-sys/src/mips/
H A Dgeneral.rs1188 pub const PR_SET_KEEPCAPS: u32 = 8; consts
/third_party/rust/crates/linux-raw-sys/src/arm/
H A Dgeneral.rs1177 pub const PR_SET_KEEPCAPS: u32 = 8; consts
/third_party/rust/crates/linux-raw-sys/src/sparc/
H A Dgeneral.rs1401 pub const PR_SET_KEEPCAPS: u32 = 8; consts
/third_party/rust/crates/linux-raw-sys/src/s390x/
H A Dgeneral.rs1186 pub const PR_SET_KEEPCAPS: u32 = 8; consts

Completed in 159 milliseconds

12