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)
Wed, Oct 8, 9:05 AM
Unknown Object (File)
Mon, Oct 6, 9:41 PM
Unknown Object (File)
Sep 10 2025, 11:05 PM
Unknown Object (File)
Aug 24 2025, 11:15 PM
Unknown Object (File)
Aug 5 2025, 11:58 AM
Unknown Object (File)
Jul 17 2025, 1:48 AM
Unknown Object (File)
Jul 10 2025, 9:41 PM
Unknown Object (File)
Jun 25 2025, 7:27 AM
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.