Home
last modified time | relevance | path

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

/linux/fs/nfsd/
A 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()
A Dnfsfh.c226 new->cap_effective = in nfsd_set_fh_dentry()
227 cap_raise_nfsd_set(new->cap_effective, in nfsd_set_fh_dentry()
/linux/security/
A Dcommoncap.c143 caller_caps = &cred->cap_effective; in cap_ptrace_access_check()
207 *effective = cred->cap_effective; in cap_capget()
268 new->cap_effective = *effective; in cap_capset()
950 new->cap_effective = new->cap_permitted; in cap_bprm_creds_from_file()
952 new->cap_effective = new->cap_ambient; in cap_bprm_creds_from_file()
1099 cap_clear(new->cap_effective); in cap_emulate_setxuid()
1110 cap_clear(new->cap_effective); in cap_emulate_setxuid()
1148 new->cap_effective = in cap_task_fix_setuid()
1149 cap_drop_fs_set(new->cap_effective); in cap_task_fix_setuid()
1152 new->cap_effective = in cap_task_fix_setuid()
[all …]
/linux/include/linux/
A Dcred.h130 kernel_cap_t cap_effective; /* caps we can actually use */ member
389 #define current_cap() (current_cred_xxx(cap_effective))
/linux/fs/proc/
A Darray.c311 kernel_cap_t cap_inheritable, cap_permitted, cap_effective, in task_cap() local
318 cap_effective = cred->cap_effective; in task_cap()
325 render_cap_t(m, "CapEff:\t", &cap_effective); in task_cap()
/linux/fs/ksmbd/
A Dsmb_common.c635 cred->cap_effective = cap_drop_fs_set(cred->cap_effective); in ksmbd_override_fsids()
/linux/security/keys/
A Dprocess_keys.c944 new->cap_effective = old->cap_effective; in key_change_session_keyring()
/linux/kernel/
A Duser_namespace.c50 cred->cap_effective = CAP_FULL_SET; in set_cred_user_ns()
109 ns->parent_could_setfcap = cap_raised(new->cap_effective, CAP_SETFCAP); in create_user_ns()
A Dauditsc.c2776 ax->old_pcap.effective = old->cap_effective; in __audit_log_bprm_fcaps()
2781 ax->new_pcap.effective = new->cap_effective; in __audit_log_bprm_fcaps()
2799 context->capset.cap.effective = new->cap_effective; in __audit_log_capset()
2800 context->capset.cap.inheritable = new->cap_effective; in __audit_log_capset()
A Dcred.c58 .cap_effective = CAP_FULL_SET,
/linux/fs/
A Dopen.c362 cap_clear(override_cred->cap_effective); in access_override_creds()
364 override_cred->cap_effective = in access_override_creds()
A Dio_uring.c10139 cap = cred->cap_effective; in io_uring_show_cred()
/linux/fs/overlayfs/
A Dsuper.c2127 cap_lower(cred->cap_effective, CAP_SYS_RESOURCE); in ovl_fill_super()

Completed in 72 milliseconds