Searched refs:issecure (Results 1 – 3 of 3) sorted by relevance
7 #define issecure(X) (issecure_mask(X) & current_cred_xxx(securebits)) macro
691 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()
360 if (!issecure(SECURE_NO_SETUID_FIXUP)) { in access_override_creds()