diff options
author | Steve G <linux_4ever@yahoo.com> | 2007-08-14 12:50:46 -0700 |
---|---|---|
committer | James Morris <jmorris@halo.namei> | 2007-08-16 11:42:28 -0400 |
commit | 3ad40d647d5e7c320385649e5eb422a5e89e035d (patch) | |
tree | 496025ef0d9427967f56d2523cfc2b2097531ec4 /security | |
parent | 28e8351ac22de25034e048c680014ad824323c65 (diff) | |
download | kernel-crypto-3ad40d647d5e7c320385649e5eb422a5e89e035d.tar.gz kernel-crypto-3ad40d647d5e7c320385649e5eb422a5e89e035d.tar.xz kernel-crypto-3ad40d647d5e7c320385649e5eb422a5e89e035d.zip |
SELinux: correct error code in selinux_audit_rule_init
Corrects an error code so that it is valid to pass to userspace.
Signed-off-by: Steve Grubb <linux_4ever@yahoo.com>
Signed-off-by: James Morris <jmorris@halo.namei>
Diffstat (limited to 'security')
-rw-r--r-- | security/selinux/ss/services.c | 2 |
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: |