Home
last modified time | relevance | path

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

12

/third_party/ltp/testcases/kernel/syscalls/prctl/
H A Dprctl07.c122 prctl(PR_SET_SECUREBITS, SECBIT_NO_CAP_AMBIENT_RAISE); in verify_prctl()
124 prctl(PR_SET_SECUREBITS, 0); in verify_prctl()
H A Dprctl02.c37 * - EPERM when option is PR_SET_SECUREBITS and the caller does not have the
108 {PR_SET_SECUREBITS, &num_0, &num_0, EPERM, "PR_SET_SECUREBITS"},
/third_party/libfuse/util/
H A Dmount.fuse.c189 if (prctl(PR_SET_SECUREBITS, in drop_and_lock_capabilities()
398 if (prctl(PR_SET_SECUREBITS, in main()
/third_party/musl/porting/liteos_a_newlib/kernel/include/sys/
H A Dprctl.h56 #define PR_SET_SECUREBITS 28 macro
/third_party/musl/porting/uniproton/kernel/include/sys/
H A Dprctl.h56 #define PR_SET_SECUREBITS 28 macro
/third_party/musl/porting/liteos_m/kernel/include/sys/
H A Dprctl.h56 #define PR_SET_SECUREBITS 28 macro
/third_party/musl/porting/liteos_a/kernel/include/sys/
H A Dprctl.h56 #define PR_SET_SECUREBITS 28 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/sys/
H A Dprctl.h56 #define PR_SET_SECUREBITS 28 macro
/third_party/ltp/testcases/kernel/security/securebits/
H A Dcheck_keepcaps.c20 b. do with prctl(PR_SET_SECUREBITS, SECURE_KEEP_CAPS)
132 ret = prctl(PR_SET_SECUREBITS, ret | SECBIT_KEEP_CAPS); in main()
135 "PR_SET_SECUREBITS failed"); in main()
140 "PR_SET_SECUREBITS did not set keepcaps"); in main()
/third_party/musl/include/sys/
H A Dprctl.h56 #define PR_SET_SECUREBITS 28 macro
/third_party/rust/crates/rustix/src/thread/
H A Dprctl.rs409 // PR_GET_SECUREBITS/PR_SET_SECUREBITS
454 const PR_SET_SECUREBITS: c_int = 28; consts
459 /// - [`prctl(PR_SET_SECUREBITS,...)`]
461 /// [`prctl(PR_SET_SECUREBITS,...)`]: https://man7.org/linux/man-pages/man2/prctl.2.html
464 unsafe { prctl_2args(PR_SET_SECUREBITS, bits.bits() as usize as *mut _) }.map(|_r| ()) in set_capabilities_secure_bits()
/third_party/rust/crates/libc/src/unix/linux_like/emscripten/
H A Dmod.rs1086 pub const PR_SET_SECUREBITS: ::c_int = 28; consts
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs2757 pub const PR_SET_SECUREBITS: ::c_int = 28; consts
/third_party/rust/crates/linux-raw-sys/src/aarch64/
H A Dgeneral.rs1225 pub const PR_SET_SECUREBITS: u32 = 28; consts
/third_party/rust/crates/libc/src/fuchsia/
H A Dmod.rs2569 pub const PR_SET_SECUREBITS: ::c_int = 28; consts
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs1980 pub const PR_SET_SECUREBITS: ::c_int = 28; consts
/third_party/rust/crates/linux-raw-sys/src/riscv64/
H A Dgeneral.rs1228 pub const PR_SET_SECUREBITS: u32 = 28; consts
/third_party/rust/crates/linux-raw-sys/src/riscv32/
H A Dgeneral.rs1220 pub const PR_SET_SECUREBITS: u32 = 28; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
H A Dgeneral.rs1238 pub const PR_SET_SECUREBITS: u32 = 28; consts
/third_party/rust/crates/linux-raw-sys/src/mips64/
H A Dgeneral.rs1233 pub const PR_SET_SECUREBITS: u32 = 28; consts
/third_party/rust/crates/linux-raw-sys/src/powerpc/
H A Dgeneral.rs1230 pub const PR_SET_SECUREBITS: u32 = 28; consts
/third_party/rust/crates/linux-raw-sys/src/mips/
H A Dgeneral.rs1225 pub const PR_SET_SECUREBITS: u32 = 28; consts
/third_party/rust/crates/linux-raw-sys/src/arm/
H A Dgeneral.rs1214 pub const PR_SET_SECUREBITS: u32 = 28; consts
/third_party/rust/crates/linux-raw-sys/src/sparc/
H A Dgeneral.rs1438 pub const PR_SET_SECUREBITS: u32 = 28; consts
/third_party/rust/crates/linux-raw-sys/src/s390x/
H A Dgeneral.rs1223 pub const PR_SET_SECUREBITS: u32 = 28; consts

Completed in 174 milliseconds

12