Home
last modified time | relevance | path

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

12

/freebsd-14.2/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-14.2/cddl/usr.sbin/dwatch/libexec/
H A Dchmod5 # $Title: dwatch(8) module for [l]chmod(2), fchmodat(2), or similar entry $
10 # Print mode/path being passed to chmod(2), lchmod(2), fchmodat(2), or similar
19 syscall::fchmodat:entry )}
38 * NB: Based on probefunc ending in "at" (e.g., fchmodat(2))
H A DMakefile25 LINKS= ${LIBEXECDIR}/dwatch/chmod ${LIBEXECDIR}/dwatch/fchmodat
/freebsd-14.2/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-14.2/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-14.2/bin/chmod/
H A Dchmod.c203 if (fchmodat(AT_FDCWD, p->fts_accpath, newmode, atflag) == -1 in main()
/freebsd-14.2/contrib/llvm-project/libcxx/src/filesystem/
H A Dposix_compat.h389 inline int fchmodat(int /*fd*/, const wchar_t* path, int perms, int flag) { in fchmodat() function
469 using ::fchmodat;
H A Doperations.cpp648 if (detail::fchmodat(AT_FDCWD, p.c_str(), real_perms, flags) == -1) { in __permissions()
/freebsd-14.2/sys/sys/
H A Dstat.h375 int fchmodat(int, const char *, mode_t, int);
H A Dsyscall.mk339 fchmodat.o \
/freebsd-14.2/tools/regression/security/cap_test/
H A Dcap_test_capabilities.c317 ret = fchmodat(dfd_cap, "cap_fchmodat", 0600, 0); in try_file_ops()
318 CHECK_RESULT(fchmodat, CAP_FCHMOD | CAP_LOOKUP, ret == 0); in try_file_ops()
/freebsd-14.2/contrib/capsicum-test/
H A Dcapmode.cc455 EXPECT_OK(fchmodat(dfd, "subdir", 0644, 0)); in TEST()
519 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-14.2/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-14.2/tests/sys/file/
H A Dpath_test.c411 ATF_REQUIRE_MSG(fchmodat(pathfd, "", 0600, AT_EMPTY_PATH) == 0, in ATF_TC_BODY()
444 fchmodat(pathfd, "", 0600, AT_EMPTY_PATH) == -1); in ATF_TC_BODY()
/freebsd-14.2/tests/sys/audit/
H A Dfile-attribute-modify.c348 ATF_REQUIRE_EQ(0, fchmodat(AT_FDCWD, path, mode, 0)); in ATF_TC_BODY()
370 ATF_REQUIRE_ERRNO(ENOENT, fchmodat(AT_FDCWD, errpath, mode, 0) == -1); in ATF_TC_BODY()
/freebsd-14.2/lib/libc/sys/
H A DMakefile.inc387 chmod.2 fchmodat.2 \
H A DSymbol.map310 fchmodat;
/freebsd-14.2/contrib/openbsm/etc/
H A Daudit_event506 43146:AUE_FCHMODAT:fchmodat(2):fm
/freebsd-14.2/crypto/openssh/
H A Dsftp-server.c1486 r = fchmodat(AT_FDCWD, name, in process_extended_lsetstat()
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_syscalls.inc2793 PRE_SYSCALL(fchmodat)(long dfd, const void *filename, long mode) {
2799 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)
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Dlibc_ubuntu1404_abilist.txt1672 fun:fchmodat=uninstrumented

12