Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_inode_listsecurity

Proto:static int selinux_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size)

Type:int

Parameter:

TypeParameterName
struct inode *inode
char *buffer
size_tbuffer_size
3420  len = size of XATTR_NAME_SELINUX
3421  If buffer && len <= buffer_size Then memcpy(buffer, XATTR_NAME_SELINUX, len)
3423  Return len