Searched refs:cap_permitted (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/security/ |
A D | commoncap.c | 146 caller_caps = &cred->cap_permitted; 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() 271 new->cap_permitted = *permitted; in cap_capset() 604 new->cap_permitted.val = in bprm_caps_from_vfs_caps() 925 new->cap_permitted = cap_intersect(new->cap_permitted, in cap_bprm_creds_from_file() 926 old->cap_permitted); in cap_bprm_creds_from_file() 940 new->cap_permitted = cap_combine(new->cap_permitted, new->cap_ambient); in cap_bprm_creds_from_file() 1095 cap_clear(new->cap_permitted); in cap_emulate_setxuid() [all …]
|
/linux-6.3-rc2/include/linux/ |
A D | cred.h | 129 kernel_cap_t cap_permitted; /* caps we're permitted */ member 218 cap_intersect(cred->cap_permitted, in cap_ambient_invariant_ok()
|
/linux-6.3-rc2/fs/proc/ |
A D | array.c | 311 kernel_cap_t cap_inheritable, cap_permitted, cap_effective, in task_cap() local 317 cap_permitted = cred->cap_permitted; in task_cap() 324 render_cap_t(m, "CapPrm:\t", &cap_permitted); in task_cap()
|
/linux-6.3-rc2/fs/nfsd/ |
A D | auth.c | 83 new->cap_permitted); in nfsd_setuser()
|
A D | nfsfh.c | 228 new->cap_permitted); in nfsd_set_fh_dentry()
|
/linux-6.3-rc2/kernel/ |
A D | cred.c | 57 .cap_permitted = CAP_FULL_SET, 417 return cap_issubset(subset->cap_permitted, set->cap_permitted); in cred_cap_issubset()
|
A D | auditsc.c | 2816 ax->old_pcap.permitted = old->cap_permitted; in __audit_log_bprm_fcaps() 2821 ax->new_pcap.permitted = new->cap_permitted; in __audit_log_bprm_fcaps() 2843 context->capset.cap.permitted = new->cap_permitted; in __audit_log_capset()
|
A D | user_namespace.c | 50 cred->cap_permitted = CAP_FULL_SET; in set_cred_user_ns()
|
/linux-6.3-rc2/security/keys/ |
A D | process_keys.c | 943 new->cap_permitted = old->cap_permitted; in key_change_session_keyring()
|
/linux-6.3-rc2/fs/ |
A D | open.c | 394 cred->cap_permitted)) in access_need_override_creds() 427 override_cred->cap_permitted; in access_override_creds()
|
Completed in 100 milliseconds