[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: RFC: [PATCH] build: Option for building all tools in a single binary
From: |
Pádraig Brady |
Subject: |
Re: RFC: [PATCH] build: Option for building all tools in a single binary |
Date: |
Mon, 09 Jun 2014 18:24:40 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2 |
On 06/09/2014 05:56 PM, Pádraig Brady wrote:
> On 06/09/2014 05:18 PM, Alex Deymo wrote:
>> On Sun, Jun 8, 2014 at 3:33 AM, Pádraig Brady <address@hidden> wrote:
>>> This seems like a very useful option, thanks!
>>> Yes given that there are around 100 utils,
>>> amalgamation like this reduces overhead significantly.
>>>
>>> For a change this size we'd need copyright assignment though.
>>> Does your employer already have copyright assignment to the FSF?
>>> If not could you initiate the process?
>>
>> I checked this point with the legal team and they said the company
>> (Google Inc.) has a copyright assignment on file. If accepted, this
>> patch will be owned by the FSF.
>
> Cool. Google is on file.
>
>>> Something like this, orthogonal to the existing coreutils logic,
>>> would be considered for the impending coreutils 8.23 release
>>> (hopefully cut next week), though depending on timing this
>>> might slip to the next release.
>>
>> Let me know if you have comments about this patch. I'll try to fix any
>> issue before the 8.23 cut.
>
> Note the next cut will be relatively soon after,
> so no worries if we don't complete immediately.
>
> One thing I was wondering about in addition to the
> other items in this thread was setting the external command name,
> with setproctitle() or prctl(PR_SET_NAME) on Linux,
> or maybe we could reexec to set this?
Actually we shouldn't have to worry about that as it
would be handled implicitly by exec through the symlink.
$ ln -s /bin/sleep wake
$ ./wake inf & { readlink /proc/$!/exe; tr '\0' ' ' < /proc/$!/cmdline; cat
/proc/$!/comm; }
/bin/sleep
./wake inf
wake
$ killall wake
[1]+ Terminated ./wake inf
thanks,
Pádraig.