Home
last modified time | relevance | path

Searched refs:effective (Results 1 – 4 of 4) sorted by relevance

/security/
Dcommoncap.c199 int cap_capget(struct task_struct *target, kernel_cap_t *effective, in cap_capget() argument
207 *effective = cred->cap_effective; in cap_capget()
243 const kernel_cap_t *effective, in cap_capset() argument
265 if (!cap_issubset(*effective, *permitted)) in cap_capset()
268 new->cap_effective = *effective; in cap_capset()
531 bool *effective, in bprm_caps_from_vfs_caps() argument
539 *effective = true; in bprm_caps_from_vfs_caps()
566 return *effective ? ret : 0; in bprm_caps_from_vfs_caps()
652 static int get_file_caps(struct linux_binprm *bprm, bool *effective, bool *has_fcap) in get_file_caps() argument
683 rc = bprm_caps_from_vfs_caps(&vcaps, bprm, effective, has_fcap); in get_file_caps()
[all …]
Dsecurity.c707 kernel_cap_t *effective, in security_capget() argument
712 effective, inheritable, permitted); in security_capget()
716 const kernel_cap_t *effective, in security_capset() argument
721 effective, inheritable, permitted); in security_capset()
/security/apparmor/
Dlsm.c137 static int apparmor_capget(struct task_struct *target, kernel_cap_t *effective, in apparmor_capget() argument
158 *effective = cap_intersect(*effective, in apparmor_capget()
/security/selinux/
Dhooks.c2151 static int selinux_capget(struct task_struct *target, kernel_cap_t *effective, in selinux_capget() argument
2160 const kernel_cap_t *effective, in selinux_capset() argument