don't reallocate buffer in every audit_sockaddr()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 10 Dec 2008 00:50:34 +0000 (19:50 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 4 Jan 2009 20:14:39 +0000 (15:14 -0500)
commit4f6b434fee2402b3decdeae9d16eb648725ae426
tree2b82a9d220509e2fe42c365de5083eb8032880e4
parent7d3b56ba37a95f1f370f50258ed3954c304c524b
don't reallocate buffer in every audit_sockaddr()

No need to do that more than once per process lifetime; allocating/freeing
on each sendto/accept/etc. is bloody pointless.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/auditsc.c