logoalt Hacker News

dundarious11/07/20241 replyview on HN

musl does this too. glibc may also, I haven't checked in a long time. I bet rust, etc., does too. You always need to check.


Replies

king_geedorah11/07/2024

Glibc definitely does this transparent mapping as well. Calling int fd = open(<path>, O_RDONLY) yields openat(AT_FDCWD, <path>, O_RDONLY) when running through strace.

show 1 reply