Date: Fri, 26 Jul 1996 00:12:53 +0200 From: Poul-Henning Kamp <phk@critter.tfs.com> To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) Cc: freebsd-hackers@freebsd.org (FreeBSD hackers), jrb@cs.pdx.edu Subject: Re: puzzled about if ioctls Message-ID: <1421.838332773@critter.tfs.com> In-Reply-To: Your message of "Thu, 25 Jul 1996 21:01:32 %2B0200." <199607251901.VAA22592@uriah.heep.sax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <199607251901.VAA22592@uriah.heep.sax.de>, J Wunsch writes: >As Bruce Evans wrote: > >> >Whatever happened to good old suser() with no parameters? >> >> I wonder how often p != curproc in suser(). > >I wonder where curproc will go on an MP machine... Currently it's a macro, which from memory looks like: #define curproc SMPcurproc[getcpuid()] getcpuid() is a macro too that does something like ((*(u_long *ADDRESS_OF_SOME_REGISTER_IN_APIC)>>24) -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1421.838332773>