aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-08-18 09:38:30 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-08-18 09:38:30 -0700
commit505683675cf0ed903765f160ad633f77ab90a9d4 (patch)
tree4008d2e7c80f3d19d917752e1274d293630c7a44
parente4f3b1e74b67fdcdd3034b84997fad7912f182f6 (diff)
parent3ad40d647d5e7c320385649e5eb422a5e89e035d (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6: SELinux: correct error code in selinux_audit_rule_init
-rw-r--r--security/selinux/ss/services.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c
index f00161ef99e..6100fc02305 100644
--- a/security/selinux/ss/services.c
+++ b/security/selinux/ss/services.c
@@ -2127,7 +2127,7 @@ int selinux_audit_rule_init(u32 field, u32 op, char *rulestr,
*rule = NULL;
if (!ss_initialized)
- return -ENOTSUPP;
+ return -EOPNOTSUPP;
switch (field) {
case AUDIT_SUBJ_USER: