On Tuesday, April 4, 2017 6:38:41 AM EDT Richard Guy Briggs wrote: > Call errormsg after processing filterkey to speed up debugging.
Applied. Thanks! -Steve > See: https://github.com/linux-audit/audit-userspace/issues/13 > > Signed-off-by: Richard Guy Briggs <[email protected]> > --- > src/auditctl.c | 4 +++- > 1 files changed, 3 insertions(+), 1 deletions(-) > > diff --git a/src/auditctl.c b/src/auditctl.c > index e112b16..04765f4 100644 > --- a/src/auditctl.c > +++ b/src/auditctl.c > @@ -1091,8 +1091,10 @@ process_keys: > } else { > /* Add this to the rule */ > int ret = audit_rule_fieldpair_data(&rule_new, cmd, flags); > - if (ret < 0) > + if (ret != 0) { > + audit_number_to_errmsg(ret, cmd); > retval = -1; > + } > free(cmd); > } > } -- Linux-audit mailing list [email protected] https://www.redhat.com/mailman/listinfo/linux-audit
