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
F102029704: D34684.diff
Wed, Nov 6, 5:30 PM
Unknown Object (File)
Fri, Nov 1, 5:54 AM
Unknown Object (File)
Sun, Oct 20, 8:31 PM
Unknown Object (File)
Sun, Oct 20, 6:37 PM
Unknown Object (File)
Oct 3 2024, 9:03 AM
Unknown Object (File)
Sep 27 2024, 1:49 AM
Unknown Object (File)
Sep 18 2024, 6:16 AM
Unknown Object (File)
Sep 17 2024, 9:58 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.