aboutsummaryrefslogtreecommitdiff
path: root/sys/security
diff options
context:
space:
mode:
authorChristian S.J. Peron <csjp@FreeBSD.org>2007-10-27 22:28:01 +0000
committerChristian S.J. Peron <csjp@FreeBSD.org>2007-10-27 22:28:01 +0000
commit4777d3f98a3c51bc00dfa619d59225d00d8b4c5b (patch)
treea4c798123e067d850b14d62d0dbb8fe8640d1661 /sys/security
parente71f249b661acd01cd51d1691dc93fc9a5f32f20 (diff)
downloadsrc-4777d3f98a3c51bc00dfa619d59225d00d8b4c5b.tar.gz
src-4777d3f98a3c51bc00dfa619d59225d00d8b4c5b.zip
Make sure we are incrementing the read count for each audit pipe read.
MFC after: 1 week
Notes
Notes: svn path=/head/; revision=173083
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/audit/audit_pipe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/security/audit/audit_pipe.c b/sys/security/audit/audit_pipe.c
index 6889c05d68db..ce2f1df517e3 100644
--- a/sys/security/audit/audit_pipe.c
+++ b/sys/security/audit/audit_pipe.c
@@ -934,6 +934,7 @@ audit_pipe_read(struct cdev *dev, struct uio *uio, int flag)
audit_pipe_entry_free(ape);
ap->ap_truncates++;
} while (1);
+ ap->ap_reads++;
mtx_unlock(&audit_pipe_mtx);
/*