Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_dentry_create_files_as

Proto:static int selinux_dentry_create_files_as(struct dentry *dentry, int mode, struct qstr *name, const struct cred *old, struct cred *new)

Type:int

Parameter:

TypeParameterName
struct dentry *dentry
intmode
struct qstr *name
const struct cred *old
struct cred *new
2890  rc = Determine the label for an inode that might be unioned.
2894  If rc Then Return rc
2897  tsec = selinux_cred(new)
2898  fscreate SID = newsid
2899  Return 0