Home
last modified time | relevance | path

Searched refs:cap_permitted (Results 1 – 10 of 10) sorted by relevance

/linux-6.6.21/security/
Dcommoncap.c146 caller_caps = &cred->cap_permitted; in cap_ptrace_access_check()
148 cap_issubset(child_cred->cap_permitted, *caller_caps)) in cap_ptrace_access_check()
180 cap_issubset(child_cred->cap_permitted, cred->cap_permitted)) in cap_ptrace_traceme()
210 *permitted = cred->cap_permitted; in cap_capget()
251 old->cap_permitted))) in cap_capset()
262 if (!cap_issubset(*permitted, old->cap_permitted)) in cap_capset()
271 new->cap_permitted = *permitted; in cap_capset()
604 new->cap_permitted.val = in bprm_caps_from_vfs_caps()
608 if (caps->permitted.val & ~new->cap_permitted.val) in bprm_caps_from_vfs_caps()
729 cap_clear(bprm->cred->cap_permitted); in get_file_caps()
[all …]
/linux-6.6.21/include/linux/
Dcred.h122 kernel_cap_t cap_permitted; /* caps we're permitted */ member
170 cap_intersect(cred->cap_permitted, in cap_ambient_invariant_ok()
/linux-6.6.21/kernel/
Dcred.c56 .cap_permitted = CAP_FULL_SET,
358 return cap_issubset(subset->cap_permitted, set->cap_permitted); in cred_cap_issubset()
Dauditsc.c2822 ax->old_pcap.permitted = old->cap_permitted; in __audit_log_bprm_fcaps()
2827 ax->new_pcap.permitted = new->cap_permitted; in __audit_log_bprm_fcaps()
2849 context->capset.cap.permitted = new->cap_permitted; in __audit_log_capset()
Duser_namespace.c50 cred->cap_permitted = CAP_FULL_SET; in set_cred_user_ns()
/linux-6.6.21/fs/proc/
Darray.c314 kernel_cap_t cap_inheritable, cap_permitted, cap_effective, in task_cap() local
320 cap_permitted = cred->cap_permitted; in task_cap()
327 render_cap_t(m, "CapPrm:\t", &cap_permitted); in task_cap()
/linux-6.6.21/fs/nfsd/
Dauth.c81 new->cap_permitted); in nfsd_setuser()
Dnfsfh.c228 new->cap_permitted); in nfsd_set_fh_dentry()
/linux-6.6.21/security/keys/
Dprocess_keys.c943 new->cap_permitted = old->cap_permitted; in key_change_session_keyring()
/linux-6.6.21/fs/
Dopen.c394 cred->cap_permitted)) in access_need_override_creds()
427 override_cred->cap_permitted; in access_override_creds()