Home
last modified time | relevance | path

Searched refs:fchown (Results 1 – 25 of 72) sorted by relevance

123

/freebsd/contrib/sendmail/test/
H A Dt_pathconf.c70 if (fchown(fd, 1, 1) >= 0)
79 if (fchown(fd, 1, 1) >= 0)
/freebsd/crypto/heimdal/lib/roken/
H A Dfchown.c39 fchown(int fd, uid_t owner, gid_t group) in fchown() function
/freebsd/tests/sys/fifo/
H A Dfifo_misc.c274 if (fchown(reader_fd, -1, -1) != 0) { in test_chmodchown()
284 if (fchown(reader_fd, u, g) != 0) { in test_chmodchown()
/freebsd/crypto/krb5/src/lib/krb5/os/
H A Dkrbfileio.c74 fchown(fd, uid, gid); in k5_create_secure_file()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Dmkfiles.c57 } else if (fchown(fd, getuid(), getgid()) < 0) { in main()
H A Ddir_rd_update.c125 chownret = fchown(fd, 0, 0); in main()
H A Dmkfile.c149 } else if (fchown(fd, getuid(), getgid()) < 0) { in main()
/freebsd/tests/sys/cddl/zfs/bin/
H A Ddir_rd_update.c110 chownret = fchown(fd, 0, 0); in main()
/freebsd/contrib/dma/
H A Ddma-mbox-create.c180 if (fchown(f, user_uid, mail_gid)) in main()
/freebsd/sbin/mksnap_ffs/
H A Dmksnap_ffs.c183 if (fchown(fd, -1, grp->gr_gid) != 0) in main()
/freebsd/usr.sbin/pw/
H A Dcpdir.c146 if (fchown(destfd, uid, gid) != 0) in copymkdir()
/freebsd/contrib/tcpdump/lbl/
H A Dos-sunos4.h65 int fchown(int, int, int);
/freebsd/contrib/libpcap/lbl/
H A Dos-sunos4.h65 int fchown(int, int, int);
/freebsd/contrib/libarchive/libarchive/test/
H A Dtest_write_disk_perms.c81 if (fchown(fd, uid, gid) != 0) { in searchgid()
96 if (fchown(fd, uid, gid) == 0) { in searchgid()
/freebsd/usr.sbin/cron/crontab/
H A Dcrontab.c337 if (fchown(t, getuid(), getgid()) < 0) {
570 if (fchown(fileno(tmp), ROOT_UID, -1) < OK)
/freebsd/contrib/sendmail/libsmdb/
H A Dsmndbm.c253 result = fchown(fd, uid, gid);
261 result = fchown(fd, uid, gid);
/freebsd/share/doc/psd/05.sysman/
H A Dspell.ok135 fchown
/freebsd/usr.sbin/lpr/lpr/
H A Dlpr.c317 (void) fchown(tfd, pp->daemon_user, -1); in main()
635 if (fchown(f, userid, -1) < 0) { in nfile()
/freebsd/lib/libutil/
H A Dquotafile.c196 fchown(qf->fd, 0, grp ? grp->gr_gid : 0); in quota_open()
566 fchown(newqf->fd, 0, grp ? grp->gr_gid : 0); in quota_convert()
/freebsd/usr.bin/chpass/
H A Dedit.c186 (void)fchown(fileno(fp), getuid(), getgid()); in display()
/freebsd/contrib/ntp/ntpd/
H A Dntp_ppsdev.c362 if (-1 == fchown(fdpps, sb.st_uid, sb.st_gid)) { in findMatchingPpsDev()
/freebsd/lib/libsys/
H A DSymbol.sys.map78 fchown;
/freebsd/tools/regression/security/cap_test/
H A Dcap_test_capabilities.c300 ret = fchown(fd_cap, -1, -1); in try_file_ops()
301 CHECK_RESULT(fchown, CAP_FCHOWN, ret == 0); in try_file_ops()
/freebsd/contrib/xz/src/xz/
H A Dfile_io.c331 if (fchown(pair->dest_fd, pair->src_st.st_uid, (gid_t)(-1)) in io_copy_attrs()
345 && fchown(pair->dest_fd, (uid_t)(-1), in io_copy_attrs()
/freebsd/bin/mv/
H A Dmv.c298 if (fchown(to_fd, sbp->st_uid, sbp->st_gid)) { in fastcopy()

123