Re: gzipped executables

From: Pavel Machek (
Date: Wed Feb 14 2001 - 14:22:20 EST


> 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(

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.

I'm "In my country we have almost anarchy and I don't care."
Panos Katsaloulis describing me w.r.t. patents at
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Feb 23 2001 - 21:00:15 EST