[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20070123084805.GB5560@ucw.cz>
Date: Tue, 23 Jan 2007 08:48:07 +0000
From: Pavel Machek <pavel@....cz>
To: Samium Gromoff <_deepfire@...lingofgreen.ru>
Cc: Valdis.Kletnieks@...edu, David Wagner <daw@...berkeley.edu>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Undo some of the pseudo-security madness
Hi!
> > > 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.
>
> I should take the freedom to respond in your manner :-)
>
> Are you saying that the usefulness of AS randomisation is
> overall exceeding that of MAP_FIXED, and the latter should be
> abolished?
MAP_FIXED still works. You just have to be more careful where you map.
> > > 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.
>
> I want equal grounds for platforms, that`s all.
Well, noone ever said all languages are equal. You have crappy lisp
interpreters, and you want to break kernel because you are too lazy to
fix them, and insist they must do suid in any way you choose. We won't
break kernel because lisp is misdesigned.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists