Re: binfmt_java problems

Matthias Urlichs (smurf@smurf.noris.de)
Wed, 15 May 1996 23:05:57 +0100


In linux.dev.kernel, article <199605150904.KAA30500@snowcrash.cymru.net=
>,
Alan Cox <alan@cymru.net> writes:
>=20
> 4. Add it and other strange similar things to libcs exec() stuff and =
keep
> it out of the kernel ?
>=20
What about (possibly unreadable) setuid programs? How could the library
figure out which interpreter to start?

I don't like the current kernel hack either, mainly because it calls th=
e
shell with the file name instead of doing a recursive call (who are you=
to
say my appletviewer is a shell script?), but...

The best solution would probably be a kexecd which knows all about the
different binary formats you're (un)likely to run on your system.
But hacking the kernel for that is a little too much work for 2.0, I'd =
say.

--=20
Did I SELL OUT yet??
-- Zippy the Pinhead
--=20
Matthias Urlichs \ Noris Network GmbH i.Gr/ Xlink-POP N=FCrnberg=
=20
Schleiermacherstra=DFe 12 \ Linux+Internet / EMail: urlichs@nor=
is.de
90491 N=FCrnberg (Germany) \ Consulting+Programming+Networking+etc'i=
ng
PGP: 1024/4F578875 1B 89 E2 1C 43 EA 80 44 15 D2 29 CF C6 C7 E0 DE=
=20
Click <A HREF=3D"http://info.noris.de/~smurf/finger">here</A>. =
42