Function report |
Source Code:security\selinux\avc.c |
Create Date:2022-07-28 18:43:51 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:avc_add_callback - Register a callback for security events.*@callback: callback function*@events: security events* Register a callback function for events in the set @events.* Returns %0 on success or -%ENOMEM if insufficient memory
Proto:int __init avc_add_callback(int (*callback)(unsigned int event), unsigned int events)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| int (* | callback | |
| unsigned int | events |
| 798 | rc = 0 |
| 800 | c = Allocation memory |
| 801 | If Not c Then |
| 808 | next = avc_callbacks |
| 809 | avc_callbacks = c |
| 810 | out : |
| 811 | Return rc |
| Name | Describe |
|---|---|
| selinux_init |
| 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 |