On Mon, 22 Jan 2007 02:23:30 +0300, Samium Gromoff said: > > not "core-dumps" but "core files", in the lispspeak, but anyway. > > the reason is trivial -- if i can write programs enjoying setuid > privileges in C, i want to be able to do the same in Lisp.
Go read up on how the XEmacs crew designed their "portable dumper", specifically to get around a lot of these sorts of problems because the old Emacs 'unexec' code was incredibly fragile. > the only way to achieve this i see, is to directly setuid root > the lisp system executable itself -- because the lisp code > is read, compiled and executed in the process of the lisp > system executable. If that's the only way you can see to do it, maybe you should think a bit harder before making kernel hacks to do something.
pgpCDea0NdYeg.pgp
Description: PGP signature