Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_sb_kern_mount

Proto:static int selinux_sb_kern_mount(struct super_block *sb)

Type:int

Parameter:

TypeParameterName
struct super_block *sb
2732  cred = current_cred - Access the current task's subjective credentials* Access the subjective credentials of the current task. RCU-safe,* since nobody else can modify it.()
2735  type = LSM_AUDIT_DATA_DENTRY
2736  dentry = s_root
2737  Return Check whether a task can perform a filesystem operation.