/openbsd/sys/lib/libsa/ |
H A D | fchmod.c | 38 fchmod(int fd, mode_t m) in fchmod() function 42 if (f->f_ops->fchmod == NULL) { in fchmod() 62 if ((errno = (f->f_ops->fchmod)(f, m))) in fchmod()
|
H A D | Makefile | 37 lseek.c open.c nullfs.c read.c stat.c fchmod.c fstat.c \
|
/openbsd/usr.sbin/installboot/ |
H A D | util.c | 66 if (fchmod(dfd, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) == -1) { in filecopy() 160 if (fchmod(fd, S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) == -1) { in fileprintf()
|
/openbsd/sys/stand/boot/ |
H A D | boot.c | 136 if (fchmod(fd, st.st_mode) == -1) in boot() 203 fchmod(fd, sb.st_mode | S_ISTXT); in loadrandom()
|
/openbsd/sys/arch/powerpc64/stand/rdboot/ |
H A D | rdboot.c | 141 fchmod(fd, sb.st_mode | S_ISTXT); in loadrandom() 192 if (fchmod(fd, sb.st_mode) == -1) in kexec()
|
/openbsd/sys/arch/octeon/stand/rdboot/ |
H A D | rdboot.c | 143 fchmod(fd, sb.st_mode | S_ISTXT); in loadrandom() 196 if (fchmod(fd, sb.st_mode) == -1) in kexec()
|
/openbsd/gnu/gcc/fixincludes/tests/base/sys/ |
H A D | stat.h | 18 extern int fchmod(int, mode_t);
|
/openbsd/lib/libc/hidden/sys/ |
H A D | stat.h | 27 PROTO_NORMAL(fchmod);
|
/openbsd/gnu/usr.bin/gcc/gcc/fixinc/tests/base/sys/ |
H A D | stat.h | 23 extern int fchmod(int, mode_t);
|
/openbsd/bin/mv/ |
H A D | mv.c | 293 (void) fchmod(to_fd, sbp->st_mode & ~(S_ISUID|S_ISGID)); in fastcopy() 319 if (fchmod(to_fd, sbp->st_mode)) in fastcopy()
|
/openbsd/usr.sbin/smtpd/ |
H A D | mda_mbox.c | 78 if (fchmod(fd, S_IRUSR|S_IWUSR) == -1) in mda_mbox_init()
|
/openbsd/bin/cp/ |
H A D | utils.c | 186 fchmod(to_fd, fs->st_mode & RETAINBITS & ~myumask)) { in copy_file() 304 if (fd >= 0 ? fchmod(fd, fs->st_mode) : in setfile()
|
/openbsd/sys/arch/hppa/stand/libsa/ |
H A D | Makefile | 27 SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c fchmod.c fstat.c \
|
/openbsd/sys/arch/sparc64/stand/ofwboot/ |
H A D | boot.c | 263 if (fchmod(fd, st.st_mode) == -1) in loadfile() 318 fchmod(fd, sb.st_mode | S_ISTXT); in loadrandom()
|
/openbsd/sys/arch/loongson/stand/libsa/ |
H A D | Makefile | 22 SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c fchmod.c fstat.c \
|
/openbsd/sys/arch/sparc64/stand/libsa/ |
H A D | Makefile | 23 SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c fstat.c fchmod.c \
|
/openbsd/sys/arch/macppc/stand/ofwboot/ |
H A D | Makefile | 10 SRCS+= alloc.c cache.c fchmod.c hfs.c arc4.c
|
/openbsd/usr.bin/mg/ |
H A D | fileio.c | 130 fchmod(fd, bp->b_fi.fi_mode & 07777); in ffwopen() 264 (void) fchmod(to, (sb.st_mode & 0777)); in fbackupfile() 408 if (fchmod(ofd, orig.st_mode) == -1) in copy()
|
/openbsd/usr.bin/cvs/ |
H A D | edit.c | 303 if (fchmod(cf->fd, 0644) == -1) in cvs_edit_local() 420 if (fchmod(cf->fd, 0644) == -1) in cvs_unedit_local()
|
H A D | init.c | 170 (void)fchmod(fd, 0666); in init_mkfile()
|
/openbsd/usr.sbin/acme-client/ |
H A D | fileproc.c | 63 if (fchmod(fd, 0444) == -1) { in serialise()
|
/openbsd/regress/lib/libc/sys/ |
H A D | t_access.c | 69 ATF_REQUIRE(fchmod(fd, perm[i]) == 0); in ATF_TC_BODY()
|
/openbsd/sys/arch/alpha/stand/boot/ |
H A D | boot.c | 94 fchmod(fd, sb.st_mode | S_ISTXT); in loadrandom()
|
/openbsd/sys/sys/ |
H A D | stat.h | 202 int fchmod(int, mode_t);
|
/openbsd/usr.sbin/rpki-client/ |
H A D | output.c | 140 (void) fchmod(fd, 0644); in output_createtmp()
|