Home
last modified time | relevance | path

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

/security/
Dcommoncap.c201 kernel_cap_t *inheritable, kernel_cap_t *permitted) in cap_capget() argument
210 *permitted = cred->cap_permitted; in cap_capget()
246 const kernel_cap_t *permitted) in cap_capset() argument
262 if (!cap_issubset(*permitted, old->cap_permitted)) in cap_capset()
266 if (!cap_issubset(*effective, *permitted)) in cap_capset()
271 new->cap_permitted = *permitted; in cap_capset()
278 cap_intersect(*permitted, in cap_capset()
610 __u32 permitted = caps->permitted.cap[i]; in bprm_caps_from_vfs_caps() local
618 (new->cap_bset.cap[i] & permitted) | in bprm_caps_from_vfs_caps()
621 if (permitted & ~new->cap_permitted.cap[i]) in bprm_caps_from_vfs_caps()
[all …]
Dsecurity.c788 kernel_cap_t *permitted) in security_capget() argument
791 effective, inheritable, permitted); in security_capget()
797 const kernel_cap_t *permitted) in security_capset() argument
800 effective, inheritable, permitted); in security_capset()
/security/safesetid/
Dlsm.c155 bool permitted; in id_permitted_for_cred() local
173 permitted = in id_permitted_for_cred()
176 if (!permitted) { in id_permitted_for_cred()
188 return permitted; in id_permitted_for_cred()
/security/selinux/
DKconfig61 permissive mode (if permitted by the policy) via
Dhooks.c2163 kernel_cap_t *inheritable, kernel_cap_t *permitted) in selinux_capget() argument
2173 const kernel_cap_t *permitted) in selinux_capset() argument
/security/apparmor/
Dlsm.c148 kernel_cap_t *inheritable, kernel_cap_t *permitted) in apparmor_capget() argument
170 *permitted = cap_intersect(*permitted, in apparmor_capget()