Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:may_context_mount_sb_relabel

Proto:static int may_context_mount_sb_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
463  tsec = selinux_cred(cred)
466  rc = avc_has_perm - Check permissions and perform any appropriate auditing
469  If rc Then Return rc
472  rc = avc_has_perm - Check permissions and perform any appropriate auditing
475  Return rc
Caller
NameDescribe
selinux_set_mnt_optsAllow filesystems with binary mount data to explicitly set mount point* labeling information.