Home
last modified time | relevance | path

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

/Linux-v5.4/security/
Dcommoncap.c145 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/
Dcred.h130 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/
Darray.c321 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/
Dauth.c83 new->cap_permitted); in nfsd_setuser()
Dnfsfh.c235 new->cap_permitted); in nfsd_set_fh_dentry()
/Linux-v5.4/kernel/
Dcred.c57 .cap_permitted = CAP_FULL_SET,
404 return cap_issubset(subset->cap_permitted, set->cap_permitted); in cred_cap_issubset()
Dauditsc.c2464 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()
Duser_namespace.c49 cred->cap_permitted = CAP_FULL_SET; in set_cred_user_ns()
/Linux-v5.4/security/keys/
Dprocess_keys.c936 new->cap_permitted = old->cap_permitted; in key_change_session_keyring()
/Linux-v5.4/fs/
Dopen.c374 override_cred->cap_permitted; in do_faccessat()