From owner-trustedbsd-cvs@FreeBSD.ORG Mon May 29 17:09:02 2006 Return-Path: X-Original-To: trustedbsd-cvs@freebsd.org Delivered-To: trustedbsd-cvs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E240616AE82 for ; Mon, 29 May 2006 17:09:02 +0000 (UTC) (envelope-from owner-perforce@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C79C43D5E for ; Mon, 29 May 2006 17:08:59 +0000 (GMT) (envelope-from owner-perforce@freebsd.org) Received: from mx2.freebsd.org (mx2.freebsd.org [216.136.204.119]) by cyrus.watson.org (Postfix) with ESMTP id A0ABF46C39 for ; Mon, 29 May 2006 13:08:57 -0400 (EDT) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 6FEB763109; Mon, 29 May 2006 17:08:56 +0000 (GMT) (envelope-from owner-perforce@freebsd.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id 69B7216AE9B; Mon, 29 May 2006 17:08:56 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4135516AE7F for ; Mon, 29 May 2006 17:08:56 +0000 (UTC) (envelope-from csjp@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B78A43D46 for ; Mon, 29 May 2006 17:08:56 +0000 (GMT) (envelope-from csjp@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k4TH7g2i081633 for ; Mon, 29 May 2006 17:07:42 GMT (envelope-from csjp@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k4TH7geA081630 for perforce@freebsd.org; Mon, 29 May 2006 17:07:42 GMT (envelope-from csjp@freebsd.org) Date: Mon, 29 May 2006 17:07:42 GMT Message-Id: <200605291707.k4TH7geA081630@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to csjp@freebsd.org using -f From: "Christian S.J. Peron" To: Perforce Change Reviews Cc: Subject: PERFORCE change 98080 for review X-BeenThere: trustedbsd-cvs@FreeBSD.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: TrustedBSD CVS and Perforce commit message list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 May 2006 17:09:03 -0000 http://perforce.freebsd.org/chv.cgi?CH=98080 Change 98080 by csjp@csjp_xor on 2006/05/29 17:06:58 Add a note to the audit_submit man page informing users that how the terminal ID portion of the subject token will be set. Affected files ... .. //depot/projects/trustedbsd/openbsm/libbsm/audit_submit.3#7 edit Differences ... ==== //depot/projects/trustedbsd/openbsm/libbsm/audit_submit.3#7 (text+ko) ==== @@ -26,7 +26,7 @@ .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING .\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. -.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/audit_submit.3#6 $ +.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/audit_submit.3#7 $ .Dd April 11, 2006 .Dt audit_submit 3 .Os @@ -65,6 +65,18 @@ If .Fa format is NULL, then no text token is created in the audit record. +.Pp +It should be noted that +.Nm +assumes that +.Xr setaudit 2 , +or +.Xr setaudit_addr 2 +has already been called. As a direct result, the terminal ID for the +subject will be retrieved from the kernel via +.Xr getaudit 2 , +or +.Xr getaudit_addr 2 . .Sh EXAMPLES .Bd -literal -offset indent #include @@ -96,6 +108,7 @@ .Ed .Sh SEE ALSO .Xr auditon 2 , +.Xr getaudit 2 , .Xr libbsm 3 , .Xr stdarg 3 .Sh HISTORY