Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\auditsc.c Create Date:2022-07-28 11:28:21
Last Modify:2020-03-17 16:31:21 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:__audit_sockaddr - record audit data for sys_bind, sys_connect, sys_sendto*@len: data length in user space*@a: data address in kernel space* Returns 0 for success or NULL context or < 0 on error.

Proto:int __audit_sockaddr(int len, void *a)

Type:int

Parameter:

TypeParameterName
intlen
void *a
2353  context = audit_context()
2355  If Not sockaddr Then
2356  p = Allocation memory
2357  If Not p Then Return -ENOMEM
2359  sockaddr = p
2362  sockaddr_len = len
2363  No 3D Now!(sockaddr, a, len)
2364  Return 0