bug-hurd
[Top][All Lists]
Advanced

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

Re: readlink("/proc/self/exe") with glibc 2.28 is broken?


From: Ludovic Courtès
Subject: Re: readlink("/proc/self/exe") with glibc 2.28 is broken?
Date: Sat, 15 Dec 2018 23:10:39 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

Ludovic Courtès <ludo@gnu.org> skribis:

>   137<--176(pid8674)->dir_lookup ("proc/self/exe" 65 0) = 0 1 "self/exe"    
> 191<--190(pid8674)
>   191<--190(pid8674)->dir_lookup ("self/exe" 65 0) = 0 3 "pid/exe"  (null)

Looking more closely, I found that we’re missing FS_RETRY_MAGICAL
support for “pid” in hurd/lookup-retry.c, which the ‘t/magic-pid’ branch
on hurd/glibc.git provides.  I’ll integrate it in Guix.

Any particular reason why this patch hasn’t made it upstream?

Ludo’.



reply via email to

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