Function report |
Source Code:kernel\audit.c |
Create Date:2022-07-28 11:23:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:audit_net_init
Proto:static int __attribute__((__section__(".init.text"))) __attribute__((__cold__))audit_net_init(struct net *net)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct net * | net |
| 1544 | sk = netlink_kernel_create(net, auditing , & cfg) |
| 1545 | If (sk == NULL) Then |
| 1546 | audit_panic("cannot initialize netlink socket in namespace") |
| 1547 | Return -ENOMEM |
| 1549 | sk_sndtimeo = MAX_SCHEDULE_TIMEOUT |
| 1551 | Return 0 |
| 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 |