Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:selinux_is_sblabel_mnt

Proto:static int selinux_is_sblabel_mnt(struct super_block *sb)

Type:int

Parameter:

TypeParameterName
struct super_block *sb
511  sbsec = s_security
517  BUILD_BUG_ON - break compile if a condition is true(Highest SECURITY_FS_USE_XXX != 7)
520  Case labeling behavior == use xattr
521  Case labeling behavior == use transition SIDs, e.g. devpts/tmpfs
522  Case labeling behavior == use task SIDs, e.g. pipefs/sockfs
523  Case labeling behavior == use native label support
524  Return 1
526  Case labeling behavior == use the genfs support
527  Return selinux_is_genfs_special_handling(sb)
530  Case labeling behavior == use mountpoint labeling
531  Case labeling behavior == labeling support
532  Default
533  Return 0
Caller
NameDescribe
sb_finish_set_opts