Home
last modified time | relevance | path

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

/linux-6.3-rc2/security/
A Dcommoncap.c146 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 Dcred.h129 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 Darray.c311 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 Dauth.c83 new->cap_permitted); in nfsd_setuser()
A Dnfsfh.c228 new->cap_permitted); in nfsd_set_fh_dentry()
/linux-6.3-rc2/kernel/
A Dcred.c57 .cap_permitted = CAP_FULL_SET,
417 return cap_issubset(subset->cap_permitted, set->cap_permitted); in cred_cap_issubset()
A Dauditsc.c2816 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 Duser_namespace.c50 cred->cap_permitted = CAP_FULL_SET; in set_cred_user_ns()
/linux-6.3-rc2/security/keys/
A Dprocess_keys.c943 new->cap_permitted = old->cap_permitted; in key_change_session_keyring()
/linux-6.3-rc2/fs/
A Dopen.c394 cred->cap_permitted)) in access_need_override_creds()
427 override_cred->cap_permitted; in access_override_creds()

Completed in 100 milliseconds