Commit Graph
6 Commits
Author SHA1 Message Date
Adrià baabfbc204 Merge pull request #9474 from Gruzzberry/fix/access-symbolic-link
fix(libc): follow a Windows symbolic link in access
2026-10-25 19:14:11 +01:00
boykopovar f38d29fd08 refactor(sdk): add canonical headers for remaining libraries 2026-10-24 23:17:42 +03:00
GruzzberryandClaude Opus 5.5 3e96c13217 fix(libc): follow a Windows symbolic link in access
access read the attributes and the security descriptor of the link
itself on Windows, so a dangling link passed F_OK and R_OK and a link to
a read-only file passed W_OK. A reparse point is now opened through its
target and the target's path is checked, as FreeBSD 11.4's kern_accessat
looks the path up with FOLLOW: a missing target fails with ENOENT and a
link loop with ELOOP.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-23 14:40:05 +01:00
al3w0f205 e426315441 fix(libc): check access mode before the path 2026-10-19 21:57:31 -05:00
Fishybeing 5a04d3cc9e build(windows): guard NOMINMAX before including windows.h
Four sources defined NOMINMAX unconditionally, which redefines the macro the build already passes and warns on every MinGW build. Use the #ifndef guard the rest of the tree uses.
2026-10-06 14:57:48 +02:00
Nicolas Abosch 7789c0a57b feat(libs): implement homebrew libc and kernel runtime exports 2026-10-05 22:40:16 -03:00