Home
last modified time | relevance | path

Searched refs:fchmodat (Results 1 – 25 of 29) sorted by relevance

12

/freebsd-13.1/contrib/netbsd-tests/lib/libc/c063/
H A Dt_fchmodat.c68 ATF_REQUIRE(fchmodat(dfd, BASEFILE, 0600, 0) == 0); in ATF_TC_BODY()
91 ATF_REQUIRE(fchmodat(AT_FDCWD, BASEFILE, 0600, 0) == 0); in ATF_TC_BODY()
106 ATF_REQUIRE(fchmodat(AT_FDCWD, FILEERR, 0600, 0) == -1); in ATF_TC_BODY()
120 ATF_REQUIRE(fchmodat(dfd, FILEERR, 0600, 0) == -1); in ATF_TC_BODY()
140 ATF_REQUIRE(fchmodat(dfd, BASEFILE, 0600, 0) == -1); in ATF_TC_BODY()
157 ATF_REQUIRE(fchmodat(-1, FILE, 0600, 0) == -1); in ATF_TC_BODY()
175 ATF_REQUIRE(fchmodat(dfdlink, BASELINK, 0600, 0) == -1); in ATF_TC_BODY()
178 ATF_REQUIRE(fchmodat(dfdlink, BASELINK, 0600, AT_SYMLINK_NOFOLLOW) == 0); in ATF_TC_BODY()
/freebsd-13.1/cddl/usr.sbin/dwatch/libexec/
H A Dchmod5 # $Title: dwatch(8) module for [l]chmod(2), fchmodat(2), or similar entry $
11 # Print mode/path being passed to chmod(2), lchmod(2), fchmodat(2), or similar
20 syscall::fchmodat:entry )}
39 * NB: Based on probefunc ending in "at" (e.g., fchmodat(2))
H A DMakefile25 LINKS= ${LIBEXECDIR}/dwatch/chmod ${LIBEXECDIR}/dwatch/fchmodat
/freebsd-13.1/contrib/pjdfstest/
H A Dconfigure.ac35 AC_CHECK_FUNC([fchmodat],
36 [AC_DEFINE([HAVE_FCHMODAT], [1], [Define if fchmodat exists])])
H A Dpjdfstest.c966 rval = fchmodat(NUM(0), STR(1), (mode_t)NUM(2), in call_syscall()
/freebsd-13.1/crypto/openssh/openbsd-compat/
H A Dbsd-misc.h73 int fchmodat(int, const char *, mode_t, int);
H A Dbsd-misc.c199 fchmodat(int fd, const char *path, mode_t mode, int flag) in fchmodat() function
/freebsd-13.1/bin/chmod/
H A Dchmod.c205 if (fchmodat(AT_FDCWD, p->fts_accpath, newmode, atflag) == -1 in main()
/freebsd-13.1/sys/kern/
H A Dcapabilities.conf481 fchmodat
/freebsd-13.1/contrib/llvm-project/libcxx/src/filesystem/
H A Dposix_compat.h402 int fchmodat(int fd, const wchar_t *path, int perms, int flag) { in fchmodat() function
491 using ::fchmodat;
H A Doperations.cpp1289 if (detail::fchmodat(AT_FDCWD, p.c_str(), real_perms, flags) == -1) { in __permissions()
/freebsd-13.1/sys/sys/
H A Dstat.h376 int fchmodat(int, const char *, mode_t, int);
H A Dsyscall.mk340 fchmodat.o \
/freebsd-13.1/tools/regression/security/cap_test/
H A Dcap_test_capabilities.c319 ret = fchmodat(dfd_cap, "cap_fchmodat", 0600, 0); in try_file_ops()
320 CHECK_RESULT(fchmodat, CAP_FCHMOD | CAP_LOOKUP, ret == 0); in try_file_ops()
/freebsd-13.1/contrib/capsicum-test/
H A Dcapmode.cc413 EXPECT_OK(fchmodat(dfd, "subdir", 0644, 0)); in TEST()
477 EXPECT_CAPMODE(fchmodat(AT_FDCWD, "subdir", 0644, 0)); in TEST()
H A Dcapability-fd.cc828 rc = fchmodat(dfd_cap, "cap_fchmodat", 0600, 0); in TryDirOps()
/freebsd-13.1/tests/sys/file/
H A Dpath_test.c337 ATF_REQUIRE_MSG(fchmodat(pathfd, "", 0600, AT_EMPTY_PATH) == 0, in ATF_TC_BODY()
370 fchmodat(pathfd, "", 0600, AT_EMPTY_PATH) == -1); in ATF_TC_BODY()
/freebsd-13.1/contrib/lib9p/backend/
H A Dfs.c1407 fchmodat(ff->ff_dirfd, newname, perm, AT_SYMLINK_NOFOLLOW) != 0 || in fs_imknod()
1448 fchmodat(ff->ff_dirfd, newname, perm, AT_SYMLINK_NOFOLLOW) != 0 || in fs_imkfifo()
1543 fchmodat(ff->ff_dirfd, newname, perm, AT_SYMLINK_NOFOLLOW) != 0 || in fs_imksocket()
2075 if (fchmodat(file->ff_dirfd, file->ff_name, in fs_wstat()
2545 if (fchmodat(file->ff_dirfd, file->ff_name, in fs_setattr()
/freebsd-13.1/lib/libc/sys/
H A DMakefile.inc376 chmod.2 fchmodat.2 \
H A DSymbol.map312 fchmodat;
/freebsd-13.1/tests/sys/audit/
H A Dfile-attribute-modify.c350 ATF_REQUIRE_EQ(0, fchmodat(AT_FDCWD, path, mode, 0)); in ATF_TC_BODY()
372 ATF_REQUIRE_ERRNO(ENOENT, fchmodat(AT_FDCWD, errpath, mode, 0) == -1); in ATF_TC_BODY()
/freebsd-13.1/contrib/openbsm/etc/
H A Daudit_event509 43146:AUE_FCHMODAT:fchmodat(2):fm
/freebsd-13.1/crypto/openssh/
H A Dsftp-server.c1462 r = fchmodat(AT_FDCWD, name, in process_extended_lsetstat()
/freebsd-13.1/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2552 PRE_SYSCALL(fchmodat)(long dfd, const void *filename, long mode) {
2558 POST_SYSCALL(fchmodat)(long res, long dfd, const void *filename, long mode) {}
H A Dsanitizer_syscalls_netbsd.inc3530 PRE_SYSCALL(fchmodat)
3537 POST_SYSCALL(fchmodat)

12