fchmod
fchmod(to_fd, fs->st_mode & RETAINBITS & ~myumask)) {
if (fd ? fchmod(fd, fs->st_mode) : lchmod(to.p_path, fs->st_mode)) {
if (fchmod(to_fd, sbp->st_mode))
if (fchmod(ofd, omode))
if (fchmod(ofd, omode & ~mask))
if (fchmod(fd, 0666 & ~myumask) == -1) {
if (fchmod(fileno(fp),
return output_mode == no_mode ? 0 : fchmod(fileno(stream), output_mode);
FDCALL(int, fchmod, DUALCALL_FCHMOD, \
fchmod(fileno(keyfile), 0600);
if (fchmod(fileno(out), S_IRUSR|S_IRGRP|S_IROTH) == -1)
(void)fchmod(fd, 0600);
if (fchmod(fd, 0444) == -1) {
(void) fchmod(ofile, mode);
__weak_alias(fchmod,rump___sysimpl_fchmod);
int fchmod(int, mode_t);
ATF_REQUIRE(fchmod(dfd, 0644) == 0);
ATF_REQUIRE(fchmod(dfd, 0444) == 0);
ATF_REQUIRE(fchmod(dfd, 0644) == 0);
ATF_REQUIRE(fchmod(dfd, 0444) == 0);
ATF_REQUIRE(fchmod(dfd, 0644) == 0);
ATF_REQUIRE(fchmod(dfd, 0644) == 0);
ATF_REQUIRE(fchmod(dfd, 0444) == 0);
ATF_REQUIRE(fchmod(dfd, 0644) == 0);
ATF_REQUIRE(fchmod(dfd, 0444) == 0);
ATF_REQUIRE(fchmod(dfd, 0644) == 0);
ATF_REQUIRE(fchmod(fd, perm[i]) == 0);
if (fchmod(fd2, S_IRUSR | S_IWUSR | S_IXUSR) == -1)
(void)fchmod(fd, DEFFILEMODE & ~mask);
if (fchmod(fd, sb.st_mode) < 0)
if (readonlyflag && fchmod(t, 0400) == -1) {
(void)fchmod(fileno(obuf), 0600);
(fd != -1 ? fchmod(fd, mode) < 0 : chmod(file, mode) < 0))
fchmod(fileno(outfile), sb.st_mode & ALLPERMS);
if (fchmod(fd, DEFFILEMODE & ~m))
fchmod(ofd, isb.st_mode & ACCESSPERMS);
fchmod(fileno(stdout), mode & 0666) != 0) {
if (fchmod(to_fd, tmpmode) == -1) {
(void)fchmod(fd, 0640);
if (fchmod(lfd, stb.st_mode & 0777) < 0)
if (fchmod(lfd, stb.st_mode & 0777) < 0)
(void)fchmod(fileno(fp), S_IRUSR|S_IWUSR);
(void) fchmod(fileno(qfo), MODE);
(void)fchmod(STDIN_FILENO, 0600);
if (fchmod(fd, 0644 & ~myumask) == -1)