Searched refs:cap_intersect (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/kernel/ |
D | umh.c | 95 new->cap_bset = cap_intersect(usermodehelper_bset, new->cap_bset); in call_usermodehelper_exec_async() 96 new->cap_inheritable = cap_intersect(usermodehelper_inheritable, in call_usermodehelper_exec_async() 537 usermodehelper_bset = cap_intersect(usermodehelper_bset, new_cap); in proc_cap_handler() 539 usermodehelper_inheritable = cap_intersect(usermodehelper_inheritable, new_cap); in proc_cap_handler()
|
/kernel/linux/linux-5.10/include/linux/ |
D | capability.h | 126 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()
|
D | cred.h | 217 cap_intersect(cred->cap_permitted, in cap_ambient_invariant_ok()
|
/kernel/linux/linux-5.10/security/ |
D | commoncap.c | 276 new->cap_ambient = cap_intersect(new->cap_ambient, in cap_capset() 277 cap_intersect(*permitted, in cap_capset() 868 new->cap_permitted = cap_intersect(new->cap_permitted, in cap_bprm_creds_from_file()
|
/kernel/linux/linux-5.10/security/apparmor/ |
D | lsm.c | 168 *effective = cap_intersect(*effective, in apparmor_capget() 170 *permitted = cap_intersect(*permitted, in apparmor_capget()
|