Skip to content

Commit 4dcbfd9

Browse files
committed
atidiosyncrasies: the flag for openat is O_EMPTY_PATH
1 parent 244394d commit 4dcbfd9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

vbetter/atidiosyncrasies.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ linkat, symlinkat, readlinkat, fchmodat, faccessat, utimensat.
88

99
There are some weird inconsistencies.
1010

11-
* `openat` do not support `AT_EMPTY_PATH`.
11+
* `openat` do not support `O_EMPTY_PATH`.
1212

13-
* `faccessat` system call has three args, the complete implementation of the
14-
specifications, including the flags is *emulated* by the glibc wrapper function.
13+
* `faccessat` system call has three args, the complete implementation of the
14+
specifications, including the flags, is *emulated* by the glibc wrapper function.
1515
(see [faccessat.c](https://sourceware.org/git/?p=glibc.git;a=blob;f=sysdeps/unix/sysv/linux/faccessat.c)).
1616
This implementation does not seem to support posix ACL.
1717

@@ -30,9 +30,9 @@ In purelibc `faccessat` must be emulated as in glibc.
3030

3131
# Please
3232

33-
Dear syscall designers, kernel and glibc developers:
33+
Dear syscall designers, kernel and glibc developers:
3434

35-
* `openat`: `AT_EMPTY_PATH` should be added, maybe extending the new `openat2`
35+
* `openat`: `O_EMPTY_PATH` should be added, maybe extending the new `openat2`
3636

3737
* `faccessat`: please add `faccessat2` fully compliant with the POSIX definition
3838
(so we can get rid of *emulators* and ACL can be supported).

0 commit comments

Comments
 (0)