Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\smack\smack_lsm.c Create Date:2022-07-28 19:21:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:smack_inode_listsecurity - list the Smack attributes*@inode: the object*@buffer: where they go*@buffer_size: size of buffer

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

Type:int

Parameter:

TypeParameterName
struct inode *inode
char *buffer
size_tbuffer_size
1487  len = size of XATTR_NAME_SMACK
1489  If buffer != NULL && len <= buffer_size Then memcpy(buffer, XATTR_NAME_SMACK, len)
1492  Return len