函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\include\objsec.h Create Date:2022-07-27 20:25:09
Last Modify:2020-03-18 08:17:34 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:selinux_inode

函数原型:static inline struct inode_security_struct *selinux_inode(const struct inode *inode)

返回类型:struct inode_security_struct

参数:

类型参数名称
const struct inode *inode
165  如果此条件成立可能性小(为编译器优化)(!i_security)则返回:NULL
167  返回:i_securitylbs_inode
调用者
名称描述
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