函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:may_context_mount_sb_relabel

函数原型:static int may_context_mount_sb_relabel(unsigned int sid, struct superblock_security_struct *sbsec, const struct cred *cred)

返回类型:int

参数:

类型参数名称
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  如果rc则返回:rc
472  rc等于avc_has_perm - Check permissions and perform any appropriate auditing
475  返回:rc
调用者
名称描述
selinux_set_mnt_optsAllow filesystems with binary mount data to explicitly set mount point* labeling information.