CVS commit: src/sys/arch/hp700/dev

2009-05-10 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon May 11 06:10:30 UTC 2009

Modified Files:
src/sys/arch/hp700/dev: dino.c

Log Message:
KNF


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/hp700/dev/dino.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hp700/dev/dino.c
diff -u src/sys/arch/hp700/dev/dino.c:1.11 src/sys/arch/hp700/dev/dino.c:1.12
--- src/sys/arch/hp700/dev/dino.c:1.11	Fri May  8 09:33:58 2009
+++ src/sys/arch/hp700/dev/dino.c	Mon May 11 06:10:30 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: dino.c,v 1.11 2009/05/08 09:33:58 skrll Exp $ */
+/*	$NetBSD: dino.c,v 1.12 2009/05/11 06:10:30 skrll Exp $ */
 
 /*	$OpenBSD: dino.c,v 1.5 2004/02/13 20:39:31 mickey Exp $	*/
 
@@ -29,7 +29,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: dino.c,v 1.11 2009/05/08 09:33:58 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dino.c,v 1.12 2009/05/11 06:10:30 skrll Exp $");
 
 /* #include "cardbus.h" */
 
@@ -146,7 +146,7 @@
 int dino_intr_map(struct pci_attach_args *, pci_intr_handle_t *);
 const char *dino_intr_string(void *, pci_intr_handle_t);
 void *dino_intr_establish(void *, pci_intr_handle_t, int,
-int (*handler)(void *), void *);
+int (*)(void *), void *);
 void dino_intr_disestablish(void *, void *);
 void *dino_alloc_parent(device_t, struct pci_attach_args *, int);
 int dino_iomap(void *, bus_addr_t, bus_size_t, int, bus_space_handle_t *);



CVS commit: src/dist/pdisk

2009-05-10 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Sun May 10 22:03:22 UTC 2009

Modified Files:
src/dist/pdisk: dump.c

Log Message:
Now that we have strnlen() in libc, get rid of the local
and type-conflicting implementation here instead of fixing
it locally.  I don't think (hope!) this is size-critical.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/dist/pdisk/dump.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/dist/pdisk/dump.c
diff -u src/dist/pdisk/dump.c:1.9 src/dist/pdisk/dump.c:1.10
--- src/dist/pdisk/dump.c:1.9	Sat Apr 18 06:37:35 2009
+++ src/dist/pdisk/dump.c	Sun May 10 22:03:22 2009
@@ -131,7 +131,6 @@
 int get_max_base_or_length(partition_map_header *map);
 int get_max_name_string_length(partition_map_header *map);
 int get_max_type_string_length(partition_map_header *map);
-int strnlen(char *s, int n);
 
 
 //
@@ -787,20 +786,6 @@
 }
 
 int
-strnlen(char *s, int n)
-{
-int i;
-
-for (i = 0; i < n; i++) {
-	if (*s == 0) {
-	break;
-	}
-	s++;
-}
-return i;
-}
-
-int
 get_max_type_string_length(partition_map_header *map)
 {
 partition_map * entry;



CVS commit: src/sys/arch/acorn26/acorn26

2009-05-10 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Sun May 10 21:47:57 UTC 2009

Modified Files:
src/sys/arch/acorn26/acorn26: pmap.c

Log Message:
Also update the prototype for pmap_enter1() after the recent
int -> u_int change.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/arch/acorn26/acorn26/pmap.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/acorn26/acorn26/pmap.c
diff -u src/sys/arch/acorn26/acorn26/pmap.c:1.27 src/sys/arch/acorn26/acorn26/pmap.c:1.28
--- src/sys/arch/acorn26/acorn26/pmap.c:1.27	Tue Apr 21 21:29:58 2009
+++ src/sys/arch/acorn26/acorn26/pmap.c	Sun May 10 21:47:57 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.27 2009/04/21 21:29:58 cegger Exp $ */
+/* $NetBSD: pmap.c,v 1.28 2009/05/10 21:47:57 he Exp $ */
 /*-
  * Copyright (c) 1997, 1998, 2000 Ben Harris
  * All rights reserved.
@@ -102,7 +102,7 @@
 
 #include 
 
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.27 2009/04/21 21:29:58 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.28 2009/05/10 21:47:57 he Exp $");
 
 #include  /* for cold */
 #include 
@@ -202,7 +202,7 @@
 static struct pv_entry *pv_get(pmap_t pmap, int ppn, int lpn);
 static void pv_release(pmap_t pmap, int ppn, int lpn);
 
-static int pmap_enter1(pmap_t, vaddr_t, paddr_t, vm_prot_t, int, int);
+static int pmap_enter1(pmap_t, vaddr_t, paddr_t, vm_prot_t, u_int, int);
 
 static void *pmap_find(paddr_t);
 



CVS commit: [netbsd-5] src/doc

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 21:39:22 UTC 2009

Modified Files:
src/doc [netbsd-5]: CHANGES-5.1

Log Message:
Tickets 740, 741, 743, 744, 745, 746, and 534.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.9 -r1.1.2.10 src/doc/CHANGES-5.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES-5.1
diff -u src/doc/CHANGES-5.1:1.1.2.9 src/doc/CHANGES-5.1:1.1.2.10
--- src/doc/CHANGES-5.1:1.1.2.9	Thu May  7 00:34:18 2009
+++ src/doc/CHANGES-5.1	Sun May 10 21:39:22 2009
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-5.1,v 1.1.2.9 2009/05/07 00:34:18 snj Exp $
+# $NetBSD: CHANGES-5.1,v 1.1.2.10 2009/05/10 21:39:22 snj Exp $
 
 A complete list of changes from the NetBSD 5.0 release to the NetBSD 5.1
 release:
@@ -318,3 +318,95 @@
 	age(4) and ale(4) will first appear in 5.1, not 6.0.
 	[cegger, ticket #739]
 
+usr.sbin/racoonctl/Makefile			1.5 via patch
+
+	Adjust the ADMINPORTDIR to match that of racoon (with which it'll
+	want to talk).  Fixes PR 41376.
+	[spz, ticket #740]
+
+sys/arch/hp700/include/intr.h			1.14
+
+	Add __insn_barrier after updating cpl in splraise. PR/41369.
+	[skrll, ticket #741]
+
+sys/arch/m68k/include/psl.h			1.14
+
+	Add memory clobber to the instructions that change the IPL in the
+	status register.  See also kern/38637.
+	[mhitch, ticket #743]
+
+sys/arch/hp700/dev/pdc.c			1.27
+
+	Pass proper timeval args to pdc_call() to save TOD with
+	PDC_TOD_WRITE.
+	[skrll, ticket #744]
+
+sys/netinet/in_pcb.cpatch
+
+	Fix compilation with IPNOPRIVPORTS option.
+	[sborrill, ticket #745]
+
+share/man/man8/afterboot.8			1.39
+
+	Fix typo, from Shannon -jj Behrens in PR 41375.
+	[dholland, ticket #746]
+
+distrib/sets/lists/etc/mi			1.209
+doc/3RDPARTY	1.691
+doc/CHANGES	1.1220
+etc/defaults/rc.conf1.103
+etc/rc.d/Makefile1.78 via patch
+etc/rc.d/dhcpcd	1.1
+external/bsd/dhcpcd/dist/README			dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/arp.c			dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/arp.h			dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/bind.c			dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/bind.h			dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/bpf-filter.h		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/bpf.c			dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/client.c		removed
+external/bsd/dhcpcd/dist/client.h		removed
+external/bsd/dhcpcd/dist/common.c		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/common.h		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/config.h		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/configure.c		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/configure.h		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/control.c		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/control.h		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/dhcp.c			dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/dhcp.h			dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/dhcpcd-run-hooks.8.in	dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/dhcpcd-run-hooks.in	dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/dhcpcd.8.in		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/dhcpcd.c		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/dhcpcd.conf		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/dhcpcd.conf.5.in	dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/dhcpcd.h		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/duid.c			dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/duid.h			dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/eloop.c		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/eloop.h		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/if-bsd.c		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/if-options.c		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/if-options.h		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/if-pref.c		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/if-pref.h		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/ipv4ll.c		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/ipv4ll.h		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/logger.c		removed
+external/bsd/dhcpcd/dist/logger.h		removed
+external/bsd/dhcpcd/dist/net.c			dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/net.h			dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/signals.c		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/signals.h		dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/dhcpcd-hooks/01-test	dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/dhcpcd-hooks/10-mtu	dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/dhcpcd-hooks/20-resolv.conf dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/dhcpcd-hooks/29-lookup-hostname dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/dhcpcd-hooks/30-hostname dhcpcd-5-0-1
+external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ntp.conf dhcpcd-5-0-1
+external/bsd/dhcpcd/sbin/dhcpcd/Makefile	1.4
+
+	Update dhcpcd to 5.0.1.
+	[roy, ticket #534]
+



CVS commit: [netbsd-5] src/distrib/sets/lists/etc

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 21:33:54 UTC 2009

Modified Files:
src/distrib/sets/lists/etc [netbsd-5]: mi

Log Message:
Pull up following revision(s) (requested by roy in ticket #534):
distrib/sets/lists/etc/mi: revision 1.209
Add an rc.d script for dhcpcd(8)


To generate a diff of this commit:
cvs rdiff -u -r1.200.2.3 -r1.200.2.4 src/distrib/sets/lists/etc/mi

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/etc/mi
diff -u src/distrib/sets/lists/etc/mi:1.200.2.3 src/distrib/sets/lists/etc/mi:1.200.2.4
--- src/distrib/sets/lists/etc/mi:1.200.2.3	Fri Feb  6 00:52:50 2009
+++ src/distrib/sets/lists/etc/mi	Sun May 10 21:33:54 2009
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.200.2.3 2009/02/06 00:52:50 snj Exp $
+# $NetBSD: mi,v 1.200.2.4 2009/05/10 21:33:54 snj Exp $
 #
 # Note: end-user configuration files that are moved to another location
 #	should not be marked "obsolete"; they should just be removed from
@@ -180,6 +180,7 @@
 ./etc/rc.d/cleartmpetc-sys-rc
 ./etc/rc.d/cron	etc-cron-rc
 ./etc/rc.d/dhclientetc-dhclient-rc
+./etc/rc.d/dhcpcdetc-dhcpcd-rc
 ./etc/rc.d/dhcpdetc-dhcpd-rc
 ./etc/rc.d/dhcrelayetc-dhcpd-rc
 ./etc/rc.d/dmesgetc-sys-rc



CVS commit: [netbsd-5] src/etc

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 21:32:57 UTC 2009

Modified Files:
src/etc/defaults [netbsd-5]: rc.conf
src/etc/rc.d [netbsd-5]: Makefile
Added Files:
src/etc/rc.d [netbsd-5]: dhcpcd

Log Message:
Pull up following revision(s) (requested by roy in ticket #534):
etc/defaults/rc.conf: revision 1.103
etc/rc.d/Makefile: revision 1.78 via patch
etc/rc.d/dhcpcd: revision 1.1
Add an rc.d script for dhcpcd(8)


To generate a diff of this commit:
cvs rdiff -u -r1.95.2.3 -r1.95.2.4 src/etc/defaults/rc.conf
cvs rdiff -u -r1.68.2.3 -r1.68.2.4 src/etc/rc.d/Makefile
cvs rdiff -u -r0 -r1.1.2.2 src/etc/rc.d/dhcpcd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/defaults/rc.conf
diff -u src/etc/defaults/rc.conf:1.95.2.3 src/etc/defaults/rc.conf:1.95.2.4
--- src/etc/defaults/rc.conf:1.95.2.3	Thu Mar 26 17:45:38 2009
+++ src/etc/defaults/rc.conf	Sun May 10 21:32:57 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: rc.conf,v 1.95.2.3 2009/03/26 17:45:38 snj Exp $
+#	$NetBSD: rc.conf,v 1.95.2.4 2009/05/10 21:32:57 snj Exp $
 #
 # /etc/defaults/rc.conf --
 #	default configuration of /etc/rc.conf
@@ -154,6 +154,7 @@
 auto_ifconfig=YES# config all avail. interfaces
 net_interfaces=""# used only if above is NO
 flushroutes=YES	# flush routes in netstart
+dhcpcd=NO
 dhcpcd_flags="-q"# For ifconfig_XXX=dhcp.
 dhclient=NO	# behave as a DHCP client
 			dhclient_flags=""	# blank: config all interfaces

Index: src/etc/rc.d/Makefile
diff -u src/etc/rc.d/Makefile:1.68.2.3 src/etc/rc.d/Makefile:1.68.2.4
--- src/etc/rc.d/Makefile:1.68.2.3	Fri Feb  6 00:51:41 2009
+++ src/etc/rc.d/Makefile	Sun May 10 21:32:57 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68.2.3 2009/02/06 00:51:41 snj Exp $
+# $NetBSD: Makefile,v 1.68.2.4 2009/05/10 21:32:57 snj Exp $
 
 .include 
 
@@ -12,7 +12,7 @@
 		accounting altqd amd apmd \
 		bootconf.sh bootparams btattach btconfig btdevctl bthcid \
 		ccd cgd cleartmp cron \
-		dhclient dhcpd dhcrelay dmesg downinterfaces envsys \
+		dhclient dhcpcd dhcpd dhcrelay dmesg downinterfaces envsys \
 		fsck ftp_proxy ftpd \
 		hostapd httpd \
 		identd ifwatchd inetd ipfilter ipfs ipmon ipnat ipsec \

Added files:

Index: src/etc/rc.d/dhcpcd
diff -u /dev/null src/etc/rc.d/dhcpcd:1.1.2.2
--- /dev/null	Sun May 10 21:32:57 2009
+++ src/etc/rc.d/dhcpcd	Sun May 10 21:32:57 2009
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+# PROVIDE: dhcpcd
+# REQUIRE: network mountcritlocal
+# BEFORE:  NETWORKING
+
+$_rc_subr_loaded . /etc/rc.subr
+
+name=dhcpcd
+rcvar=$name
+command=/sbin/$name
+pidfile=/var/run/$name.pid
+
+load_rc_config $name
+run_rc_command "$1"



CVS commit: [netbsd-5] src/external/bsd/dhcpcd/sbin/dhcpcd

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 21:29:56 UTC 2009

Modified Files:
src/external/bsd/dhcpcd/sbin/dhcpcd [netbsd-5]: Makefile

Log Message:
Pull up following revision(s) (requested by roy in ticket #534):
external/bsd/dhcpcd/sbin/dhcpcd/Makefile: revision 1.5
Fix compile


To generate a diff of this commit:
cvs rdiff -u -r1.3.2.1 -r1.3.2.2 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile
diff -u src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.3.2.1 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.3.2.2
--- src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.3.2.1	Sun May 10 21:28:52 2009
+++ src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile	Sun May 10 21:29:56 2009
@@ -1,10 +1,10 @@
-# $NetBSD: Makefile,v 1.3.2.1 2009/05/10 21:28:52 snj Exp $
+# $NetBSD: Makefile,v 1.3.2.2 2009/05/10 21:29:56 snj Exp $
 #
 
 PROG=		dhcpcd
 SRCS=		arp.c bind.c common.c control.c configure.c dhcp.c dhcpcd.c \
-		duid.c eloop.c if-options.c ipv4ll.c if-pref.c ipv4ll.c \
-		net.c signals.c
+		duid.c eloop.c if-options.c if-pref.c ipv4ll.c net.c \
+		signals.c
 SRCS+=		bpf.c if-bsd.c
 
 .include 



CVS commit: [netbsd-5] src/external/bsd/dhcpcd/sbin/dhcpcd

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 21:28:52 UTC 2009

Modified Files:
src/external/bsd/dhcpcd/sbin/dhcpcd [netbsd-5]: Makefile

Log Message:
Pull up following revision(s) (requested by roy in ticket #534):
external/bsd/dhcpcd/sbin/dhcpcd/Makefile: revision 1.4
Update to dhcpcd-5.0.0


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.3.2.1 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile
diff -u src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.3 src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.3.2.1
--- src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile:1.3	Sat Oct 25 22:27:34 2008
+++ src/external/bsd/dhcpcd/sbin/dhcpcd/Makefile	Sun May 10 21:28:52 2009
@@ -1,9 +1,11 @@
-# $NetBSD: Makefile,v 1.3 2008/10/25 22:27:34 apb Exp $
+# $NetBSD: Makefile,v 1.3.2.1 2009/05/10 21:28:52 snj Exp $
 #
 
 PROG=		dhcpcd
-SRCS=		bpf.c client.c common.c configure.c dhcp.c dhcpcd.c \
-		if-bsd.c logger.c net.c signals.c
+SRCS=		arp.c bind.c common.c control.c configure.c dhcp.c dhcpcd.c \
+		duid.c eloop.c if-options.c ipv4ll.c if-pref.c ipv4ll.c \
+		net.c signals.c
+SRCS+=		bpf.c if-bsd.c
 
 .include 
 



CVS commit: [netbsd-5] src/doc

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 21:27:44 UTC 2009

Modified Files:
src/doc [netbsd-5]: 3RDPARTY CHANGES

Log Message:
Pull up following revision(s) (requested by roy in ticket #534):
doc/3RDPARTY: revision 1.691 via patch
doc/CHANGES: revision 1.1220 via patch
Import dhcpcd-5.0.1


To generate a diff of this commit:
cvs rdiff -u -r1.647.2.6 -r1.647.2.7 src/doc/3RDPARTY
cvs rdiff -u -r1.1142.2.7 -r1.1142.2.8 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.647.2.6 src/doc/3RDPARTY:1.647.2.7
--- src/doc/3RDPARTY:1.647.2.6	Mon Mar  2 20:24:26 2009
+++ src/doc/3RDPARTY	Sun May 10 21:27:44 2009
@@ -1,4 +1,4 @@
-#  $NetBSD: 3RDPARTY,v 1.647.2.6 2009/03/02 20:24:26 snj Exp $
+#  $NetBSD: 3RDPARTY,v 1.647.2.7 2009/05/10 21:27:44 snj Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -232,8 +232,8 @@
 top of the current tree.
 
 Package:	dhcpcd
-Version:	4.0.10
-Current Vers:	4.0.10
+Version:	5.0.1
+Current Vers:	5.0.1
 Maintainer:	roy
 Archive Site:	ftp://roy.marples.name/pub/dhcpcd/
 Home Page:	http://roy.marples.name/projects/dhcpcd/

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.1142.2.7 src/doc/CHANGES:1.1142.2.8
--- src/doc/CHANGES:1.1142.2.7	Mon Mar  2 21:02:25 2009
+++ src/doc/CHANGES	Sun May 10 21:27:44 2009
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.1142.2.7 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.1142.2.8 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -1161,3 +1161,4 @@
 	ntp:	import ntp 4.2.4p6.
 		openssl API related security fix.  [kardel 20090108]
 	dhcpcd(8): Import 4.0.10 [roy 20090204]
+	dhcpcd(8): Import dhcpcd-5.0.1 [roy 20090510]



CVS commit: src/share/man/man9

2009-05-10 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun May 10 21:23:48 UTC 2009

Modified Files:
src/share/man/man9: secmodel.9

Log Message:
New sentence, new line.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/share/man/man9/secmodel.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/secmodel.9
diff -u src/share/man/man9/secmodel.9:1.15 src/share/man/man9/secmodel.9:1.16
--- src/share/man/man9/secmodel.9:1.15	Sun May 10 14:18:33 2009
+++ src/share/man/man9/secmodel.9	Sun May 10 21:23:48 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: secmodel.9,v 1.15 2009/05/10 14:18:33 elad Exp $
+.\" $NetBSD: secmodel.9,v 1.16 2009/05/10 21:23:48 wiz Exp $
 .\"
 .\" Copyright (c) 2006 Elad Efrat 
 .\" All rights reserved.
@@ -174,8 +174,8 @@
 .Dv KAUTH_SCOPE_CRED ,
 is required.
 .It
-Optionally, internal data-structures used by the model. These must all
-be prefixed with "secmodel_\*[Lt]model\*[Gt]_".
+Optionally, internal data-structures used by the model.
+These must all be prefixed with "secmodel_\*[Lt]model\*[Gt]_".
 .It
 A set of listeners, attached to various scopes, used to enforce the policy
 the model intends to implement.



CVS commit: [netbsd-5-0] src/doc

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 20:51:55 UTC 2009

Modified Files:
src/doc [netbsd-5-0]: CHANGES-5.0.1

Log Message:
Tickets 740, 741, 743, 745, and 756.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.6 -r1.1.2.7 src/doc/CHANGES-5.0.1

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/CHANGES-5.0.1
diff -u src/doc/CHANGES-5.0.1:1.1.2.6 src/doc/CHANGES-5.0.1:1.1.2.7
--- src/doc/CHANGES-5.0.1:1.1.2.6	Thu May  7 00:26:46 2009
+++ src/doc/CHANGES-5.0.1	Sun May 10 20:51:55 2009
@@ -1,4 +1,4 @@
-# $NetBSD: CHANGES-5.0.1,v 1.1.2.6 2009/05/07 00:26:46 snj Exp $
+# $NetBSD: CHANGES-5.0.1,v 1.1.2.7 2009/05/10 20:51:55 snj Exp $
 
 A complete list of changes from the NetBSD 5.0 release to the NetBSD 5.0.1
 release:
@@ -37,3 +37,30 @@
 	32-bit overflow areas missed in rev 1.110 and switching cgbase().
 	[sborrill, ticket #726]
 
+usr.sbin/racoonctl/Makefile			1.5 via patch
+
+	Adjust the ADMINPORTDIR to match that of racoon (with which it'll
+	want to talk).  Fixes PR 41376.
+	[spz, ticket #740]
+
+sys/arch/hp700/include/intr.h			1.14
+
+	Add __insn_barrier after updating cpl in splraise. PR/41369.
+	[skrll, ticket #741]
+
+sys/arch/m68k/include/psl.h			1.14
+
+	Add memory clobber to the instructions that change the IPL in the
+	status register.  See also kern/38637.
+	[mhitch, ticket #743]
+
+sys/netinet/in_pcb.cpatch
+
+	Fix compilation with IPNOPRIVPORTS option.
+	[sborrill, ticket #745]
+
+share/man/man8/afterboot.8			1.39
+
+	Fix typo, from Shannon -jj Behrens in PR 41375.
+	[dholland, ticket #746]
+



CVS commit: [netbsd-5] src/share/man/man8

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 20:50:05 UTC 2009

Modified Files:
src/share/man/man8 [netbsd-5]: afterboot.8

Log Message:
Pull up following revision(s) (requested by dholland in ticket #746):
share/man/man8/afterboot.8: revision 1.39
Fix typo, from Shannon -jj Behrens in PR 41375.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.38.2.1 src/share/man/man8/afterboot.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man8/afterboot.8
diff -u src/share/man/man8/afterboot.8:1.38 src/share/man/man8/afterboot.8:1.38.2.1
--- src/share/man/man8/afterboot.8:1.38	Tue Oct 21 08:43:15 2008
+++ src/share/man/man8/afterboot.8	Sun May 10 20:50:05 2009
@@ -1,4 +1,4 @@
-.\"	$NetBSD: afterboot.8,v 1.38 2008/10/21 08:43:15 wiz Exp $
+.\"	$NetBSD: afterboot.8,v 1.38.2.1 2009/05/10 20:50:05 snj Exp $
 .\"	$OpenBSD: afterboot.8,v 1.72 2002/02/22 02:02:33 miod Exp $
 .\"
 .\" Originally created by Marshall M. Midden -- 1997-10-20, m...@umn.edu
@@ -615,7 +615,7 @@
 .Pp
 The directory
 .Pa /etc/rc.d
-contains a serie of scripts used at startup/shutdown, called by
+contains a series of scripts used at startup/shutdown, called by
 .Pa /etc/rc .
 .Pa /etc/rc
 is in turn influenced by the configuration variables present in



CVS commit: [netbsd-5-0] src/share/man/man8

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 20:49:19 UTC 2009

Modified Files:
src/share/man/man8 [netbsd-5-0]: afterboot.8

Log Message:
Pull up following revision(s) (requested by dholland in ticket #746):
share/man/man8/afterboot.8: revision 1.39
Fix typo, from Shannon -jj Behrens in PR 41375.


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.38.6.1 src/share/man/man8/afterboot.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man8/afterboot.8
diff -u src/share/man/man8/afterboot.8:1.38 src/share/man/man8/afterboot.8:1.38.6.1
--- src/share/man/man8/afterboot.8:1.38	Tue Oct 21 08:43:15 2008
+++ src/share/man/man8/afterboot.8	Sun May 10 20:49:19 2009
@@ -1,4 +1,4 @@
-.\"	$NetBSD: afterboot.8,v 1.38 2008/10/21 08:43:15 wiz Exp $
+.\"	$NetBSD: afterboot.8,v 1.38.6.1 2009/05/10 20:49:19 snj Exp $
 .\"	$OpenBSD: afterboot.8,v 1.72 2002/02/22 02:02:33 miod Exp $
 .\"
 .\" Originally created by Marshall M. Midden -- 1997-10-20, m...@umn.edu
@@ -615,7 +615,7 @@
 .Pp
 The directory
 .Pa /etc/rc.d
-contains a serie of scripts used at startup/shutdown, called by
+contains a series of scripts used at startup/shutdown, called by
 .Pa /etc/rc .
 .Pa /etc/rc
 is in turn influenced by the configuration variables present in



CVS commit: [netbsd-5-0] src/sys/netinet

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 20:46:58 UTC 2009

Modified Files:
src/sys/netinet [netbsd-5-0]: in_pcb.c

Log Message:
Apply patch (requested by sborrill in ticket #745):
Fix compilation with IPNOPRIVPORTS option.


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.129.10.1 src/sys/netinet/in_pcb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/netinet/in_pcb.c
diff -u src/sys/netinet/in_pcb.c:1.129 src/sys/netinet/in_pcb.c:1.129.10.1
--- src/sys/netinet/in_pcb.c:1.129	Sat Oct 11 13:40:57 2008
+++ src/sys/netinet/in_pcb.c	Sun May 10 20:46:58 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: in_pcb.c,v 1.129 2008/10/11 13:40:57 pooka Exp $	*/
+/*	$NetBSD: in_pcb.c,v 1.129.10.1 2009/05/10 20:46:58 snj Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: in_pcb.c,v 1.129 2008/10/11 13:40:57 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in_pcb.c,v 1.129.10.1 2009/05/10 20:46:58 snj Exp $");
 
 #include "opt_inet.h"
 #include "opt_ipsec.h"
@@ -232,7 +232,9 @@
 	struct sockaddr_in *sin = NULL; /* XXXGCC */
 	u_int16_t lport = 0;
 	int wild = 0, reuseport = (so->so_options & SO_REUSEPORT);
+#ifndef IPNOPRIVPORTS
 	kauth_cred_t cred = l->l_cred;
+#endif
 
 	if (inp->inp_af != AF_INET)
 		return (EINVAL);



CVS commit: [netbsd-5] src/sys/netinet

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 20:45:45 UTC 2009

Modified Files:
src/sys/netinet [netbsd-5]: in_pcb.c

Log Message:
Apply patch (requested by sborrill in ticket #745):
Fix compilation with IPNOPRIVPORTS option.


To generate a diff of this commit:
cvs rdiff -u -r1.129 -r1.129.4.1 src/sys/netinet/in_pcb.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/netinet/in_pcb.c
diff -u src/sys/netinet/in_pcb.c:1.129 src/sys/netinet/in_pcb.c:1.129.4.1
--- src/sys/netinet/in_pcb.c:1.129	Sat Oct 11 13:40:57 2008
+++ src/sys/netinet/in_pcb.c	Sun May 10 20:45:45 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: in_pcb.c,v 1.129 2008/10/11 13:40:57 pooka Exp $	*/
+/*	$NetBSD: in_pcb.c,v 1.129.4.1 2009/05/10 20:45:45 snj Exp $	*/
 
 /*
  * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -91,7 +91,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: in_pcb.c,v 1.129 2008/10/11 13:40:57 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: in_pcb.c,v 1.129.4.1 2009/05/10 20:45:45 snj Exp $");
 
 #include "opt_inet.h"
 #include "opt_ipsec.h"
@@ -232,7 +232,9 @@
 	struct sockaddr_in *sin = NULL; /* XXXGCC */
 	u_int16_t lport = 0;
 	int wild = 0, reuseport = (so->so_options & SO_REUSEPORT);
+#ifndef IPNOPRIVPORTS
 	kauth_cred_t cred = l->l_cred;
+#endif
 
 	if (inp->inp_af != AF_INET)
 		return (EINVAL);



CVS commit: [netbsd-5] src/sys/arch/hp700/dev

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 20:42:46 UTC 2009

Modified Files:
src/sys/arch/hp700/dev [netbsd-5]: pdc.c

Log Message:
Pull up following revision(s) (requested by skrll in ticket #744):
sys/arch/hp700/dev/pdc.c: revision 1.27
Pass proper timeval args to pdc_call() to save TOD with PDC_TOD_WRITE,
Per OpenBSD's hppa/dev/clock.c rev 1.14.
Tested on my 735/125 with a new lithium battery, okay'ed by sk...@.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.25.6.1 src/sys/arch/hp700/dev/pdc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hp700/dev/pdc.c
diff -u src/sys/arch/hp700/dev/pdc.c:1.25 src/sys/arch/hp700/dev/pdc.c:1.25.6.1
--- src/sys/arch/hp700/dev/pdc.c:1.25	Sat Jun 14 21:27:37 2008
+++ src/sys/arch/hp700/dev/pdc.c	Sun May 10 20:42:46 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: pdc.c,v 1.25 2008/06/14 21:27:37 mjf Exp $	*/
+/*	$NetBSD: pdc.c,v 1.25.6.1 2009/05/10 20:42:46 snj Exp $	*/
 
 /*	$OpenBSD: pdc.c,v 1.14 2001/04/29 21:05:43 mickey Exp $	*/
 
@@ -33,7 +33,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: pdc.c,v 1.25 2008/06/14 21:27:37 mjf Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pdc.c,v 1.25.6.1 2009/05/10 20:42:46 snj Exp $");
 
 #include 
 #include 
@@ -475,7 +475,8 @@
 	tod.usec = tvp->tv_usec;
 
 	pagezero_cookie = hp700_pagezero_map();
-	pdc_call((iodcio_t)PAGE0->mem_pdc, 1, PDC_TOD, PDC_TOD_WRITE, &tod);
+	pdc_call((iodcio_t)PAGE0->mem_pdc, 1, PDC_TOD, PDC_TOD_WRITE,
+	tod.sec, tod.usec);
 	hp700_pagezero_unmap(pagezero_cookie);
 	return 0;
 }



CVS commit: [netbsd-5-0] src/sys/arch/m68k/include

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 20:40:35 UTC 2009

Modified Files:
src/sys/arch/m68k/include [netbsd-5-0]: psl.h

Log Message:
Pull up following revision(s) (requested by mhitch in ticket #743):
sys/arch/m68k/include/psl.h: revision 1.14
Add memory clobber to the instructions that change the IPL in the status
register.  See also kern/38637.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.13.88.1 src/sys/arch/m68k/include/psl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/m68k/include/psl.h
diff -u src/sys/arch/m68k/include/psl.h:1.13 src/sys/arch/m68k/include/psl.h:1.13.88.1
--- src/sys/arch/m68k/include/psl.h:1.13	Thu Feb 16 20:17:13 2006
+++ src/sys/arch/m68k/include/psl.h	Sun May 10 20:40:35 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: psl.h,v 1.13 2006/02/16 20:17:13 perry Exp $	*/
+/*	$NetBSD: psl.h,v 1.13.88.1 2009/05/10 20:40:35 snj Exp $	*/
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -79,7 +79,7 @@
 	int sr;
 
 	__asm volatile ("movew %%sr,%0; movew %1,%%sr" :
-	"=&d" (sr) : "di" (s));
+	"=&d" (sr) : "di" (s) : "memory");
 
 	return sr;
 }
@@ -92,7 +92,7 @@
 	__asm volatile("movw %%sr,%0" : "=d" (sr));
 
 	if ((u_int16_t)level >= PSL_HIGHIPL || (u_int16_t)level > (u_int16_t)sr)
-		__asm volatile("movw %0,%%sr" :: "di" (level));
+		__asm volatile("movw %0,%%sr" :: "di" (level) : "memory");
 
 	return sr;
 }



CVS commit: [netbsd-5] src/sys/arch/m68k/include

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 20:38:57 UTC 2009

Modified Files:
src/sys/arch/m68k/include [netbsd-5]: psl.h

Log Message:
Pull up following revision(s) (requested by mhitch in ticket #743):
sys/arch/m68k/include/psl.h: revision 1.14
Add memory clobber to the instructions that change the IPL in the status
register.  See also kern/38637.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.13.82.1 src/sys/arch/m68k/include/psl.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/m68k/include/psl.h
diff -u src/sys/arch/m68k/include/psl.h:1.13 src/sys/arch/m68k/include/psl.h:1.13.82.1
--- src/sys/arch/m68k/include/psl.h:1.13	Thu Feb 16 20:17:13 2006
+++ src/sys/arch/m68k/include/psl.h	Sun May 10 20:38:57 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: psl.h,v 1.13 2006/02/16 20:17:13 perry Exp $	*/
+/*	$NetBSD: psl.h,v 1.13.82.1 2009/05/10 20:38:57 snj Exp $	*/
 
 /*
  * Copyright (c) 1982, 1986, 1993
@@ -79,7 +79,7 @@
 	int sr;
 
 	__asm volatile ("movew %%sr,%0; movew %1,%%sr" :
-	"=&d" (sr) : "di" (s));
+	"=&d" (sr) : "di" (s) : "memory");
 
 	return sr;
 }
@@ -92,7 +92,7 @@
 	__asm volatile("movw %%sr,%0" : "=d" (sr));
 
 	if ((u_int16_t)level >= PSL_HIGHIPL || (u_int16_t)level > (u_int16_t)sr)
-		__asm volatile("movw %0,%%sr" :: "di" (level));
+		__asm volatile("movw %0,%%sr" :: "di" (level) : "memory");
 
 	return sr;
 }



CVS commit: [netbsd-5-0] src/sys/arch/hp700/include

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 20:34:07 UTC 2009

Modified Files:
src/sys/arch/hp700/include [netbsd-5-0]: intr.h

Log Message:
Pull up following revision(s) (requested by skrll in ticket #741):
sys/arch/hp700/include/intr.h: revision 1.14
Add __insn_barrier after updating cpl in splraise. PR/41369.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.13.12.1 src/sys/arch/hp700/include/intr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hp700/include/intr.h
diff -u src/sys/arch/hp700/include/intr.h:1.13 src/sys/arch/hp700/include/intr.h:1.13.12.1
--- src/sys/arch/hp700/include/intr.h:1.13	Mon Jul  7 12:29:30 2008
+++ src/sys/arch/hp700/include/intr.h	Sun May 10 20:34:07 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: intr.h,v 1.13 2008/07/07 12:29:30 skrll Exp $	*/
+/*	$NetBSD: intr.h,v 1.13.12.1 2009/05/10 20:34:07 snj Exp $	*/
 
 /*-
  * Copyright (c) 1998, 2001, 2002 The NetBSD Foundation, Inc.
@@ -74,6 +74,7 @@
 	register int ocpl = cpl;
 
 	cpl = ocpl | ncpl;  
+	__insn_barrier();
 
 	return (ocpl);  
 }



CVS commit: [netbsd-5] src/sys/arch/hp700/include

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 20:32:36 UTC 2009

Modified Files:
src/sys/arch/hp700/include [netbsd-5]: intr.h

Log Message:
Pull up following revision(s) (requested by skrll in ticket #741):
sys/arch/hp700/include/intr.h: revision 1.14
Add __insn_barrier after updating cpl in splraise. PR/41369.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.13.6.1 src/sys/arch/hp700/include/intr.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hp700/include/intr.h
diff -u src/sys/arch/hp700/include/intr.h:1.13 src/sys/arch/hp700/include/intr.h:1.13.6.1
--- src/sys/arch/hp700/include/intr.h:1.13	Mon Jul  7 12:29:30 2008
+++ src/sys/arch/hp700/include/intr.h	Sun May 10 20:32:36 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: intr.h,v 1.13 2008/07/07 12:29:30 skrll Exp $	*/
+/*	$NetBSD: intr.h,v 1.13.6.1 2009/05/10 20:32:36 snj Exp $	*/
 
 /*-
  * Copyright (c) 1998, 2001, 2002 The NetBSD Foundation, Inc.
@@ -74,6 +74,7 @@
 	register int ocpl = cpl;
 
 	cpl = ocpl | ncpl;  
+	__insn_barrier();
 
 	return (ocpl);  
 }



CVS commit: [netbsd-5-0] src/usr.sbin/racoonctl

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 20:28:58 UTC 2009

Modified Files:
src/usr.sbin/racoonctl [netbsd-5-0]: Makefile

Log Message:
Pull up following revision(s) (requested by spz in ticket #740):
usr.sbin/racoonctl/Makefile: revision 1.5 via patch
adjust the ADMINPORTDIR to match that of racoon (with which it'll want
to talk)
fixes PR 41376


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.12.1 src/usr.sbin/racoonctl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/racoonctl/Makefile
diff -u src/usr.sbin/racoonctl/Makefile:1.2 src/usr.sbin/racoonctl/Makefile:1.2.12.1
--- src/usr.sbin/racoonctl/Makefile:1.2	Fri Mar 28 14:37:08 2008
+++ src/usr.sbin/racoonctl/Makefile	Sun May 10 20:28:58 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/03/28 14:37:08 he Exp $
+# $NetBSD: Makefile,v 1.2.12.1 2009/05/10 20:28:58 snj Exp $
 
 WARNS=	0	# Will be fixed later
 
@@ -13,7 +13,7 @@
 CPPFLAGS+=	-I${DIST}/src/racoon -I${DIST}/src/libipsec	\
 		-I${NETBSDSRCDIR}/lib/libipsec 			\
 		-DIPSEC_DEBUG -DHAVE_CONFIG_H -DNOUSE_PRIVSEP	\
-		-DADMINPORTDIR=\"/var/racoon\"
+		-DADMINPORTDIR=\"/var/run\"
 LDADD+=	-lipsec
 DPADD+=	${LIBIPSEC}
 CLEANFILES+=	racoonctl.cat8



CVS commit: [netbsd-5] src/usr.sbin/racoonctl

2009-05-10 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Sun May 10 20:27:34 UTC 2009

Modified Files:
src/usr.sbin/racoonctl [netbsd-5]: Makefile

Log Message:
Pull up following revision(s) (requested by spz in ticket #740):
usr.sbin/racoonctl/Makefile: revision 1.5 via patch
adjust the ADMINPORTDIR to match that of racoon (with which it'll want
to talk)
fixes PR 41376


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.8.1 src/usr.sbin/racoonctl/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/usr.sbin/racoonctl/Makefile
diff -u src/usr.sbin/racoonctl/Makefile:1.2 src/usr.sbin/racoonctl/Makefile:1.2.8.1
--- src/usr.sbin/racoonctl/Makefile:1.2	Fri Mar 28 14:37:08 2008
+++ src/usr.sbin/racoonctl/Makefile	Sun May 10 20:27:34 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2008/03/28 14:37:08 he Exp $
+# $NetBSD: Makefile,v 1.2.8.1 2009/05/10 20:27:34 snj Exp $
 
 WARNS=	0	# Will be fixed later
 
@@ -13,7 +13,7 @@
 CPPFLAGS+=	-I${DIST}/src/racoon -I${DIST}/src/libipsec	\
 		-I${NETBSDSRCDIR}/lib/libipsec 			\
 		-DIPSEC_DEBUG -DHAVE_CONFIG_H -DNOUSE_PRIVSEP	\
-		-DADMINPORTDIR=\"/var/racoon\"
+		-DADMINPORTDIR=\"/var/run\"
 LDADD+=	-lipsec
 DPADD+=	${LIBIPSEC}
 CLEANFILES+=	racoonctl.cat8



CVS commit: src/sys/ufs/ufs

2009-05-10 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Sun May 10 20:27:21 UTC 2009

Modified Files:
src/sys/ufs/ufs: ufs_extattr.c

Log Message:
The lwp member of struct componentname was removed a long time ago.
Fix broken build with UFS_EXTATTR_AUTOSTART by removing it here as well.


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 src/sys/ufs/ufs/ufs_extattr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/ufs/ufs/ufs_extattr.c
diff -u src/sys/ufs/ufs/ufs_extattr.c:1.25 src/sys/ufs/ufs/ufs_extattr.c:1.26
--- src/sys/ufs/ufs/ufs_extattr.c:1.25	Wed Mar 18 16:00:24 2009
+++ src/sys/ufs/ufs/ufs_extattr.c	Sun May 10 20:27:21 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: ufs_extattr.c,v 1.25 2009/03/18 16:00:24 cegger Exp $	*/
+/*	$NetBSD: ufs_extattr.c,v 1.26 2009/05/10 20:27:21 dholland Exp $	*/
 
 /*-
  * Copyright (c) 1999-2002 Robert N. M. Watson
@@ -48,7 +48,7 @@
  */
 
 #include 
-__KERNEL_RCSID(0, "$NetBSD: ufs_extattr.c,v 1.25 2009/03/18 16:00:24 cegger Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_extattr.c,v 1.26 2009/05/10 20:27:21 dholland Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ffs.h"
@@ -265,7 +265,6 @@
 	memset(&cnp, 0, sizeof(cnp));
 	cnp.cn_nameiop = LOOKUP;
 	cnp.cn_flags = ISLASTCN | lockparent;
-	cnp.cn_lwp = l;
 	cnp.cn_cred = l->l_cred;
 	cnp.cn_pnbuf = PNBUF_GET();
 	cnp.cn_nameptr = cnp.cn_pnbuf;



CVS commit: src/external/bsd/dhcpcd/dist

2009-05-10 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sun May 10 17:20:59 UTC 2009

Update of /cvsroot/src/external/bsd/dhcpcd/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv28076

Log Message:
Re import right version

Status:

Vendor Tag: roy
Release Tags:   dhcpcd-5-0-2a

U src/external/bsd/dhcpcd/dist/README
U src/external/bsd/dhcpcd/dist/arp.c
U src/external/bsd/dhcpcd/dist/arp.h
U src/external/bsd/dhcpcd/dist/bind.c
U src/external/bsd/dhcpcd/dist/bind.h
U src/external/bsd/dhcpcd/dist/bpf-filter.h
U src/external/bsd/dhcpcd/dist/bpf.c
U src/external/bsd/dhcpcd/dist/common.c
U src/external/bsd/dhcpcd/dist/common.h
U src/external/bsd/dhcpcd/dist/config.h
U src/external/bsd/dhcpcd/dist/configure.c
U src/external/bsd/dhcpcd/dist/configure.h
U src/external/bsd/dhcpcd/dist/control.c
U src/external/bsd/dhcpcd/dist/control.h
U src/external/bsd/dhcpcd/dist/dhcp.c
U src/external/bsd/dhcpcd/dist/dhcp.h
U src/external/bsd/dhcpcd/dist/dhcpcd-run-hooks.8.in
U src/external/bsd/dhcpcd/dist/dhcpcd-run-hooks.in
U src/external/bsd/dhcpcd/dist/dhcpcd.8.in
U src/external/bsd/dhcpcd/dist/dhcpcd.c
U src/external/bsd/dhcpcd/dist/dhcpcd.conf
U src/external/bsd/dhcpcd/dist/dhcpcd.conf.5.in
U src/external/bsd/dhcpcd/dist/dhcpcd.h
U src/external/bsd/dhcpcd/dist/duid.c
U src/external/bsd/dhcpcd/dist/duid.h
U src/external/bsd/dhcpcd/dist/eloop.c
U src/external/bsd/dhcpcd/dist/eloop.h
U src/external/bsd/dhcpcd/dist/if-bsd.c
U src/external/bsd/dhcpcd/dist/if-options.c
U src/external/bsd/dhcpcd/dist/if-options.h
U src/external/bsd/dhcpcd/dist/if-pref.c
U src/external/bsd/dhcpcd/dist/if-pref.h
U src/external/bsd/dhcpcd/dist/ipv4ll.c
U src/external/bsd/dhcpcd/dist/ipv4ll.h
U src/external/bsd/dhcpcd/dist/net.c
U src/external/bsd/dhcpcd/dist/net.h
U src/external/bsd/dhcpcd/dist/signals.c
U src/external/bsd/dhcpcd/dist/signals.h
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/01-test
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/10-mtu
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/20-resolv.conf
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/29-lookup-hostname
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/30-hostname
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ntp.conf

No conflicts created by this import



CVS commit: src/doc

2009-05-10 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sun May 10 16:54:01 UTC 2009

Modified Files:
src/doc: 3RDPARTY CHANGES

Log Message:
Import dhcpcd-5.0.2


To generate a diff of this commit:
cvs rdiff -u -r1.692 -r1.693 src/doc/3RDPARTY
cvs rdiff -u -r1.1226 -r1.1227 src/doc/CHANGES

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/3RDPARTY
diff -u src/doc/3RDPARTY:1.692 src/doc/3RDPARTY:1.693
--- src/doc/3RDPARTY:1.692	Fri May  8 17:49:18 2009
+++ src/doc/3RDPARTY	Sun May 10 16:54:00 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: 3RDPARTY,v 1.692 2009/05/08 17:49:18 christos Exp $
+#	$NetBSD: 3RDPARTY,v 1.693 2009/05/10 16:54:00 roy Exp $
 #
 # This file contains a list of the software that has been integrated into
 # NetBSD where we are not the primary maintainer.
@@ -258,8 +258,8 @@
 top of the current tree.
 
 Package:	dhcpcd
-Version:	5.0.1
-Current Vers:	5.0.1
+Version:	5.0.2
+Current Vers:	5.0.2
 Maintainer:	roy
 Archive Site:	ftp://roy.marples.name/pub/dhcpcd/
 Home Page:	http://roy.marples.name/projects/dhcpcd/

Index: src/doc/CHANGES
diff -u src/doc/CHANGES:1.1226 src/doc/CHANGES:1.1227
--- src/doc/CHANGES:1.1226	Sat May  9 01:58:02 2009
+++ src/doc/CHANGES	Sun May 10 16:54:00 2009
@@ -1,4 +1,4 @@
-# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.1226 $>
+# LIST OF CHANGES FROM LAST RELEASE:			<$Revision: 1.1227 $>
 #
 #
 # [Note: This file does not mention every change made to the NetBSD source tree.
@@ -269,3 +269,4 @@
 	apropos(1): Add -S and -s support, for searching by machine and
 		section [wiz 20090508]
 	file(1): Import 5.03 [christos 20090508]
+	dhcpcd(8): Import dhcpcd-5.0.2 [roy 20090510]



CVS commit: src/external/bsd/dhcpcd/dist

2009-05-10 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Sun May 10 16:44:27 UTC 2009

Update of /cvsroot/src/external/bsd/dhcpcd/dist
In directory ivanova.netbsd.org:/tmp/cvs-serv27121

Log Message:
Update dhcpcd to 5.0.2

Changes from 5.0.1 include
 * -n option now starts dhcpcd if not already started
 * 29-lookup-hostname hook installed by default, but skipped in dhcpcd.conf
 * Fix warning about missing dirs if we don't have any existing state
 * Fix compile on some Linux distros re linux/wireless.h

Status:

Vendor Tag: roy
Release Tags:   dhcpcd-5-0-2

U src/external/bsd/dhcpcd/dist/README
U src/external/bsd/dhcpcd/dist/arp.c
U src/external/bsd/dhcpcd/dist/arp.h
U src/external/bsd/dhcpcd/dist/bind.c
U src/external/bsd/dhcpcd/dist/bind.h
U src/external/bsd/dhcpcd/dist/bpf-filter.h
U src/external/bsd/dhcpcd/dist/bpf.c
U src/external/bsd/dhcpcd/dist/common.c
U src/external/bsd/dhcpcd/dist/common.h
U src/external/bsd/dhcpcd/dist/config.h
U src/external/bsd/dhcpcd/dist/configure.c
U src/external/bsd/dhcpcd/dist/configure.h
U src/external/bsd/dhcpcd/dist/control.c
U src/external/bsd/dhcpcd/dist/control.h
U src/external/bsd/dhcpcd/dist/dhcp.c
U src/external/bsd/dhcpcd/dist/dhcp.h
U src/external/bsd/dhcpcd/dist/dhcpcd-run-hooks.8.in
U src/external/bsd/dhcpcd/dist/dhcpcd-run-hooks.in
U src/external/bsd/dhcpcd/dist/dhcpcd.8.in
U src/external/bsd/dhcpcd/dist/dhcpcd.c
U src/external/bsd/dhcpcd/dist/dhcpcd.conf
U src/external/bsd/dhcpcd/dist/dhcpcd.conf.5.in
U src/external/bsd/dhcpcd/dist/dhcpcd.h
U src/external/bsd/dhcpcd/dist/duid.c
U src/external/bsd/dhcpcd/dist/duid.h
U src/external/bsd/dhcpcd/dist/eloop.c
U src/external/bsd/dhcpcd/dist/eloop.h
U src/external/bsd/dhcpcd/dist/if-bsd.c
U src/external/bsd/dhcpcd/dist/if-options.c
U src/external/bsd/dhcpcd/dist/if-options.h
U src/external/bsd/dhcpcd/dist/if-pref.c
U src/external/bsd/dhcpcd/dist/if-pref.h
U src/external/bsd/dhcpcd/dist/ipv4ll.c
U src/external/bsd/dhcpcd/dist/ipv4ll.h
U src/external/bsd/dhcpcd/dist/net.c
U src/external/bsd/dhcpcd/dist/net.h
U src/external/bsd/dhcpcd/dist/signals.c
U src/external/bsd/dhcpcd/dist/signals.h
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/01-test
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/10-mtu
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/20-resolv.conf
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/29-lookup-hostname
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/30-hostname
U src/external/bsd/dhcpcd/dist/dhcpcd-hooks/50-ntp.conf

No conflicts created by this import



CVS commit: src/sys/arch/i386/conf

2009-05-10 Thread Elad Efrat
Module Name:src
Committed By:   elad
Date:   Sun May 10 15:26:23 UTC 2009

Modified Files:
src/sys/arch/i386/conf: ALL

Log Message:
Add IPKDB options, but commented out as it doesn't build at the moment.


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/sys/arch/i386/conf/ALL

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/conf/ALL
diff -u src/sys/arch/i386/conf/ALL:1.198 src/sys/arch/i386/conf/ALL:1.199
--- src/sys/arch/i386/conf/ALL:1.198	Sat May  9 15:04:25 2009
+++ src/sys/arch/i386/conf/ALL	Sun May 10 15:26:23 2009
@@ -1,4 +1,4 @@
-# $NetBSD: ALL,v 1.198 2009/05/09 15:04:25 pgoyette Exp $
+# $NetBSD: ALL,v 1.199 2009/05/10 15:26:23 elad Exp $
 # From NetBSD: GENERIC,v 1.787 2006/10/01 18:37:54 bouyer Exp
 #
 # ALL machine description file
@@ -17,7 +17,7 @@
 
 options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
 
-#ident 		"ALL-$Revision: 1.198 $"
+#ident 		"ALL-$Revision: 1.199 $"
 
 maxusers	32		# estimated number of users
 
@@ -114,6 +114,8 @@
 options 	DDB_VERBOSE_HELP
 options 	KGDB		# remote debugger
 options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
+#options 	IPKDB		# IP Kernel Debugger
+#options 	IPKDBKEY="\"yes\""
 makeoptions 	DEBUG="-g"	# compile full symbol table
 options 	SYSCALL_STATS	# per syscall counts
 options 	SYSCALL_TIMES 	# per syscall times



CVS commit: src/share/man/man9

2009-05-10 Thread Elad Efrat
Module Name:src
Committed By:   elad
Date:   Sun May 10 14:33:54 UTC 2009

Modified Files:
src/share/man/man9: file.9

Log Message:
Stub documentation for FILE_LOCK(), FILE_UNLOCK().


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/share/man/man9/file.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/file.9
diff -u src/share/man/man9/file.9:1.11 src/share/man/man9/file.9:1.12
--- src/share/man/man9/file.9:1.11	Wed Apr 30 13:10:58 2008
+++ src/share/man/man9/file.9	Sun May 10 14:33:54 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: file.9,v 1.11 2008/04/30 13:10:58 martin Exp $
+.\" $NetBSD: file.9,v 1.12 2009/05/10 14:33:54 elad Exp $
 .\"
 .\" Copyright (c) 2002, 2005, 2006 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd October 4, 2006
+.Dd May 10, 2009
 .Dt FILE 9
 .Os
 .Sh NAME
@@ -37,7 +37,9 @@
 .Nm FILE_IS_USABLE ,
 .Nm FILE_USE ,
 .Nm FILE_UNUSE ,
-.Nm FILE_SET_MATURE
+.Nm FILE_SET_MATURE ,
+.Nm FILE_LOCK ,
+.Nm FILE_UNLOCK
 .Nd operations on file entries
 .Sh SYNOPSIS
 .In sys/file.h
@@ -53,6 +55,10 @@
 .Fn FILE_UNUSE "struct file *fp" "struct lwp *l"
 .Ft void
 .Fn FILE_SET_MATURE "struct file *fp"
+.Ft void
+.Fn FILE_LOCK "struct file *fp"
+.Ft void
+.Fn FILE_UNLOCK "struct file *fp"
 .Sh DESCRIPTION
 The file descriptor table of a process references a file entry for
 each file used by the kernel.
@@ -241,6 +247,12 @@
 Mark the file entry as being fully constructed (mature) by clearing
 the FIF_LARVAL flag in
 .Em f_iflags .
+.It Fn FILE_LOCK "fp"
+Locks the file entry
+.Ar fp .
+.It Fn FILE_UNLOCK "fp"
+Unlocks the file entry
+.Ar fp .
 .El
 .Sh CODE REFERENCES
 This section describes places within the



CVS commit: src/etc

2009-05-10 Thread Elad Efrat
Module Name:src
Committed By:   elad
Date:   Sun May 10 14:19:28 UTC 2009

Modified Files:
src/etc: MAKEDEV.tmpl

Log Message:
verified executable -> Veriexec.


To generate a diff of this commit:
cvs rdiff -u -r1.120 -r1.121 src/etc/MAKEDEV.tmpl

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/etc/MAKEDEV.tmpl
diff -u src/etc/MAKEDEV.tmpl:1.120 src/etc/MAKEDEV.tmpl:1.121
--- src/etc/MAKEDEV.tmpl:1.120	Thu Mar 12 00:19:36 2009
+++ src/etc/MAKEDEV.tmpl	Sun May 10 14:19:28 2009
@@ -1,5 +1,5 @@
 #!/bin/sh -
-#	$NetBSD: MAKEDEV.tmpl,v 1.120 2009/03/12 00:19:36 jmcneill Exp $
+#	$NetBSD: MAKEDEV.tmpl,v 1.121 2009/05/10 14:19:28 elad Exp $
 #
 # Copyright (c) 2003,2007,2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -277,7 +277,7 @@
 #	twa	3ware Apache control interface
 #	twe	3ware Escalade control interface
 #	uk*	unknown SCSI device
-#	veriexec verified executable fingerprint loader
+#	veriexec Veriexec fingerprint loader
 #	video*	video capture devices
 #	view*	generic interface to graphic displays (Amiga)
 #	vmegen*	generic VME access



CVS commit: src/share/man/man9

2009-05-10 Thread Elad Efrat
Module Name:src
Committed By:   elad
Date:   Sun May 10 14:18:33 UTC 2009

Modified Files:
src/share/man/man9: secmodel.9

Log Message:
Fix securelevel listener function name.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/share/man/man9/secmodel.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/secmodel.9
diff -u src/share/man/man9/secmodel.9:1.14 src/share/man/man9/secmodel.9:1.15
--- src/share/man/man9/secmodel.9:1.14	Sun Mar 15 14:12:19 2009
+++ src/share/man/man9/secmodel.9	Sun May 10 14:18:33 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: secmodel.9,v 1.14 2009/03/15 14:12:19 joerg Exp $
+.\" $NetBSD: secmodel.9,v 1.15 2009/05/10 14:18:33 elad Exp $
 .\"
 .\" Copyright (c) 2006 Elad Efrat 
 .\" All rights reserved.
@@ -25,7 +25,7 @@
 .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
 .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd January 31, 2007
+.Dd May 10, 2009
 .Dt SECMODEL 9
 .Os
 .Sh NAME
@@ -287,7 +287,7 @@
 	kauth_listen_scope(JENNA_ISCOPE_NETWORK,
 	secmodel_bsd44_suser_network_cb, NULL);
 	kauth_listen_scope(JENNA_ISCOPE_NETWORK,
-	secmodel_bsd44_securelevel_network_cb, NULL);
+	secmodel_securelevel_network_cb, NULL);
 }
 
 /*



CVS commit: src/sbin/newfs

2009-05-10 Thread Luke Mewburn
Module Name:src
Committed By:   lukem
Date:   Sun May 10 13:28:00 UTC 2009

Modified Files:
src/sbin/newfs: newfs.8

Log Message:
Note that FFSv1 is also known as FFS, UFS, or UFS1.
Note that FFSv2 is also known as UFS2.
Add a reference to Kirk's BSDcon03 paper on UFS2.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sbin/newfs/newfs.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/newfs/newfs.8
diff -u src/sbin/newfs/newfs.8:1.72 src/sbin/newfs/newfs.8:1.73
--- src/sbin/newfs/newfs.8:1.72	Fri Aug  1 15:32:29 2008
+++ src/sbin/newfs/newfs.8	Sun May 10 13:28:00 2009
@@ -1,4 +1,4 @@
-.\"	$NetBSD: newfs.8,v 1.72 2008/08/01 15:32:29 simonb Exp $
+.\"	$NetBSD: newfs.8,v 1.73 2009/05/10 13:28:00 lukem Exp $
 .\"
 .\" Copyright (c) 1983, 1987, 1991, 1993, 1994
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\" @(#)newfs.8	8.6 (Berkeley) 5/3/95
 .\"
-.Dd December 10, 2007
+.Dd May 10, 2009
 .Dt NEWFS 8
 .Os
 .Sh NAME
@@ -209,9 +209,16 @@
 understood by older boot ROMs.
 .It 1
 FFSv1; normal fast-filesystem (default).
+This is also known as
+.Sq FFS ,
+.Sq UFS ,
+or
+.Sq UFS1 .
 .It 2
 FFSv2; enhanced fast-filesystem (suited for more than 1 Terabyte capacity,
 access control lists).
+This is also known as
+.Sq UFS2 .
 .El
 To create an LFS filesystem see
 .Xr newfs_lfs 8 .
@@ -370,6 +377,13 @@
 .%D August 1984
 .%O (reprinted in the BSD System Manager's Manual)
 .Re
+.Rs
+.%A M. McKusick
+.%T Enhancements to the fast filesystem to support multi-terabyte storage systems
+.%J Proceedings of the BSD Conference 2003
+.%P pp 79-90
+.%D September 2003
+.Re
 .Sh HISTORY
 The
 .Nm



CVS commit: src/share/man/man9

2009-05-10 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Sun May 10 12:46:42 UTC 2009

Modified Files:
src/share/man/man9: pmf.9

Log Message:
New sentence, new line. Use Xr for cross-reference.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/share/man/man9/pmf.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/pmf.9
diff -u src/share/man/man9/pmf.9:1.8 src/share/man/man9/pmf.9:1.9
--- src/share/man/man9/pmf.9:1.8	Sun May 10 10:56:17 2009
+++ src/share/man/man9/pmf.9	Sun May 10 12:46:41 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: pmf.9,v 1.8 2009/05/10 10:56:17 tsutsui Exp $
+.\" $NetBSD: pmf.9,v 1.9 2009/05/10 12:46:41 wiz Exp $
 .\"
 .\" Copyright (c) 2007 Jared D. McNeill 
 .\" All rights reserved.
@@ -137,15 +137,17 @@
 .Sh FUNCTIONS
 .Bl -tag -width compact
 .It Fn pmf_device_register "dev" "suspend" "resume"
-Register a device with the power management framework. If either
+Register a device with the power management framework.
+If either
 .Fa suspend
 or
 .Fa resume
 is
 .Dv NULL
 then it is assumed that device state does not need to be captured and
-resumed on a power transition. Bus and class-level power management
-will still be performed. Returns
+resumed on a power transition.
+Bus and class-level power management will still be performed.
+Returns
 .Dv false
 if there was an error.
 .It Fn pmf_device_register1 "dev" "suspend" "resume" "shutdown"
@@ -186,20 +188,24 @@
 Register a device with the power management framework as a display-class
 device.
 .It Fn pmf_system_suspend "void"
-Suspend all attached devices. Devices are suspended by traversing the
+Suspend all attached devices.
+Devices are suspended by traversing the
 autoconfiguration tree beginning with the leaf nodes.
 This function will fail if any attached drivers do not support the power
 management framework.
 .It Fn pmf_system_resume "void"
-Resume all attached devices. Devices are resumed by traversing the
+Resume all attached devices.
+Devices are resumed by traversing the
 autoconfiguration tree beginning with devices that do not have a parent.
 This function will fail if any attached drivers do not support the power
 management framework.
 .It Fn pmf_system_shutdown "int"
-Shutdown all attached devices. Devices are shut down by traversing the
+Shutdown all attached devices.
+Devices are shut down by traversing the
 autoconfiguration tree beginning with the leaf nodes.
 The integer argument is passed to the driver shutdown functions.
-It should contain the reboot(2)
+It should contain the
+.Xr reboot 2
 .Dq howto
 argument.
 This function ignores the presence of attached drivers that do not support the
@@ -209,7 +215,8 @@
 .Fa handler
 to be called whenever an
 .Fa ev
-event is triggered. If
+event is triggered.
+If
 .Fa global
 is
 .Dv true ,
@@ -220,7 +227,8 @@
 Deregister the callback previously registered with
 .Fn pmf_event_register .
 .It Fn pmf_event_inject "dev" "ev"
-Inject an inter-driver message into the message queue. If
+Inject an inter-driver message into the message queue.
+If
 .Fa dev
 is
 .Dv NULL ,
@@ -233,7 +241,8 @@
 .It Fn pmf_get_platform "key"
 Retrieve the value for
 .Fa key
-from the platform information database. Returns
+from the platform information database.
+Returns
 .Dv NULL
 if the key is not present.
 .El



CVS commit: src

2009-05-10 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun May 10 10:59:21 UTC 2009

Modified Files:
src/distrib/sets/lists/comp: mi
src/share/man/man9: Makefile

Log Message:
Add MLINKS for pmf(9) functions.


To generate a diff of this commit:
cvs rdiff -u -r1.1253 -r1.1254 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.280 -r1.281 src/share/man/man9/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/distrib/sets/lists/comp/mi
diff -u src/distrib/sets/lists/comp/mi:1.1253 src/distrib/sets/lists/comp/mi:1.1254
--- src/distrib/sets/lists/comp/mi:1.1253	Fri May  8 22:39:18 2009
+++ src/distrib/sets/lists/comp/mi	Sun May 10 10:59:21 2009
@@ -1,4 +1,4 @@
-#	$NetBSD: mi,v 1.1253 2009/05/08 22:39:18 dyoung Exp $
+#	$NetBSD: mi,v 1.1254 2009/05/10 10:59:21 tsutsui Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -8771,6 +8771,25 @@
 ./usr/share/man/cat9/pmc_start_profiling.0	comp-sys-catman		.cat
 ./usr/share/man/cat9/pmc_stop_profiling.0	comp-sys-catman		.cat
 ./usr/share/man/cat9/pmf.0			comp-sys-catman		.cat
+./usr/share/man/cat9/pmf_class_display_register.0 comp-sys-catman	.cat
+./usr/share/man/cat9/pmf_class_input_register.0	comp-sys-catman		.cat
+./usr/share/man/cat9/pmf_class_network_register.0 comp-sys-catman	.cat
+./usr/share/man/cat9/pmf_device_deregister.0	comp-sys-catman		.cat
+./usr/share/man/cat9/pmf_device_recursive_suspend.0 comp-sys-catman	.cat
+./usr/share/man/cat9/pmf_device_recursive_resume.0 comp-sys-catman	.cat
+./usr/share/man/cat9/pmf_device_register.0	comp-sys-catman		.cat
+./usr/share/man/cat9/pmf_device_register1.0	comp-sys-catman		.cat
+./usr/share/man/cat9/pmf_device_resume.0	comp-sys-catman		.cat
+./usr/share/man/cat9/pmf_device_resume_subtree.0 comp-sys-catman	.cat
+./usr/share/man/cat9/pmf_device_suspend.0	comp-sys-catman		.cat
+./usr/share/man/cat9/pmf_event_deregister.0	comp-sys-catman		.cat
+./usr/share/man/cat9/pmf_event_inject.0		comp-sys-catman		.cat
+./usr/share/man/cat9/pmf_event_register.0	comp-sys-catman		.cat
+./usr/share/man/cat9/pmf_get_platform.0		comp-sys-catman		.cat
+./usr/share/man/cat9/pmf_set_platform.0		comp-sys-catman		.cat
+./usr/share/man/cat9/pmf_system_resume.0	comp-sys-catman		.cat
+./usr/share/man/cat9/pmf_system_shutdown.0	comp-sys-catman		.cat
+./usr/share/man/cat9/pmf_system_suspend.0	comp-sys-catman		.cat
 ./usr/share/man/cat9/pool.0			comp-sys-catman		.cat
 ./usr/share/man/cat9/pool_cache.0		comp-sys-catman		.cat
 ./usr/share/man/cat9/pool_cache_destroy.0	comp-sys-catman		.cat
@@ -14018,6 +14037,25 @@
 ./usr/share/man/html9/pmc_start_profiling.html	comp-sys-htmlman	html
 ./usr/share/man/html9/pmc_stop_profiling.html	comp-sys-htmlman	html
 ./usr/share/man/html9/pmf.html			comp-sys-htmlman	html
+./usr/share/man/html9/pmf_class_display_register.html comp-sys-catman	.cat
+./usr/share/man/html9/pmf_class_input_register.html comp-sys-catman	.cat
+./usr/share/man/html9/pmf_class_network_register.html comp-sys-catman	.cat
+./usr/share/man/html9/pmf_device_deregister.html comp-sys-catman	.cat
+./usr/share/man/html9/pmf_device_recursive_suspend.html comp-sys-catman	.cat
+./usr/share/man/html9/pmf_device_recursive_resume.html comp-sys-catman	.cat
+./usr/share/man/html9/pmf_device_register.html	comp-sys-catman		.cat
+./usr/share/man/html9/pmf_device_register1.html	comp-sys-catman		.cat
+./usr/share/man/html9/pmf_device_resume.html	comp-sys-catman		.cat
+./usr/share/man/html9/pmf_device_resume_subtree.html comp-sys-catman	.cat
+./usr/share/man/html9/pmf_device_suspend.html	comp-sys-catman		.cat
+./usr/share/man/html9/pmf_event_deregister.html	comp-sys-catman		.cat
+./usr/share/man/html9/pmf_event_inject.html	comp-sys-catman		.cat
+./usr/share/man/html9/pmf_event_register.html	comp-sys-catman		.cat
+./usr/share/man/html9/pmf_get_platform.html	comp-sys-catman		.cat
+./usr/share/man/html9/pmf_set_platform.html	comp-sys-catman		.cat
+./usr/share/man/html9/pmf_system_resume.html	comp-sys-catman		.cat
+./usr/share/man/html9/pmf_system_shutdown.html	comp-sys-catman		.cat
+./usr/share/man/html9/pmf_system_suspend.html	comp-sys-catman		.cat
 ./usr/share/man/html9/pool.html			comp-sys-htmlman	html
 ./usr/share/man/html9/pool_cache.html		comp-sys-htmlman	html
 ./usr/share/man/html9/pool_cache_destroy.html	comp-sys-htmlman	html
@@ -19435,6 +19473,25 @@
 ./usr/share/man/man9/pmc_start_profiling.9	comp-sys-man		.man
 ./usr/share/man/man9/pmc_stop_profiling.9	comp-sys-man		.man
 ./usr/share/man/man9/pmf.9			comp-sys-man		.man
+./usr/share/man/man9/pmf_class_display_register.9 comp-sys-catman	.cat
+./usr/share/man/man9/pmf_class_input_register.9	comp-sys-catman		.cat
+./usr/share/man/man9/pmf_class_network_register.9 comp-sys-catman	.cat
+./usr/share/man/man9/pmf_device_deregister.9	comp-sys-catman		.cat
+./usr/share/man/man9/pmf_device_recursive_suspend.9 comp-sys-catman	.cat
+./usr/share/man/man9/pmf_device_recursiv

CVS commit: src/share/man/man9

2009-05-10 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sun May 10 10:56:17 UTC 2009

Modified Files:
src/share/man/man9: pmf.9

Log Message:
- add pmf_device_register1() to NAME section
- add a return type of pmf_device_register1()


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/share/man/man9/pmf.9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man9/pmf.9
diff -u src/share/man/man9/pmf.9:1.7 src/share/man/man9/pmf.9:1.8
--- src/share/man/man9/pmf.9:1.7	Sat Mar 29 14:12:59 2008
+++ src/share/man/man9/pmf.9	Sun May 10 10:56:17 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: pmf.9,v 1.7 2008/03/29 14:12:59 jmcneill Exp $
+.\" $NetBSD: pmf.9,v 1.8 2009/05/10 10:56:17 tsutsui Exp $
 .\"
 .\" Copyright (c) 2007 Jared D. McNeill 
 .\" All rights reserved.
@@ -30,12 +30,13 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd March 29, 2008
+.Dd May 10, 2009
 .Dt PMF 9
 .Os
 .Sh NAME
 .Nm PMF ,
 .Nm pmf_device_register ,
+.Nm pmf_device_register1 ,
 .Nm pmf_device_deregister ,
 .Nm pmf_device_suspend ,
 .Nm pmf_device_resume ,
@@ -58,6 +59,7 @@
 .In sys/device.h
 .Ft bool
 .Fn pmf_device_register "device_t dev" "bool (*suspend)(device_t dev)" "bool (*resume)(device_t dev)"
+.Ft bool
 .Fn pmf_device_register1 "device_t dev" "bool (*suspend)(device_t dev)" "bool (*resume)(device_t dev)" "bool (*shutdown)(device_t dev, int how)"
 .Ft void
 .Fn pmf_device_deregister "device_t dev"