函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:selinux_task_to_inode

函数原型:static void selinux_task_to_inode(struct task_struct *p, struct inode *inode)

返回类型:void

参数:

类型参数名称
struct task_struct *p
struct inode *inode
4172  isec等于selinux_inode(inode)
4173  sid等于get the objective security ID of a task
4175  加自旋锁
4176  security class of this object 等于inode_mode_to_security_class(i_mode)
4177  SID of this object 等于sid
4178  initialization flag 等于 initialized
4179  自旋锁解锁