Searched refs:cap_permitted (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/security/ |
D | commoncap.c | 146 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/ |
D | cred.h | 122 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/ |
D | cred.c | 56 .cap_permitted = CAP_FULL_SET, 358 return cap_issubset(subset->cap_permitted, set->cap_permitted); in cred_cap_issubset()
|
D | auditsc.c | 2822 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()
|
D | user_namespace.c | 50 cred->cap_permitted = CAP_FULL_SET; in set_cred_user_ns()
|
/linux-6.6.21/fs/proc/ |
D | array.c | 314 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/ |
D | auth.c | 81 new->cap_permitted); in nfsd_setuser()
|
D | nfsfh.c | 228 new->cap_permitted); in nfsd_set_fh_dentry()
|
/linux-6.6.21/security/keys/ |
D | process_keys.c | 943 new->cap_permitted = old->cap_permitted; in key_change_session_keyring()
|
/linux-6.6.21/fs/ |
D | open.c | 394 cred->cap_permitted)) in access_need_override_creds() 427 override_cred->cap_permitted; in access_override_creds()
|