From owner-freebsd-smp Tue Mar 26 11:52:58 2002 Delivered-To: freebsd-smp@freebsd.org Received: from mail16.speakeasy.net (mail16.speakeasy.net [216.254.0.216]) by hub.freebsd.org (Postfix) with ESMTP id 91E2F37B419 for ; Tue, 26 Mar 2002 11:52:50 -0800 (PST) Received: (qmail 29439 invoked from network); 26 Mar 2002 19:52:08 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail16.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 26 Mar 2002 19:52:08 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.11.6/8.11.6) with ESMTP id g2QJqmv87346 for ; Tue, 26 Mar 2002 14:52:48 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Date: Tue, 26 Mar 2002 14:52:10 -0500 (EST) From: John Baldwin To: smp@FreeBSD.org Subject: suser() API change patch Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The patch at the URL below changes the suser() API as follows. Currently we have four suser() functions that take the following args: suser(proc) suser_td(thread) suser_xxx(cred, proc, flag) suser_xxx_td(cred, thread, flag) In the new scheme (which has been approved by Robert Watson and is really his design) we go back to only two functions like so: suser(thread, flag) suser_cred(cred, flag) The changes are mostly mechanical but the patch is a bit big (about 111k) and touches 139 files. It is at http://www.FreeBSD.org/~jhb/patches/ucred.patch I'd like to commit it tomorrow barring any comments, objections, etc. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message