函数逻辑报告 | 
Source Code:security\apparmor\label.c | 
Create Date:2022-07-27 21:46:05 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| 首页 | 函数Tree | 
| 注解内核,赢得工具 | 下载SCCT | English | 
函数名称:aa_label_strn_parse - parse, validate and convert a text string to a label*@base: base label to use for lookups (NOT NULL)*@str: null terminated text string (NOT NULL)*@n: length of str to parse, will stop at \0 if encountered before n*@gfp: allocation
函数原型:struct aa_label *aa_label_strn_parse(struct aa_label *base, const char *str, size_t n, gfp_t gfp, bool create, bool force_stack)
返回类型:struct aa_label
参数:
| 类型 | 参数 | 名称 | 
|---|---|---|
| struct aa_label * | base | |
| const char * | str | |
| size_t | n | |
| gfp_t | gfp | |
| bool | create | |
| bool | force_stack | 
| 1861 | DEFINE_VEC(profile, vec) | 
| 1863 | stack等于0 | 
| 1870 | str等于skipn_spaces - Removes leading whitespace from @str.*@str: The string to be stripped.* Returns a pointer to the first non-whitespace character in @str.* if all whitespace will return NULL | 
| 1874 | len等于label_count_strn_entries(str, end - str) | 
| 1875 | 如果str恒等于'&'或force_stack则 | 
| 1902 | split等于aa_label_strn_split(str, end - str) | 
| 1916 | 如果len恒等于1则 | 
| 1917 | label等于aa_get_label( & label) | 
| 1918 | 转到:out | 
| 1928 | out : | 
| 1930 | vec_cleanup(profile, vec, len) | 
| 1931 | 返回:label | 
| 1933 | fail : | 
| 1935 | 转到:out | 
| 源代码转换工具 开放的插件接口  | X | 
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码  |