函数逻辑报告 |
Source Code:security\tomoyo\domain.c |
Create Date:2022-07-27 21:08:30 |
Last Modify:2022-05-23 20:14:46 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_update_policy - Update an entry for exception policy.*@new_entry: Pointer to "struct tomoyo_acl_info".*@size: Size of @new_entry in bytes.*@param: Pointer to "struct tomoyo_acl_param".*@check_duplicate: Callback function to find duplicated entry.
函数原型:int tomoyo_update_policy(struct tomoyo_acl_head *new_entry, const int size, struct tomoyo_acl_param *param, bool (*check_duplicate)(const struct tomoyo_acl_head *, const struct tomoyo_acl_head *))
返回类型:int
参数:
类型 | 参数 | 名称 |
---|---|---|
struct tomoyo_acl_head * | new_entry | |
const int | size | |
struct tomoyo_acl_param * | param | |
bool (* | check_duplicate |
42 | 如果mutex_lock_interruptible( & tomoyo_policy_lock)则返回:负ENOMEM |
46 | 如果rue or false or TOMOYO_GC_IN_PROGRESS 恒等于Garbage collector is trying to kfree() this element. 则继续下一循环 |
48 | 如果非check_duplicate(entry, new_entry)则继续下一循环 |
51 | error等于0 |
52 | 退出 |
62 | 返回:error |
名称 | 描述 |
---|---|
tomoyo_write_transition_control | moyo_write_transition_control - Write "struct tomoyo_transition_control" list.*@param: Pointer to "struct tomoyo_acl_param".*@type: Type of this entry.* Returns 0 on success, negative value otherwise. |
tomoyo_write_aggregator | moyo_write_aggregator - Write "struct tomoyo_aggregator" list.*@param: Pointer to "struct tomoyo_acl_param".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
tomoyo_write_group | moyo_write_group - Write "struct tomoyo_path_group"/"struct tomoyo_number_group"/"struct tomoyo_address_group" list.*@param: Pointer to "struct tomoyo_acl_param".*@type: Type of this group.* Returns 0 on success, negative value otherwise. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |