Function report |
Source Code:security\selinux\hooks.c |
Create Date:2022-07-28 18:58:52 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:selinux_task_prlimit
Proto:static int selinux_task_prlimit(const struct cred *cred, const struct cred *tcred, unsigned int flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const struct cred * | cred | |
| const struct cred * | tcred | |
| unsigned int | flags |
| 4100 | av = 0 |
| 4102 | If Not flags Then Return 0 |
| 4104 | If flags & LSM_PRLIMIT_WRITE Then av |= PROCESS__SETRLIMIT |
| 4106 | If flags & Flags for security_task_prlimit(). Then av |= PROCESS__GETRLIMIT |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |