函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:inode_security_rcu

函数原型:static struct inode_security_struct *inode_security_rcu(struct inode *inode, bool rcu)

返回类型:struct inode_security_struct

参数:

类型参数名称
struct inode *inode
boolrcu
299  error等于Try reloading inode security labels that have been marked as invalid. The*@may_sleep parameter indicates when sleeping and thus reloading labels is* allowed; when set to false, returns -ECHILD when the label is* invalid
300  如果error则返回:错误号
302  返回:selinux_inode(inode)
调用者
名称描述
selinux_inode_follow_link
selinux_inode_permission