Hi!
> Is there any kernel patch that would allow Linux to properly recognize,
> and execute gzipped executables?
>
> I know I could use binfmt_misc to run a wrapper script:
>
> decompress to /tmp/prog.decompressed
> execute /tmp/prog.decompressed
> rm /tmp/prog.decompressed
>
> But that's not as clean, secure, or fast as the kernel transparently
> decompressing & executing. Is there a better way to do this?
You could do this with uservfs(.sourceforge.net):
ln -s /overlay/path/.../executable.gz#ugz executable
and let uservfs do it for you. It will essentially do what you
described, but it will work on any file.
Pavel
--
I'm [EMAIL PROTECTED] "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at [EMAIL PROTECTED]
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/