Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Jun 1999 10:21:59 +0930 (CST)
From:      Kris Kennaway <kkennawa@physics.adelaide.edu.au>
To:        Peter Wemm <peter@netplex.com.au>
Cc:        Jean-Marc Zucconi <jmz@freebsd.org>, hoek@freebsd.org, cvs-committers@freebsd.org, cvs-all@freebsd.org
Subject:   Re: cvs commit: src/sys/kern imgact_gzip.c 
Message-ID:  <Pine.OSF.4.10.9906221019460.1876-100000@bragg>
In-Reply-To: <19990621231649.336E375@overcee.netplex.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 22 Jun 1999, Peter Wemm wrote:

> No, imgact_gzip has it's own a.out executable decoder hardwired into it and
> this can't be easily changed to support ELF without a LOT of work.  I half
> wonder if it might be better to gzip -d the executable stream into some
> sort of anon backed vnode and then pass that back into the exec system.  That
> way it would work for any supported format etc.

That's a fancier way of how gzexe does it: when you gzexe a binary it
compresses it and prepends a shell-script extracter to the data. When you run
the script, it decompresses to /tmp, and runs from there.

Kris

> Cheers,
> -Peter

-----
"Never criticize anybody until you have walked a mile in their shoes,
because by that time you will be a mile away and have their shoes."
    -- Unknown



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.10.9906221019460.1876-100000>