Home
last modified time | relevance | path

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

123

/mirbsd/src/usr.sbin/lpr/lpc/
Dcmds.c160 (void)fchown(fd, DEFUID, -1); in abortpr()
216 (void)fchown(fd, DEFUID, -1); in upstat()
517 (void)fchown(fd, DEFUID, -1); in disablepr()
598 (void)fchown(fd, DEFUID, -1); in putmsg()
617 (void)fchown(fd, DEFUID, -1); in putmsg()
950 (void)fchown(fd, DEFUID, -1); in stoppr()
/mirbsd/src/lib/libpthread/uthread/
Duthread_fchown.c43 fchown(int fd, uid_t owner, gid_t group) in fchown() function
Duthread_init.c90 &fchown,
/mirbsd/src/sys/compat/linux/
Dlinux_dummy.c109 DUMMY(fchown); /* #207 */
/mirbsd/src/usr.bin/skeyinit/
Dskeyinit.c286 if (fchown(fileno(skey.keyfile), pp->pw_uid, -1) != 0 || in main()
544 (void)fchown(fileno(newfile), uid, -1); in convert_db()
/mirbsd/src/gnu/usr.sbin/sendmail/libsmdb/
Dsmndbm.c254 result = fchown(fd, uid, gid);
262 result = fchown(fd, uid, gid);
Dsmdb1.c295 result = fchown(fd, uid, gid);
Dsmdb2.c335 result = fchown(fd, uid, gid);
/mirbsd/src/include/
Dunistd.h149 int fchown(int, uid_t, gid_t);
/mirbsd/src/libexec/ld.so/ldconfig/
Dprebind_delete.c274 if (fchown(outfd, st->st_uid, st->st_gid) == -1) in prebind_newfile()
/mirbsd/src/share/doc/psd/05.sysman/
Dspell.ok135 fchown
/mirbsd/src/libexec/login_token/
Dtokendb.c220 if (must_set_perms && fchown((tokendb->fd)(tokendb), 0, grp->gr_gid)) in tokendb_open()
/mirbsd/src/bin/cp/
Dutils.c257 if (fd ? fchown(fd, fs->st_uid, fs->st_gid) : in setfile()
/mirbsd/src/usr.bin/chpass/
Dedit.c137 (void)fchown(fd, getuid(), getgid());
/mirbsd/src/bin/mv/
Dmv.c279 if (fchown(to_fd, sbp->st_uid, sbp->st_gid)) { in fastcopy()
/mirbsd/src/libexec/mail.local/
Dmail.local.c221 if (fchown(mbfd, pw->pw_uid, pw->pw_gid) < 0) { in deliver()
/mirbsd/src/lib/libc/sys/
DMakefile.inc45 fchflags.o fchmod.o fchown.o fchroot.o fcntl.o fhopen.o fhstat.o \
227 MLINKS+=chown.2 fchown.2
/mirbsd/src/gnu/usr.bin/perl/t/io/
Dfs.t203 like($@, qr/^The fchown function is unimplemented at/, "fchown is unimplemented");
/mirbsd/src/usr.sbin/cron/
Dcrontab.c602 if (fchown(fileno(tmp), pw->pw_uid, -1) < OK) { in replace_cmd()
/mirbsd/src/usr.bin/newsyslog/
Dnewsyslog.c825 if (fchown(fd, ent->uid, ent->gid)) in dotrim()
1358 if (fchown(fileno(dst), owner_uid, group_gid))
/mirbsd/src/scripts/
Dsystrace.sed50 native-fchown: permit
/mirbsd/src/sbin/quotacheck/
Dquotacheck.c366 (void) fchown(fileno(qfo), getuid(), getquotagid()); in update()
/mirbsd/src/usr.sbin/pwd_mkdb/
Dpwd_mkdb.c238 if (fchown(edp->fd(edp), (uid_t)-1, shadow) != 0) in main()
/mirbsd/src/usr.sbin/edquota/
Dedquota.c282 (void)fchown(fd, getuid(), mid); in getprivs()
/mirbsd/src/usr.bin/xinstall/
Dxinstall.c428 if ((gid != (gid_t)-1 || uid != (uid_t)-1) && fchown(to_fd, uid, gid)) { in install()

123