/freebsd-12-stable/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_unlinkat.c | 46 #define FILE "dir/unlinkat" 47 #define BASEFILE "unlinkat" 53 atf_tc_set_md_var(tc, "descr", "See that unlinkat works with fd"); 65 ATF_REQUIRE(unlinkat(dfd, BASEFILE, 0) == 0); 73 "See that unlinkat works with fd as AT_FDCWD"); 84 ATF_REQUIRE(unlinkat(AT_FDCWD, BASEFILE, 0) == 0); 91 "See that unlinkat fails with fd as AT_FDCWD and bad path"); 96 ATF_REQUIRE(unlinkat(AT_FDCWD, FILEERR, 0) == -1); 102 atf_tc_set_md_var(tc, "descr", "See that unlinkat fail with bad path"); 110 ATF_REQUIRE(unlinkat(df [all...] |
/freebsd-12-stable/usr.sbin/pw/ |
H A D | rm_r.c | 73 unlinkat(dirfd, e->d_name, 0); 79 unlinkat(rootfd, path, 0); 81 unlinkat(rootfd, path, AT_REMOVEDIR);
|
H A D | pw_user.c | 1010 unlinkat(conf.rootfd, file + 1, 0);
|
/freebsd-12-stable/tools/regression/security/cap_test/ |
H A D | cap_test_capabilities.c | 191 CHECK(ret == -1 || unlinkat(dirfd, "cap_create", 0) == 0); 197 CHECK(ret == -1 || unlinkat(dirfd, "cap_create", 0) == 0); 202 CHECK(ret == -1 || unlinkat(dirfd, "cap_create", 0) == 0); 234 CHECK(unlinkat(dirfd, "cap_fsync", 0) == 0); 254 CHECK(unlinkat(dirfd, "cap_ftruncate", 0) == 0); 260 CHECK(ret == -1 || unlinkat(dirfd, "cap_create", 0) == 0); 266 CHECK(ret == -1 || unlinkat(dirfd, "cap_create", 0) == 0); 287 CHECK(unlinkat(dirfd, "cap_fsync", 0) == 0); 301 CHECK(unlinkat(dirfd, "cap_chflagsat", 0) == 0); 311 CHECK(unlinkat(dirf [all...] |
/freebsd-12-stable/contrib/openbsm/bin/auditdistd/ |
H A D | unlinkat.h | 39 unlinkat(int fd, const char *path, int flag) function
|
H A D | trail.c | 58 #include "unlinkat.h" 307 if (unlinkat(dfd, trail->tr_filename, 0) == -1) { 444 if (unlinkat(dfd, filename, 0) == -1) {
|
/freebsd-12-stable/tests/sys/audit/ |
H A D | file-delete.c | 220 "unlinkat(2) call"); 227 ATF_REQUIRE_EQ(0, unlinkat(AT_FDCWD, path, AT_REMOVEDIR)); 241 "unlinkat(2) call"); 248 ATF_REQUIRE_EQ(-1, unlinkat(AT_FDCWD, errpath, AT_REMOVEDIR));
|
/freebsd-12-stable/sys/kern/ |
H A D | capabilities.conf | 481 unlinkat
|
/freebsd-12-stable/lib/libutil/ |
H A D | pidfile.c | 213 unlinkat(dirfd, pfh->pf_filename, 0); 296 if (unlinkat(pfh->pf_dirfd, pfh->pf_filename, 0) == -1)
|
/freebsd-12-stable/sys/sys/ |
H A D | syscall.mk | 351 unlinkat.o \
|
/freebsd-12-stable/include/ |
H A D | unistd.h | 439 int unlinkat(int, const char *, int);
|
/freebsd-12-stable/usr.bin/bsdiff/bspatch/ |
H A D | bspatch.c | 61 if (unlinkat(dirfd, newfile, 0)) 62 warn("unlinkat");
|
/freebsd-12-stable/lib/libc/sys/ |
H A D | Makefile.inc | 489 MLINKS+=unlink.2 unlinkat.2
|
/freebsd-12-stable/contrib/pjdfstest/ |
H A D | pjdfstest.c | 180 { "unlinkat", ACTION_UNLINKAT, { TYPE_DESCRIPTOR, TYPE_STRING, TYPE_STRING, TYPE_NONE } }, 796 rval = unlinkat(NUM(0), STR(1),
|
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux.cpp | 403 return internal_syscall(SYSCALL(unlinkat), AT_FDCWD, (uptr)path, 0);
|
/freebsd-12-stable/contrib/libarchive/libarchive/ |
H A D | archive_write_disk_posix.c | 2815 r = unlinkat(chdir_fd, head, 0); 2850 r = unlinkat(chdir_fd, head, 0); 2938 /* If we operate with openat(), fstatat() and unlinkat() there was
|
/freebsd-12-stable/usr.sbin/newsyslog/ |
H A D | newsyslog.c | 1631 else if (unlinkat(dir_fd, oldlogs[i].fname, 0) != 0) {
|
/freebsd-12-stable/contrib/openbsm/ |
H A D | configure | 13980 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
|