Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Mar 2002 14:52:10 -0500 (EST)
From:      John Baldwin <jhb@FreeBSD.org>
To:        smp@FreeBSD.org
Subject:   suser() API change patch
Message-ID:  <XFMail.20020326145210.jhb@FreeBSD.org>

next in thread | raw e-mail | index | archive | help
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 <jhb@FreeBSD.org>  <><  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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20020326145210.jhb>