Home
last modified time | relevance | path

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

/linux-2.4.37.9/kernel/
Dcapability.c62 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()
Dsys.c502 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()
Dkmod.c132 cap_set_full(curtask->cap_effective); in exec_usermodehelper()
Dsched.c1310 this_task->cap_effective = CAP_INIT_EFF_SET; in reparent_to_init()
/linux-2.4.37.9/mm/
Doom_kill.c96 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()
/linux-2.4.37.9/fs/nfsd/
Dauth.c54 cap_t(current->cap_effective) &= ~CAP_NFSD_MASK; in nfsd_setuser()
56 cap_t(current->cap_effective) |= (CAP_NFSD_MASK & in nfsd_setuser()
/linux-2.4.37.9/fs/xfs/
Dxfs_cap.h41 xfs_cap_value_t cap_effective; /* use in capability checks */ member
/linux-2.4.37.9/include/linux/
Dbinfmts.h29 kernel_cap_t cap_inheritable, cap_permitted, cap_effective; member
Dsched.h375 kernel_cap_t cap_effective, cap_inheritable, cap_permitted; member
499 cap_effective: CAP_INIT_EFF_SET, \
748 if (cap_raised(current->cap_effective, cap)) in capable()
/linux-2.4.37.9/fs/
Dopen.c373 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()
Dexec.c730 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()
/linux-2.4.37.9/net/sunrpc/
Dxprt.c1441 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()
/linux-2.4.37.9/fs/proc/
Darray.c276 cap_t(p->cap_effective)); in task_cap()
/linux-2.4.37.9/net/netlink/
Daf_netlink.c836 NETLINK_CB(skb).eff_cap = current->cap_effective; in netlink_sendmsg()