Function report |
Source Code:security\apparmor\label.c |
Create Date:2022-07-28 19:54:25 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:aa_label_snxprint - print a label name to a string buffer*@str: buffer to write to
Proto:int aa_label_snxprint(char *str, size_t size, struct aa_ns *ns, struct aa_label *label, int flags)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
char * | str | |
size_t | size | |
struct aa_ns * | ns | |
struct aa_label * | label | |
int | flags |
1607 | If flags & FLAG_ABS_ROOT Then |
1608 | ns = profile namespace |
1610 | helper macro for snprint routines (total, len, size, str) |
1611 | Else if Not ns Then |
1617 | If count > 0 Then |
1619 | helper macro for snprint routines (total, len, size, str) |
1624 | helper macro for snprint routines (total, len, size, str) |
1625 | count++ |
1629 | If count == 0 Then |
1641 | helper macro for snprint routines (total, len, size, str) |
1644 | Return total |
Name | Describe |
---|---|
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 |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |