Re: gzipped executables

Date: Tue Feb 13 2001 - 03:40:31 EST

On Mon, 12 Feb 2001 23:09:39 -0600 (CST) Matt Stegman <> wrote:
>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?

Perhaps you could put it in the filesystem. Look at the "chattr" manpage, which
shows how this is meant to work with ext2. It seems not to have been implemented
yet. This way you could also compress any files, not just executables.


Get your firstname@lastname email for FREE 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 : Thu Feb 15 2001 - 21:00:21 EST