Searched refs:cap_effective (Results 1 – 15 of 15) sorted by relevance
/Linux-v6.6/fs/nfsd/ |
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()
|
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-v6.6/tools/testing/selftests/bpf/progs/ |
D | test_deny_namespace.c | 11 kernel_cap_t cap_effective; member 19 kernel_cap_t caps = cred->cap_effective; in BPF_PROG()
|
/Linux-v6.6/security/ |
D | commoncap.c | 78 return cap_raised(cred->cap_effective, cap) ? 0 : -EPERM; in cap_capable() 144 caller_caps = &cred->cap_effective; in cap_ptrace_access_check() 208 *effective = cred->cap_effective; in cap_capget() 269 new->cap_effective = *effective; in cap_capset() 947 new->cap_effective = new->cap_permitted; in cap_bprm_creds_from_file() 949 new->cap_effective = new->cap_ambient; in cap_bprm_creds_from_file() 1096 cap_clear(new->cap_effective); in cap_emulate_setxuid() 1107 cap_clear(new->cap_effective); in cap_emulate_setxuid() 1109 new->cap_effective = new->cap_permitted; in cap_emulate_setxuid() 1145 new->cap_effective = in cap_task_fix_setuid() [all …]
|
/Linux-v6.6/include/linux/ |
D | cred.h | 130 kernel_cap_t cap_effective; /* caps we can actually use */ member 388 #define current_cap() (current_cred_xxx(cap_effective))
|
/Linux-v6.6/fs/proc/ |
D | array.c | 314 kernel_cap_t cap_inheritable, cap_permitted, cap_effective, in task_cap() local 321 cap_effective = cred->cap_effective; in task_cap() 328 render_cap_t(m, "CapEff:\t", &cap_effective); in task_cap()
|
/Linux-v6.6/fs/smb/server/ |
D | smb_common.c | 749 cred->cap_effective = cap_drop_fs_set(cred->cap_effective); in ksmbd_override_fsids()
|
/Linux-v6.6/fs/ |
D | open.c | 390 if (!cap_isclear(cred->cap_effective)) in access_need_override_creds() 393 if (!cap_isidentical(cred->cap_effective, in access_need_override_creds() 424 cap_clear(override_cred->cap_effective); in access_override_creds() 426 override_cred->cap_effective = in access_override_creds()
|
/Linux-v6.6/io_uring/ |
D | fdinfo.c | 43 cap = cred->cap_effective; in io_uring_show_cred()
|
/Linux-v6.6/security/keys/ |
D | process_keys.c | 944 new->cap_effective = old->cap_effective; in key_change_session_keyring()
|
/Linux-v6.6/kernel/ |
D | user_namespace.c | 51 cred->cap_effective = CAP_FULL_SET; in set_cred_user_ns() 126 ns->parent_could_setfcap = cap_raised(new->cap_effective, CAP_SETFCAP); in create_user_ns()
|
D | auditsc.c | 2824 ax->old_pcap.effective = old->cap_effective; in __audit_log_bprm_fcaps() 2829 ax->new_pcap.effective = new->cap_effective; in __audit_log_bprm_fcaps() 2847 context->capset.cap.effective = new->cap_effective; in __audit_log_capset() 2848 context->capset.cap.inheritable = new->cap_effective; in __audit_log_capset()
|
D | cred.c | 61 .cap_effective = CAP_FULL_SET,
|
/Linux-v6.6/kernel/sched/ |
D | psi.c | 1295 privileged = cap_raised(file->f_cred->cap_effective, CAP_SYS_RESOURCE); in psi_trigger_create()
|
/Linux-v6.6/fs/overlayfs/ |
D | super.c | 1485 cap_lower(cred->cap_effective, CAP_SYS_RESOURCE); in ovl_fill_super()
|