Home
last modified time | relevance | path

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

/security/
Dcommoncap.c143 int cap_capget(struct task_struct *target, kernel_cap_t *effective, in cap_capget() argument
151 *effective = cred->cap_effective; in cap_capget()
190 const kernel_cap_t *effective, in cap_capset() argument
212 if (!cap_issubset(*effective, *permitted)) in cap_capset()
215 new->cap_effective = *effective; in cap_capset()
281 bool *effective) in bprm_caps_from_vfs_caps() argument
288 *effective = true; in bprm_caps_from_vfs_caps()
311 return *effective ? ret : 0; in bprm_caps_from_vfs_caps()
373 static int get_file_caps(struct linux_binprm *bprm, bool *effective) in get_file_caps() argument
399 rc = bprm_caps_from_vfs_caps(&vcaps, bprm, effective); in get_file_caps()
[all …]
Dsecurity.c138 kernel_cap_t *effective, in security_capget() argument
142 return security_ops->capget(target, effective, inheritable, permitted); in security_capget()
146 const kernel_cap_t *effective, in security_capset() argument
151 effective, inheritable, permitted); in security_capset()
/security/selinux/
Dhooks.c1842 static int selinux_capget(struct task_struct *target, kernel_cap_t *effective, in selinux_capget() argument
1851 return secondary_ops->capget(target, effective, inheritable, permitted); in selinux_capget()
1855 const kernel_cap_t *effective, in selinux_capset() argument
1862 effective, inheritable, permitted); in selinux_capset()