From owner-cvs-src@FreeBSD.ORG Sun Jun 22 15:28:56 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BC00237B401; Sun, 22 Jun 2003 15:28:56 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BAEE43FDF; Sun, 22 Jun 2003 15:28:56 -0700 (PDT) (envelope-from rwatson@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h5MMSu0U091539; Sun, 22 Jun 2003 15:28:56 -0700 (PDT) (envelope-from rwatson@repoman.freebsd.org) Received: (from rwatson@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h5MMSuet091538; Sun, 22 Jun 2003 15:28:56 -0700 (PDT) Message-Id: <200306222228.h5MMSuet091538@repoman.freebsd.org> From: Robert Watson Date: Sun, 22 Jun 2003 15:28:56 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys alq.h src/sys/kern kern_alq.c kern_ktr.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jun 2003 22:28:57 -0000 rwatson 2003/06/22 15:28:56 PDT FreeBSD src repository Modified files: sys/sys alq.h sys/kern kern_alq.c kern_ktr.c Log: Add an explicit credential argument to alq_open() to allow the caller to specify what credential to use when authorizing vn_open() and later write operations, rather than curthread->td_ucred. When writing KTR traces to an ALQ, specify the credential of the thread generating the sysctl request. Obtained from: TrustedBSD Project Sponsored by: DARPA, Network Associates Laboratories Revision Changes Path 1.8 +4 -3 src/sys/kern/kern_alq.c 1.39 +3 -2 src/sys/kern/kern_ktr.c 1.4 +3 -1 src/sys/sys/alq.h