Function report |
Source Code:security\tomoyo\domain.c |
Create Date:2022-07-28 19:39:55 |
| Last Modify:2022-05-23 20:14:46 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_write_aggregator - Write "struct tomoyo_aggregator" list.*@param: Pointer to "struct tomoyo_acl_param".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().
Proto:int tomoyo_write_aggregator(struct tomoyo_acl_param *param)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct tomoyo_acl_param * | param |
| 405 | struct tomoyo_aggregator e = {} |
| 407 | original_name = tomoyo_read_token(param) |
| 410 | If Not tomoyo_correct_word(original_name) || Not tomoyo_correct_path(aggregated_name) Then Return -EINVAL |
| 415 | If Not original_name || Not aggregated_name || = tomoyo_path_contains_pattern(name) Then Go to out |
| 418 | list = List of policy. [TOMOYO_ID_AGGREGATOR] |
| 421 | out : |
| 424 | Return error |
| Name | Describe |
|---|---|
| tomoyo_write_exception | moyo_write_exception - Write exception policy.*@head: Pointer to "struct tomoyo_io_buffer".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
| 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 |