Searched refs:cap_t (Results 1 – 6 of 6) sorted by relevance
291 #define cap_t(x) (x).cap macro296 #define cap_t(x) (x) macro316 #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 …]
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()
60 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()
769 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()
54 cap_t(current->cap_effective) &= ~CAP_NFSD_MASK; in nfsd_setuser()56 cap_t(current->cap_effective) |= (CAP_NFSD_MASK & in nfsd_setuser()
274 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()