Lines Matching refs:cap_effective
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()
1146 cap_drop_fs_set(new->cap_effective); in cap_task_fix_setuid()
1149 new->cap_effective = in cap_task_fix_setuid()
1150 cap_raise_fs_set(new->cap_effective, in cap_task_fix_setuid()