函数逻辑报告 |
Source Code:security\tomoyo\common.c |
Create Date:2022-07-27 21:04:03 |
Last Modify:2020-03-18 09:15:18 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_update_manager_entry - Add a manager entry.*@manager: The path to manager or the domainnamme.*@is_delete: True if it is a delete request.* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().
函数原型:static int tomoyo_update_manager_entry(const char *manager, const bool is_delete)
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
const char * | manager | |
const bool | is_delete |
864 | struct tomoyo_manager e = {} |
865 | struct tomoyo_acl_param param = {is_delete = is_delete, list = & List of policy. [TOMOYO_ID_MANAGER], } |
872 | 如果非tomoyo_correct_domain(manager)且非tomoyo_correct_word(manager)则返回:负EINVAL |
881 | 返回:error |
名称 | 描述 |
---|---|
tomoyo_write_manager | moyo_write_manager - Write manager policy.*@head: Pointer to "struct tomoyo_io_buffer".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |