summaryrefslogtreecommitdiffstats
path: root/net/socket.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:09 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:15:20 +0100
commit754fe8d297bfae7b77f7ce866e2fb0c5fb186506 (patch)
treeb2650f728d50791fa86ecd8c49806f51db714bd4 /net/socket.c
parent5add95d4f7cf08f6f62510f19576992912387501 (diff)
downloadlinux-754fe8d297bfae7b77f7ce866e2fb0c5fb186506.tar.gz
linux-754fe8d297bfae7b77f7ce866e2fb0c5fb186506.tar.bz2
linux-754fe8d297bfae7b77f7ce866e2fb0c5fb186506.zip
[CVE-2009-0029] System call wrappers part 07
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'net/socket.c')
-rw-r--r--net/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/socket.c b/net/socket.c
index 06603d73c411..cc9b666e58f6 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -1789,7 +1789,7 @@ out_put:
* Shutdown a socket.
*/
-asmlinkage long sys_shutdown(int fd, int how)
+SYSCALL_DEFINE2(shutdown, int, fd, int, how)
{
int err, fput_needed;
struct socket *sock;