Searched refs:issecure_mask (Results 1 – 3 of 3) sorted by relevance
9 #define issecure_mask(X) (1 << (X)) macro22 #define SECBIT_NOROOT (issecure_mask(SECURE_NOROOT))23 #define SECBIT_NOROOT_LOCKED (issecure_mask(SECURE_NOROOT_LOCKED))32 #define SECBIT_NO_SETUID_FIXUP (issecure_mask(SECURE_NO_SETUID_FIXUP))34 (issecure_mask(SECURE_NO_SETUID_FIXUP_LOCKED))44 #define SECBIT_KEEP_CAPS (issecure_mask(SECURE_KEEP_CAPS))53 (issecure_mask(SECURE_NO_CAP_AMBIENT_RAISE_LOCKED))55 #define SECURE_ALL_BITS (issecure_mask(SECURE_NOROOT) | \56 issecure_mask(SECURE_NO_SETUID_FIXUP) | \57 issecure_mask(SECURE_KEEP_CAPS) | \[all …]
7 #define issecure(X) (issecure_mask(X) & current_cred_xxx(securebits))
963 new->securebits &= ~issecure_mask(SECURE_KEEP_CAPS); in cap_bprm_creds_from_file()1344 new->securebits |= issecure_mask(SECURE_KEEP_CAPS); in cap_task_prctl()1346 new->securebits &= ~issecure_mask(SECURE_KEEP_CAPS); in cap_task_prctl()
Completed in 11 milliseconds