/netbsd-current/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | fchown.c | 1 /* $NetBSD: fchown.c,v 1.2 2017/01/28 21:31:50 christos Exp $ */ 41 fchown(int fd, uid_t owner, gid_t group) function
|
/netbsd-current/external/gpl3/gdb/dist/gnulib/import/ |
H A D | fchown-stub.c | 24 /* A trivial substitute for 'fchown'. 26 DJGPP 2.03 and earlier (and perhaps later) don't have 'fchown', 30 fchown (int fd, uid_t uid, gid_t gid) function
|
H A D | chown.c | 89 use fchown on the resulting descriptor. */ 99 result = fchown (fd, uid, gid); 102 /* POSIX says fchown can fail with errno == EINVAL on sockets
|
/netbsd-current/external/mpl/bind/dist/bin/confgen/ |
H A D | os.c | 37 return (fchown(fileno(fd), pw->pw_uid, -1));
|
/netbsd-current/lib/libposix/sys/ |
H A D | Makefile.inc | 8 PSEUDO= chown.S fchown.S lchown.S rename.S
|
/netbsd-current/include/ |
H A D | unistd.h | 263 int fchown(int, uid_t, gid_t) __RENAME(__posix_fchown); 265 int fchown(int, uid_t, gid_t);
|
/netbsd-current/external/ibm-public/postfix/dist/src/util/ |
H A D | safe_open.c | 225 && fchown(vstream_fileno(fp), user, group) < 0) {
|
/netbsd-current/external/bsd/tcpdump/dist/lbl/ |
H A D | os-sunos4.h | 65 int fchown(int, int, int);
|
/netbsd-current/external/bsd/libpcap/dist/lbl/ |
H A D | os-sunos4.h | 67 int fchown(int, int, int);
|
/netbsd-current/usr.sbin/lpr/lpr/ |
H A D | lpr.c | 306 (void)fchown(tfd, DU, -1); /* owned by daemon for protection */ 550 if (fchown(f, userid, -1) < 0) {
|
/netbsd-current/external/bsd/libarchive/dist/libarchive/test/ |
H A D | test_write_disk_perms.c | 70 /* Find a GID for which fchown() fails. This is our "invalid" GID. */ 74 if (fchown(fd, uid, gid) != 0) { 81 * Find a GID for which fchown() succeeds, but which isn't the 89 if (fchown(fd, uid, gid) == 0) {
|
/netbsd-current/sys/rump/include/rump/ |
H A D | rump_syscallshotgun.h | 95 #define fchown(a,b,c) rump_sys_fchown(a,b,c) macro
|
/netbsd-current/usr.bin/chpass/ |
H A D | edit.c | 140 (void)fchown(fd, getuid(), getgid());
|
/netbsd-current/external/bsd/cron/dist/ |
H A D | crontab.c | 407 x = fchown(t, MY_UID(pw), MY_GID(pw)); 776 error = fchown(fileno(tmp), file_owner, (uid_t)-1);
|
/netbsd-current/external/public-domain/xz/dist/src/xz/ |
H A D | file_io.c | 104 // If fchown() fails setting the owner, we warn about it only if 361 // isn't already us, fchown() probably doesn't succeed. We warn 362 // about failing fchown() only if we are root. 363 if (fchown(pair->dest_fd, pair->src_st.st_uid, -1) && warn_fchown) 369 if (fchown(pair->dest_fd, -1, pair->src_st.st_gid)) { 679 // for them, but calls fchown() after fchmod(),
|
/netbsd-current/bin/mv/ |
H A D | mv.c | 351 if (fchown(to_fd, sbp->st_uid, sbp->st_gid)) {
|
/netbsd-current/usr.bin/sed/ |
H A D | main.c | 446 fchown(fileno(outfile), sb.st_uid, sb.st_gid);
|
/netbsd-current/libexec/mail.local/ |
H A D | mail.local.c | 312 (void)fchown(mbfd, pw->pw_uid, pw->pw_gid);
|
/netbsd-current/share/examples/refuse/fanoutfs/ |
H A D | fanoutfs.c | 185 if (fchown(fdto, st.st_uid, st.st_gid) < 0) { 186 warn("bad fchown");
|
/netbsd-current/usr.bin/at/ |
H A D | at.c | 259 if (fchown(fd2, real_uid, real_gid) == -1)
|
/netbsd-current/bin/cp/ |
H A D | utils.c | 378 if (fd ? fchown(fd, fs->st_uid, fs->st_gid) :
|
/netbsd-current/lib/libc/sys/ |
H A D | Makefile.inc | 116 faccessat.S fchdir.S fchflags.S fchmod.S fchmodat.S fchown.S \ 307 MLINKS+=chown.2 fchown.2 chown.2 lchown.2
|
/netbsd-current/external/bsd/libbind/dist/ |
H A D | port_after.h.in | 507 int fchown(int, int, int);
|
/netbsd-current/usr.sbin/edquota/ |
H A D | edquota.c | 369 (void)fchown(fd, getuid(), 1281 fchown(tmpfd, getuid(), getgid());
|
/netbsd-current/external/bsd/libbind/dist/isc/ |
H A D | logging.c | 156 (void) fchown(fd, chan->out.file.owner, chan->out.file.group);
|