Searched refs:current_has_perm (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/security/selinux/
H A Dhooks.c1548 static int current_has_perm(const struct task_struct *tsk, current_has_perm() function
2047 return current_has_perm(child, PROCESS__PTRACE); selinux_ptrace_access_check()
2058 return current_has_perm(target, PROCESS__GETCAP); selinux_capget()
3401 rc = current_has_perm(current, PROCESS__EXECSTACK); selinux_file_mprotect()
3534 return current_has_perm(current, PROCESS__FORK); selinux_task_create()
3658 return current_has_perm(p, PROCESS__SETPGID); selinux_task_setpgid()
3663 return current_has_perm(p, PROCESS__GETPGID); selinux_task_getpgid()
3668 return current_has_perm(p, PROCESS__GETSESSION); selinux_task_getsid()
3678 return current_has_perm(p, PROCESS__SETSCHED); selinux_task_setnice()
3683 return current_has_perm(p, PROCESS__SETSCHED); selinux_task_setioprio()
3688 return current_has_perm(p, PROCESS__GETSCHED); selinux_task_getioprio()
3701 return current_has_perm(p, PROCESS__SETRLIMIT); selinux_task_setrlimit()
3708 return current_has_perm(p, PROCESS__SETSCHED); selinux_task_setscheduler()
3713 return current_has_perm(p, PROCESS__GETSCHED); selinux_task_getscheduler()
3718 return current_has_perm(p, PROCESS__SETSCHED); selinux_task_movememory()
3735 rc = current_has_perm(p, perm); selinux_task_kill()
5569 error = current_has_perm(p, PROCESS__GETATTR); selinux_getprocattr()
5628 error = current_has_perm(p, PROCESS__SETEXEC); selinux_setprocattr()
5630 error = current_has_perm(p, PROCESS__SETFSCREATE); selinux_setprocattr()
5632 error = current_has_perm(p, PROCESS__SETKEYCREATE); selinux_setprocattr()
5634 error = current_has_perm(p, PROCESS__SETSOCKCREATE); selinux_setprocattr()
5636 error = current_has_perm(p, PROCESS__SETCURRENT); selinux_setprocattr()

Completed in 95 milliseconds