diff options
author | zhangxiliang <zhangxiliang@cn.fujitsu.com> | 2008-07-31 10:11:19 +0800 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-08-01 12:15:16 -0400 |
commit | 20c6aaa39ab735c7ed78e4e5a214d250efae0a6e (patch) | |
tree | 132164efa309d2df3daeb9fed80ee75da93672bc /samples/kobject | |
parent | 980dfb0db340b95094732d78b55311f2c539c1af (diff) |
[PATCH] Fix the bug of using AUDIT_STATUS_RATE_LIMIT when set fail, no error output.
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@cn.fujitsu.com>
Acked-by: Eric Paris <eparis@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'samples/kobject')
0 files changed, 0 insertions, 0 deletions