看板 FB_smp 關於我們 聯絡資訊
On Tue, 26 Mar 2002, John Baldwin wrote: > 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 former should be suser(thread). In the patch, the flag is nonzero in less than 10% of the calls. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message