Searched refs:cap_effective (Results 1 – 15 of 15) sorted by relevance
/linux-6.6.21/fs/nfsd/ |
D | auth.c | 78 new->cap_effective = cap_drop_nfsd_set(new->cap_effective); in nfsd_setuser() 80 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-6.6.21/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-6.6.21/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-6.6.21/include/linux/ |
D | cred.h | 123 kernel_cap_t cap_effective; /* caps we can actually use */ member 338 #define current_cap() (current_cred_xxx(cap_effective))
|
/linux-6.6.21/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-6.6.21/fs/smb/server/ |
D | smb_common.c | 764 cred->cap_effective = cap_drop_fs_set(cred->cap_effective); in ksmbd_override_fsids()
|
/linux-6.6.21/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-6.6.21/io_uring/ |
D | fdinfo.c | 43 cap = cred->cap_effective; in io_uring_show_cred()
|
/linux-6.6.21/security/keys/ |
D | process_keys.c | 944 new->cap_effective = old->cap_effective; in key_change_session_keyring()
|
/linux-6.6.21/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 | cred.c | 57 .cap_effective = CAP_FULL_SET,
|
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()
|
/linux-6.6.21/kernel/sched/ |
D | psi.c | 1295 privileged = cap_raised(file->f_cred->cap_effective, CAP_SYS_RESOURCE); in psi_trigger_create()
|
/linux-6.6.21/fs/overlayfs/ |
D | super.c | 1485 cap_lower(cred->cap_effective, CAP_SYS_RESOURCE); in ovl_fill_super()
|