Home
last modified time | relevance | path

Searched refs:fd_atcwd (Results 1 - 7 of 7) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/name_to_handle_at/
H A Dname_to_handle_at01.c24 static int dir_fd, fd_atcwd = AT_FDCWD, file_fd; variable
48 {&fd_atcwd, TEST_FILE, 0, O_RDWR},
49 {&fd_atcwd, TEST_FILE, 0, O_RDONLY},
50 {&fd_atcwd, TEST_FILE, 0, O_WRONLY},
51 {&fd_atcwd, TEST_FILE, AT_EMPTY_PATH, O_RDWR},
52 {&fd_atcwd, TEST_FILE, AT_EMPTY_PATH, O_RDONLY},
53 {&fd_atcwd, TEST_FILE, AT_EMPTY_PATH, O_WRONLY},
54 {&fd_atcwd, TEST_FILE, AT_SYMLINK_FOLLOW, O_RDWR},
55 {&fd_atcwd, TEST_FILE, AT_SYMLINK_FOLLOW, O_RDONLY},
56 {&fd_atcwd, TEST_FIL
[all...]
/third_party/ltp/testcases/kernel/syscalls/openat2/
H A Dopenat201.c16 static int dir_fd = -1, fd_atcwd = AT_FDCWD; variable
35 {&fd_atcwd, TEST_FILE, O_RDWR, S_IRWXU, 0, &how, sizeof(*how)},
36 {&fd_atcwd, TEST_FILE, O_RDONLY, S_IRUSR, 0, &how, sizeof(*how)},
37 {&fd_atcwd, TEST_FILE, O_WRONLY, S_IWUSR, 0, &how, sizeof(*how)},
38 {&fd_atcwd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_NO_XDEV, &how, sizeof(*how)},
39 {&fd_atcwd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_NO_MAGICLINKS, &how, sizeof(*how)},
40 {&fd_atcwd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_NO_SYMLINKS, &how, sizeof(*how)},
41 {&fd_atcwd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_BENEATH, &how, sizeof(*how)},
42 {&fd_atcwd, TEST_FILE, O_RDWR, S_IRWXU, RESOLVE_IN_ROOT, (struct open_how **)&phow, sizeof(*how) + 8},
/third_party/ltp/testcases/kernel/syscalls/open_by_handle_at/
H A Dopen_by_handle_at01.c24 static int dir_fd, fd_atcwd = AT_FDCWD, file_fd; variable
39 {&fd_atcwd, &at_fhp, O_RDWR},
40 {&fd_atcwd, &at_fhp, O_RDONLY},
41 {&fd_atcwd, &at_fhp, O_WRONLY},
/third_party/ltp/testcases/kernel/syscalls/readlinkat/
H A Dreadlinkat01.c33 static int fd_atcwd = AT_FDCWD; variable
45 {&fd_atcwd, &abspath},
46 {&fd_atcwd, &testsymlink},
/third_party/ltp/testcases/kernel/syscalls/openat/
H A Dopenat01.c42 static int fd_atcwd = AT_FDCWD; variable
55 {&fd_atcwd, TEST_DIR TEST_FILE, 0, 0}
/third_party/ltp/testcases/kernel/syscalls/mkdirat/
H A Dmkdirat01.c48 static int fd_atcwd = AT_FDCWD; variable
58 {&fd_atcwd, relpath, 0, 0},
/third_party/ltp/testcases/kernel/syscalls/mknodat/
H A Dmknodat01.c53 static int fd_atcwd = AT_FDCWD; variable
65 {&fd_atcwd, testfile, 0, 0}

Completed in 3 milliseconds