Home
last modified time | relevance | path

Searched refs:cap_effective (Results 1 – 11 of 11) sorted by relevance

/Linux-v4.19/fs/nfsd/
Dauth.c80 new->cap_effective = cap_drop_nfsd_set(new->cap_effective); in nfsd_setuser()
82 new->cap_effective = cap_raise_nfsd_set(new->cap_effective, in nfsd_setuser()
Dnfsfh.c233 new->cap_effective = in nfsd_set_fh_dentry()
234 cap_raise_nfsd_set(new->cap_effective, in nfsd_set_fh_dentry()
/Linux-v4.19/security/
Dcommoncap.c83 return cap_raised(cred->cap_effective, cap) ? 0 : -EPERM; in cap_capable()
149 caller_caps = &cred->cap_effective; in cap_ptrace_access_check()
213 *effective = cred->cap_effective; in cap_capget()
275 new->cap_effective = *effective; in cap_capset()
876 new->cap_effective = new->cap_permitted; in cap_bprm_set_creds()
878 new->cap_effective = new->cap_ambient; in cap_bprm_set_creds()
1017 cap_clear(new->cap_effective); in cap_emulate_setxuid()
1028 cap_clear(new->cap_effective); in cap_emulate_setxuid()
1030 new->cap_effective = new->cap_permitted; in cap_emulate_setxuid()
1064 new->cap_effective = in cap_task_fix_setuid()
[all …]
/Linux-v4.19/include/linux/
Dcred.h136 kernel_cap_t cap_effective; /* caps we can actually use */ member
370 #define current_cap() (current_cred_xxx(cap_effective))
/Linux-v4.19/fs/proc/
Darray.c321 kernel_cap_t cap_inheritable, cap_permitted, cap_effective, in task_cap() local
328 cap_effective = cred->cap_effective; in task_cap()
335 render_cap_t(m, "CapEff:\t", &cap_effective); in task_cap()
/Linux-v4.19/security/keys/
Dprocess_keys.c869 new->cap_effective = old->cap_effective; in key_change_session_keyring()
/Linux-v4.19/fs/
Dopen.c370 cap_clear(override_cred->cap_effective); in do_faccessat()
372 override_cred->cap_effective = in do_faccessat()
/Linux-v4.19/kernel/
Dauditsc.c2377 ax->old_pcap.effective = old->cap_effective; in __audit_log_bprm_fcaps()
2382 ax->new_pcap.effective = new->cap_effective; in __audit_log_bprm_fcaps()
2399 context->capset.cap.effective = new->cap_effective; in __audit_log_capset()
2400 context->capset.cap.inheritable = new->cap_effective; in __audit_log_capset()
Dcred.c61 .cap_effective = CAP_FULL_SET,
Duser_namespace.c55 cred->cap_effective = CAP_FULL_SET; in set_cred_user_ns()
/Linux-v4.19/fs/overlayfs/
Dsuper.c1472 cap_lower(cred->cap_effective, CAP_SYS_RESOURCE); in ovl_fill_super()