提交 739c9503 编写于 作者: E Eric Paris

audit: WARN if audit_rule_change called illegally

Signed-off-by: NEric Paris <eparis@redhat.com>
上级 3639f170
...@@ -1085,7 +1085,8 @@ int audit_rule_change(int type, __u32 portid, int seq, void *data, ...@@ -1085,7 +1085,8 @@ int audit_rule_change(int type, __u32 portid, int seq, void *data,
audit_free_rule(entry); audit_free_rule(entry);
break; break;
default: default:
return -EINVAL; err = -EINVAL;
WARN_ON(1);
} }
return err; return err;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册