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.c994 new->securebits &= ~issecure_mask(SECURE_KEEP_CAPS); in cap_bprm_creds_from_file()
1336 if ((((old->securebits & SECURE_ALL_LOCKS) >> 1) in cap_task_prctl()
1337 & (old->securebits ^ arg2)) /*[1]*/ in cap_task_prctl()
1338 || ((old->securebits & SECURE_ALL_LOCKS & ~arg2)) /*[2]*/ in cap_task_prctl()
1361 const unsigned long changed = old->securebits ^ arg2; in cap_task_prctl()
1375 new->securebits = arg2; in cap_task_prctl()
1379 return old->securebits; in cap_task_prctl()
1394 new->securebits |= issecure_mask(SECURE_KEEP_CAPS); in cap_task_prctl()
1396 new->securebits &= ~issecure_mask(SECURE_KEEP_CAPS); in cap_task_prctl()
/linux/include/linux/
H A Dsecurebits.h7 #define issecure(X) (issecure_mask(X) & current_cred_xxx(securebits))
H A Dcred.h123 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 Duser_namespace.c49 cred->securebits = SECUREBITS_DEFAULT; in set_cred_user_ns()
/linux/Documentation/security/
H A Dcredentials.rst173 3. Secure management flags (securebits).