AUDIT: Fix user pointer deref thinko in sys_socketcall().
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>
Thu, 2 Jun 2005 11:13:21 +0000 (12:13 +0100)
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>
Thu, 2 Jun 2005 11:13:21 +0000 (12:13 +0100)
commit4bcff1b37e7c3aed914d1ce5b45994adc7dbf455
tree0ab25e1679752cd6feaba64e7c7a495afc9d6a28
parent8f37d47c9bf74cb48692691086b482e315d07f40
AUDIT: Fix user pointer deref thinko in sys_socketcall().

I cunningly put the audit call immediately after the
copy_from_user().... but used the _userspace_ copy of the args still.
Let's not do that.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
net/socket.c