函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-27 20:25:53
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:file_alloc_security

函数原型:static int file_alloc_security(struct file *file)

返回类型:int

参数:

类型参数名称
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  返回:0
调用者
名称描述
selinux_file_alloc_security