Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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 activityDownload SCCTChinese

Name:security_task_alloc

Proto:int security_task_alloc(struct task_struct *task, unsigned long clone_flags)

Type:int

Parameter:

TypeParameterName
struct task_struct *task
unsigned longclone_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.
1508  If rc Then Return rc
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