Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:smack_file_alloc_security - assign a file security blob*@file: the object* The security blob for a file is a pointer to the master* label list, so no allocation is done.* f_security is the owner security information. It

Proto:static int smack_file_alloc_security(struct file *file)

Type:int

Parameter:

TypeParameterName
struct file *file
1536  blob = smack_file(file)
1538  blob = Present a pointer to the smack label in the current task blob.
1539  Return 0