函数逻辑报告 |
Source Code:security\tomoyo\gc.c |
Create Date:2022-07-27 21:12:04 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_collect_entry - Try to kfree() deleted elements.* Returns nothing.
函数原型:static void tomoyo_collect_entry(void)
返回类型:void
参数:无
530 | mutex_lock( & tomoyo_policy_lock) |
538 | 如果非 Delete flag. 或atomic_read( & Number of referring tasks. )则继续下一循环 |
546 | 以i小于Group number is an integer between 0 and 255. 循环moyo_collect_acl - Delete elements in "struct tomoyo_domain_info".*@list: Pointer to "struct list_head".* Returns nothing. |
555 | 如果atomic_read( & users)大于0则继续下一循环 |
562 | 以i小于TOMOYO_MAX_GROUP循环 |
563 | list等于 List of "struct tomoyo_group". [i] |
569 | id等于TOMOYO_ID_PATH_GROUP |
570 | 退出 |
572 | id等于TOMOYO_ID_NUMBER_GROUP |
573 | 退出 |
574 | 默认 |
576 | 退出 |
580 | 如果非链表为空或atomic_read( & users)大于0则继续下一循环 |
590 | 以i小于TOMOYO_MAX_HASH循环 |
591 | list等于tomoyo_name_list[i] |
596 | 如果atomic_read( & users)大于0则继续下一循环 |
名称 | 描述 |
---|---|
tomoyo_gc_thread | moyo_gc_thread - Garbage collector thread function.*@unused: Unused.* Returns 0. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |