From owner-trustedbsd-cvs@FreeBSD.ORG Mon Oct 2 21:42:40 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 7CB3E16A522 for ; Mon, 2 Oct 2006 21:42:40 +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 AF69143D46 for ; Mon, 2 Oct 2006 21:42:39 +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 EE6BC46C51 for ; Mon, 2 Oct 2006 17:42:37 -0400 (EDT) Received: from hub.freebsd.org (hub.freebsd.org [216.136.204.18]) by mx2.freebsd.org (Postfix) with ESMTP id 03E2D554E4; Mon, 2 Oct 2006 21:42:34 +0000 (GMT) (envelope-from owner-perforce@freebsd.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id F04DF16A415; Mon, 2 Oct 2006 21:42:33 +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 C7BA016A403; Mon, 2 Oct 2006 21:42:33 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98F8943D55; Mon, 2 Oct 2006 21:42:32 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 257CF46C67; Mon, 2 Oct 2006 17:42:31 -0400 (EDT) Date: Mon, 2 Oct 2006 22:42:31 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: John Baldwin In-Reply-To: <200610021731.43477.jhb@freebsd.org> Message-ID: <20061002224138.W32616@fledge.watson.org> References: <200610022120.k92LK4cA000243@repoman.freebsd.org> <200610021731.43477.jhb@freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Perforce Change Reviews Subject: Re: PERFORCE change 107125 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, 02 Oct 2006 21:42:40 -0000 On Mon, 2 Oct 2006, John Baldwin wrote: > On Monday 02 October 2006 17:20, Robert Watson wrote: >> http://perforce.freebsd.org/chv.cgi?CH=107125 >> >> Change 107125 by rwatson@rwatson_peppercorn on 2006/10/02 21:19:13 >> >> Audit events for getpath system calls, POSIX message kqueues. >> (Query: FreeBSD system calls are kmq*, but library interfaces are >> mq_* -- should the audit identifiers be MQ_*?). > > I would use MQ_* to stick with the userland API. Don't the audit events > typically reflect the userland API? Yes. The tricky distinction is that we're auditing the kernel events (as they are on the right side of the trust boundary), but we're typically interested in them as seen in user space, and with respect to documented APIs. I think you're right, they probably should be with respect to the published mq*(2) APIs. Robert N M Watson Computer Laboratory University of Cambridge