From owner-cvs-all@FreeBSD.ORG Sun Mar 2 21:34:17 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D6E11065673; Sun, 2 Mar 2008 21:34:17 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5EB9A8FC15; Sun, 2 Mar 2008 21:34:17 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m22LYHB4038822; Sun, 2 Mar 2008 21:34:17 GMT (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m22LYHwo038821; Sun, 2 Mar 2008 21:34:17 GMT (envelope-from rwatson) Message-Id: <200803022134.m22LYHwo038821@repoman.freebsd.org> From: Robert Watson Date: Sun, 2 Mar 2008 21:34:17 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/security/audit audit_trigger.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Mar 2008 21:34:17 -0000 rwatson 2008-03-02 21:34:17 UTC FreeBSD src repository Modified files: sys/security/audit audit_trigger.c Log: Rather than copying out the full audit trigger record, which includes a queue entry field, just copy out the unsigned int that is the trigger message. In practice, auditd always requested sizeof(unsigned int), so the extra bytes were ignored, but copying them out was not the intent. MFC after: 1 month Revision Changes Path 1.7 +1 -1 src/sys/security/audit/audit_trigger.c