Home
last modified time | relevance | path

Searched refs:cap_intersect (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/kernel/
Dumh.c96 new->cap_bset = cap_intersect(usermodehelper_bset, new->cap_bset); in call_usermodehelper_exec_async()
97 new->cap_inheritable = cap_intersect(usermodehelper_inheritable, in call_usermodehelper_exec_async()
539 usermodehelper_bset = cap_intersect(usermodehelper_bset, new_cap); in proc_cap_handler()
541 usermodehelper_inheritable = cap_intersect(usermodehelper_inheritable, new_cap); in proc_cap_handler()
/linux-5.19.10/include/linux/
Dcapability.h126 static inline kernel_cap_t cap_intersect(const kernel_cap_t a, in cap_intersect() function
186 cap_intersect(permitted, __cap_fs_set)); in cap_raise_fs_set()
200 cap_intersect(permitted, __cap_nfsd_set)); in cap_raise_nfsd_set()
Dcred.h218 cap_intersect(cred->cap_permitted, in cap_ambient_invariant_ok()
/linux-5.19.10/security/
Dcommoncap.c277 new->cap_ambient = cap_intersect(new->cap_ambient, in cap_capset()
278 cap_intersect(*permitted, in cap_capset()
931 new->cap_permitted = cap_intersect(new->cap_permitted, in cap_bprm_creds_from_file()
/linux-5.19.10/security/apparmor/
Dlsm.c168 *effective = cap_intersect(*effective, in apparmor_capget()
170 *permitted = cap_intersect(*permitted, in apparmor_capget()