Add SCML for faccessat2

This commit is contained in:
jiangjianfeng 2025-12-17 06:53:59 +00:00 committed by Tate, Hongliang Tian
parent 4a9820cb11
commit b8654ed1b9
3 changed files with 20 additions and 1 deletions

View File

@ -346,7 +346,7 @@ which are summarized in the table below.
| 434 | pidfd_open | ✅ | 💯 | | 434 | pidfd_open | ✅ | 💯 |
| 435 | clone3 | ✅ | [⚠️](syscall-flag-coverage/process-and-thread-management/#clone-and-clone3) | | 435 | clone3 | ✅ | [⚠️](syscall-flag-coverage/process-and-thread-management/#clone-and-clone3) |
| 436 | close_range | ✅ | ❓ | | 436 | close_range | ✅ | ❓ |
| 439 | faccessat2 | ✅ | | | 439 | faccessat2 | ✅ | [⚠️](syscall-flag-coverage/file-and-directory-operations/#faccessat2) |
| 441 | epoll_pwait2 | ✅ | 💯 | | 441 | epoll_pwait2 | ✅ | 💯 |
| 452 | fchmodat2 | ✅ | 💯 | | 452 | fchmodat2 | ✅ | 💯 |

View File

@ -103,3 +103,17 @@ Unsupported flags:
For more information, For more information,
see [the man page](https://man7.org/linux/man-pages/man2/preadv2.2.html). see [the man page](https://man7.org/linux/man-pages/man2/preadv2.2.html).
### `faccessat2`
Supported functionality in SCML:
```c
{{#include faccessat2.scml}}
```
Silently-ignored flags:
* `AT_EACCESS`
For more information,
see [the man page](https://man7.org/linux/man-pages/man2/faccessat2.2.html).

View File

@ -0,0 +1,5 @@
// Check user's permissions for a file
faccessat2(
dirfd, path, mode,
flags = AT_EMPTY_PATH | AT_SYMLINK_NOFOLLOW
);