Re: [PATCH] i386 ptrace patch needed for user-mode port
Horst von Brand (vonbrand@inf.utfsm.cl)
Mon, 27 Sep 1999 14:04:39 -0400
Nate Eldredge <neldredge@hmc.edu> said:
> Jeff Dike wrote:
> > Below is a small patch to ptrace which enables it to change system call
> > numbers. This is needed in order to run the user-mode port.
> >
> > It adds range checks to ptrace and to the slow system call path.
> >
> > I've been feeding this sporadically to Linus for the last couple of months
> > with no result. If anyone can clue me in as to what would make this more
> > acceptable, please do so.
>
> This patch also enables a feature in strace that lets it trace child
> processes spawned by vfork(). I am strongly in favor of its inclusion.
>
> I have been running an equivalent patch through several versions of
> 2.2.x for some months and have experienced absolutely no ill effects.
Has anybody looked closely at possible security implications? I.e., switch
system call numbers so "read" becomes "write" (or "exec") and run a
program...
--
Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/