Function report |
Source Code:security\tomoyo\common.c |
Create Date:2022-07-28 19:35:05 |
| Last Modify:2020-03-18 09:15:18 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:moyo_delete_domain - Delete a domain.*@domainname: The name of domain.* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock().
Proto:static int tomoyo_delete_domain(char *domainname)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| char * | domainname |
| 1094 | name = domainname |
| 1095 | tomoyo_fill_path_info( & name) |
| 1096 | If mutex_lock_interruptible( & tomoyo_policy_lock) Then Return -EINTR |
| 1102 | If domain == tomoyo_kernel_domain Then Continue |
| 1107 | Delete flag. = true |
| 1108 | Break |
| 1111 | Return 0 |
| Name | Describe |
|---|---|
| tomoyo_write_domain | moyo_write_domain - Write domain 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 |