public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: gzipped executables
@ 2001-02-13  8:40 ketil
  2001-02-13 12:09 ` Ingo Oeser
  0 siblings, 1 reply; 8+ messages in thread
From: ketil @ 2001-02-13  8:40 UTC (permalink / raw)
  To: mas9483, linux-kernel

On Mon, 12 Feb 2001 23:09:39 -0600 (CST) Matt Stegman <mas9483@ksu.edu> 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.

Ketil

-- 
Get your firstname@lastname email for FREE at http://Nameplanet.com/?su

^ permalink raw reply	[flat|nested] 8+ messages in thread
* gzipped executables
@ 2001-02-13  5:09 Matt Stegman
  2001-02-13 21:09 ` Mike Castle
  2001-02-14 19:22 ` Pavel Machek
  0 siblings, 2 replies; 8+ messages in thread
From: Matt Stegman @ 2001-02-13  5:09 UTC (permalink / raw)
  To: linux-kernel

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?

      -Matt


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://vger.kernel.org/lkml/

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2001-02-17 13:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-02-13  8:40 gzipped executables ketil
2001-02-13 12:09 ` Ingo Oeser
2001-02-13 13:08   ` Padraig Brady
2001-02-13 13:58   ` Matt Stegman
2001-02-13 14:09     ` Xavier Bestel
  -- strict thread matches above, loose matches on Subject: below --
2001-02-13  5:09 Matt Stegman
2001-02-13 21:09 ` Mike Castle
2001-02-14 19:22 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox