Home
last modified time | relevance | path

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

/linux-6.6.21/include/linux/
Dcapability.h83 static inline kernel_cap_t cap_intersect(const kernel_cap_t a, in cap_intersect() function
127 return cap_combine(a, cap_intersect(permitted, CAP_FS_SET)); in cap_raise_fs_set()
138 return cap_combine(a, cap_intersect(permitted, CAP_NFSD_SET)); in cap_raise_nfsd_set()
Dcred.h170 cap_intersect(cred->cap_permitted, in cap_ambient_invariant_ok()
/linux-6.6.21/kernel/
Dumh.c94 new->cap_bset = cap_intersect(usermodehelper_bset, new->cap_bset); in call_usermodehelper_exec_async()
95 new->cap_inheritable = cap_intersect(usermodehelper_inheritable, in call_usermodehelper_exec_async()
541 *cap = cap_intersect(*cap, new_cap); in proc_cap_handler()
/linux-6.6.21/security/
Dcommoncap.c277 new->cap_ambient = cap_intersect(new->cap_ambient, in cap_capset()
278 cap_intersect(*permitted, in cap_capset()
925 new->cap_permitted = cap_intersect(new->cap_permitted, in cap_bprm_creds_from_file()
/linux-6.6.21/security/apparmor/
Dlsm.c176 *effective = cap_intersect(*effective, in apparmor_capget()
178 *permitted = cap_intersect(*permitted, in apparmor_capget()