Symbol: fchown
bin/cp/utils.c
378
if (fd ? fchown(fd, fs->st_uid, fs->st_gid) :
bin/ksh/history.c
983
fchown(fd, statb.st_uid, statb.st_gid);
bin/mv/mv.c
351
if (fchown(to_fd, sbp->st_uid, sbp->st_gid)) {
include/unistd.h
264
int fchown(int, uid_t, gid_t) __RENAME(__posix_fchown);
include/unistd.h
266
int fchown(int, uid_t, gid_t);
lib/libc/time/zic.c
840
int r = fchown(fileno(stream), output_owner, output_group);
lib/librumphijack/hijack.c
2621
FDCALL(int, fchown, DUALCALL_FCHOWN, \
libexec/mail.local/mail.local.c
312
(void)fchown(mbfd, pw->pw_uid, pw->pw_gid);
sbin/restore/tape.c
801
(void) fchown(ofile, uid, gid);
share/examples/refuse/fanoutfs/fanoutfs.c
185
if (fchown(fdto, st.st_uid, st.st_gid) < 0) {
sys/rump/librump/rumpkern/rump_syscalls.c
1640
__weak_alias(fchown,rump___sysimpl_fchown);
usr.bin/at/at.c
259
if (fchown(fd2, real_uid, real_gid) == -1)
usr.bin/chpass/edit.c
140
(void)fchown(fd, getuid(), getgid());
usr.bin/gzip/gzip.c
1136
if (fchown(fd, sb.st_uid, sb.st_gid) < 0) {
usr.bin/newsyslog/newsyslog.c
761
if (fchown(fd, log->uid, log->gid) < 0)
usr.bin/rdist/server.c
1131
if (fd != -1 ? fchown(fd, uid, gid) < 0 : chown(file, uid, gid) < 0)
usr.bin/sed/main.c
447
fchown(fileno(outfile), sb.st_uid, sb.st_gid);
usr.bin/xinstall/xinstall.c
807
(flags & (HASUID | HASGID)) && fchown(to_fd, uid, gid) == -1) {
usr.sbin/edquota/edquota.c
1281
fchown(tmpfd, getuid(), getgid());
usr.sbin/edquota/edquota.c
369
(void)fchown(fd, getuid(),
usr.sbin/lpr/lpr/lpr.c
306
(void)fchown(tfd, DU, -1); /* owned by daemon for protection */
usr.sbin/lpr/lpr/lpr.c
550
if (fchown(f, userid, -1) < 0) {
usr.sbin/quotacheck/quotacheck.c
514
(void) fchown(fileno(qfo), getuid(), getquotagid());