| 函数逻辑报告 | 
| Source Code: security\tomoyo\common.c | Create Date:2022-07-27 21:05:12 | 
| Last Modify:2020-03-18 09:15:18 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:moyo_read_pid - Get domainname of the specified PID
函数原型:static void tomoyo_read_pid(struct tomoyo_io_buffer *head)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct tomoyo_io_buffer * | head | 
| 1698 | buf等于Buffer for writing. | 
| 1699 | bool global_pid = false | 
| 1702 | struct tomoyo_domain_info * domain = NULL | 
| 1705 | 如果非buf则 | 
| 1706 | eof = true | 
| 1707 | 返回 | 
| 1711 | eof = true | 
| 1712 | 如果tomoyo_str_starts( & buf, "global-pid ")则global_pid = true | 
| 1719 | 否则p等于find_task_by_vpid(pid) | 
| 1721 | 如果p则domain等于domain_info | 
| 1724 | 如果非domain则返回 | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |