summaryrefslogtreecommitdiff
path: root/ipc/shm.c
diff options
context:
space:
mode:
authorSerge E. Hallyn <serue@us.ibm.com>2006-04-27 16:45:14 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2006-06-20 05:25:23 -0400
commit5d136a010de3bc16fe595987feb9ef8868f064c2 (patch)
treece0dbf3d5da61bc9b69fa557f0f578cd980f3147 /ipc/shm.c
parent0a3b483e83edb6aa6d3c49db70eeb6f1cd9f6c6b (diff)
downloadlinux-3.10-5d136a010de3bc16fe595987feb9ef8868f064c2.tar.gz
linux-3.10-5d136a010de3bc16fe595987feb9ef8868f064c2.tar.bz2
linux-3.10-5d136a010de3bc16fe595987feb9ef8868f064c2.zip
[PATCH] minor audit updates
Just a few minor proposed updates. Only the last one will actually affect behavior. The rest are just misleading code. Several AUDIT_SET functions return 'old' value, but only return value <0 is checked for. So just return 0. propagate audit_set_rate_limit and audit_set_backlog_limit error values In audit_buffer_free, the audit_freelist_count was being incremented even when we discard the return buffer, so audit_freelist_count can end up wrong. This could cause the actual freelist to shrink over time, eventually threatening to degrate audit performance. Signed-off-by: Serge E. Hallyn <serue@us.ibm.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions