Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:parse_sid

Proto:static int parse_sid(struct super_block *sb, const char *s, unsigned int *sid)

Type:int

Parameter:

TypeParameterName
struct super_block *sb
const char *s
unsigned int *sid
633  rc = security_context_str_to_sid( & selinux_state, s, sid, GFP_KERNEL)
635  If rc Then pr_warn("SELinux: security_context_str_to_sid(%s) failed for (dev %s, type %s) errno=%d\n", s, Informational name , name, rc)
639  Return rc
Caller
NameDescribe
selinux_set_mnt_optsAllow filesystems with binary mount data to explicitly set mount point* labeling information.
selinux_sb_remount