Home
last modified time | relevance | path

Searched refs:AT_EMPTY_PATH (Results 1 - 25 of 50) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/name_to_handle_at/
H A Dname_to_handle_at01.c36 {&dir_fd, TEST_FILE, AT_EMPTY_PATH, O_RDWR},
37 {&dir_fd, TEST_FILE, AT_EMPTY_PATH, O_RDONLY},
38 {&dir_fd, TEST_FILE, AT_EMPTY_PATH, O_WRONLY},
42 {&dir_fd, TEST_FILE, AT_EMPTY_PATH | AT_SYMLINK_FOLLOW, O_RDWR},
43 {&dir_fd, TEST_FILE, AT_EMPTY_PATH | AT_SYMLINK_FOLLOW, O_RDONLY},
44 {&dir_fd, TEST_FILE, AT_EMPTY_PATH | AT_SYMLINK_FOLLOW, O_WRONLY},
45 {&dir_fd, "", AT_EMPTY_PATH, O_RDONLY},
46 {&file_fd, "", AT_EMPTY_PATH, O_RDONLY},
51 {&fd_atcwd, TEST_FILE, AT_EMPTY_PATH, O_RDWR},
52 {&fd_atcwd, TEST_FILE, AT_EMPTY_PATH, O_RDONL
[all...]
/third_party/ltp/testcases/kernel/syscalls/open_by_handle_at/
H A Dopen_by_handle_at01.c64 TEST(name_to_handle_at(file_fd, "", f_fhp, &mount_id, AT_EMPTY_PATH)); in setup()
71 AT_EMPTY_PATH | AT_SYMLINK_FOLLOW)); in setup()
78 AT_EMPTY_PATH | AT_SYMLINK_FOLLOW)); in setup()
/third_party/ltp/include/lapi/
H A Dfcntl.h105 #ifndef AT_EMPTY_PATH
106 # define AT_EMPTY_PATH 0x1000 macro
/third_party/ltp/testcases/kernel/syscalls/mount_setattr/
H A Dmount_setattr01.c85 TST_EXP_FD_SILENT(open_tree(AT_FDCWD, MNTPOINT, AT_EMPTY_PATH | in run()
92 TST_EXP_PASS_SILENT(mount_setattr(otfd, "", AT_EMPTY_PATH, &attr, sizeof(attr)), in run()
/third_party/eudev/src/shared/
H A Dpath-util.c341 if ((flags & AT_EMPTY_PATH) && isempty(filename)) in fd_fdinfo_mnt_id()
404 r = name_to_handle_at(fd, "", &h.handle, &mount_id, AT_EMPTY_PATH); in fd_is_mount_point()
456 r = fd_fdinfo_mnt_id(fd, "", AT_EMPTY_PATH, &mount_id); in fd_is_mount_point()
478 if (fstatat(fd, "", &a, AT_EMPTY_PATH) < 0) in fd_is_mount_point()
H A Dmissing.h165 #ifndef AT_EMPTY_PATH
166 #define AT_EMPTY_PATH 0x1000 macro
/third_party/ltp/testcases/kernel/syscalls/execveat/
H A Dexecveat.h11 ret = execveat(-1, "", NULL, NULL, AT_EMPTY_PATH); in check_execveat()
H A Dexecveat03.c52 TEST(execveat(fd, "", argv, environ, AT_EMPTY_PATH)); in do_child()
H A Dexecveat01.c15 * 4) When pathname is an empty string and the flag AT_EMPTY_PATH is
46 {&fd4, "", AT_EMPTY_PATH},
H A Dexecveat02.c43 {&bad_fd, "", AT_EMPTY_PATH, EBADF},
/third_party/musl/porting/linux/user/src/stat/
H A Dfstat.c27 return fstatat(fd, "", st, AT_EMPTY_PATH); in __fstat()
/third_party/musl/src/stat/
H A Dfstat.c10 return __fstatat(fd, "", st, AT_EMPTY_PATH); in __fstat()
/third_party/musl/src/process/
H A Dfexecve.c11 int r = __syscall(SYS_execveat, fd, "", argv, envp, AT_EMPTY_PATH); in fexecve()
/third_party/musl/porting/liteos_a/user/src/process/
H A Dfexecve.c11 int r = __syscall(SYS_execveat, fd, "", argv, envp, AT_EMPTY_PATH); in fexecve()
/third_party/libbpf/include/uapi/linux/
H A Dfcntl.h106 #define AT_EMPTY_PATH 0x1000 /* Allow empty relative pathname */ macro
/third_party/ltp/testcases/kernel/crypto/
H A Daf_alg07.c79 TEST(fchownat(sock, "", uid, gid, AT_EMPTY_PATH)); in run()
/third_party/ltp/testcases/kernel/syscalls/statx/
H A Dstatx12.c49 TST_EXP_PASS_SILENT(statx(*tc->fd, "", AT_EMPTY_PATH, 0, &buf)); in verify_statx()
H A Dstatx02.c12 * - AT_EMPTY_PATH
44 TEST(statx(file_fd, "", AT_EMPTY_PATH, 0, &buf)); in test_empty_path()
47 "statx(file_fd, \"\", AT_EMPTY_PATH, 0, &buf)"); in test_empty_path()
50 "statx(file_fd, \"\", AT_EMPTY_PATH, 0, &buff)"); in test_empty_path()
/third_party/musl/libc-test/src/functionalext/supplement/stat/stat_gtest/
H A Dstat_fstatat64_test.cpp60 * information using fstatat64() with the AT_EMPTY_PATH flag to specify that the path refers to the current
73 int ret = fstatat64(AT_FDCWD, linkName, &st, AT_EMPTY_PATH); in HWTEST_F()
/third_party/musl/porting/linux/user/include/
H A Dfcntl.h103 #define AT_EMPTY_PATH 0x1000 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/
H A Dfcntl.h102 #define AT_EMPTY_PATH 0x1000 macro
/third_party/musl/porting/liteos_m/kernel/include/
H A Dfcntl.h102 #define AT_EMPTY_PATH 0x1000 macro
/third_party/musl/porting/uniproton/kernel/include/
H A Dfcntl.h102 #define AT_EMPTY_PATH 0x1000 macro
/third_party/musl/porting/liteos_a/kernel/include/
H A Dfcntl.h105 #define AT_EMPTY_PATH 0x1000 macro
/third_party/musl/porting/liteos_m/user/include/
H A Dfcntl.h102 #define AT_EMPTY_PATH 0x1000 macro

Completed in 8 milliseconds

12