summaryrefslogtreecommitdiffstats
path: root/kernel/acct.c
diff options
context:
space:
mode:
authorHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:14:06 +0100
committerHeiko Carstens <heiko.carstens@de.ibm.com>2009-01-14 14:15:19 +0100
commitb290ebe2c46d01b742b948ce03f09e8a3efb9a92 (patch)
tree4419602f911a8205de2160c56a0ff844f350557e /kernel/acct.c
parentae1251ab785f6da87219df8352ffdac68bba23e4 (diff)
downloadop-kernel-dev-b290ebe2c46d01b742b948ce03f09e8a3efb9a92.zip
op-kernel-dev-b290ebe2c46d01b742b948ce03f09e8a3efb9a92.tar.gz
[CVE-2009-0029] System call wrappers part 04
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'kernel/acct.c')
-rw-r--r--kernel/acct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/acct.c b/kernel/acct.c
index d57b7cb..7afa315 100644
--- a/kernel/acct.c
+++ b/kernel/acct.c
@@ -277,7 +277,7 @@ static int acct_on(char *name)
* should be written. If the filename is NULL, accounting will be
* shutdown.
*/
-asmlinkage long sys_acct(const char __user *name)
+SYSCALL_DEFINE1(acct, const char __user *, name)
{
int error;
OpenPOWER on IntegriCloud