Home
last modified time | relevance | path

Searched refs:permitted (Results 1 – 6 of 6) sorted by relevance

/security/safesetid/
Dlsm.c102 bool permitted; in uid_permitted_for_cred() local
113 permitted = in uid_permitted_for_cred()
115 if (!permitted) { in uid_permitted_for_cred()
120 return permitted; in uid_permitted_for_cred()
/security/
Dcommoncap.c200 kernel_cap_t *inheritable, kernel_cap_t *permitted) in cap_capget() argument
209 *permitted = cred->cap_permitted; in cap_capget()
245 const kernel_cap_t *permitted) in cap_capset() argument
261 if (!cap_issubset(*permitted, old->cap_permitted)) in cap_capset()
265 if (!cap_issubset(*effective, *permitted)) in cap_capset()
270 new->cap_permitted = *permitted; in cap_capset()
277 cap_intersect(*permitted, in cap_capset()
545 __u32 permitted = caps->permitted.cap[i]; in bprm_caps_from_vfs_caps() local
553 (new->cap_bset.cap[i] & permitted) | in bprm_caps_from_vfs_caps()
556 if (permitted & ~new->cap_permitted.cap[i]) in bprm_caps_from_vfs_caps()
[all …]
Dsecurity.c709 kernel_cap_t *permitted) in security_capget() argument
712 effective, inheritable, permitted); in security_capget()
718 const kernel_cap_t *permitted) in security_capset() argument
721 effective, inheritable, permitted); in security_capset()
/security/selinux/
DKconfig58 permissive mode (if permitted by the policy) via /selinux/enforce.
Dhooks.c2152 kernel_cap_t *inheritable, kernel_cap_t *permitted) in selinux_capget() argument
2162 const kernel_cap_t *permitted) in selinux_capset() argument
/security/apparmor/
Dlsm.c138 kernel_cap_t *inheritable, kernel_cap_t *permitted) in apparmor_capget() argument
160 *permitted = cap_intersect(*permitted, in apparmor_capget()