Home
last modified time | relevance | path

Searched refs:fchmod (Results 1 – 25 of 122) sorted by relevance

12345

/openbsd/sys/lib/libsa/
H A Dfchmod.c38 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 DMakefile37 lseek.c open.c nullfs.c read.c stat.c fchmod.c fstat.c \
/openbsd/usr.sbin/installboot/
H A Dutil.c66 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 Dboot.c136 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 Drdboot.c141 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 Drdboot.c143 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 Dstat.h18 extern int fchmod(int, mode_t);
/openbsd/lib/libc/hidden/sys/
H A Dstat.h27 PROTO_NORMAL(fchmod);
/openbsd/gnu/usr.bin/gcc/gcc/fixinc/tests/base/sys/
H A Dstat.h23 extern int fchmod(int, mode_t);
/openbsd/bin/mv/
H A Dmv.c293 (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 Dmda_mbox.c78 if (fchmod(fd, S_IRUSR|S_IWUSR) == -1) in mda_mbox_init()
/openbsd/bin/cp/
H A Dutils.c186 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 DMakefile27 SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c fchmod.c fstat.c \
/openbsd/sys/arch/sparc64/stand/ofwboot/
H A Dboot.c263 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 DMakefile22 SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c fchmod.c fstat.c \
/openbsd/sys/arch/sparc64/stand/libsa/
H A DMakefile23 SRCS+= close.c closeall.c dev.c disklabel.c dkcksum.c fstat.c fchmod.c \
/openbsd/sys/arch/macppc/stand/ofwboot/
H A DMakefile10 SRCS+= alloc.c cache.c fchmod.c hfs.c arc4.c
/openbsd/usr.bin/mg/
H A Dfileio.c130 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 Dedit.c303 if (fchmod(cf->fd, 0644) == -1) in cvs_edit_local()
420 if (fchmod(cf->fd, 0644) == -1) in cvs_unedit_local()
H A Dinit.c170 (void)fchmod(fd, 0666); in init_mkfile()
/openbsd/usr.sbin/acme-client/
H A Dfileproc.c63 if (fchmod(fd, 0444) == -1) { in serialise()
/openbsd/regress/lib/libc/sys/
H A Dt_access.c69 ATF_REQUIRE(fchmod(fd, perm[i]) == 0); in ATF_TC_BODY()
/openbsd/sys/arch/alpha/stand/boot/
H A Dboot.c94 fchmod(fd, sb.st_mode | S_ISTXT); in loadrandom()
/openbsd/sys/sys/
H A Dstat.h202 int fchmod(int, mode_t);
/openbsd/usr.sbin/rpki-client/
H A Doutput.c140 (void) fchmod(fd, 0644); in output_createtmp()

12345