Re: Unexecutable Stack / Buffer

From: Guido Draheim (guido.d@gmx.de)
Date: Mon Jan 17 2000 - 17:58:48 EST


Just to remind you of the dozen Direct-Threaded
Forth implementations, anyway. Try gforth f.e.

Question: if you make data/stack segments
unexecutable by default and provide a call
to make it executable again for the few
hundred programs that need it, wouldn't
there be s.o. who could exploit the
availability of such a call?

Question: if you provide a call to make
your segments unreadable, without an
option to turn it back, wouldn't that
make more sense down here? put that in
your crt0...

Question: isn't it really only important
for setuid things?

After all, you need *both*, and settable
on a file by file basis. If you can't
attach the nonexec-marker to the
executables on cased basis, just leave
the default.

bye
-- guido
                "Edel sei der Mensch,
                 hilfreich und gut" -Goe

-
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/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:16 EST