* (no subject)
@ 2007-01-21 23:07 Samium Gromoff
0 siblings, 0 replies; only message in thread
From: Samium Gromoff @ 2007-01-21 23:07 UTC (permalink / raw)
To: David Wagner; +Cc: linux-kernel
David Wagner wrote:
> Samium Gromoff wrote:
> >the core of the problem are the cores which are customarily
> >dumped by lisps during the environment generation (or modification) stage,
> >and then mapped back, every time the environment is invoked.
> >
> >at the current step of evolution, those core files are not relocatable
> >in certain natively compiling lisp systems.
> >
> >in an even smaller subset of them, these cores are placed after
> >the shared libraries and the executable.
> >
> >which obviously breaks when the latter are placed unpredictably.
> >(yes, i know, currently mmap_base() varies over a 1MB range, but who
> >says it will last indefinitely -- probably one day these people
> >from full-disclosure will prevail and it will become, like, 256MB ;-)
> >
> >so, what do you propose?
>
> The obvious solution is: Don't make them setuid root.
> Then this issue disappears.
>
> If there is some strong reason why they need to be setuid root, then
> you'll need to explain that reason and your requirements in more detail.
> But, based on your explanation so far, I have serious doubts about
> whether it is a good idea to make such core-dumps setuid root in the
> first place.
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.
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.
there is such a thing as suid-perl -- for precise same reasons.
regards, Samium Gromoff
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-01-21 23:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-21 23:07 Samium Gromoff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox