Lines Matching refs:current_has_perm
1409 static int current_has_perm(const struct task_struct *tsk,
1802 return current_has_perm(child, PROCESS__PTRACE);
1821 error = current_has_perm(target, PROCESS__GETCAP);
3038 rc = current_has_perm(current, PROCESS__EXECSTACK);
3180 return current_has_perm(current, PROCESS__FORK);
3300 return current_has_perm(p, PROCESS__SETPGID);
3305 return current_has_perm(p, PROCESS__GETPGID);
3310 return current_has_perm(p, PROCESS__GETSESSION);
3326 return current_has_perm(p, PROCESS__SETSCHED);
3337 return current_has_perm(p, PROCESS__SETSCHED);
3342 return current_has_perm(p, PROCESS__GETSCHED);
3355 return current_has_perm(p, PROCESS__SETRLIMIT);
3368 return current_has_perm(p, PROCESS__SETSCHED);
3373 return current_has_perm(p, PROCESS__GETSCHED);
3378 return current_has_perm(p, PROCESS__SETSCHED);
3395 rc = current_has_perm(p, perm);
5107 error = current_has_perm(p, PROCESS__GETATTR);
5166 error = current_has_perm(p, PROCESS__SETEXEC);
5168 error = current_has_perm(p, PROCESS__SETFSCREATE);
5170 error = current_has_perm(p, PROCESS__SETKEYCREATE);
5172 error = current_has_perm(p, PROCESS__SETSOCKCREATE);
5174 error = current_has_perm(p, PROCESS__SETCURRENT);