| /src/crypto/external/bsd/heimdal/dist/lib/roken/ |
| 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
|
| /src/external/gpl3/gdb/dist/gnulib/import/ |
| 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
|
| 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
|
| /src/external/gpl3/gdb.old/dist/gnulib/import/ |
| 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
|
| 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
|
| /src/external/mpl/bind/dist/bin/confgen/ |
| os.c | 37 return fchown(fileno(fd), pw->pw_uid, -1);
|
| /src/include/ |
| unistd.h | 264 int fchown(int, uid_t, gid_t) __RENAME(__posix_fchown); 266 int fchown(int, uid_t, gid_t);
|
| /src/external/bsd/libpcap/dist/lbl/ |
| os-sunos4.h | 67 int fchown(int, int, int);
|
| /src/external/bsd/tcpdump/dist/lbl/ |
| os-sunos4.h | 65 int fchown(int, int, int);
|
| /src/external/ibm-public/postfix/dist/src/util/ |
| safe_open.c | 225 && fchown(vstream_fileno(fp), user, group) < 0) {
|
| /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/external/bsd/libarchive/dist/libarchive/test/ |
| 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) {
|
| /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/external/bsd/ntp/dist/ntpd/ |
| ntp_ppsdev.c | 364 if (-1 == fchown(fdpps, sb.st_uid, sb.st_gid)) {
|
| /src/external/bsd/cron/dist/ |
| crontab.c | 407 x = fchown(t, MY_UID(pw), MY_GID(pw)); 776 error = fchown(fileno(tmp), file_owner, (uid_t)-1);
|
| /src/external/public-domain/xz/dist/src/xz/ |
| 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(),
|
| /src/bin/mv/ |
| mv.c | 351 if (fchown(to_fd, sbp->st_uid, sbp->st_gid)) {
|
| /src/libexec/mail.local/ |
| mail.local.c | 312 (void)fchown(mbfd, pw->pw_uid, pw->pw_gid);
|
| /src/usr.bin/sed/ |
| main.c | 446 fchown(fileno(outfile), sb.st_uid, sb.st_gid);
|
| /src/bin/cp/ |
| utils.c | 378 if (fd ? fchown(fd, fs->st_uid, fs->st_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/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.sbin/edquota/ |
| edquota.c | 369 (void)fchown(fd, getuid(), 1281 fchown(tmpfd, getuid(), getgid());
|