Symbol: fchmod
bin/cp/utils.c
321
if (fdval ? fchmod(fd, fs->st_mode) :
bin/mv/mv.c
329
if (fchmod(to_fd, sbp->st_mode))
crypto/openssh/auth-krb5.c
262
if (fchmod(tmpfd,S_IRUSR | S_IWUSR) == -1) {
crypto/openssh/scp.c
1942
if (fchmod(ofd, omode)) {
crypto/openssh/scp.c
1952
if (fchmod(ofd, omode & ~mask)) {
crypto/openssh/sftp-client.c
1858
if (preserve_flag && fchmod(local_fd, mode) == -1)
crypto/openssh/sftp-server.c
1061
r = fchmod(fd, a.perm & 07777);
crypto/openssh/ssh-keygen.c
1146
(void)fchmod(fd, 0644);
crypto/openssh/ssh-keygen.c
1355
(void)fchmod(fd, sb.st_mode & 0644);
lib/libssh/openbsd-compat/bsd-misc.c
216
ret = fchmod(fd, mode);
lib/libthread_xu/thread/thr_sem.c
614
error = fchmod(fd, mode);
libexec/dma/dma-mbox-create.c
146
if (fchmod(f, 0620))
libexec/dma/spool.c
133
if (fchmod(queuefd, 0660) < 0)
libexec/dma/spool.c
89
if (fchmod(fd, 0660) < 0)
sbin/hammer2/cmd_recover.c
1188
fchmod(wfd, inode->meta.mode);
sbin/jscan/dump_mirror.c
659
fchmod(fd, jattr->modes);
sbin/ldconfig/elfhints.c
265
if (fchmod(fd, 0444) == -1)
sbin/quotacheck/quotacheck.c
312
fchmod(fileno(qfo), MODE);
sbin/restore/tape.c
639
fchmod(ofile, mode);
sys/libprop/prop_object.c
878
if (fchmod(fd, 0666 & ~myumask) == -1)
sys/sys/stat.h
291
int fchmod(int, mode_t);
sys/sys/sysunion.h
103
struct fchmod_args fchmod;
usr.bin/at/at.c
435
if (fchmod(fd2, S_IRUSR | S_IWUSR | S_IXUSR) < 0)
usr.bin/dsynth/build.c
1714
fchmod(fileno(fp), 0755);
usr.bin/gzip/gzip.c
1041
(void)fchmod(fd, DEFFILEMODE & ~mask);
usr.bin/gzip/gzip.c
1056
if (fchmod(fd, sb.st_mode) < 0)
usr.bin/localedef/localedef.c
128
if (fchmod(fileno(f), 0644) < 0) {
usr.bin/mail/edit.c
143
if (readonly && fchmod(t, 0400) == -1) {
usr.bin/mail/quit.c
244
fchmod(fileno(obuf), 0600);
usr.bin/sed/main.c
430
fchmod(fileno(outfile), sb.st_mode & ALLPERMS);
usr.bin/unifdef/unifdef.h
48
fchmod(fd, mode & (S_IRWXU|S_IRWXG|S_IRWXO));
usr.bin/xinstall/xinstall.c
821
if (fchmod(to_fd,
usr.sbin/cron/crontab/crontab.c
573
if (fchmod(fileno(tmp), 0600) < OK)
usr.sbin/edquota/edquota.c
359
fchmod(fd, 0640);
usr.sbin/lpr/lpd/printjob.c
221
if (fchmod(lfd, stb.st_mode & ~LFM_RESET_QUE) < 0)
usr.sbin/lpr/lpd/printjob.c
232
if ((i = fchmod(tempfd, 0664)) == -1) {
usr.sbin/lpr/lpd/printjob.c
275
if (fchmod(lfd, stb.st_mode & ~LFM_RESET_QUE)
usr.sbin/newsyslog/newsyslog.c
2703
failed = fchmod(fd, ent->permissions);
usr.sbin/pwd_mkdb/pwd_mkdb.c
590
fchmod(fileno(fp), S_IRUSR|S_IWUSR);
usr.sbin/sliplogin/sliplogin.c
405
fchmod(0, 0600);