[Coco] Telnet to your CoCo.. and invite 6 of your friends

Willard Goosey goosey at virgo.sdc.org
Wed Dec 2 15:10:17 EST 2009


On Tue, Dec 01, 2009 at 08:12:00PM -0600, Boisy G. Pitre wrote:
> FSUser   ldx   <D.Proc      get current process dsc ptr
>          ldd   R$Y,u        get requested user number
>          std   P$User,x     save new user # in process descriptor
>          clrb               no error
>          rts                and return

Now that's a basic system call! ;-)
> 
> I checked the OS-9/68K version of F_SUser and here's what the docs say:
> 
> - Users with group ID zero may change their IDs to anything.
> - A primary module owned by a group zero user may change its ID to anything.
> - Any primary module may change its user ID to match the module's owner.
> All other attempts to change the user ID number return an EOS_PERMIT error.

Ahh!  Thank you for this description.  I'd seen the format of OSK
modules and I was wondering why they stored owner and a group number
in them.

> I think the idea of making the F$SUser call available only to
> processes owned by the super user is a red herring. There are plenty
> of ways to wreak havoc under OS-9/6809 as a non-super user,

Can't argue with that.

Willard
-- 
Willard Goosey  goosey at sdc.org
Socorro, New Mexico, USA
I search my heart and find Cimmeria, land of Darkness and the Night.
  -- R.E. Howard



More information about the Coco mailing list