[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] pdomain() inheritance?



> > For Photoline, I'd suggest a real patch (and not a wrapper, what was
> > what you suggested), i.e. see if there's room at the beginning of the
> > initial routine to insert the 10 bytes requiered for a Pdomain(1) call
> > in assembler (move.l #$1190001,-(sp) trap #1 addq.l #2,sp)
> 
> This may fix Photoline (or break it) but doesn't solve the general
> problem.  What about a new ioctl on the proc filesystem that allows you to
> change (at your own risk!) the domain of a certain process?  There are no
> security concerns about that, the normal filesystem protection (the
> process file is owned by the process's uid) will do.

I think this can be done with existing Fcntl() modes...

--
Konrad M.Kokoszkiewicz
|mail: draco@atari.org                  |  Atari Falcon030 user   |
|http://www.obta.uw.edu.pl/~draco/      | Moderator gregis LATINE |
|http://draco.atari.org                 |       (loquentium)      |

** Ea natura multitudinis est,
** aut servit humiliter, aut superbe dominatur (Liv. XXIV,25)
*************************************************************
** U pospolstwa normalne jest, ze albo sluzy ono unizenie,
** albo bezczelnie sie panoszy.