Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:file_alloc_security

Proto:static int file_alloc_security(struct file *file)

Type:int

Parameter:

TypeParameterName
struct file *file
359  fsec = selinux_file(file)
360  sid = get the subjective security ID of the current task
362  SID of open file description = sid
363  SID of file owner (for SIGIO) = sid
365  Return 0
Caller
NameDescribe
selinux_file_alloc_security