提交 3ad40d64 编写于 作者: S Steve G 提交者: 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: NSteve Grubb <linux_4ever@yahoo.com>
Signed-off-by: NJames Morris <jmorris@halo.namei>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册