Function report |
Source Code:kernel\sys.c |
Create Date:2022-07-28 09:20:48 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: lock must be held
Proto:static int check_prlimit_permission(struct task_struct *task, unsigned int flags)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct task_struct * | task | |
| unsigned int | flags |
| 1589 | cred = current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.() |
| 1592 | If current process == task Then Return 0 |
| 1602 | If Not id_match && Not ns_capable( user_ns the caps and keyrings are relative to. , Override max number of keymaps ) Then Return -EPERM |
| 1605 | Return security_task_prlimit(cred, tcred, flags) |
| Name | Describe |
|---|---|
| SYSCALL_DEFINE4 |
| 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 |