]> git.proxmox.com Git - wasi-libc.git/commit
Redefine the `access` bits to be compatible with other systems (#210)
authorDan Gohman <sunfish@mozilla.com>
Fri, 31 Jul 2020 20:44:58 +0000 (13:44 -0700)
committerGitHub <noreply@github.com>
Fri, 31 Jul 2020 20:44:58 +0000 (13:44 -0700)
commit215adc8ac9f91eb055311acc72683fd2eb1ae15a
tree6d1c009f2e553ae6ed462516172a7628b3343588
parent00cc5944dfc8c85ab5c5bee4cdef221afa2121f7
Redefine the `access` bits to be compatible with other systems (#210)

Normally bits like this would be considered implementation details, but
in this case, `X_OK`, `W_OK`, and `R_OK` line up with `S_IXOTH`,
`S_IWOTH`, and `S_IROTH` on other systems, and those bits do have
well-known values.
expected/wasm32-wasi/predefined-macros.txt
libc-bottom-half/headers/public/__header_unistd.h