Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:apparmor_task_alloc

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

Type:int

Parameter:

TypeParameterName
struct task_struct *task
unsigned longclone_flags
108  new = task_ctx(task)
110  aa_dup_task_ctx - duplicate a task context, incrementing reference counts*@new: a blank task context (NOT NULL)*@old: the task context to copy (NOT NULL)
112  Return 0