/freebsd-11-stable/contrib/atf/atf-c/ |
H A D | utils.c | 191 ATF_REQUIRE_MSG(fchmod(output, sb.st_mode) != -1,
|
/freebsd-11-stable/bin/mv/ |
H A D | mv.c | 325 if (fchmod(to_fd, sbp->st_mode))
|
/freebsd-11-stable/contrib/ntp/sntp/libopts/ |
H A D | makeshell.c | 203 fchmod(STDOUT_FILENO, 0755);
|
/freebsd-11-stable/tools/regression/priv/ |
H A D | main.c | 416 if (fchmod(fd, mode) < 0)
|
/freebsd-11-stable/usr.bin/sed/ |
H A D | main.c | 428 fchmod(fileno(outfile), sb.st_mode & ALLPERMS);
|
/freebsd-11-stable/contrib/ntp/lib/isc/win32/ |
H A D | file.c | 351 (void)fchmod(fd, mode);
|
/freebsd-11-stable/bin/cp/ |
H A D | utils.c | 390 if (fdval ? fchmod(fd, fs->st_mode) :
|
/freebsd-11-stable/usr.bin/mail/ |
H A D | quit.c | 246 (void)fchmod(fileno(obuf), 0600);
|
/freebsd-11-stable/sbin/ldconfig/ |
H A D | ldconfig.c | 501 fchmod(fd, 0444);
|
/freebsd-11-stable/usr.sbin/cron/crontab/ |
H A D | crontab.c | 591 if (fchmod(fileno(tmp), 0600) < OK)
|
/freebsd-11-stable/tests/sys/audit/ |
H A D | file-attribute-modify.c | 250 "fchmod(2) call"); 256 snprintf(extregex, sizeof(extregex), "fchmod.*%d.*return,success", pid); 258 /* File needs to exist to call fchmod(2) */ 261 ATF_REQUIRE_EQ(0, fchmod(filedesc, mode)); 276 "fchmod(2) call"); 281 const char *regex = "fchmod.*return,failure : Bad file descriptor"; 284 ATF_REQUIRE_EQ(-1, fchmod(-1, mode));
|
/freebsd-11-stable/lib/libc/sys/ |
H A D | Makefile.inc | 344 MLINKS+=chmod.2 fchmod.2 \
|
/freebsd-11-stable/crypto/openssh/ |
H A D | scp.c | 1167 if (fchmod(ofd, omode)) { 1178 if (fchmod(ofd, omode & ~mask)) {
|
/freebsd-11-stable/usr.sbin/lpr/lpd/ |
H A D | printjob.c | 248 if (fchmod(lfd, stb.st_mode & ~LFM_RESET_QUE) < 0) 249 syslog(LOG_ERR, "%s: fchmod(%s): %m", pp->printer, 259 if ((i = fchmod(tempfd, 0664)) == -1) { 260 syslog(LOG_ERR, "%s: fchmod(%s): %m", pp->printer, 302 if (fchmod(lfd, stb.st_mode & ~LFM_RESET_QUE) 305 "%s: fchmod(%s): %m",
|
/freebsd-11-stable/contrib/nvi/common/ |
H A D | recover.c | 156 (void)fchmod(fd, S_IRWXU);
|
/freebsd-11-stable/contrib/openbsm/libauditd/ |
H A D | auditd_lib.c | 853 if (fchown(fd, -1, gid) < 0 || fchmod(fd, S_IRUSR | S_IRGRP) < 0) {
|
/freebsd-11-stable/usr.bin/at/ |
H A D | at.c | 437 if (fchmod(fd2, S_IRUSR | S_IWUSR | S_IXUSR) < 0)
|
/freebsd-11-stable/usr.sbin/kldxref/ |
H A D | kldxref.c | 605 fchmod(fd, 0644); /* nothing secret in the file */
|
/freebsd-11-stable/contrib/wpa/src/common/ |
H A D | wpa_ctrl.c | 149 fchmod(ctrl->s, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);
|
/freebsd-11-stable/contrib/xz/src/xz/ |
H A D | file_io.c | 390 if (fchmod(pair->dest_fd, mode)) 681 // for them, but calls fchown() after fchmod(),
|
/freebsd-11-stable/contrib/elftoolchain/elfcopy/ |
H A D | main.c | 563 if (fchmod(*fd, 0644) == -1) 564 err(EXIT_FAILURE, "fchmod %s failed", tmpf); 814 if (strcmp(dst, "/dev/null") && fchmod(ofd, sb.st_mode) == -1) 815 err(EXIT_FAILURE, "fchmod %s failed", dst);
|
/freebsd-11-stable/usr.bin/gzip/ |
H A D | gzip.c | 1120 (void)fchmod(fd, DEFFILEMODE & ~mask); 1135 if (fchmod(fd, sb.st_mode) < 0) 1136 maybe_warn("couldn't fchmod: %s", file);
|
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Path.inc | 745 if (::fchmod(FD, Permissions))
|
/freebsd-11-stable/contrib/pjdfstest/ |
H A D | pjdfstest.c | 176 { "fchmod", ACTION_FCHMOD, { TYPE_DESCRIPTOR, TYPE_NUMBER, TYPE_NONE } }, 820 rval = fchmod(NUM(0), (mode_t)NUM(1));
|
/freebsd-11-stable/gnu/usr.bin/rcs/ci/ |
H A D | ci.c | 42 * (fixwork): Fall back on chmod if fchmod fails, since it might be ENOSYS. 1184 : fchmod(Ifileno(workptr), newworkmode) == 0 ? 0
|