Home
last modified time | relevance | path

Searched refs:AT_FDCWD (Results 1 – 8 of 8) sorted by relevance

/xnu-11417.140.69/libsyscall/wrappers/
H A Dclonefile.c30 return clonefileat(AT_FDCWD, old, AT_FDCWD, new, flags); in clonefile()
H A Drenamex.c42 return renameatx_np(AT_FDCWD, old, AT_FDCWD, new, flags); in renamex_np()
/xnu-11417.140.69/tests/vfs/
H A Dlongpaths.c83 int dirfd = AT_FDCWD; in createpath()
114 if (dirfd != AT_FDCWD) { in createpath()
148 if (dirfd != AT_FDCWD) { in createpath()
158 int dirfd = AT_FDCWD; in openlongpath()
333 int rc = faccessat(AT_FDCWD, path, F_OK, 0); in test_faccessat()
384 int rc = fstatat(AT_FDCWD, path, &st, 0); in test_fstatat()
604 int rc = mkdirat(AT_FDCWD, path, 0700); in test_mkdirat()
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()
835 int rc = fstatat(AT_FDCWD, path, &st, 0); in test_path_after_link()
[all …]
/xnu-11417.140.69/tests/
H A Dnetbsd_utimensat.c116 T_ASSERT_POSIX_SUCCESS(utimensat(AT_FDCWD, BASEFILE, tptr, 0), NULL);
130 T_ASSERT_EQ(utimensat(AT_FDCWD, FILEERR, tptr, 0), -1, NULL);
H A Dutimensat.c62 T_ASSERT_POSIX_SUCCESS(utimensat(AT_FDCWD, FILENAME, tptr[i], 0), NULL);
/xnu-11417.140.69/bsd/vfs/
H A Dvfs_syscalls.c4129 if ((dirfd != AT_FDCWD) && in nameiat()
4995 if ((dirfd != AT_FDCWD) && !(ndp->ni_cnd.cn_flags & USEDVP)) { in open1at()
5187 uap->class, uap->dpflags, AT_FDCWD, AUTH_OPEN_NOAUTHFD, UIO_USERSPACE, retval); in open_dprotected_np()
5235 uap->mode, AT_FDCWD, UIO_USERSPACE, retval); in open_nocancel()
5339 ctx, (user_addr_t)buf, uap->oflags, 0, AT_FDCWD, UIO_SYSSPACE, retval); in openbyid_np()
5465 return mknodat_internal(p, uap->path, &va, (mode_t)uap->mode, AT_FDCWD); in mknod()
5583 ciferror = mkfifo1(vfs_context_current(), uap->path, &va, AT_FDCWD); in mkfifo_extended()
5600 return mkfifo1(vfs_context_current(), uap->path, &va, AT_FDCWD); in mkfifo()
5955 return linkat_internal(vfs_context_current(), AT_FDCWD, uap->path, in link()
5956 AT_FDCWD, uap->link, AT_SYMLINK_FOLLOW, UIO_USERSPACE); in link()
[all …]
H A Dvfs_attrlist.c3554 (uint64_t)uap->options, segflg, segflg, AT_FDCWD); in getattrlist()
/xnu-11417.140.69/bsd/sys/
H A Dfcntl.h202 #define AT_FDCWD -2 macro