HomeSort by: relevance | last modified time | path
    Searched refs:fchown (Results 1 - 21 of 21) sorted by relevancy

  /src/include/
unistd.h 264 int fchown(int, uid_t, gid_t) __RENAME(__posix_fchown);
266 int fchown(int, uid_t, gid_t);
  /src/usr.sbin/lpr/lpr/
lpr.c 306 (void)fchown(tfd, DU, -1); /* owned by daemon for protection */
550 if (fchown(f, userid, -1) < 0) {
  /src/sys/rump/include/rump/
rump_syscallshotgun.h 95 #define fchown(a,b,c) rump_sys_fchown(a,b,c) macro
  /src/usr.bin/chpass/
edit.c 140 (void)fchown(fd, getuid(), getgid());
  /src/bin/mv/
mv.c 351 if (fchown(to_fd, sbp->st_uid, sbp->st_gid)) {
  /src/usr.bin/sed/
main.c 446 fchown(fileno(outfile), sb.st_uid, sb.st_gid);
  /src/libexec/mail.local/
mail.local.c 312 (void)fchown(mbfd, pw->pw_uid, pw->pw_gid);
  /src/share/examples/refuse/fanoutfs/
fanoutfs.c 185 if (fchown(fdto, st.st_uid, st.st_gid) < 0) {
186 warn("bad fchown");
  /src/usr.bin/at/
at.c 259 if (fchown(fd2, real_uid, real_gid) == -1)
  /src/bin/cp/
utils.c 378 if (fd ? fchown(fd, fs->st_uid, fs->st_gid) :
  /src/usr.sbin/edquota/
edquota.c 369 (void)fchown(fd, getuid(),
1281 fchown(tmpfd, getuid(), getgid());
  /src/lib/libc/sys/
Makefile.inc 116 faccessat.S fchdir.S fchflags.S fchmod.S fchmodat.S fchown.S \
308 MLINKS+=chown.2 fchown.2 chown.2 lchown.2
  /src/usr.bin/newsyslog/
newsyslog.c 761 if (fchown(fd, log->uid, log->gid) < 0)
  /src/usr.sbin/quotacheck/
quotacheck.c 514 (void) fchown(fileno(qfo), getuid(), getquotagid());
  /src/bin/ksh/
history.c 983 fchown(fd, statb.st_uid, statb.st_gid);
  /src/usr.bin/xinstall/
xinstall.c 799 (flags & (HASUID | HASGID)) && fchown(to_fd, uid, gid) == -1) {
  /src/usr.bin/rdist/
server.c 1131 if (fd != -1 ? fchown(fd, uid, gid) < 0 : chown(file, uid, gid) < 0)
  /src/sbin/restore/
tape.c 800 (void) fchown(ofile, uid, gid);
  /src/usr.bin/gzip/
gzip.c 1118 if (fchown(fd, sb.st_uid, sb.st_gid) < 0) {
1120 maybe_warn("couldn't fchown: %s", file);
  /src/lib/librumphijack/
hijack.c 341 { DUALCALL_FCHOWN, "fchown", RSYS_NAME(FCHOWN) },
2621 FDCALL(int, fchown, DUALCALL_FCHOWN, \
  /src/sys/rump/librump/rumpkern/
rump_syscalls.c 1638 __weak_alias(fchown,rump___sysimpl_fchown);
7183 }, /* 123 = fchown */

Completed in 33 milliseconds