Function report |
Source Code:security\security.c |
Create Date:2022-07-28 18:39:51 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:security_task_alloc
Proto:int security_task_alloc(struct task_struct *task, unsigned long clone_flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | task | |
unsigned long | clone_flags |
1506 | rc = lsm_task_alloc - allocate a composite task blob*@task: the task that needs a blob* Allocate the task blob for all the modules* Returns 0, or -ENOMEM if memory can't be allocated. |
1510 | rc = call_int_hook(task_alloc, 0, task, clone_flags) |
1511 | If Value for the false possibility is greater at compile time(rc) Then security_task_free(task) |
1513 | Return rc |
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 |