Home
last modified time | relevance | path

Searched refs:cap_t (Results 1 – 6 of 6) sorted by relevance

/linux-2.4.37.9/include/linux/
Dcapability.h291 #define cap_t(x) (x).cap macro
296 #define cap_t(x) (x) macro
316 #define cap_raise(c, flag) (cap_t(c) |= CAP_TO_MASK(flag))
317 #define cap_lower(c, flag) (cap_t(c) &= ~CAP_TO_MASK(flag))
318 #define cap_raised(c, flag) (cap_t(c) & CAP_TO_MASK(flag))
323 cap_t(dest) = cap_t(a) | cap_t(b); in cap_combine()
330 cap_t(dest) = cap_t(a) & cap_t(b); in cap_intersect()
337 cap_t(dest) = cap_t(a) & ~cap_t(drop); in cap_drop()
344 cap_t(dest) = ~cap_t(c); in cap_invert()
348 #define cap_isclear(c) (!cap_t(c))
[all …]
/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/kernel/
Dcapability.c60 data.permitted = cap_t(target->cap_permitted); in sys_capget()
61 data.inheritable = cap_t(target->cap_inheritable); in sys_capget()
62 data.effective = cap_t(target->cap_effective); in sys_capget()
Dsys.c769 cap_t(current->cap_effective) &= ~CAP_FS_MASK; in sys_setfsuid()
772 cap_t(current->cap_effective) |= in sys_setfsuid()
773 (cap_t(current->cap_permitted) & CAP_FS_MASK); in sys_setfsuid()
/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/proc/
Darray.c274 cap_t(p->cap_inheritable), in task_cap()
275 cap_t(p->cap_permitted), in task_cap()
276 cap_t(p->cap_effective)); in task_cap()