Searched refs:CAP_SETGID (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/security/safesetid/ |
A D | lsm.c | 96 if (cap != CAP_SETUID && cap != CAP_SETGID) in safesetid_security_capable() 122 case CAP_SETGID: in safesetid_security_capable()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | capability.h | 152 #define CAP_SETGID 6 macro
|
/linux-6.3-rc2/tools/testing/selftests/clone3/ |
A D | clone3_cap_checkpoint_restore.c | 101 cap_value_t cap_values[] = { CAP_SETUID, CAP_SETGID }; in set_capability()
|
/linux-6.3-rc2/kernel/ |
A D | groups.c | 189 return ns_capable_setid(user_ns, CAP_SETGID) && in may_setgroups()
|
A D | sys.c | 390 ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setregid() 399 ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setregid() 449 if (ns_capable_setid(old->user_ns, CAP_SETGID)) in __sys_setgid() 782 if (!ns_capable_setid(old->user_ns, CAP_SETGID)) { in __sys_setresgid() 909 ns_capable_setid(old->user_ns, CAP_SETGID)) { in __sys_setfsgid()
|
A D | user_namespace.c | 1138 return map_write(file, buf, size, ppos, CAP_SETGID, in proc_gid_map_write() 1179 } else if (cap_setid == CAP_SETGID) { in new_idmap_permitted()
|
/linux-6.3-rc2/Documentation/admin-guide/LSM/ |
A D | SafeSetID.rst | 111 In v5.9 we are adding support for limiting CAP_SETGID privileges as was done 114 setgroups() calls for processes with CAP_SETGID restrictions. Until we add
|
/linux-6.3-rc2/net/core/ |
A D | scm.c | 59 gid_eq(gid, cred->sgid)) || ns_capable(cred->user_ns, CAP_SETGID))) { in scm_check_creds()
|
/linux-6.3-rc2/tools/testing/selftests/safesetid/ |
A D | safesetid-test.c | 464 cap_value_t cap_values[] = {CAP_SETUID, CAP_SETGID}; in drop_caps()
|
/linux-6.3-rc2/security/integrity/ima/ |
A D | ima_policy.c | 618 if (has_capability_noaudit(current, CAP_SETGID)) { in ima_match_rules()
|
Completed in 21 milliseconds