Home
last modified time | relevance | path

Searched refs:cap_inheritable (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/security/
Dcommoncap.c208 *inheritable = cred->cap_inheritable; in cap_capget()
249 cap_combine(old->cap_inheritable, in cap_capset()
255 cap_combine(old->cap_inheritable, in cap_capset()
269 new->cap_inheritable = *inheritable; in cap_capset()
614 (new->cap_inheritable.cap[i] & inheritable); in bprm_caps_from_vfs_caps()
816 old->cap_inheritable); in handle_privileged_root()
1372 !cap_raised(current_cred()->cap_inheritable, in cap_task_prctl()
/Linux-v5.15/include/linux/
Dcred.h128 kernel_cap_t cap_inheritable; /* caps our children can inherit */ member
219 cred->cap_inheritable)); in cap_ambient_invariant_ok()
/Linux-v5.15/kernel/
Dumh.c97 new->cap_inheritable = cap_intersect(usermodehelper_inheritable, in call_usermodehelper_exec_async()
98 new->cap_inheritable); in call_usermodehelper_exec_async()
Dcred.c56 .cap_inheritable = CAP_EMPTY_SET,
Duser_namespace.c48 cred->cap_inheritable = CAP_EMPTY_SET; in set_cred_user_ns()
Dauditsc.c2509 ax->old_pcap.inheritable = old->cap_inheritable; in __audit_log_bprm_fcaps()
2514 ax->new_pcap.inheritable = new->cap_inheritable; in __audit_log_bprm_fcaps()
/Linux-v5.15/fs/proc/
Darray.c311 kernel_cap_t cap_inheritable, cap_permitted, cap_effective, in task_cap() local
316 cap_inheritable = cred->cap_inheritable; in task_cap()
323 render_cap_t(m, "CapInh:\t", &cap_inheritable); in task_cap()
/Linux-v5.15/security/keys/
Dprocess_keys.c942 new->cap_inheritable = old->cap_inheritable; in key_change_session_keyring()