函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:_smk_fs - get the smackfs superblock* register the smackfs* Do not register smackfs if Smack wasn't enabled* on boot

函数原型:static int __init init_smk_fs(void)

返回类型:int

参数:

2957  如果smack_enabled恒等于0则返回:0
2960  err等于smk_init_sysfs - initialize /sys/fs/smackfs
2961  如果errprintk - print a kernel message*@fmt: format string* This is printk(). It can be called from any context. We want it to work.* We try to grab the console_lock. If we succeed, it's easy - we log the* output and call the console drivers
2964  err等于register_filesystem( & smk_fs_type)
2965  如果非err
2966  smackfs_mount等于kern_mount( & smk_fs_type)
2967  如果是错误
2969  err等于错误
2970  smackfs_mount = NULL
2974  smk_cipso_doi - initialize the CIPSO domain
2975  smk_unlbl_ambient - initialize the unlabeled domain*@oldambient: previous domain string
2977  rc等于smk_preset_netlabel( & smack_known_floor)
2978  如果err恒等于0且rc小于0则err等于rc
2980  rc等于smk_preset_netlabel( & smack_known_hat)
2981  如果err恒等于0且rc小于0则err等于rc
2983  rc等于smk_preset_netlabel( & smack_known_huh)
2984  如果err恒等于0且rc小于0则err等于rc
2986  rc等于smk_preset_netlabel( & smack_known_star)
2987  如果err恒等于0且rc小于0则err等于rc
2989  rc等于smk_preset_netlabel( & smack_known_web)
2990  如果err恒等于0且rc小于0则err等于rc
2993  返回:err