Function report |
Source Code:security\smack\smackfs.c |
Create Date:2022-07-28 19:29:43 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:_smk_fs - get the smackfs superblock* register the smackfs* Do not register smackfs if Smack wasn't enabled* on boot
Proto:static int __init init_smk_fs(void)
Type:int
Parameter:Nothing
| 2957 | If smack_enabled == 0 Then Return 0 |
| 2964 | err = register_filesystem( & smk_fs_type) |
| 2965 | If Not err Then |
| 2966 | smackfs_mount = kern_mount( & smk_fs_type) |
| 2967 | If IS_ERR(smackfs_mount) Then |
| 2977 | rc = smk_preset_netlabel( & smack_known_floor) |
| 2980 | rc = smk_preset_netlabel( & smack_known_hat) |
| 2983 | rc = smk_preset_netlabel( & smack_known_huh) |
| 2986 | rc = smk_preset_netlabel( & smack_known_star) |
| 2989 | rc = smk_preset_netlabel( & smack_known_web) |
| 2993 | Return err |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |