Home
last modified time | relevance | path

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

/linux/Documentation/userspace-api/
H A Dcheck_exec.rst9 ``SECBIT_EXEC_RESTRICT_FILE`` and ``SECBIT_EXEC_DENY_INTERACTIVE`` securebits
14 Whether an interpreter should check these securebits or not depends on the
19 enlighten to use these securebits and let users define their security policy.
25 ``AT_EXECVE_CHECK`` without checking the related securebits if backward
28 for script interpreters and dynamic linkers to check the securebits at run time
76 securebits but without relying on any other user-controlled configuration.
77 Indeed, the use case for these securebits is to only trust executable code
82 environment variables as long as it is not a way to disable the securebits
103 of any exec securebits:
/linux/security/
H A Dcommoncap.c23 #include <linux/securebits.h>
984 new->securebits &= ~issecure_mask(SECURE_KEEP_CAPS); in cap_bprm_creds_from_file()
1326 if ((((old->securebits & SECURE_ALL_LOCKS) >> 1) in cap_task_prctl()
1327 & (old->securebits ^ arg2)) /*[1]*/ in cap_task_prctl()
1328 || ((old->securebits & SECURE_ALL_LOCKS & ~arg2)) /*[2]*/ in cap_task_prctl()
1351 const unsigned long changed = old->securebits ^ arg2; in cap_task_prctl()
1365 new->securebits = arg2; in cap_task_prctl()
1369 return old->securebits; in cap_task_prctl()
1384 new->securebits |= issecure_mask(SECURE_KEEP_CAPS); in cap_task_prctl()
1386 new->securebits in cap_task_prctl()
[all...]
/linux/include/linux/
H A Dsecurebits.h7 #define issecure(X) (issecure_mask(X) & current_cred_xxx(securebits))
H A Dcred.h121 unsigned securebits; /* SUID-less security management */ member
/linux/Documentation/translations/zh_CN/security/
H A Dcredentials.rst150 3. 安全管理标记(securebits
/linux/security/keys/
H A Dprocess_keys.c941 new->securebits = old->securebits; in key_change_session_keyring()
/linux/kernel/
H A Dcred.c54 .securebits = SECUREBITS_DEFAULT,
/linux/Documentation/security/
H A Dcredentials.rst173 3. Secure management flags (securebits).