bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 1/5] exec: remove support for transparently unbzip2ing execut


From: Justus Winter
Subject: Re: [PATCH 1/5] exec: remove support for transparently unbzip2ing executables
Date: Thu, 29 Aug 2013 12:41:47 +0200
User-agent: alot/0.3.4

Quoting Samuel Thibault (2013-08-29 12:32:50)
> Justus Winter, le Thu 29 Aug 2013 12:16:11 +0200, a écrit :
> > The patches were also ment to address the complexity^Wsheer size of
> > the code. That is why I wanted to remove them, #ifdef'ing it out has a
> > cost, not a runtime one but for anyone hacking on /hurd/exec.
> 
> Yes, the BFD code was making the whole exec code a lot more complex to
> understand.  Since even the TODO talks about ditching it away, and
> reviving and maintaining it would be a burden, it's better to just not
> keep it, and have readable exec instead.

Agreed, the BFD stuff was much more intrusive.

> > Out of curiosity, why do you consider this feature interesting?
> 
> At least to show flexibility of the exec server. The difference between
> the BFD code and the gzip/bzip2 code is that the latter makes the whole
> exec code complex, while the gzip/bzip2 support only has a couple of
> hooks, so even if the feature doesn't seem so appealing, the maintenance
> cost is light.

But couldn't the same be archived by installing an unzipping storeio
translator on the zipped executable? It is more explicit, but I'd
argue that this is a good thing in this case and shows the flexibility
of the Hurd as a whole.

Justus



reply via email to

[Prev in Thread] Current Thread [Next in Thread]