Function report |
Source Code:security\tomoyo\util.c |
Create Date:2022-07-28 19:47:57 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_const_part_length - Evaluate the initial length without a pattern in a token.*@filename: The string to evaluate.* Returns the initial length without a pattern in @filename.
Proto:static int tomoyo_const_part_length(const char *filename)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| const char * | filename |
| 616 | len = 0 |
| 618 | If Not filename Then Return 0 |
| 621 | If c != '\\' Then |
| 622 | len++ |
| 623 | Continue |
| 627 | Case c == '\\' |
| 628 | len += 2 |
| 629 | Continue |
| 630 | Case c == '0' |
| 631 | Case c == '1' |
| 632 | Case c == '2' |
| 633 | Case c == '3' |
| 640 | len += 4 |
| 641 | Continue |
| 643 | Break |
| 645 | Return len |
| Name | Describe |
|---|---|
| tomoyo_fill_path_info | moyo_fill_path_info - Fill in "struct tomoyo_path_info" members.*@ptr: Pointer to "struct tomoyo_path_info" to fill in.* The caller sets "struct tomoyo_path_info"->name. |
| 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 |