Searched refs:cap_intersect (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | capability.h | 83 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()
|
H A D | cred.h | 170 cap_intersect(cred->cap_permitted, in cap_ambient_invariant_ok()
|
/openbmc/linux/kernel/ |
H A D | umh.c | 94 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()
|
/openbmc/linux/security/ |
H A D | commoncap.c | 277 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()
|
/openbmc/linux/security/apparmor/ |
H A D | lsm.c | 176 *effective = cap_intersect(*effective, in apparmor_capget() 178 *permitted = cap_intersect(*permitted, in apparmor_capget()
|