summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-04-10 22:42:29 +0000
committermillert <millert@openbsd.org>2003-04-10 22:42:29 +0000
commitb9a154a0c8b4df93fc703ccb54c1a8b2460b4a32 (patch)
treecdb5314a5752936f37df2c3fdaa437d238cdd81c
parentmake all entry points of the same number of arguments and that greatly simplifies the call setup in the scheduler (diff)
downloadwireguard-openbsd-b9a154a0c8b4df93fc703ccb54c1a8b2460b4a32.tar.xz
wireguard-openbsd-b9a154a0c8b4df93fc703ccb54c1a8b2460b4a32.zip
more POSIX chown
-rw-r--r--etc/etc.sparc/install.sh4
-rw-r--r--etc/etc.svr4/SVR4_MAKEDEV16
-rw-r--r--games/boggle/Makefile4
-rw-r--r--sys/arch/mvme88k/stand/netboot/Makefile4
-rw-r--r--sys/arch/mvmeppc/stand/tftpboot/Makefile4
-rw-r--r--usr.bin/rdistd/server.c10
6 files changed, 21 insertions, 21 deletions
diff --git a/etc/etc.sparc/install.sh b/etc/etc.sparc/install.sh
index b90a782ab1d..67181679856 100644
--- a/etc/etc.sparc/install.sh
+++ b/etc/etc.sparc/install.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# $OpenBSD: install.sh,v 1.5 2002/06/09 06:15:14 todd Exp $
+# $OpenBSD: install.sh,v 1.6 2003/04/10 22:42:29 millert Exp $
# XXX should handle --unlink
@@ -99,7 +99,7 @@ done
#
echo "Installing bsd.scsi3 as kernel, replace by hand you need to."
cp ./bsd.scsi3 $INSTALLTO/bsd
-chmod 640 $INSTALLTO/bsd; chown root.kmem $INSTALLTO/bsd
+chmod 640 $INSTALLTO/bsd; chown root:kmem $INSTALLTO/bsd
if [ ! -c $INSTALLTO/dev/console ];then
echo "Tar did not understand device nodes - removing"
rm -rf $INSTALLTO/dev/[a-z]*
diff --git a/etc/etc.svr4/SVR4_MAKEDEV b/etc/etc.svr4/SVR4_MAKEDEV
index 7feebc5a507..29ef295785d 100644
--- a/etc/etc.svr4/SVR4_MAKEDEV
+++ b/etc/etc.svr4/SVR4_MAKEDEV
@@ -1,5 +1,5 @@
#!/bin/sh -
-# $OpenBSD: SVR4_MAKEDEV,v 1.5 2002/06/09 06:15:15 todd Exp $
+# $OpenBSD: SVR4_MAKEDEV,v 1.6 2003/04/10 22:42:29 millert Exp $
# $NetBSD: SVR4_MAKEDEV,v 1.3 1996/04/11 12:59:45 christos Exp $
#
# Copyright (c) 1995 Christos Zoulas
@@ -55,45 +55,45 @@ all)
;;
tcp)
mknod $i c 43 35
- chown bin.bin $i
+ chown bin:bin $i
chmod 666 $i
;;
udp)
mknod udp c 43 36
- chown bin.bin $i
+ chown bin:bin $i
chmod 666 $i
;;
rawip)
mknod $i c 43 37
- chown bin.bin $i
+ chown bin:bin $i
chmod 666 $i
;;
ticlts)
mknod $i c 43 38
- chown bin.bin $i
+ chown bin:bin $i
chmod 666 $i
;;
ticotsord)
mknod $i c 43 39
- chown bin.bin $i
+ chown bin:bin $i
chmod 666 $i
;;
ticots)
mknod $i c 43 40
- chown bin.bin $i
+ chown bin:bin $i
chmod 666 $i
;;
wabi)
mknod $i c 3 2 # /dev/null
- chown bin.bin $i
+ chown bin:bin $i
chmod 666 $i
;;
diff --git a/games/boggle/Makefile b/games/boggle/Makefile
index f98c48be830..41f51b5cc24 100644
--- a/games/boggle/Makefile
+++ b/games/boggle/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.3 2003/04/10 16:31:02 millert Exp $
+# $OpenBSD: Makefile,v 1.4 2003/04/10 22:42:29 millert Exp $
SUBDIR= boggle mkdict mkindex
@@ -16,7 +16,7 @@ beforeinstall:
${DESTDIR}/usr/share/games/boggle/dictindex
chown ${BINOWN}:${BINGRP} ${DESTDIR}/usr/share/games/boggle/dictionary
chmod 444 ${DESTDIR}/usr/share/games/boggle/dictionary
- chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/share/games/boggle/dictindex
+ chown ${BINOWN}:${BINGRP} ${DESTDIR}/usr/share/games/boggle/dictindex
chmod 444 ${DESTDIR}/usr/share/games/boggle/dictindex
.include <bsd.subdir.mk>
diff --git a/sys/arch/mvme88k/stand/netboot/Makefile b/sys/arch/mvme88k/stand/netboot/Makefile
index 948abdb142c..482e6f54d95 100644
--- a/sys/arch/mvme88k/stand/netboot/Makefile
+++ b/sys/arch/mvme88k/stand/netboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.8 2001/01/13 05:19:01 smurph Exp $
+# $OpenBSD: Makefile,v 1.9 2003/04/10 22:42:29 millert Exp $
SIZE?= size
STRIP?= strip
@@ -35,7 +35,7 @@ netboot.bin: netboot
${STRIP} netboot
dd ibs=32 skip=1 if=netboot of=$@
# dd ibs=38 skip=1 if=netboot of=$@
- chown ${LIBOWN}.${LIBGRP} netboot.bin
+ chown ${LIBOWN}:${LIBGRP} netboot.bin
chmod ${LIBMODE} netboot.bin
install:
diff --git a/sys/arch/mvmeppc/stand/tftpboot/Makefile b/sys/arch/mvmeppc/stand/tftpboot/Makefile
index 0a707775b34..4ae7190110a 100644
--- a/sys/arch/mvmeppc/stand/tftpboot/Makefile
+++ b/sys/arch/mvmeppc/stand/tftpboot/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2001/08/21 17:44:19 miod Exp $
+# $OpenBSD: Makefile,v 1.3 2003/04/10 22:42:29 millert Exp $
SIZE?= size
STRIP?= strip
@@ -35,7 +35,7 @@ tftpboot.bin: tftpboot
${STRIP} tftpboot
dd ibs=96 skip=1 if=tftpboot of=$@
# dd ibs=38 skip=1 if=tftpboot of=$@
- chown ${LIBOWN}.${LIBGRP} tftpboot.bin
+ chown ${LIBOWN}:${LIBGRP} tftpboot.bin
chmod ${LIBMODE} tftpboot.bin
install:
diff --git a/usr.bin/rdistd/server.c b/usr.bin/rdistd/server.c
index e156b045e35..644fd81c71b 100644
--- a/usr.bin/rdistd/server.c
+++ b/usr.bin/rdistd/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.11 2003/04/05 20:31:58 deraadt Exp $ */
+/* $OpenBSD: server.c,v 1.12 2003/04/10 22:42:29 millert Exp $ */
/*
* Copyright (c) 1983 Regents of the University of California.
@@ -38,7 +38,7 @@ static char RCSid[] =
"$From: server.c,v 6.85 1996/03/12 22:55:38 mcooper Exp $";
#else
static char RCSid[] =
-"$OpenBSD: server.c,v 1.11 2003/04/05 20:31:58 deraadt Exp $";
+"$OpenBSD: server.c,v 1.12 2003/04/10 22:42:29 millert Exp $";
#endif
static char sccsid[] = "@(#)server.c 5.3 (Berkeley) 6/7/86";
@@ -110,7 +110,7 @@ static int setownership(file, fd, uid, gid)
(CHOWN_GID_T) gid);
if (status < 0) {
- message(MT_NOTICE, "%s: chown %d.%d failed: %s",
+ message(MT_NOTICE, "%s: chown %d:%d failed: %s",
target, (UID_T) uid, (GID_T) gid, SYSERR);
return(-1);
}
@@ -1077,7 +1077,7 @@ static void recvdir(opts, mode, owner, group)
if (IS_ON(opts, DO_VERIFY))
message(MT_NOTICE,
- "%s: need to chown from %s.%s to %s.%s",
+ "%s: need to chown from %s:%s to %s:%s",
target,
PRN(lowner), PRN(lgroup),
PRN(owner), PRN(group));
@@ -1085,7 +1085,7 @@ static void recvdir(opts, mode, owner, group)
if (fchog(-1, target, owner,
group, -1) == 0)
message(MT_NOTICE,
- "%s: chown from %s.%s to %s.%s",
+ "%s: chown from %s:%s to %s:%s",
target,
PRN(lowner),
PRN(lgroup),