This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] Linux: Work around kernel bugs in chmod on /proc/self/fd paths
- From: Stefan Liebler <stli at linux dot ibm dot com>
- To: libc-alpha at sourceware dot org
- Cc: Florian Weimer <fweimer at redhat dot com>
- Date: Thu, 5 Mar 2020 12:55:09 +0100
- Subject: Re: [PATCH] Linux: Work around kernel bugs in chmod on /proc/self/fd paths
- References: <87sgjfd04p.fsf@oldenburg2.str.redhat.com> <d3d43ae5-560d-894f-341b-69b9b7241cc6@linux.ibm.com> <87lfp0eyq1.fsf@oldenburg2.str.redhat.com> <0e138e0f-6062-9ac1-4aac-896377304130@linux.ibm.com>
On 2/18/20 5:50 PM, Matheus Castanho wrote:
...
On 2/18/20 11:50 AM, Florian Weimer wrote:
Agreed, I've dropped it.
New patch below.
Florian
...
...
LGTM.
Reviewed-by: Matheus Castanho <msc@linux.ibm.com>
--
Matheus Castanho
Hi Florian,
I've just recognized that building with -Os fails with
/usr/bin/ld: /path/to/glibc-build/libc_pic.os.clean: in function `fchmodat':
(.text+0xb1c36): undefined reference to `fstatat64'
collect2: error: ld returned 1 exit status
This happens at least on x86_64 and s390x.
I've bisected and this was the first bad commit.
Can you please have a look?
Bye
Stefan