Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\security.c Create Date:2022-07-28 18:38:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static int lsm_task_alloc(struct task_struct *task)

Type:int

Parameter:

TypeParameterName
struct task_struct *task
572  If lbs_task == 0 Then
573  security = NULL
574  Return 0
577  security = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc).
578  If (security == NULL) Then Return -ENOMEM
580  Return 0
Caller
NameDescribe
lsm_early_task
security_task_alloc