| Function report | 
| Source Code: kernel\audit.c | Create Date:2022-07-28 11:22:28 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:auditd_set - Set/Reset the auditd connection state*@pid: auditd PID*@portid: auditd netlink portid*@net: auditd network namespace pointer* Description:* This function will obtain and drop network namespace references as* necessary
Proto:static int auditd_set(struct pid *pid, unsigned int portid, struct net *net)
Type:int
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct pid * | pid | |
| unsigned int | portid | |
| struct net * | net | 
| 500 | ac_new = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). | 
| 507 | spin_lock_irqsave( & auditd_conn_lock, flags) | 
| 511 | spin_unlock_irqrestore( & auditd_conn_lock, flags) | 
| 516 | Return 0 | 
| Name | Describe | 
|---|---|
| audit_receive_msg | 
| 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 |