| 函数逻辑报告 | 
| Source Code: security\tomoyo\common.c | Create Date:2022-07-27 21:05:42 | 
| Last Modify:2020-03-18 09:15:18 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:moyo_add_entry - Add an ACL to current thread's domain. Used by learning mode.*@domain: Pointer to "struct tomoyo_domain_info".*@header: Lines containing ACL.* Returns nothing.
函数原型:static void tomoyo_add_entry(struct tomoyo_domain_info *domain, char *header)
返回类型:void
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct tomoyo_domain_info * | domain | |
| char * | header | 
| 2002 | char * realpath = NULL | 
| 2003 | char * argv0 = NULL | 
| 2004 | char * symlink = NULL | 
| 2005 | cp等于strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for | 
| 2008 | 如果非cp则返回 | 
| 2010 | cp等于strchr - Find the first occurrence of the character c in the string s.*@s: the string to be searched*@c: the character to search for | 
| 2011 | 如果非cp则返回 | 
| 2013 | cp自加等于'\0' | 
| 2016 | 如果cp恒等于'f'则 | 
| 2017 | argv0等于strstr - Find the first substring in a %NUL terminated string*@s1: The string to be searched*@s2: The string to search for | 
| 2018 | 如果argv0则 | 
| 2019 | argv0加等于10 | 
| 2022 | realpath等于strstr - Find the first substring in a %NUL terminated string*@s1: The string to be searched*@s2: The string to search for | 
| 2023 | 如果realpath则 | 
| 2024 | realpath加等于8 | 
| 2032 | 如果非buffer则返回 | 
| 2041 | tomoyo_normalize_line(buffer) | 
| 2045 | 释放内存 | 
| 名称 | 描述 | 
|---|---|
| tomoyo_supervisor | moyo_supervisor - Ask for the supervisor's decision | 
| 源代码转换工具 开放的插件接口 | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |