Searched refs:securebits (Results 1 – 7 of 7) sorted by relevance
7 #define issecure(X) (issecure_mask(X) & current_cred_xxx(securebits))
133 unsigned securebits; /* SUID-less security management */ member
889 new->securebits &= ~issecure_mask(SECURE_KEEP_CAPS); in cap_bprm_set_creds()1210 if ((((old->securebits & SECURE_ALL_LOCKS) >> 1) in cap_task_prctl()1211 & (old->securebits ^ arg2)) /*[1]*/ in cap_task_prctl()1212 || ((old->securebits & SECURE_ALL_LOCKS & ~arg2)) /*[2]*/ in cap_task_prctl()1231 new->securebits = arg2; in cap_task_prctl()1235 return old->securebits; in cap_task_prctl()1250 new->securebits |= issecure_mask(SECURE_KEEP_CAPS); in cap_task_prctl()1252 new->securebits &= ~issecure_mask(SECURE_KEEP_CAPS); in cap_task_prctl()
866 new->securebits = old->securebits; in key_change_session_keyring()
58 .securebits = SECUREBITS_DEFAULT,
52 cred->securebits = SECUREBITS_DEFAULT; in set_cred_user_ns()
173 3. Secure management flags (securebits).