Commit 3ad40d64 authored by Steve G's avatar Steve G Committed by James Morris

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: default avatarSteve Grubb <linux_4ever@yahoo.com>
Signed-off-by: default avatarJames Morris <jmorris@halo.namei>
parent 28e8351a
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment