函数逻辑报告 |
Source Code:security\tomoyo\common.c |
Create Date:2022-07-27 21:03:57 |
| Last Modify:2020-03-18 09:15:18 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_read_profile - Read profile table.*@head: Pointer to "struct tomoyo_io_buffer".* Returns nothing.
函数原型:static void tomoyo_read_profile(struct tomoyo_io_buffer *head)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct tomoyo_io_buffer * | head |
| 751 | 如果eof则返回 |
| 753 | next : |
| 764 | 以index小于Profile number is an integer between 0 and 255. 循环如果 Profile table. Memory is allocated as needed. [index]则 |
| 767 | 退出 |
| 769 | eof = true |
| 770 | 返回 |
| 772 | step自加 |
| 773 | 退出 |
| 786 | 以i小于TOMOYO_MAX_PREF循环moyo_io_printf - printf() to "struct tomoyo_io_buffer" structure.*@head: Pointer to "struct tomoyo_io_buffer".*@fmt: The printf()'s format string, followed by parameters. |
| 791 | step自加 |
| 793 | 退出 |
| 802 | 退出 |
| 809 | 如果config恒等于TOMOYO_CONFIG_USE_DEFAULT则继续下一循环 |
| 822 | bit自加 |
| 823 | 退出 |
| 830 | 退出 |
| 832 | 如果moyo_flush - Flush queued string to userspace's buffer.*@head: Pointer to "struct tomoyo_io_buffer".* Returns true if all data was flushed, false otherwise.则转到:next |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |