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, Mar 12, 8:30 AM
Unknown Object (File)
Wed, Mar 11, 8:18 PM
Unknown Object (File)
Tue, Mar 10, 7:34 AM
Unknown Object (File)
Mon, Mar 9, 9:57 PM
Unknown Object (File)
Sat, Mar 7, 11:20 AM
Unknown Object (File)
Sat, Mar 7, 2:46 AM
Unknown Object (File)
Feb 14 2026, 1:55 PM
Unknown Object (File)
Jan 25 2026, 7:54 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.