Searched hist:184536 (Results 1 - 1 of 1) sorted by relevance
/freebsd-11-stable/sys/security/audit/ | ||
H A D | audit_pipe.c | diff 184536 Sat Nov 01 20:02:45 MDT 2008 rwatson We only allow a partial read of the first record in an audit pipe record queue, so move the offset field from the per-record audit_pipe_entry structure to the audit_pipe structure. Now that we support reading more than one record at a time, add a new summary field to audit_pipe, ap_qbyteslen, which tracks the total number of bytes present in a pipe, and return that (minus the current offset) via FIONREAD and kqueue's data variable for the pending byte count rather than the number of bytes remaining in only the first record. Add a number of asserts to confirm that these counts and offsets following the expected rules. MFC after: 2 months Sponsored by: Apple, Inc. |
Completed in 44 milliseconds