diff options
author | Steve G <linux_4ever@yahoo.com> | 2007-08-14 21:50:46 +0200 |
---|---|---|
committer | James Morris <jmorris@halo.namei> | 2007-08-16 17:42:28 +0200 |
commit | 3ad40d647d5e7c320385649e5eb422a5e89e035d (patch) | |
tree | 496025ef0d9427967f56d2523cfc2b2097531ec4 | |
parent | Merge git://git.kernel.org/pub/scm/linux/kernel/git/steve/gfs2-2.6-fixes (diff) | |
download | linux-3ad40d647d5e7c320385649e5eb422a5e89e035d.tar.xz linux-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>
-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 f00161ef99ed..6100fc023055 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: |