Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:inode_security_rcu

Proto:static struct inode_security_struct *inode_security_rcu(struct inode *inode, bool rcu)

Type:struct inode_security_struct

Parameter:

TypeParameterName
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  If error Then Return ERR_PTR(error)
302  Return selinux_inode(inode)
Caller
NameDescribe
selinux_inode_follow_link
selinux_inode_permission