Searched refs:faccessat2 (Results 1 - 3 of 3) sorted by relevance
/third_party/ltp/include/lapi/ |
H A D | faccessat.h | 16 int faccessat2(int dirfd, const char *pathname, int mode, int flags) in faccessat2() function
|
/third_party/ltp/testcases/kernel/syscalls/faccessat2/ |
H A D | faccessat202.c | 11 * Test basic error handling of faccessat2 syscall: 13 * - faccessat2() fails with EFAULT if pathname is a bad pathname point. 14 * - faccessat2() fails with EINVAL if flags is -1. 15 * - faccessat2() fails with EINVAL if mode is -1. 16 * - faccessat2() fails with EBADF if dirfd is -1. 17 * - faccessat2() fails with ENOTDIR if pathname is relative path to a 19 * - faccessat2() fails with EACCES if flags is AT_EACCESS and not using 67 TST_EXP_FAIL(faccessat2(*tc->fd, *tc->filename, tc->mode, tc->flags), in verify_faccessat2() 68 tc->exp_errno, "faccessat2() with %s", tc->desc); in verify_faccessat2()
|
H A D | faccessat201.c | 11 * Check the basic functionality of faccessat2(). 52 TST_EXP_PASS(faccessat2(*tc->fd, *tc->filename, R_OK, tc->flags), in verify_faccessat2() 53 "faccessat2(%d, %s, R_OK, %d)", in verify_faccessat2()
|
Completed in 2 milliseconds