Searched refs:openat (Results 1 – 8 of 8) sorted by relevance
| /xnu-11417.101.15/tests/vfs/ |
| H A D | resolve_beneath.c | 83 …T_ASSERT_POSIX_SUCCESS((test_fd = openat(testdir_fd, TEST_DIR, O_SEARCH, 0777)), "Opening test dir… in setup() 87 …T_ASSERT_POSIX_SUCCESS((fd = openat(testdir_fd, OUTSIDE_FILE, O_CREAT | O_RDWR, 0777)), "Creating … in setup() 90 …T_ASSERT_POSIX_SUCCESS((fd = openat(testdir_fd, INSIDE_FILE, O_CREAT | O_RDWR, 0777)), "Creating f… in setup() 93 …T_ASSERT_POSIX_SUCCESS((fd = openat(testdir_fd, NESTED_FILE, O_CREAT | O_RDWR, 0777)), "Creating f… in setup() 147 …T_EXPECT_POSIX_SUCCESS((fd = openat(test_fd, "inside_file.txt", O_RDONLY | O_RESOLVE_BENEATH, 0777… 153 …T_EXPECT_POSIX_FAILURE(openat(test_fd, "symlink", O_RDONLY | O_RESOLVE_BENEATH), EACCES, "Test Cas… 156 …T_EXPECT_POSIX_FAILURE(openat(test_fd, "../outside_file.txt", O_RDONLY | O_RESOLVE_BENEATH), EACCE… 159 …T_EXPECT_POSIX_SUCCESS((fd = openat(test_fd, "nested/nested_file.txt", O_RDONLY | O_RESOLVE_BENEAT… 165 …T_EXPECT_POSIX_SUCCESS((fd = openat(test_fd, "symlink_to_nested", O_RDONLY | O_RESOLVE_BENEATH, 07… 171 …T_EXPECT_POSIX_FAILURE(openat(test_fd, "/etc/passwd", O_RDONLY | O_RESOLVE_BENEATH), EACCES, "Test… [all …]
|
| H A D | o_search.c | 83 fd = openat(tmpdir_fd, TEST_FILE, O_EXEC); 90 fd = openat(tmpdir_fd, TEST_FILE, O_SEARCH); 95 T_ASSERT_POSIX_SUCCESS(fd = openat(tmpdir_fd, TEST_FILE, O_EXEC), NULL);
|
| H A D | longpaths.c | 111 int fd = openat(dirfd, name, O_RDONLY | O_DIRECTORY); in createpath() 137 int fd = openat(dirfd, name, O_CREAT | O_TRUNC | O_WRONLY, 0600); in createpath() 168 fd = openat(dirfd, name, O_EVTONLY); in openlongpath() 175 fd = openat(dirfd, p, flag); in openlongpath() 699 int fd = openat(AT_FDCWD, path, O_EVTONLY); in test_openat() 721 int fd = openat(AT_FDCWD, path, O_CREAT | O_TRUNC | O_WRONLY, 0600); in test_openat_create() 1129 SYSCALL_TEST(openat, common_errno_off, common_errno_on)
|
| H A D | freeable_vnodes.c | 133 T_ASSERT_POSIX_SUCCESS(fd = openat(dir_fd, filepath, O_CREAT | O_RDWR, 0666), NULL); in run_vnoder()
|
| /xnu-11417.101.15/libsyscall/wrappers/ |
| H A D | open-base.c | 119 openat(int fd, const char *path, int oflag, ...) in openat() function 122 openat$NOCANCEL(int fd, const char *path, int oflag, ...) in openat()
|
| /xnu-11417.101.15/bsd/sys/ |
| H A D | fcntl.h | 824 int openat(int, const char *, int, ...) __DARWIN_NOCANCEL(openat) __OSX_AVAILABLE_STARTING(__MA…
|
| /xnu-11417.101.15/bsd/man/man2/ |
| H A D | Makefile | 152 openat.2 \
|
| /xnu-11417.101.15/bsd/vfs/ |
| H A D | vfs_syscalls.c | 5247 openat(proc_t p, struct openat_args *uap, int32_t *retval) in openat() function
|