From owner-cvs-all Mon Jun 21 14:54:40 1999 Delivered-To: cvs-all@freebsd.org Received: from qix.jmz.org (hibou.obs-besancon.fr [193.52.184.7]) by hub.freebsd.org (Postfix) with ESMTP id E495514F39; Mon, 21 Jun 1999 14:54:27 -0700 (PDT) (envelope-from jmz@FreeBSD.ORG) Received: (from jmz@localhost) by qix.jmz.org (8.9.3/8.9.3) id XAA00694; Mon, 21 Jun 1999 23:40:01 +0200 (MET DST) (envelope-from jmz@FreeBSD.ORG) Date: Mon, 21 Jun 1999 23:40:01 +0200 (MET DST) Message-Id: <199906212140.XAA00694@qix.jmz.org> From: Jean-Marc Zucconi To: hoek@FreeBSD.ORG Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG In-reply-to: <199906211623.JAA80719@freefall.freebsd.org> (message from Tim Vanderhoek on Mon, 21 Jun 1999 09:23:16 -0700 (PDT)) Subject: Re: cvs commit: src/sys/kern imgact_gzip.c X-Mailer: Emacs References: <199906211623.JAA80719@freefall.freebsd.org> Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk >>>>> Tim Vanderhoek writes: > hoek 1999/06/21 09:23:15 PDT > Modified files: > sys/kern imgact_gzip.c > Log: > Correctly return ENOEXEC for really short zipped files. The way this is > done is less-than cute, but this whole file is suffering from some amount > of bitrot. Execution of zipped files should probably be implemented in a > manner similar to that of #!/interpreted files. Do this mean that it should be possible to run gzip'ed executables??? I though it was not possible with ELF binaries. Even after this commit I am unable to do it: $ cp /bin/ls . $ gzip ls $ ./ls.gz bash: ./ls.gz: cannot execute binary file Output=32 Inflate_error=1 igz.error=8 error2=0 where=180 Jean-Marc -- Jean-Marc Zucconi PGP Key: finger jmz@FreeBSD.ORG To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message