Home
last modified time | relevance | path

Searched refs:securebits (Results 1 – 7 of 7) sorted by relevance

/Linux-v4.19/include/linux/
Dsecurebits.h7 #define issecure(X) (issecure_mask(X) & current_cred_xxx(securebits))
Dcred.h133 unsigned securebits; /* SUID-less security management */ member
/Linux-v4.19/security/
Dcommoncap.c889 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()
/Linux-v4.19/security/keys/
Dprocess_keys.c866 new->securebits = old->securebits; in key_change_session_keyring()
/Linux-v4.19/kernel/
Dcred.c58 .securebits = SECUREBITS_DEFAULT,
Duser_namespace.c52 cred->securebits = SECUREBITS_DEFAULT; in set_cred_user_ns()
/Linux-v4.19/Documentation/security/
Dcredentials.rst173 3. Secure management flags (securebits).