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

Re: [MiNT] Serious problem with Minixfs



on Tue 19-10-1999 01:03 Guido Flohr wrote:

>Hi,
>
>Not a solution but a possible work-around:  There somehow wasn't a big
>hello for an important feature added to the kernel by Frank, the new
>Dchroot system call.  Add
>
>	#define Dchroot(dir)	\
>		trap_1_wl(0x14a, (long)(dir))
>
>to your mintbind.h.  You can then easily write a C wrapper around CAB,
>changing its root directory to something like /path/to/cab (but don't
>forget to chdir before the exec).  The chroot will prevent CAB from
>leaving its root directory and at least you can limit the possible damage.
>
>This is the Dchroot(2) manual page:

This sounds nice, only I don't understand a single word of it. Remember 
I'm a common user of MiNT with no knowledge of programming at all.

Anyway thanks

Martin
-- 
O-Tagger ß1.24: I hope I'm not out when my ship comes in!
              ***** Greetings from Okami Newsreader *****
              **  On the seventh day He created Atari  **
                ********** tos4ever@online.be ***********
                         ** ICQ 37138054 **
              But He uses a freeMiNT powered Hades 060 now
        UTSI: http:/user.online.be/~ols04484/atari/prg-ind.htm
           Atari FTP-site: ftp://chapelie.rma.ac.be/atari/