diff options
author | csjp <csjp@FreeBSD.org> | 2007-10-27 22:28:01 +0000 |
---|---|---|
committer | csjp <csjp@FreeBSD.org> | 2007-10-27 22:28:01 +0000 |
commit | eaecf9354fcdefa62a44d01afb8e061606d4d01a (patch) | |
tree | a4c798123e067d850b14d62d0dbb8fe8640d1661 /sys/security/audit/audit_pipe.c | |
parent | 2a9cc515806c61986c713946ca9bf068bee79012 (diff) | |
download | FreeBSD-src-eaecf9354fcdefa62a44d01afb8e061606d4d01a.zip FreeBSD-src-eaecf9354fcdefa62a44d01afb8e061606d4d01a.tar.gz |
Make sure we are incrementing the read count for each audit pipe read.
MFC after: 1 week
Diffstat (limited to 'sys/security/audit/audit_pipe.c')
-rw-r--r-- | sys/security/audit/audit_pipe.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/security/audit/audit_pipe.c b/sys/security/audit/audit_pipe.c index 6889c05..ce2f1df 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); /* |