Symbol: fchmod
usr/src/boot/sys/sys/stat.h
326
int fchmod(int, mode_t);
usr/src/cmd/acct/accton.c
99
if (fchmod(fd, S_IRUSR|S_IWUSR|S_IRGRP|S_IWUSR|S_IROTH) == ERR) {
usr/src/cmd/backup/restore/tape.c
963
if (fchmod(ofile, mode) < 0 && !complained_chmod) {
usr/src/cmd/bnu/cu.c
1619
fchmod(Cn, Dev_mode);
usr/src/cmd/bnu/cu.c
540
fchmod(Cn, M_DEVICEMODE);
usr/src/cmd/boot/installboot/i386/installboot.c
421
(void) fchmod(fd, S_IRUSR | S_IRGRP | S_IROTH);
usr/src/cmd/cmd-inet/usr.bin/pppd/main.c
1553
if (fchmod(fd, tty_mode) != 0) {
usr/src/cmd/cmd-inet/usr.bin/pppd/main.c
698
|| fchmod(ttyfd, statbuf.st_mode & ~(S_IWGRP | S_IWOTH)) < 0) {
usr/src/cmd/cmd-inet/usr.bin/rcp.c
1613
(void) fchmod(ofd, mode);
usr/src/cmd/cmd-inet/usr.lib/inetd/repval.c
473
if (fchmod(tfd, (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) == -1) {
usr/src/cmd/cpio/cpio.c
1870
if (fchmod(dirfd, G_p->g_mode) != 0) {
usr/src/cmd/cpio/cpio.c
3983
if (fchmod(dirfd, newmode) == -1) {
usr/src/cmd/cpio/cpio.c
4011
if (fchmod(dirfd, parentstat.st_mode) == -1) {
usr/src/cmd/cpio/cpio.c
6315
error = fchmod(Ofile, new_mask);
usr/src/cmd/cron/cron.c
739
(void) fchmod(1, S_IRUSR|S_IWUSR);
usr/src/cmd/dispadmin/dispadmin.c
355
if (fchmod(fd, CONFIGPERM) == -1)
usr/src/cmd/dumpadm/dconf.c
286
if (fchmod(dcp->dc_conf_fd, DC_PERM) == -1)
usr/src/cmd/fs.d/nfs/mountd/rmtab.c
332
(void) fchmod(fileno(rmtabf),
usr/src/cmd/idmap/idmapd/idmap_config.c
2082
(void) fchmod(fileno(status_fp), 0644);
usr/src/cmd/localedef/localedef.c
116
if (fchmod(fileno(f), 0644) < 0 ||
usr/src/cmd/lofiadm/main.c
1433
(void) fchmod(uncompfd, statbuf.st_mode);
usr/src/cmd/lofiadm/main.c
1595
(void) fchmod(compfd, statbuf.st_mode);
usr/src/cmd/logadm/conf.c
493
if (fchmod(cfd, 0644) == -1)
usr/src/cmd/logadm/conf.c
512
if (fchmod(tfd, 0644) == -1)
usr/src/cmd/logadm/main.c
1244
if (fchmod(fi, s.st_mode|S_ISGID) < 0)
usr/src/cmd/logadm/main.c
1255
(void) fchmod(fi, s.st_mode);
usr/src/cmd/logadm/main.c
1268
if (fchmod(fi, s.st_mode) < 0)
usr/src/cmd/modload/plcysubr.c
305
(void) fchmod(newfd, buf.st_mode);
usr/src/cmd/modload/plcysubr.c
308
(void) fchmod(newfd, 0644);
usr/src/cmd/mv/mv.c
1988
if (fchmod(targetdirfd, attrdir.st_mode) == -1) {
usr/src/cmd/mv/mv.c
2135
if (fchmod(targattrfd, mode) != 0) {
usr/src/cmd/ndmpd/tlm/tlm_restore_writer.c
1342
(void) fchmod(fd, st.st_mode);
usr/src/cmd/oamuser/group/add_group.c
68
if (fchmod(fileno(etctmp), sb.st_mode) != 0 ||
usr/src/cmd/oamuser/group/del_group.c
77
if (fchmod(fd, sbuf.st_mode) != 0 ||
usr/src/cmd/oamuser/group/mod_group.c
77
if (fchmod(fd, sbuf.st_mode) != 0 ||
usr/src/cmd/oamuser/user/groups.c
86
if (fchmod(fd, sbuf.st_mode) != 0 ||
usr/src/cmd/oamuser/user/proj.c
77
if (fchmod(fd, sbuf.st_mode) != 0 ||
usr/src/cmd/passmgmt/passmgmt.c
680
error = fchmod(fd_ptemp, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
usr/src/cmd/passmgmt/passmgmt.c
724
error = fchmod(fd_stemp, S_IRUSR);
usr/src/cmd/passmgmt/passmgmt.c
764
error = fchmod(fd_uatemp,
usr/src/cmd/rcap/rcapd/rcapd_main.c
1215
if (fchmod(fd, 0644) == 0 && write(fd, &rs, sizeof (rs)) ==
usr/src/cmd/rctladm/rctladm.c
172
(void) fchmod(fd, CONFIGPERM);
usr/src/cmd/sed/main.c
440
(fchmod(fileno(outfile), sb.st_mode & 07777) != 0))
usr/src/cmd/sendmail/src/deliver.c
5616
(void) fchmod(sm_io_getinfo(f, SM_IO_WHAT_FD, NULL),
usr/src/cmd/sendmail/util/mail.local.c
814
(void) fchmod(mbfd, 0660);
usr/src/cmd/sgs/libelf/demo/dcom.c
338
(void) fchmod(tfd, sbuf.st_mode);
usr/src/cmd/svc/startd/utmpx.c
405
(void) fchmod(fd, mode); /* force mode regardless of umask() */
usr/src/cmd/svr4pkg/libinst/ocfile.c
575
(void) fchmod(lock_fd, 0644); /* force perms. */
usr/src/cmd/svr4pkg/pkginstall/cppath.c
352
if (fchmod(fd, a_mode) < 0) {
usr/src/cmd/syslogd/syslogd.c
2558
(void) fchmod(door,
usr/src/cmd/syslogd/syslogd.c
2708
(void) fchmod(pidfd, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH);
usr/src/cmd/tar/tar.c
3185
if (fchmod(dirfd, stbuf.st_mode) != 0) {
usr/src/cmd/tar/tar.c
3605
(void) fchmod(ofile, stbuf.st_mode & MODEMASK);
usr/src/cmd/tar/tar.c
8474
if (fchmod(dirfd, newmode) == -1) {
usr/src/cmd/tar/tar.c
8503
if (fchmod(dirfd, parentstat.st_mode) == -1) {
usr/src/cmd/th_tools/th_define.c
1212
if (fchmod(fileno(fp), S_IRWXU|S_IRGRP|S_IROTH))
usr/src/cmd/th_tools/th_define.c
1901
if (fchmod(fileno(sfp), S_IRWXU|S_IRGRP|S_IROTH))
usr/src/cmd/tip/uucplock.c
229
(void) fchmod(fd, 0444);
usr/src/cmd/ttymon/tmchild.c
326
(void) fchmod(0, 0620);
usr/src/cmd/ttymon/tmchild.c
584
(void) fchmod(0, 0620);
usr/src/cmd/ttymon/ttymon.c
488
(void) fchmod(fd, 0620);
usr/src/cmd/vscan/vscand/vs_main.c
454
if (fchmod(fd, access_mode) != 0)
usr/src/lib/cfgadm_plugins/fp/common/cfga_rep.c
254
if (fchmod(fd, S_IRUSR | S_IRGRP | S_IROTH) < 0) {
usr/src/lib/cfgadm_plugins/fp/common/cfga_rep.c
391
if (fchmod(copy_fd,
usr/src/lib/cfgadm_plugins/fp/common/cfga_rep.c
480
if (fchmod(copy_fd, S_IRUSR | S_IRGRP | S_IROTH) < 0) {
usr/src/lib/cfgadm_plugins/fp/common/cfga_rep.c
490
if (fchmod(tmp_fd, S_IRUSR | S_IRGRP | S_IROTH) < 0) {
usr/src/lib/cfgadm_plugins/fp/common/cfga_rep.c
574
if (fchmod(tmp_fd, S_IRUSR | S_IRGRP | S_IROTH) < 0) {
usr/src/lib/cfgadm_plugins/fp/common/cfga_rep.c
588
if (fchmod(copy_fd, S_IRUSR | S_IRGRP | S_IROTH) < 0) {
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/cc_file.c
1633
reti = fchmod(((krb5_fcc_data *) id->data)->file, S_IREAD | S_IWRITE);
usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/cc_file.c
2235
fchmod(ret, S_IRUSR | S_IWUSR);
usr/src/lib/gss_mechs/mech_krb5/krb5/os/safechown.c
62
if (fchmod(fd, (mode_t)mode)) {
usr/src/lib/lib9p/common/backend/fs.c
1240
if (fchmod(fd, perm) != 0 ||
usr/src/lib/lib9p/common/backend/fs.c
1410
fchmod(fd, perm) != 0 ||
usr/src/lib/libadm/common/putdev.c
201
(void) fchmod(fileno(fp), sbuf.st_mode & 0777);
usr/src/lib/libadm/common/putdgrp.c
174
(void) fchmod(fileno(fp), sbuf.st_mode & 0777);
usr/src/lib/libbsm/common/audit_cron.c
217
if (fchmod(fd, 0400) == -1)
usr/src/lib/libbsm/common/devalloc.c
1294
(void) fchmod(fda, DA_DBMODE);
usr/src/lib/libbsm/common/devalloc.c
1331
(void) fchmod(fdm, DA_DBMODE);
usr/src/lib/libc/port/rt/mqueue.c
458
if (fchmod(fd, mode) < 0)
usr/src/lib/libc/port/stdio/tmpfile.c
86
(void) fchmod(mkret, 0666 & ~current_umask);
usr/src/lib/libdevinfo/devinfo_dli.c
110
if (fchmod(fd, mode) < 0) {
usr/src/lib/libdladm/common/libdladm.c
805
if (fchmod(nfd, db_perms) < 0) {
usr/src/lib/libdladm/common/libdlflow.c
402
if (fchmod(nfd, DLADM_FLOW_DB_PERMS) == -1)
usr/src/lib/libipsecutil/common/algs.c
315
if (fchmod(fd, CFG_PERMS) == -1) {
usr/src/lib/libkmf/libkmf/common/policy.c
1110
if (fchmod(tmpfd, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH) == -1) {
usr/src/lib/libnsl/common/daemon_utils.c
128
(void) fchmod(fd, 0644);
usr/src/lib/libshare/common/libsharecore.c
521
(void) fchmod(fileno(dfstab), 0644);
usr/src/lib/libsldap/common/ns_confmgr.c
604
(void) fchmod(fileno(fp), 0444);
usr/src/lib/libsldap/common/ns_confmgr.c
717
if (fchmod(fileno(fp), buf.st_mode) != 0) {
usr/src/lib/libsldap/common/ns_confmgr.c
727
if (fchmod(fileno(fp), 0400) != 0) {
usr/src/lib/libzonecfg/common/getzoneent.c
319
(void) fchmod(tmp_file_desc, ZONE_INDEX_MODE);
usr/src/lib/libzoneinfo/common/libzone.c
1061
if (fchmod(fileno(ofp), sb.st_mode) == -1) {
usr/src/lib/mpapi/libmpapi/common/mpapi.c
3496
if (fchmod(mpconf, S_IRUSR | S_IRGRP | S_IROTH) < 0) {
usr/src/lib/mpapi/libmpapi/common/mpapi.c
3605
if (fchmod(mpconf, S_IRUSR | S_IRGRP | S_IROTH) < 0) {
usr/src/lib/pkcs11/pkcs11_tpm/common/loadsave.c
415
(void) fchmod(file, S_IRUSR|S_IWUSR);
usr/src/lib/print/libprint/common/nss_write.c
137
(void) fchmod(fd, 0644);
usr/src/lib/smbsrv/libsmb/common/smb_domain.c
442
(void) fchmod(fileno(fp), 0600);
usr/src/lib/smbsrv/libsmb/common/smb_lgrp.c
2607
if (fchmod(fileno(etctmp), sb.st_mode) != 0 ||
usr/src/lib/smbsrv/libsmbns/common/smbns_netbios.c
505
(void) fchmod(fileno(fp), 0600);
usr/src/test/zfs-tests/cmd/dos_ro/dos_ro.c
108
n = fchmod(fd, 0444);
usr/src/ucbcmd/install.d/install.c
236
if (fchmod(to_fd, mode)) {
usr/src/uts/common/os/sysent.c
182
int fchmod(int, int);
usr/src/uts/common/os/sysent.c
548
/* 93 */ SYSENT_CI("fchmod", fchmod, 2),
usr/src/uts/common/os/sysent.c
915
/* 93 */ SYSENT_CI("fchmod", fchmod, 2),
usr/src/uts/common/sys/stat.h
486
extern int fchmod(int, mode_t);