| Function report | 
| Source Code: security\tomoyo\common.c | Create Date:2022-07-28 19:36:55 | 
| 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_stat - Update statistic counters.*@index: Index for policy type.* Returns nothing.
Proto:void tomoyo_update_stat(const u8 index)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| const u8 | index | 
| 2339 | atomic_inc( & Counter for number of updates. [index]) | 
| Name | Describe | 
|---|---|
| tomoyo_add_entry | moyo_add_entry - Add an ACL to current thread's domain. Used by learning mode.*@domain: Pointer to "struct tomoyo_domain_info".*@header: Lines containing ACL.* Returns nothing. | 
| tomoyo_supervisor | moyo_supervisor - Ask for the supervisor's decision | 
| tomoyo_write_control | moyo_write_control - write() for /sys/kernel/security/tomoyo/ interface.*@head: Pointer to "struct tomoyo_io_buffer".*@buffer: Pointer to buffer to read from.*@buffer_len: Size of @buffer.* Returns @buffer_len on success, negative value otherwise. | 
| tomoyo_assign_domain | moyo_assign_domain - Create a domain or a namespace.*@domainname: The name of domain.*@transit: True if transit to domain found or created.* Returns pointer to "struct tomoyo_domain_info" on success, NULL 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 |