summaryrefslogtreecommitdiff
path: root/kernel/acct.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2002-10-28 21:30:34 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2002-10-28 21:30:34 -0800
commit267ebfd662f32df647e0803ca5d2a26e7d7cc060 (patch)
treee6b8e4e05219645e13ab2af4fba0ff85f40cf850 /kernel/acct.c
parent9179a307bffc558ccd8cff8334ca08ef2b68ea1b (diff)
parentefdddf70cc1946feb4b00b1771cce3aef8efcc0e (diff)
Merge kroah.com:/home/greg/linux/BK/bleeding_edge-2.5
into kroah.com:/home/greg/linux/BK/lsm-2.5
Diffstat (limited to 'kernel/acct.c')
-rw-r--r--kernel/acct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/acct.c b/kernel/acct.c
index 20973f3ed6e4..1a5a5a3532ab 100644
--- a/kernel/acct.c
+++ b/kernel/acct.c
@@ -49,6 +49,7 @@
#include <linux/acct.h>
#include <linux/file.h>
#include <linux/tty.h>
+#include <linux/security.h>
#include <asm/uaccess.h>
/*
@@ -222,8 +223,7 @@ asmlinkage long sys_acct(const char *name)
}
}
- error = security_ops->acct(file);
- if (error)
+ if ((error = security_acct(file)))
return error;
spin_lock(&acct_globals.lock);