Function report |
Source Code:security\tomoyo\tomoyo.c |
Create Date:2022-07-28 19:47:01 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_task_alloc - Target for security_task_alloc().*@task: Pointer to "struct task_struct".*@flags: clone() flags.* Returns 0.
Proto:static int tomoyo_task_alloc(struct task_struct *task, unsigned long clone_flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
struct task_struct * | task | |
unsigned long | clone_flags |
504 | old = moyo_task - Get "struct tomoyo_task" for specified thread.*@task - Pointer to "struct task_struct".* Returns pointer to "struct tomoyo_task" for specified thread. |
505 | new = moyo_task - Get "struct tomoyo_task" for specified thread.*@task - Pointer to "struct task_struct".* Returns pointer to "struct tomoyo_task" for specified thread. |
507 | domain_info = domain_info |
508 | atomic_inc( & Number of referring tasks. ) |
509 | old_domain_info = NULL |
510 | Return 0 |
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 |