Searched refs:cap_effective (Results 1 – 14 of 14) sorted by relevance
/kernel/linux/common_modules/container_escape_detection/include/ |
D | ced_detection_points.h | 23 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/ |
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 | 237 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/ |
D | commoncap.c | 77 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/ |
D | cred.h | 131 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/ |
D | ced_detection.c | 137 && memcmp(&a->cap_effective, &b->cred.cap_effective, sizeof(kernel_cap_t))) in has_same_cred()
|
/kernel/linux/linux-5.10/fs/proc/ |
D | array.c | 320 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/ |
D | process_keys.c | 935 new->cap_effective = old->cap_effective; in key_change_session_keyring()
|
/kernel/linux/linux-5.10/kernel/ |
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()
|
D | auditsc.c | 2560 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()
|
D | cred.c | 59 .cap_effective = CAP_FULL_SET,
|
/kernel/linux/linux-5.10/fs/ |
D | open.c | 364 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/ |
D | super.c | 2025 cap_lower(cred->cap_effective, CAP_SYS_RESOURCE); in ovl_fill_super()
|
/kernel/linux/linux-5.10/io_uring/ |
D | io_uring.c | 10093 cap = cred->cap_effective; in io_uring_show_cred()
|