Searched refs:cap_effective (Results 1 – 14 of 14) sorted by relevance
62 data.effective = cap_t(target->cap_effective); in sys_capget()91 target->cap_effective = *effective; in cap_set_pg()112 target->cap_effective = *effective; in cap_set_all()204 target->cap_effective = effective; in sys_capset()
502 cap_clear(current->cap_effective); in cap_emulate_setxuid()505 cap_clear(current->cap_effective); in cap_emulate_setxuid()508 current->cap_effective = current->cap_permitted; in cap_emulate_setxuid()769 cap_t(current->cap_effective) &= ~CAP_FS_MASK; in sys_setfsuid()772 cap_t(current->cap_effective) |= in sys_setfsuid()
132 cap_set_full(curtask->cap_effective); in exec_usermodehelper()
1310 this_task->cap_effective = CAP_INIT_EFF_SET; in reparent_to_init()
96 if (cap_t(p->cap_effective) & CAP_TO_MASK(CAP_SYS_ADMIN) || in badness()106 if (cap_t(p->cap_effective) & CAP_TO_MASK(CAP_SYS_RAWIO)) in badness()157 if (cap_t(p->cap_effective) & CAP_TO_MASK(CAP_SYS_RAWIO)) { in __oom_kill_task()
54 cap_t(current->cap_effective) &= ~CAP_NFSD_MASK; in nfsd_setuser()56 cap_t(current->cap_effective) |= (CAP_NFSD_MASK & in nfsd_setuser()
41 xfs_cap_value_t cap_effective; /* use in capability checks */ member
29 kernel_cap_t cap_inheritable, cap_permitted, cap_effective; member
375 kernel_cap_t cap_effective, cap_inheritable, cap_permitted; member499 cap_effective: CAP_INIT_EFF_SET, \748 if (cap_raised(current->cap_effective, cap)) in capable()
373 old_cap = current->cap_effective; in sys_access()380 cap_clear(current->cap_effective); in sys_access()382 current->cap_effective = current->cap_permitted; in sys_access()396 current->cap_effective = old_cap; in sys_access()
730 cap_clear(bprm->cap_effective); in prepare_binprm()746 cap_set_full(bprm->cap_effective); in prepare_binprm()806 current->cap_effective = in compute_creds()807 cap_intersect(new_permitted, bprm->cap_effective); in compute_creds()
1441 kernel_cap_t saved_cap = current->cap_effective; in xprt_bindresvport()1446 cap_raise (current->cap_effective, CAP_NET_BIND_SERVICE); in xprt_bindresvport()1456 current->cap_effective = saved_cap; in xprt_bindresvport()
276 cap_t(p->cap_effective)); in task_cap()
836 NETLINK_CB(skb).eff_cap = current->cap_effective; in netlink_sendmsg()