函数逻辑报告 |
Source Code:security\tomoyo\common.c |
Create Date:2022-07-27 21:04:10 |
Last Modify:2020-03-18 09:15:18 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_manager - Check whether the current process is a policy manager.* Returns true if the current process is permitted to modify policy* via /sys/kernel/security/tomoyo/ interface.* Caller holds tomoyo_read_lock().
函数原型:static bool tomoyo_manager(void)
返回类型:bool
参数:无
943 | found等于IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_SECURITY_TOMOYO_INSECURE_BUILTIN_SETTING) |
945 | 如果非External variable definitions. *********则返回:true |
947 | 如果非Permit policy management by non-root user? 且非uid_eq(进程uid, GLOBAL_ROOT_UID)或非uid_eq(有效uid, GLOBAL_ROOT_UID)的值则返回:false |
951 | exe等于tomoyo_get_exe() |
952 | 如果非exe则返回:false |
963 | 如果非found则 |
973 | 释放内存 |
974 | 返回:found |
名称 | 描述 |
---|---|
tomoyo_write_control | moyo_write_control - write() for /sys/kernel/security/tomoyo/ interface.*@head: Pointer to "struct tomoyo_io_buffer".*@buffer: Pointer to buffer to read from.*@buffer_len: Size of @buffer.* Returns @buffer_len on success, negative value otherwise. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |