Searched refs:cap_effective (Results 1 – 13 of 13) sorted by relevance
/linux/fs/nfsd/ |
A D | auth.c | 80 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 D | nfsfh.c | 226 new->cap_effective = in nfsd_set_fh_dentry() 227 cap_raise_nfsd_set(new->cap_effective, in nfsd_set_fh_dentry()
|
/linux/security/ |
A D | commoncap.c | 143 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 D | cred.h | 130 kernel_cap_t cap_effective; /* caps we can actually use */ member 389 #define current_cap() (current_cred_xxx(cap_effective))
|
/linux/fs/proc/ |
A D | array.c | 311 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 D | smb_common.c | 635 cred->cap_effective = cap_drop_fs_set(cred->cap_effective); in ksmbd_override_fsids()
|
/linux/security/keys/ |
A D | process_keys.c | 944 new->cap_effective = old->cap_effective; in key_change_session_keyring()
|
/linux/kernel/ |
A D | user_namespace.c | 50 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 D | auditsc.c | 2776 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 D | cred.c | 58 .cap_effective = CAP_FULL_SET,
|
/linux/fs/ |
A D | open.c | 362 cap_clear(override_cred->cap_effective); in access_override_creds() 364 override_cred->cap_effective = in access_override_creds()
|
A D | io_uring.c | 10139 cap = cred->cap_effective; in io_uring_show_cred()
|
/linux/fs/overlayfs/ |
A D | super.c | 2127 cap_lower(cred->cap_effective, CAP_SYS_RESOURCE); in ovl_fill_super()
|
Completed in 72 milliseconds