Page MenuHomeFreeBSD

clang: Skip attempts to access /proc/self/fd
ClosedPublic

Authored by mjg on Mar 27 2022, 4:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Feb 20, 6:39 PM
Unknown Object (File)
Tue, Feb 18, 6:04 PM
Unknown Object (File)
Sun, Feb 16, 10:33 PM
Unknown Object (File)
Jan 24 2025, 6:02 PM
Unknown Object (File)
Jan 22 2025, 6:42 AM
Unknown Object (File)
Jan 18 2025, 9:38 PM
Unknown Object (File)
Jan 9 2025, 7:45 PM
Unknown Object (File)
Jan 9 2025, 7:11 PM
Subscribers

Details

Summary

In contrast to Linux it does not provide entries which can be readlinked -- these are just regular files, not giving the expected outcome. That's on top of procfs not being mounted by default to begin with.

Also submitted upstream https://reviews.llvm.org/D122545

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mjg requested review of this revision.Mar 27 2022, 4:02 PM
mjg retitled this revision from clang: Skip attemps to access /proc/self/fd to clang: Skip attempts to access /proc/self/fd.Mar 27 2022, 5:42 PM
This revision is now accepted and ready to land.Mar 27 2022, 5:46 PM
This revision was automatically updated to reflect the committed changes.