Searched refs:cap_permitted (Results 1 – 10 of 10) sorted by relevance
/Linux-v5.4/security/ |
D | commoncap.c | 145 caller_caps = &cred->cap_permitted; in cap_ptrace_access_check() 147 cap_issubset(child_cred->cap_permitted, *caller_caps)) in cap_ptrace_access_check() 179 cap_issubset(child_cred->cap_permitted, cred->cap_permitted)) in cap_ptrace_traceme() 209 *permitted = cred->cap_permitted; in cap_capget() 250 old->cap_permitted))) in cap_capset() 261 if (!cap_issubset(*permitted, old->cap_permitted)) in cap_capset() 270 new->cap_permitted = *permitted; in cap_capset() 551 new->cap_permitted.cap[i] = in bprm_caps_from_vfs_caps() 555 if (permitted & ~new->cap_permitted.cap[i]) in bprm_caps_from_vfs_caps() 655 cap_clear(bprm->cred->cap_permitted); in get_file_caps() [all …]
|
/Linux-v5.4/include/linux/ |
D | cred.h | 130 kernel_cap_t cap_permitted; /* caps we're permitted */ member 217 cap_intersect(cred->cap_permitted, in cap_ambient_invariant_ok()
|
/Linux-v5.4/fs/proc/ |
D | array.c | 321 kernel_cap_t cap_inheritable, cap_permitted, cap_effective, in task_cap() local 327 cap_permitted = cred->cap_permitted; in task_cap() 334 render_cap_t(m, "CapPrm:\t", &cap_permitted); in task_cap()
|
/Linux-v5.4/fs/nfsd/ |
D | auth.c | 83 new->cap_permitted); in nfsd_setuser()
|
D | nfsfh.c | 235 new->cap_permitted); in nfsd_set_fh_dentry()
|
/Linux-v5.4/kernel/ |
D | cred.c | 57 .cap_permitted = CAP_FULL_SET, 404 return cap_issubset(subset->cap_permitted, set->cap_permitted); in cred_cap_issubset()
|
D | auditsc.c | 2464 ax->old_pcap.permitted = old->cap_permitted; in __audit_log_bprm_fcaps() 2469 ax->new_pcap.permitted = new->cap_permitted; in __audit_log_bprm_fcaps() 2490 context->capset.cap.permitted = new->cap_permitted; in __audit_log_capset()
|
D | user_namespace.c | 49 cred->cap_permitted = CAP_FULL_SET; in set_cred_user_ns()
|
/Linux-v5.4/security/keys/ |
D | process_keys.c | 936 new->cap_permitted = old->cap_permitted; in key_change_session_keyring()
|
/Linux-v5.4/fs/ |
D | open.c | 374 override_cred->cap_permitted; in do_faccessat()
|