Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:may_context_mount_inode_relabel

Proto:static int may_context_mount_inode_relabel(unsigned int sid, struct superblock_security_struct *sbsec, const struct cred *cred)

Type:int

Parameter:

TypeParameterName
unsigned intsid
struct superblock_security_struct *sbsec
const struct cred *cred
482  tsec = selinux_cred(cred)
484  rc = avc_has_perm - Check permissions and perform any appropriate auditing
487  If rc Then Return rc
490  rc = avc_has_perm - Check permissions and perform any appropriate auditing
493  Return rc
Caller
NameDescribe
selinux_set_mnt_optsAllow filesystems with binary mount data to explicitly set mount point* labeling information.