Home
last modified time | relevance | path

Searched refs:fchmod (Results 1 – 25 of 100) sorted by path

1234

/illumos-gate/usr/src/boot/sys/sys/
H A Dstat.h326 int fchmod(int, mode_t);
/illumos-gate/usr/src/cmd/acct/
H A Daccton.c99 if (fchmod(fd, S_IRUSR|S_IWUSR|S_IRGRP|S_IWUSR|S_IROTH) == ERR) { in ckfile()
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/
H A Dlib32 #define _lib_fchmod 1 /* fchmod() in default lib(s) */
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/
H A Dlib32 #define _lib_fchmod 1 /* fchmod() in default lib(s) */
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/
H A Dlib32 #define _lib_fchmod 1 /* fchmod() in default lib(s) */
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/
H A Dlib32 #define _lib_fchmod 1 /* fchmod() in default lib(s) */
/illumos-gate/usr/src/cmd/auditrecord/
H A Daudit_record_attr.txt826 # header,168,2,fchmod(2),,Sat Apr 29 12:28:06 2000, + 350000000 msec
828 # path,/export/home/CC/icenine/arv/fchmod/obj_succ
833 # header,90,2,fchmod(2),,Sat Apr 29 12:28:32 2000, + 930000000 msec
838 # header,168,2,fchmod(2),,Sat Apr 29 12:28:20 2000, + 770000000 msec
840 # path,/export/home/CC/icenine/arv/fchmod/obj_fail
/illumos-gate/usr/src/cmd/backup/restore/
H A Dtape.c963 if (fchmod(ofile, mode) < 0 && !complained_chmod) { in extractfile()
/illumos-gate/usr/src/cmd/bnu/
H A Dcu.c540 fchmod(Cn, M_DEVICEMODE); in main()
1619 fchmod(Cn, Dev_mode); in cleanup()
/illumos-gate/usr/src/cmd/boot/installboot/i386/
H A Dinstallboot.c420 (void) fchmod(fd, S_IRUSR | S_IRGRP | S_IROTH); in install_esp_cb()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c698 || fchmod(ttyfd, statbuf.st_mode & ~(S_IWGRP | S_IWOTH)) < 0) {
1553 if (fchmod(fd, tty_mode) != 0) { in close_tty()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drcp.c1613 (void) fchmod(ofd, mode); in sink()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/inetd/
H A Drepval.c473 if (fchmod(tfd, (S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)) == -1) { in repvals_to_file()
/illumos-gate/usr/src/cmd/cpio/
H A Dcpio.c1870 if (fchmod(dirfd, G_p->g_mode) != 0) { in creat_spec()
3983 if (fchmod(dirfd, newmode) == -1) { in retry_open_attr()
4011 if (fchmod(dirfd, parentstat.st_mode) == -1) { in retry_open_attr()
6315 error = fchmod(Ofile, new_mask); in rstfiles()
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c739 (void) fchmod(1, S_IRUSR|S_IWUSR); in initialize()
/illumos-gate/usr/src/cmd/dispadmin/
H A Ddispadmin.c355 if (fchmod(fd, CONFIGPERM) == -1) in set_scheduler()
/illumos-gate/usr/src/cmd/dumpadm/
H A Ddconf.c283 if (fchmod(dcp->dc_conf_fd, DC_PERM) == -1) in dconf_write()
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Drmtab.c332 (void) fchmod(fileno(rmtabf), in rmtab_rewrite()
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Didmap_config.c2082 (void) fchmod(fileno(status_fp), 0644); in idmap_cfg_discover1()
/illumos-gate/usr/src/cmd/localedef/
H A Dlocaledef.c116 if (fchmod(fileno(f), 0644) < 0 || in close_category()
/illumos-gate/usr/src/cmd/lofiadm/
H A Dmain.c1433 (void) fchmod(uncompfd, statbuf.st_mode); in lofi_uncompress()
1595 (void) fchmod(compfd, statbuf.st_mode); in lofi_compress()
/illumos-gate/usr/src/cmd/logadm/
H A Dconf.c493 if (fchmod(cfd, 0644) == -1) in conf_close()
512 if (fchmod(tfd, 0644) == -1) in conf_close()
H A Dmain.c1244 if (fchmod(fi, s.st_mode|S_ISGID) < 0) in docopytruncate()
1255 (void) fchmod(fi, s.st_mode); in docopytruncate()
1268 if (fchmod(fi, s.st_mode) < 0) in docopytruncate()
/illumos-gate/usr/src/cmd/modload/
H A Dplcysubr.c305 (void) fchmod(newfd, buf.st_mode); in delete_one_entry()
308 (void) fchmod(newfd, 0644); in delete_one_entry()
/illumos-gate/usr/src/cmd/mv/
H A Dmv.c1674 if (fchmod(targetdirfd, attrdir.st_mode) == -1) {
1821 if (fchmod(targattrfd, mode) != 0) {

1234