AUDIT: buffer audit msgs directly to skb
commit5ac52f33b6f05fcb91a97124155183b779a4efdf
authorChris Wright <chrisw@osdl.org>
Fri, 6 May 2005 14:54:53 +0000 (6 15:54 +0100)
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>
Fri, 6 May 2005 14:54:53 +0000 (6 15:54 +0100)
tree9987d074c840a7afa731660400f4d5a8a8bad973
parent8fc6115c2a04099a6e846dc0b2d85cba43821b54
AUDIT: buffer audit msgs directly to skb

Drop the use of a tmp buffer in the audit_buffer, and just buffer
directly to the skb.  All header data that was temporarily stored in
the audit_buffer can now be stored directly in the netlink header in
the skb.  Resize skb as needed.  This eliminates the extra copy (and
the audit_log_move function which was responsible for copying).

Signed-off-by: Chris Wright <chrisw@osdl.org>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
kernel/audit.c