Symbol: fchmod
bin/cp/utils.c
186
fchmod(to_fd, fs->st_mode & RETAINBITS & ~myumask)) {
bin/cp/utils.c
304
if (fd >= 0 ? fchmod(fd, fs->st_mode) :
bin/mv/cp.c
607
if (fd >= 0 ? fchmod(fd, fs->st_mode) :
bin/mv/mv.c
293
(void) fchmod(to_fd, sbp->st_mode & ~(S_ISUID|S_ISGID));
bin/mv/mv.c
319
if (fchmod(to_fd, sbp->st_mode))
bin/pax/file_subs.c
809
if (fchmod(fd, mode) == -1)
lib/libc/hidden/sys/stat.h
27
PROTO_NORMAL(fchmod);
lib/libedit/history.c
826
if (fchmod(fileno(fp), S_IRUSR|S_IWUSR) == -1)
libexec/ld.so/ldconfig/ldconfig.c
389
if (fchmod(fd, 0444) == -1) {
libexec/login_token/tokendb.c
220
if (must_set_mode && fchmod((tokendb->fd)(tokendb), 0640))
regress/lib/libc/sys/t_access.c
69
ATF_REQUIRE(fchmod(fd, perm[i]) == 0);
regress/sys/kern/pledge/open/open.c
66
if (fchmod(fd, 0) != -1)
sbin/dhcp6leased/dhcp6leased.c
1066
if (fchmod(fd, 0644) == -1)
sbin/dhcp6leased/dhcp6leased.c
1215
if (fchmod(fd, 0644) == -1) {
sbin/dhcpleased/dhcpleased.c
947
if (fchmod(fd, 0644) == -1)
sbin/quotacheck/quotacheck.c
395
(void) fchmod(fileno(qfo), MODE);
sbin/restore/tape.c
647
(void)fchmod(ofile, mode);
sys/arch/alpha/stand/boot/boot.c
94
fchmod(fd, sb.st_mode | S_ISTXT);
sys/arch/amd64/stand/rdboot/rdboot.c
142
fchmod(fd, sb.st_mode | S_ISTXT);
sys/arch/amd64/stand/rdboot/rdboot.c
195
if (fchmod(fd, sb.st_mode) == -1)
sys/arch/octeon/stand/rdboot/rdboot.c
143
fchmod(fd, sb.st_mode | S_ISTXT);
sys/arch/octeon/stand/rdboot/rdboot.c
196
if (fchmod(fd, sb.st_mode) == -1)
sys/arch/powerpc64/stand/rdboot/rdboot.c
141
fchmod(fd, sb.st_mode | S_ISTXT);
sys/arch/powerpc64/stand/rdboot/rdboot.c
192
if (fchmod(fd, sb.st_mode) == -1)
sys/arch/sparc64/stand/ofwboot/boot.c
262
if (fchmod(fd, st.st_mode) == -1)
sys/arch/sparc64/stand/ofwboot/boot.c
317
fchmod(fd, sb.st_mode | S_ISTXT);
sys/lib/libsa/fchmod.c
42
if (f->f_ops->fchmod == NULL) {
sys/lib/libsa/fchmod.c
62
if ((errno = (f->f_ops->fchmod)(f, m)))
sys/lib/libsa/stand.h
70
int (*fchmod)(struct open_file *f, mode_t);
sys/stand/boot/boot.c
136
if (fchmod(fd, st.st_mode) == -1)
sys/stand/boot/boot.c
203
fchmod(fd, sb.st_mode | S_ISTXT);
sys/sys/stat.h
202
int fchmod(int, mode_t);
usr.bin/at/at.c
355
if (fchmod(fileno(fp), S_IRUSR | S_IWUSR | S_IXUSR) == -1)
usr.bin/compress/main.c
804
fchmod(fd, DEFFILEMODE & ~mask);
usr.bin/compress/main.c
820
if (fchmod(fd, fs->st_mode))
usr.bin/cvs/buf.c
228
if (fchmod(fd, mode) == -1)
usr.bin/cvs/checkout.c
538
if (fchmod(cf->fd, mode) == -1)
usr.bin/cvs/client.c
784
if (fchmod(fd, fmode) == -1)
usr.bin/cvs/client.c
863
if (fchmod(fd, fmode) == -1)
usr.bin/cvs/edit.c
303
if (fchmod(cf->fd, 0644) == -1)
usr.bin/cvs/edit.c
420
if (fchmod(cf->fd, 0644) == -1)
usr.bin/cvs/init.c
170
(void)fchmod(fd, 0666);
usr.bin/cvs/rcs.c
419
if (fchmod(fd, rfp->rf_mode) == -1) {
usr.bin/cvs/server.c
425
if (fchmod(fd, 0600) == -1)
usr.bin/less/cmdbuf.c
1302
(void) fchmod(fileno(f), 0600);
usr.bin/mail/edit.c
163
if (readonly && fchmod(t, 0400) == -1) {
usr.bin/mail/quit.c
241
fchmod(fileno(obuf), 0600);
usr.bin/mg/fileio.c
130
fchmod(fd, bp->b_fi.fi_mode & 07777);
usr.bin/mg/fileio.c
264
(void) fchmod(to, (sb.st_mode & 0777));
usr.bin/mg/fileio.c
408
if (fchmod(ofd, orig.st_mode) == -1)
usr.bin/newsyslog/newsyslog.c
1362
if (fchmod(fileno(dst), perm))
usr.bin/newsyslog/newsyslog.c
877
if (fchmod(fd, ent->permissions))
usr.bin/rcs/buf.c
293
if (fchmod(fd, mode) == -1)
usr.bin/rcs/co.c
482
if (fchmod(fd, mode) == -1)
usr.bin/rcs/rcs.c
392
if (fchmod(fileno(dst), perm)) {
usr.bin/rdistd/server.c
162
status = fchmod(fd, mode);
usr.bin/rsync/receiver.c
96
if (fchmod(fd, mode) == -1) {
usr.bin/sed/main.c
408
(void)fchmod(fd, sb.st_mode & ALLPERMS);
usr.bin/skeyinit/skeyinit.c
288
fchmod(fileno(skey.keyfile), S_IRUSR | S_IWUSR) != 0)
usr.bin/sort/sort.c
1032
if (fchmod(fd, sb.st_mode & ACCESSPERMS) == -1)
usr.bin/ssh/scp.c
1896
if (fchmod(ofd, omode)) {
usr.bin/ssh/scp.c
1902
if (fchmod(ofd, omode & ~mask)) {
usr.bin/ssh/sftp-client.c
1833
if (preserve_flag && fchmod(local_fd, mode) == -1)
usr.bin/ssh/sftp-server.c
1050
r = fchmod(fd, a.perm & 07777);
usr.bin/ssh/ssh-keygen.c
1070
(void)fchmod(fd, 0644);
usr.bin/ssh/ssh-keygen.c
1279
(void)fchmod(fd, sb.st_mode & 0644);
usr.bin/unifdef/unifdef.c
1590
fchmod(fd, mode & (S_IRWXU|S_IRWXG|S_IRWXO));
usr.bin/vi/common/exf.c
1108
fchmod(wfd, S_IRUSR | S_IWUSR) < 0) {
usr.bin/vi/common/exf.c
194
fchmod(fd, S_IRUSR | S_IWUSR) == -1) {
usr.bin/vi/common/recover.c
805
if ((fd = mkstemp(path)) == -1 || fchmod(fd, perms) == -1) {
usr.bin/xinstall/xinstall.c
345
if (fchmod(to_fd, mode)) {
usr.sbin/acme-client/fileproc.c
63
if (fchmod(fd, 0444) == -1) {
usr.sbin/apmd/apmd.c
333
fchmod(fd, 0600);
usr.sbin/edquota/edquota.c
280
(void)fchmod(fd, 0640);
usr.sbin/installboot/util.c
160
if (fchmod(fd, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) == -1) {
usr.sbin/installboot/util.c
66
if (fchmod(dfd, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) == -1) {
usr.sbin/lpd/lp.c
563
if (fchmod(fileno(lp->lp_lock), st.st_mode) == -1)
usr.sbin/lpr/common_source/common.c
448
(void)fchmod(fd, mode);
usr.sbin/lpr/lpd/printjob.c
210
if (fchmod(lfd, stb.st_mode & 0777) < 0)
usr.sbin/lpr/lpd/printjob.c
255
if (fchmod(lfd, stb.st_mode & 0777) < 0)
usr.sbin/pppd/main.c
457
|| fchmod(ttyfd, statbuf.st_mode & ~(S_IWGRP | S_IWOTH)) < 0) {
usr.sbin/pppd/main.c
766
fchmod(ttyfd, tty_mode);
usr.sbin/pwd_mkdb/pwd_mkdb.c
233
else if (fchmod(edp->fd(edp), PERM_SECURE|S_IRGRP) != 0)
usr.sbin/pwd_mkdb/pwd_mkdb.c
325
(void)fchmod(fileno(fp), S_IRUSR|S_IWUSR);
usr.sbin/rpki-client/output.c
182
(void) fchmod(fd, 0644);
usr.sbin/rpki-client/repo.c
798
(void)fchmod(fd, 0644);
usr.sbin/smtpd/makemap.c
201
if (fchmod(db->fd(db), sb.st_mode) == -1 ||
usr.sbin/smtpd/mda_mbox.c
78
if (fchmod(fd, S_IRUSR|S_IWUSR) == -1)
usr.sbin/smtpd/smtpctl.c
151
if (fchmod(fd, 0600) == -1) {
usr.sbin/tftpd/tftpd.c
1064
if ((wmode & O_CREAT) && fchmod(fd, 0666) == -1) {
usr.sbin/user/user.c
1393
(void) fchmod(fileno(to), st.st_mode & 0777);
usr.sbin/vmd/vmd.c
1693
if (fchmod(vm->vm_tty, 0666) == -1)
usr.sbin/ypldap/yp.c
210
if (fchmod(fd, 0644) == -1)