函数逻辑报告 |
Source Code:security\apparmor\label.c |
Create Date:2022-07-27 21:45:35 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:aa_label_snxprint - print a label name to a string buffer*@str: buffer to write to
函数原型:int aa_label_snxprint(char *str, size_t size, struct aa_ns *ns, struct aa_label *label, int flags)
返回类型:int
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| char * | str | |
| size_t | size | |
| struct aa_ns * | ns | |
| struct aa_label * | label | |
| int | flags |
| 1607 | 如果flags按位与FLAG_ABS_ROOT则 |
| 1608 | ns等于 profile namespace |
| 1610 | helper macro for snprint routines (total, len, size, str) |
| 1611 | 否则如果非ns则 |
| 1617 | 如果count大于0则 |
| 1619 | helper macro for snprint routines (total, len, size, str) |
| 1624 | helper macro for snprint routines (total, len, size, str) |
| 1625 | count自加 |
| 1629 | 如果count恒等于0则 |
| 1641 | helper macro for snprint routines (total, len, size, str) |
| 1644 | 返回:total |
| 名称 | 描述 |
|---|---|
| aa_getprocattr | aa_getprocattr - Return the profile information for @profile*@profile: the profile to print profile info about (NOT NULL)*@string: Returns - string containing the profile info (NOT NULL)* Returns: length of @string on success else error on failure* |
| apparmor_secid_to_secctx | |
| aa_label_asxprint | aa_label_asxprint - allocate a string buffer and print label into it*@strp: Returns - the allocated buffer with the label name |
| aa_label_acntsxprint | aa_label_acntsxprint - allocate a __counted string buffer and print label*@strp: buffer to write to |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |