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))45 #define SECBIT_KEEP_CAPS_LOCKED (issecure_mask(SECURE_KEEP_CAPS_LOCKED))51 #define SECBIT_NO_CAP_AMBIENT_RAISE (issecure_mask(SECURE_NO_CAP_AMBIENT_RAISE))53 (issecure_mask(SECURE_NO_CAP_AMBIENT_RAISE_LOCKED))55 #define SECURE_ALL_BITS (issecure_mask(SECURE_NOROOT) | \[all …]
7 #define issecure(X) (issecure_mask(X) & current_cred_xxx(securebits))
960 new->securebits &= ~issecure_mask(SECURE_KEEP_CAPS); in cap_bprm_creds_from_file()1341 new->securebits |= issecure_mask(SECURE_KEEP_CAPS); in cap_task_prctl()1343 new->securebits &= ~issecure_mask(SECURE_KEEP_CAPS); in cap_task_prctl()