Home
last modified time | relevance | path

Searched refs:issecure (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.10/include/linux/
Dsecurebits.h7 #define issecure(X) (issecure_mask(X) & current_cred_xxx(securebits)) macro
/Linux-v5.10/security/
Dcommoncap.c691 static inline bool root_privileged(void) { return !issecure(SECURE_NOROOT); } in root_privileged()
1009 if (!issecure(SECURE_KEEP_CAPS)) { in cap_emulate_setxuid()
1044 if (!issecure(SECURE_NO_SETUID_FIXUP)) in cap_task_fix_setuid()
1055 if (!issecure(SECURE_NO_SETUID_FIXUP)) { in cap_task_fix_setuid()
1233 return !!issecure(SECURE_KEEP_CAPS); in cap_task_prctl()
1238 if (issecure(SECURE_KEEP_CAPS_LOCKED)) in cap_task_prctl()
1275 issecure(SECURE_NO_CAP_AMBIENT_RAISE))) in cap_task_prctl()
/Linux-v5.10/fs/
Dopen.c360 if (!issecure(SECURE_NO_SETUID_FIXUP)) { in access_override_creds()