Home
last modified time | relevance | path

Searched refs:CAP_TO_MASK (Results 1 – 3 of 3) sorted by relevance

/linux-2.4.37.9/include/linux/
Dcapability.h302 #define CAP_FS_MASK (CAP_TO_MASK(CAP_CHOWN) \
303 | CAP_TO_MASK(CAP_DAC_OVERRIDE) \
304 | CAP_TO_MASK(CAP_DAC_READ_SEARCH) \
305 | CAP_TO_MASK(CAP_FOWNER) \
306 | CAP_TO_MASK(CAP_FSETID) \
307 | CAP_TO_MASK(CAP_LINUX_IMMUTABLE) \
308 | CAP_TO_MASK(CAP_MKNOD))
312 #define CAP_INIT_EFF_SET to_cap_t(~0 & ~CAP_TO_MASK(CAP_SETPCAP))
315 #define CAP_TO_MASK(x) (1 << (x)) macro
316 #define cap_raise(c, flag) (cap_t(c) |= CAP_TO_MASK(flag))
[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/fs/nfsd/
Dauth.c13 #define CAP_NFSD_MASK (CAP_FS_MASK|CAP_TO_MASK(CAP_SYS_RESOURCE))