Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Feb 2009 13:21:28 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/security/audit audit_pipe.c
Message-ID:  <200902251321.n1PDLfLQ070232@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2009-02-25 13:21:28 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/security/audit   audit_pipe.c 
  Log:
  SVN rev 189035 on 2009-02-25 13:21:28Z by rwatson
  
  Merge r184536 from head to stable/7:
  
    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.
  
    Sponsored by: Apple, Inc.
  
  Revision   Changes    Path
  1.11.2.11  +28 -15    src/sys/security/audit/audit_pipe.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902251321.n1PDLfLQ070232>