Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\include\objsec.h Create Date:2022-07-28 18:52:15
Last Modify:2020-03-18 08:17:34 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:selinux_inode

Proto:static inline struct inode_security_struct *selinux_inode(const struct inode *inode)

Type:struct inode_security_struct

Parameter:

TypeParameterName
const struct inode *inode
165  If Value for the false possibility is greater at compile time(!i_security) Then Return NULL
167  Return i_security + lbs_inode
Caller
NameDescribe
inode_alloc_securityAllocate and free functions for each kind of security blob.
__inode_security_revalidateTry 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
inode_security_novalidate
inode_security_rcu
inode_securityGet the security label of an inode.
backing_inode_security_novalidate
backing_inode_securityGet the security label of a dentry's backing inode.
inode_free_security
inode_doinit_with_dentry
inode_has_permCheck whether a task has a particular permission to an inode.The 'adp' parameter is optional and allows other auditdata to be passed (e.g. the dentry).
selinux_inode_init_security
audit_inode_permission
selinux_task_to_inode
selinux_inode_invalidate_secctx
sel_make_boolsdeclaration for sel_write_load
sel_fill_super