Searched refs:openat (Results 51 - 61 of 61) sorted by relevance

123

/freebsd-13-stable/usr.sbin/pw/
H A Dpw_user.c165 skelfd = openat(conf.rootfd, skeldir, O_DIRECTORY|O_CLOEXEC);
719 if ((fd = openat(conf.rootfd, "etc/opiekeys", O_RDWR)) == -1)
1469 close(openat(conf.rootfd, path +1, O_RDWR | O_CREAT, 0600));
/freebsd-13-stable/contrib/libarchive/libarchive/
H A Darchive_read_disk_posix.c322 * TODO: On platforms that support it, use openat()-style operations
638 * O_DIRECT to open() and openat() operations. */
1565 int fd = openat(tree_current_dir_fd(t),
1570 "openat failed");
1750 int fd = openat(tree_current_dir_fd(t),
1755 "openat failed");
1878 int fd = openat(tree_current_dir_fd(t),
1883 "openat failed");
2057 return (openat(tree_current_dir_fd(t), path, flags));
H A Darchive_write_disk_posix.c463 return (openat(fd, path, flags));
2938 /* If we operate with openat(), fstatat() and unlinkat() there was
/freebsd-13-stable/usr.sbin/rwhod/
H A Drwhod.c412 whod = openat(dirfd, path, O_WRONLY | O_CREAT, 0644);
/freebsd-13-stable/contrib/tcpdump/
H A Dtcpdump.c2420 fd = openat(dump_info->dirfd,
2492 fd = openat(dump_info->dirfd, dump_info->CurrentFileName,
H A Dconfigure4587 for ac_func in cap_enter cap_rights_limit cap_ioctls_limit openat
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux.cpp198 return internal_syscall(SYSCALL(openat), AT_FDCWD, (uptr)filename, flags);
206 return internal_syscall(SYSCALL(openat), AT_FDCWD, (uptr)filename, flags,
/freebsd-13-stable/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_mount.c158 if ((dirfd = openat(AT_FDCWD, dirname,
H A Dlibzfs_pool.c4797 * which will be checked during the openat().
4822 if ((featfd = openat(sdirfd, file, O_RDONLY | O_CLOEXEC)) < 0) {
4823 featfd = openat(ddirfd, file, O_RDONLY | O_CLOEXEC);
/freebsd-13-stable/contrib/capsicum-test/
H A Dlinux.cc988 // Set openat-beneath mode
994 // Clear openat-beneath mode
1366 int fd = openat(dir, "cap_openbyhandle_testfile", O_RDWR|O_CREAT, 0644);
/freebsd-13-stable/contrib/openbsm/
H A Dconfigure13980 for ac_func in arc4random arc4random_buf bzero cap_enter clock_gettime closefrom faccessat fdopendir fstatat ftruncate getresgid getresuid gettimeofday inet_ntoa jail kqueue memset openat pthread_cond_timedwait_relative_np pthread_condattr_setclock pthread_mutex_lock renameat setproctitle sigtimedwait strchr strerror strlcat strlcpy strndup strrchr strstr strtol strtoul unlinkat vis

Completed in 147 milliseconds

123