Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:moyo_task_free - Target for security_task_free().*@task: Pointer to "struct task_struct".

Proto:static void tomoyo_task_free(struct task_struct *task)

Type:void

Parameter:

TypeParameterName
struct task_struct *task
520  s = moyo_task - Get "struct tomoyo_task" for specified thread.*@task - Pointer to "struct task_struct".* Returns pointer to "struct tomoyo_task" for specified thread.
522  If domain_info Then
523  atomic_dec( & Number of referring tasks. )
524  domain_info = NULL
526  If old_domain_info Then
527  atomic_dec( & Number of referring tasks. )
528  old_domain_info = NULL