函数逻辑报告 |
Source Code:security\tomoyo\common.c |
Create Date:2022-07-27 21:06:03 |
| Last Modify:2020-03-18 09:15:18 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:moyo_write_answer - Write the supervisor's decision.*@head: Pointer to "struct tomoyo_io_buffer".* Returns 0 on success, -EINVAL otherwise.
函数原型:static int tomoyo_write_answer(struct tomoyo_io_buffer *head)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct tomoyo_io_buffer * | head |
| 2265 | data等于Buffer for writing. |
| 2270 | 加自旋锁 |
| 2274 | timer等于0 |
| 2276 | 自旋锁解锁 |
| 2277 | 如果sscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: formatting of buffer*@...: resulting arguments不等于2则返回:负EINVAL |
| 2279 | 加自旋锁 |
| 2287 | 如果answer则删除链表项并重新初始化 |
| 2289 | 退出 |
| 2291 | 自旋锁解锁 |
| 2292 | 返回:0 |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |