Lines Matching defs:effective
67 int cap_capget (struct task_struct *target, kernel_cap_t *effective,
71 *effective = cap_t (target->cap_effective);
77 int cap_capset_check (struct task_struct *target, kernel_cap_t *effective,
96 if (!cap_issubset (*effective, *permitted)) {
103 void cap_capset_set (struct task_struct *target, kernel_cap_t *effective,
106 target->cap_effective = *effective;
214 * cap_emulate_setxuid() fixes the effective / permitted capabilities of
218 * {r,e,s}uid != 0, the permitted and effective capabilities are
221 * 2) When set*uiding _from_ euid == 0 _to_ euid != 0, the effective
224 * 3) When set*uiding _from_ euid != 0 _to_ euid == 0, the effective
235 * effective sets will be retained.