Re: [PATCH] Fix the bug of using AUDIT_STATUS_RATE_LIMIT when setfail, no error output.

From: Al Viro
Date: Thu Jul 31 2008 - 12:04:55 EST


On Wed, Jul 30, 2008 at 11:15:50PM -0400, Eric Paris wrote:
> On Thu, 2008-07-31 at 10:11 +0800, zhangxiliang wrote:
> > When the "status_get->mask" is "AUDIT_STATUS_RATE_LIMIT || AUDIT_STATUS_BACKLOG_LIMIT".
> > If "audit_set_rate_limit" fails and "audit_set_backlog_limit" succeeds, the "err" value will be greater than or equal to 0. It will miss the failure of rate set.
> >
> > Signed-off-by: Zhang Xiliang <zhangxiliang@xxxxxxxxxxxxxx>
>
> man, it gives me the heebee jeebies with the coding style but it follows
> everything else

Sanitized, applied, pushed to audit-current (audit.b53)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/