Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_inode_getsecctx

Proto:static int selinux_inode_getsecctx(struct inode *inode, void **ctx, unsigned int *ctxlen)

Type:int

Parameter:

TypeParameterName
struct inode *inode
void **ctx
unsigned int *ctxlen
6527  len = 0
6528  len = Copy the inode security context value to the user.* Permission check is handled by selinux_inode_getxattr hook.
6530  If len < 0 Then Return len
6532  ctxlen = len
6533  Return 0