Function report | 
Source Code:security\tomoyo\common.c | 
Create Date:2022-07-28 19:34:46 | 
| Last Modify:2020-03-18 09:15:18 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:moyo_update_manager_entry - Add a manager entry.*@manager: The path to manager or the domainnamme.*@is_delete: True if it is a delete request.* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().
Proto:static int tomoyo_update_manager_entry(const char *manager, const bool is_delete)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const char * | manager | |
| const bool | is_delete | 
| 864 | struct tomoyo_manager e = {} | 
| 865 | struct tomoyo_acl_param param = {is_delete = is_delete, list = & List of policy. [TOMOYO_ID_MANAGER], } | 
| 872 | If Not tomoyo_correct_domain(manager) && Not tomoyo_correct_word(manager) Then Return -EINVAL | 
| 876 | If A path to program or a domainname. Then | 
| 881 | Return error | 
| Name | Describe | 
|---|---|
| tomoyo_write_manager | moyo_write_manager - Write manager 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  |