Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_dentry_init_security

Proto:static int selinux_dentry_init_security(struct dentry *dentry, int mode, const struct qstr *name, void **ctx, unsigned int *ctxlen)

Type:int

Parameter:

TypeParameterName
struct dentry *dentry
intmode
const struct qstr *name
void **ctx
unsigned int *ctxlen
2870  rc = Determine the label for an inode that might be unioned.
2874  If rc Then Return rc
2877  Return security_sid_to_context( & selinux_state, newsid, (char * * )ctx, ctxlen)