Searched refs:permitted (Results 1 – 6 of 6) sorted by relevance
/security/ |
D | commoncap.c | 201 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 …]
|
D | security.c | 788 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/ |
D | lsm.c | 155 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/ |
D | Kconfig | 61 permissive mode (if permitted by the policy) via
|
D | hooks.c | 2163 kernel_cap_t *inheritable, kernel_cap_t *permitted) in selinux_capget() argument 2173 const kernel_cap_t *permitted) in selinux_capset() argument
|
/security/apparmor/ |
D | lsm.c | 148 kernel_cap_t *inheritable, kernel_cap_t *permitted) in apparmor_capget() argument 170 *permitted = cap_intersect(*permitted, in apparmor_capget()
|