函数逻辑报告 |
Source Code:security\apparmor\apparmorfs.c |
Create Date:2022-07-27 21:25:16 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_create_aafs - create the apparmor security filesystem* dentries created here are released by aa_destroy_aafs* Returns: error on failure
函数原型:static int __init aa_create_aafs(void)
返回类型:int
参数:无
2622 | 如果非Flag indicating whether initialization completed 则返回:0 |
2625 | 如果dentry则 |
2631 | aafs_mnt等于kern_mount( & aafs_ops) |
2632 | 如果是错误则panic - halt the system*@fmt: The text string to print* Display a message, then perform cleanups.* This function never returns. |
2643 | 如果是错误则转到:dent_error |
2645 | ns_subload(root_ns)等于dent |
2649 | 如果是错误则转到:dent_error |
2651 | ns_subreplace(root_ns)等于dent |
2655 | 如果是错误则转到:dent_error |
2657 | ns_subremove(root_ns)等于dent |
2661 | 如果是错误则转到:dent_error |
2663 | ns_subrevision(root_ns)等于dent |
2666 | mutex_lock_nested( & lock, level) |
2676 | 如果是错误则转到:dent_error |
2679 | error等于aa_mk_null_file(dentry) |
2686 | aa_info_message("AppArmor Filesystem Enabled") |
2687 | 返回:0 |
2689 | dent_error : |
2691 | error : |
2693 | AA_ERROR("Error creating AppArmor securityfs\n") |
2694 | 返回:error |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |