From: H. Peter Anvin Date: Thu, 15 Sep 2005 19:19:25 GMT Subject: Re: git-daemon --inetd Message-ID: <4329C93D.2020701@zytor.com> In-Reply-To: Linus Torvalds wrote: > > On Thu, 15 Sep 2005, H. Peter Anvin wrote: > >>Wrapping it in chroot() would mean having enough things in the chroot >>environment to support starting up programs, which is ugly. I'll test >>the patch when I get a chance. > > > Fair enough. This still requires "git-upload-pack" and any libraries that > requires, of course. You might want to do a statically linked version or > something. > > Hmm. A quick check seems to say that git-upload-pack only does libz and > libc. And the SHA1 stuff, of course, but that you can always get static by > using the git built-in mozilla versions. > Could git-upload-pack be integrated into the git-daemon binary, so that the exec isn't needed? -hpa