Lines Matching defs:bits
223 /// ID when setting the `S_ISUID` and `S_ISGID` bits on that file; that the effective group ID
225 /// `S_ISGID` bit on that file; that the `S_ISUID` and `S_ISGID` bits are cleared on successful
243 /// - Allow taking bits out of capability bounding set.
463 pub fn set_capabilities_secure_bits(bits: CapabilitiesSecureBits) -> io::Result<()> {
464 unsafe { prctl_2args(PR_SET_SECUREBITS, bits.bits() as usize as *mut _) }.map(|_r| ())
659 let bits = unsafe { prctl_1arg(PR_SVE_GET_VL)? } as c_uint;
661 vector_length_in_bytes: bits & PR_SVE_VL_LEN_MASK,
662 vector_length_inherited_across_execve: (bits & PR_SVE_VL_INHERIT) != 0,
690 let mut bits = vector_length_in_bytes & PR_SVE_VL_LEN_MASK;
693 bits |= PR_SVE_VL_INHERIT;
697 bits |= PR_SVE_SET_VL_ONEXEC;
700 prctl_2args(PR_SVE_SET_VL, bits as usize as *mut _).map(|_r| ())
725 let keys = keys.as_ref().map_or(0_u32, PointerAuthenticationKeys::bits);
782 let config = mode.as_ref().map_or(0_u32, TaggedAddressMode::bits)