Home
last modified time | relevance | path

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

/kernel/linux/common_modules/container_escape_detection/include/
Dced_detection_points.h23 kernel_cap_t cap_effective; member
32 memcpy(&info->cap_effective.cap[0], &cred->cap_effective.cap[0], sizeof(info->cap_effective.cap)); in cred_info_record()
/kernel/linux/linux-5.10/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.c237 new->cap_effective = in nfsd_set_fh_dentry()
238 cap_raise_nfsd_set(new->cap_effective, in nfsd_set_fh_dentry()
/kernel/linux/linux-5.10/security/
Dcommoncap.c77 return cap_raised(cred->cap_effective, cap) ? 0 : -EPERM; in cap_capable()
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()
892 new->cap_effective = new->cap_permitted; in cap_bprm_creds_from_file()
894 new->cap_effective = new->cap_ambient; in cap_bprm_creds_from_file()
1032 cap_clear(new->cap_effective); in cap_emulate_setxuid()
1043 cap_clear(new->cap_effective); in cap_emulate_setxuid()
1045 new->cap_effective = new->cap_permitted; in cap_emulate_setxuid()
1079 new->cap_effective = in cap_task_fix_setuid()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dcred.h131 kernel_cap_t cap_effective; /* caps we can actually use */ member
387 #define current_cap() (current_cred_xxx(cap_effective))
/kernel/linux/common_modules/container_escape_detection/core/
Dced_detection.c137 && memcmp(&a->cap_effective, &b->cred.cap_effective, sizeof(kernel_cap_t))) in has_same_cred()
/kernel/linux/linux-5.10/fs/proc/
Darray.c320 kernel_cap_t cap_inheritable, cap_permitted, cap_effective, in task_cap() local
327 cap_effective = cred->cap_effective; in task_cap()
334 render_cap_t(m, "CapEff:\t", &cap_effective); in task_cap()
/kernel/linux/linux-5.10/security/keys/
Dprocess_keys.c935 new->cap_effective = old->cap_effective; in key_change_session_keyring()
/kernel/linux/linux-5.10/kernel/
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()
Dauditsc.c2560 ax->old_pcap.effective = old->cap_effective; in __audit_log_bprm_fcaps()
2565 ax->new_pcap.effective = new->cap_effective; in __audit_log_bprm_fcaps()
2582 context->capset.cap.effective = new->cap_effective; in __audit_log_capset()
2583 context->capset.cap.inheritable = new->cap_effective; in __audit_log_capset()
Dcred.c59 .cap_effective = CAP_FULL_SET,
/kernel/linux/linux-5.10/fs/
Dopen.c364 cap_clear(override_cred->cap_effective); in access_override_creds()
366 override_cred->cap_effective = in access_override_creds()
/kernel/linux/linux-5.10/fs/overlayfs/
Dsuper.c2025 cap_lower(cred->cap_effective, CAP_SYS_RESOURCE); in ovl_fill_super()
/kernel/linux/linux-5.10/io_uring/
Dio_uring.c10093 cap = cred->cap_effective; in io_uring_show_cred()