Symbol: fchmodat
bin/chmod/chmod.c
191
if (fchmodat(AT_FDCWD, p->fts_accpath, newmode, atflag) == -1
bin/cp/cp.c
515
if (fchmodat(to.dir, path, mode & mask, 0) != 0) {
bin/cp/utils.c
377
fchmodat(to.dir, to.path, fs->st_mode, atflags)) {
crypto/openssh/openbsd-compat/bsd-misc.h
77
int fchmodat(int, const char *, mode_t, int);
crypto/openssh/sftp-server.c
1479
r = fchmodat(AT_FDCWD, name,
sys/sys/stat.h
377
int fchmodat(int, const char *, mode_t, int);
tests/sys/audit/file-attribute-modify.c
348
ATF_REQUIRE_EQ(0, fchmodat(AT_FDCWD, path, mode, 0));
tests/sys/audit/file-attribute-modify.c
370
ATF_REQUIRE_ERRNO(ENOENT, fchmodat(AT_FDCWD, errpath, mode, 0) == -1);
tests/sys/capsicum/capability-fd.cc
788
rc = fchmodat(dfd_cap, "cap_fchmodat", 0600, 0);
tests/sys/capsicum/capmode.cc
414
EXPECT_OK(fchmodat(dfd, "subdir", 0644, 0));
tests/sys/capsicum/capmode.cc
478
EXPECT_CAPMODE(fchmodat(AT_FDCWD, "subdir", 0644, 0));
tests/sys/file/path_test.c
411
ATF_REQUIRE_MSG(fchmodat(pathfd, "", 0600, AT_EMPTY_PATH) == 0,
tests/sys/file/path_test.c
444
fchmodat(pathfd, "", 0600, AT_EMPTY_PATH) == -1);
tests/sys/kern/resolve_beneath_test.c
77
fchmodat(fd, "file", 0644, AT_RESOLVE_BENEATH));
tests/sys/kern/resolve_beneath_test.c
79
fchmodat(fd, "../outside/target", 0644,
tools/regression/security/cap_test/cap_test_capabilities.c
316
ret = fchmodat(dfd_cap, "cap_fchmodat", 0600, 0);
tools/regression/security/cap_test/cap_test_capabilities.c
317
CHECK_RESULT(fchmodat, CAP_FCHMOD | CAP_LOOKUP, ret == 0);
usr.sbin/pw/cpdir.c
63
if (fchmodat(rootfd, dir, mode & ~pumask,