From owner-freebsd-arch Fri Nov 2 14: 2:33 2001 Delivered-To: freebsd-arch@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id E614637B40A; Fri, 2 Nov 2001 14:02:30 -0800 (PST) Received: from fledge.watson.org (robert@fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id fA2M2LB29605; Fri, 2 Nov 2001 17:02:21 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Fri, 2 Nov 2001 17:02:20 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Julian Elischer Cc: John Baldwin , Garance A Drosihn , arch@FreeBSD.org, Kelly Yancey Subject: Re: Changes to suser() and friends In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Just FYI, it looks like a number of other platforms also use struct ucred * as their primary suser() argument, including OpenBSD. Shared drivers appear to tend to have __FreeBSD__ ifdef's scattered around as a result. Also an FYI, we have countless places where a struct td * isn't passed down, and suser() currently relies on curproc. Once we have td->td_ucred ready, we'll need to fix all those, and more universally pass around the td of choice. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message