Home
last modified time | relevance | path

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

/linux-6.1.9/security/
Dcommoncap.c968 new->securebits &= ~issecure_mask(SECURE_KEEP_CAPS); in cap_bprm_creds_from_file()
1308 if ((((old->securebits & SECURE_ALL_LOCKS) >> 1) in cap_task_prctl()
1309 & (old->securebits ^ arg2)) /*[1]*/ in cap_task_prctl()
1310 || ((old->securebits & SECURE_ALL_LOCKS & ~arg2)) /*[2]*/ in cap_task_prctl()
1330 new->securebits = arg2; in cap_task_prctl()
1334 return old->securebits; in cap_task_prctl()
1349 new->securebits |= issecure_mask(SECURE_KEEP_CAPS); in cap_task_prctl()
1351 new->securebits &= ~issecure_mask(SECURE_KEEP_CAPS); in cap_task_prctl()
/linux-6.1.9/include/linux/
Dsecurebits.h7 #define issecure(X) (issecure_mask(X) & current_cred_xxx(securebits))
Dcred.h127 unsigned securebits; /* SUID-less security management */ member
/linux-6.1.9/security/keys/
Dprocess_keys.c941 new->securebits = old->securebits; in key_change_session_keyring()
/linux-6.1.9/kernel/
Dcred.c55 .securebits = SECUREBITS_DEFAULT,
Duser_namespace.c48 cred->securebits = SECUREBITS_DEFAULT; in set_cred_user_ns()
/linux-6.1.9/Documentation/security/
Dcredentials.rst173 3. Secure management flags (securebits).