[Bug 248184] readlink("/proc/curproc/file") returns arbitrary correct name for programs with more than one link (name)

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 31 Oct 2021 18:36:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=248184

--- Comment #11 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=d5f09dc31fcfdb77b69c86b9093bf67ec67653d9

commit d5f09dc31fcfdb77b69c86b9093bf67ec67653d9
Author:     Tobias Kortkamp <tobik@FreeBSD.org>
AuthorDate: 2021-10-19 10:27:40 +0000
Commit:     Tobias Kortkamp <tobik@FreeBSD.org>
CommitDate: 2021-10-31 18:20:54 +0000

    lang/rust-nightly: Update to 1.58.0.20211030

    Make the no-hardlinks-patches conditional and move them to
    files/no-hardlinks.

    Newer kernels should return sane kern.proc.pathname values for
    hardlinks which will hopefully help avoid the intermittent "can't
    find crate for `std`" build failures we had on the package
    builders.

    Thanks to kib@ for fixing kernel behavior. Now let's see if it
    makes a difference for lang/rust-nightly.

    Changes:       
https://github.com/rust-lang/rust/compare/25ec8273855fde2d72ae877b397e054de5300e10...e249ce6b2345587d6e11052779c86adbad626dff
    PR:             248184

 lang/rust-nightly/Makefile                            |  6 +++---
 lang/rust-nightly/distinfo                            | 18 +++++++++---------
 .../{ => no-hardlinks}/patch-src_bootstrap_lib.rs     |  0
 .../{ => no-hardlinks}/patch-src_bootstrap_native.rs  |  0
 ...r_rustc__target_src_spec_i686__unknown__freebsd.rs |  8 ++++----
 lang/rust/Makefile                                    | 19 +++++++++++++++++++
 6 files changed, 35 insertions(+), 16 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.