MOO-cows Mailing List Archive
Re: temporary wizbit
Date: Thu, 18 Apr 1996 11:28:04 PDT
From: Brack <firstname.lastname@example.org>
Content-Type: text/plain; charset="us-ascii"
At 10:46 AM 4/18/96 PDT, Kipp the Kidd wrote:
>At 12:23 PM 4/17/96 PDT, Joe Shaw wrote:
>>You could do this, I suppose, but an easier (and perhaps safer) way to do
>>it would be:
>>#110.wizard = 1;
>>#110.wizard = 0;
>Nope... let's go through this and see what the server would do...
>Is caller_perms() a wizard? Yes? OK, set prop #110.wizard to 1.
>Is caller_perms() a wizard? Yes? OK, change task perms to #110.
>A fork... ok, I'll do that code in 1 second...
>Is caller_perms() a wizard? Yes? OK, set peop #110.wizard to 0.
>(a second later)
>a shutdown(): caller_perms().wizard? No. E_PERM.
I guess nobody saw my first post, eh? do it without the fork, it works.
Subject Index |