函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:security\selinux\hooks.c Create Date:2022-07-27 20:26:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:parse_sid

函数原型:static int parse_sid(struct super_block *sb, const char *s, unsigned int *sid)

返回类型:int

参数:

类型参数名称
struct super_block *sb
const char *s
unsigned int *sid
633  rc等于security_context_str_to_sid( & selinux_state, s, sid, GFP_KERNEL)
635  如果rc打印警告信息("SELinux: security_context_str_to_sid(%s) failed for (dev %s, type %s) errno=%d\n", s, Informational name , name, rc)
639  返回:rc
调用者
名称描述
selinux_set_mnt_optsAllow filesystems with binary mount data to explicitly set mount point* labeling information.
selinux_sb_remount