CVS commit: src/sys/sys

2010-04-22 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Fri Apr 23 05:10:19 UTC 2010

Modified Files:
src/sys/sys: vnode.h

Log Message:
vgonel() went away a long time ago, so stop declaring it.


To generate a diff of this commit:
cvs rdiff -u -r1.216 -r1.217 src/sys/sys/vnode.h

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



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

2010-04-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Apr 23 04:21:59 UTC 2010

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

Log Message:
Ticket 1380.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.11 -r1.1.2.12 src/doc/CHANGES-5.0.3

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



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

2010-04-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Fri Apr 23 04:17:31 UTC 2010

Modified Files:
src/sys/arch/amd64/amd64 [netbsd-5-0]: locore.S machdep.c mptramp.S
src/sys/arch/i386/i386 [netbsd-5-0]: machdep.c
src/sys/arch/i386/isa [netbsd-5-0]: npx.c
src/sys/arch/x86/include [netbsd-5-0]: cpu.h cpuvar.h
src/sys/arch/x86/x86 [netbsd-5-0]: cpu.c identcpu.c pmap.c
src/sys/arch/xen/x86 [netbsd-5-0]: cpu.c

Log Message:
Apply patch (requested by jym in ticket #1380):
Fix the NX regression issue observed on amd64 kernels, where per-page
execution right was disabled (therefore leading to the inability
of the kernel to detect fraudulent use of memory mappings marked as not
being executable).


To generate a diff of this commit:
cvs rdiff -u -r1.47.8.2.2.1 -r1.47.8.2.2.2 src/sys/arch/amd64/amd64/locore.S
cvs rdiff -u -r1.102.4.10 -r1.102.4.10.2.1 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.9 -r1.9.14.1 src/sys/arch/amd64/amd64/mptramp.S
cvs rdiff -u -r1.644.4.10 -r1.644.4.10.2.1 src/sys/arch/i386/i386/machdep.c
cvs rdiff -u -r1.129.10.5 -r1.129.10.5.2.1 src/sys/arch/i386/isa/npx.c
cvs rdiff -u -r1.9 -r1.9.8.1 src/sys/arch/x86/include/cpu.h
cvs rdiff -u -r1.27 -r1.27.14.1 src/sys/arch/x86/include/cpuvar.h
cvs rdiff -u -r1.57.4.3 -r1.57.4.3.2.1 src/sys/arch/x86/x86/cpu.c
cvs rdiff -u -r1.10.4.2.2.1 -r1.10.4.2.2.2 src/sys/arch/x86/x86/identcpu.c
cvs rdiff -u -r1.74.4.1 -r1.74.4.1.2.1 src/sys/arch/x86/x86/pmap.c
cvs rdiff -u -r1.28.4.1 -r1.28.4.1.2.1 src/sys/arch/xen/x86/cpu.c

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



CVS commit: src/sys/compat/linux/arch/i386

2010-04-22 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Fri Apr 23 03:03:03 UTC 2010

Modified Files:
src/sys/compat/linux/arch/i386: linux_syscall.h linux_syscallargs.h
linux_syscalls.c linux_sysent.c

Log Message:
regen


To generate a diff of this commit:
cvs rdiff -u -r1.86 -r1.87 src/sys/compat/linux/arch/i386/linux_syscall.h \
src/sys/compat/linux/arch/i386/linux_syscallargs.h \
src/sys/compat/linux/arch/i386/linux_sysent.c
cvs rdiff -u -r1.87 -r1.88 src/sys/compat/linux/arch/i386/linux_syscalls.c

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



CVS commit: src/sys/compat/linux/arch/i386

2010-04-22 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Fri Apr 23 03:02:16 UTC 2010

Modified Files:
src/sys/compat/linux/arch/i386: syscalls.master

Log Message:
add missing argument to clone().  the symptom of this was that pthread_join()
would sometimes get stuck, such as in our "mutex2" regression test.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/sys/compat/linux/arch/i386/syscalls.master

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



CVS commit: src/doc

2010-04-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 23 02:12:58 UTC 2010

Modified Files:
src/doc: HACKS

Log Message:
mention crash ldscript.


To generate a diff of this commit:
cvs rdiff -u -r1.113 -r1.114 src/doc/HACKS

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



CVS commit: src/usr.sbin/crash

2010-04-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 23 02:10:02 UTC 2010

Modified Files:
src/usr.sbin/crash: Makefile
Added Files:
src/usr.sbin/crash: ldscript.crash

Log Message:
workaround for MKPIE=yes until binutils-2.20.1 is imported. From Piotr Meyer


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/crash/Makefile
cvs rdiff -u -r0 -r1.1 src/usr.sbin/crash/ldscript.crash

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



CVS commit: src/usr.bin/make

2010-04-22 Thread Simon J. Gerraty
Module Name:src
Committed By:   sjg
Date:   Fri Apr 23 00:18:50 UTC 2010

Modified Files:
src/usr.bin/make: compat.c job.c main.c make.h

Log Message:
On darwin at least, vfork() fails in child of vfork().
It probably shouldn't work anyway, so avoid this.
We use the macro vFork() - a function seems to cause problems
and is unnecessary overhead.


To generate a diff of this commit:
cvs rdiff -u -r1.77 -r1.78 src/usr.bin/make/compat.c
cvs rdiff -u -r1.148 -r1.149 src/usr.bin/make/job.c
cvs rdiff -u -r1.182 -r1.183 src/usr.bin/make/main.c
cvs rdiff -u -r1.81 -r1.82 src/usr.bin/make/make.h

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



CVS commit: src/usr.bin/make

2010-04-22 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Thu Apr 22 22:39:13 UTC 2010

Modified Files:
src/usr.bin/make: main.c

Log Message:
Use _PATH_TMP instead of a literal /tmp; noted by Christos


To generate a diff of this commit:
cvs rdiff -u -r1.181 -r1.182 src/usr.bin/make/main.c

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



CVS commit: src/sys/dev/acpi

2010-04-22 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr 22 21:58:09 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi.c acpi_pci.c acpi_pci.h

Log Message:
Some pretty printing for ACPIVERBOSE.


To generate a diff of this commit:
cvs rdiff -u -r1.181 -r1.182 src/sys/dev/acpi/acpi.c
cvs rdiff -u -r1.8 -r1.9 src/sys/dev/acpi/acpi_pci.c
cvs rdiff -u -r1.4 -r1.5 src/sys/dev/acpi/acpi_pci.h

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



CVS commit: src/sys/arch/x86/x86

2010-04-22 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Thu Apr 22 21:47:32 UTC 2010

Modified Files:
src/sys/arch/x86/x86: via_padlock.c

Log Message:
Uses cpu_feature, so include 


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/x86/x86/via_padlock.c

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



CVS commit: src/usr.bin/make/unit-tests

2010-04-22 Thread Simon J. Gerraty
Module Name:src
Committed By:   sjg
Date:   Thu Apr 22 21:41:11 UTC 2010

Modified Files:
src/usr.bin/make/unit-tests: Makefile

Log Message:
Force LANG=C to ensure sort(1) behaves as expected


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/usr.bin/make/unit-tests/Makefile

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



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

2010-04-22 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Thu Apr 22 21:02:25 UTC 2010

Modified Files:
src/sys/arch/i386/i386: pmc.c

Log Message:
CPUID_TSC => cpu_hascounter(). This one was missing in my cpu_feature
rework patch.

Should fix the i386/ALL build issue many have reported. Thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/i386/i386/pmc.c

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



CVS commit: src/usr.bin/make

2010-04-22 Thread David A. Holland
Module Name:src
Committed By:   dholland
Date:   Thu Apr 22 20:25:16 UTC 2010

Modified Files:
src/usr.bin/make: main.c

Log Message:
don't use strlcpy; it causes bootstrap issues. (noted by moof)


To generate a diff of this commit:
cvs rdiff -u -r1.180 -r1.181 src/usr.bin/make/main.c

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



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

2010-04-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Apr 22 20:12:37 UTC 2010

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

Log Message:
Tickets 1376 and 1377.


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

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



CVS commit: [netbsd-5] src/doc

2010-04-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Apr 22 20:08:56 UTC 2010

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

Log Message:
Tickets 1376, 1377, and 1380.


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

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



CVS commit: src/sys/netinet6

2010-04-22 Thread David Young
Module Name:src
Committed By:   dyoung
Date:   Thu Apr 22 20:05:15 UTC 2010

Modified Files:
src/sys/netinet6: in6.c

Log Message:
When choosing IPv6 source addresses, respect the ifaddr preference
level such as one might set with 'ifconfig xx0 inet6 
preference '.  I've been running this for many months without
any problems.


To generate a diff of this commit:
cvs rdiff -u -r1.155 -r1.156 src/sys/netinet6/in6.c

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



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

2010-04-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Apr 22 20:02:49 UTC 2010

Modified Files:
src/sys/arch/amd64/amd64 [netbsd-5]: locore.S machdep.c mptramp.S
src/sys/arch/i386/i386 [netbsd-5]: machdep.c
src/sys/arch/i386/isa [netbsd-5]: npx.c
src/sys/arch/x86/include [netbsd-5]: cpu.h cpuvar.h
src/sys/arch/x86/x86 [netbsd-5]: cpu.c cpu_topology.c identcpu.c pmap.c
src/sys/arch/xen/x86 [netbsd-5]: cpu.c

Log Message:
Apply patch (requested by jym in ticket #1380):
Fix the NX regression issue observed on amd64 kernels, where per-page
execution right was disabled (therefore leading to the inability
of the kernel to detect fraudulent use of memory mappings marked as not
being executable).


To generate a diff of this commit:
cvs rdiff -u -r1.47.8.3 -r1.47.8.4 src/sys/arch/amd64/amd64/locore.S
cvs rdiff -u -r1.102.4.12 -r1.102.4.13 src/sys/arch/amd64/amd64/machdep.c
cvs rdiff -u -r1.9 -r1.9.8.1 src/sys/arch/amd64/amd64/mptramp.S
cvs rdiff -u -r1.644.4.11 -r1.644.4.12 src/sys/arch/i386/i386/machdep.c
cvs rdiff -u -r1.129.10.5 -r1.129.10.6 src/sys/arch/i386/isa/npx.c
cvs rdiff -u -r1.9.4.1 -r1.9.4.2 src/sys/arch/x86/include/cpu.h
cvs rdiff -u -r1.27.8.2 -r1.27.8.3 src/sys/arch/x86/include/cpuvar.h
cvs rdiff -u -r1.57.4.3 -r1.57.4.4 src/sys/arch/x86/x86/cpu.c
cvs rdiff -u -r1.2.2.3 -r1.2.2.4 src/sys/arch/x86/x86/cpu_topology.c
cvs rdiff -u -r1.10.4.5 -r1.10.4.6 src/sys/arch/x86/x86/identcpu.c
cvs rdiff -u -r1.74.4.2 -r1.74.4.3 src/sys/arch/x86/x86/pmap.c
cvs rdiff -u -r1.28.4.1 -r1.28.4.2 src/sys/arch/xen/x86/cpu.c

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



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

2010-04-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Apr 22 19:56:45 UTC 2010

Modified Files:
src/sys/arch/x86/x86 [netbsd-5]: identcpu.c

Log Message:
Pull up following revision(s) (requested by jym in ticket #1377):
sys/arch/x86/x86/identcpu.c: revision 1.19
Fix a test semantic in cpu_probe(): check that the CPU currently probed
is the first one booting by comparing its struct cpu_info address with
cpu_info_primary, rather than supposing that cpu_feature variables are
set to 0.


To generate a diff of this commit:
cvs rdiff -u -r1.10.4.4 -r1.10.4.5 src/sys/arch/x86/x86/identcpu.c

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



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

2010-04-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Apr 22 19:54:34 UTC 2010

Modified Files:
src/sys/arch/amd64/amd64 [netbsd-5]: locore.S

Log Message:
Pull up following revision(s) (requested by jym in ticket #1376):
sys/arch/amd64/amd64/locore.S: revision 1.56
When kernel remaps to high memory in amd64 locore, the GDT used before
becomes invalid. As such, split it in two parts, one for use when system
boots in low memory, and one for use when it jumps to high memory.


To generate a diff of this commit:
cvs rdiff -u -r1.47.8.2 -r1.47.8.3 src/sys/arch/amd64/amd64/locore.S

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



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

2010-04-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Apr 22 19:41:49 UTC 2010

Modified Files:
src/sys/arch/x86/x86 [netbsd-5-0]: identcpu.c

Log Message:
Pull up following revision(s) (requested by jym in ticket #1377):
sys/arch/x86/x86/identcpu.c: revision 1.19
Fix a test semantic in cpu_probe(): check that the CPU currently probed
is the first one booting by comparing its struct cpu_info address with
cpu_info_primary, rather than supposing that cpu_feature variables are
set to 0.


To generate a diff of this commit:
cvs rdiff -u -r1.10.4.2 -r1.10.4.2.2.1 src/sys/arch/x86/x86/identcpu.c

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



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

2010-04-22 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Apr 22 19:39:45 UTC 2010

Modified Files:
src/sys/arch/amd64/amd64 [netbsd-5-0]: locore.S

Log Message:
Pull up following revision(s) (requested by jym in ticket #1376):
sys/arch/amd64/amd64/locore.S: revision 1.56
When kernel remaps to high memory in amd64 locore, the GDT used before
becomes invalid. As such, split it in two parts, one for use when system
boots in low memory, and one for use when it jumps to high memory.


To generate a diff of this commit:
cvs rdiff -u -r1.47.8.2 -r1.47.8.2.2.1 src/sys/arch/amd64/amd64/locore.S

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



CVS commit: src/usr.bin/make

2010-04-22 Thread Simon J. Gerraty
Module Name:src
Committed By:   sjg
Date:   Thu Apr 22 19:15:24 UTC 2010

Modified Files:
src/usr.bin/make: Makefile make.1
src/usr.bin/make/unit-tests: Makefile modmisc test.exp

Log Message:
PR: 42850
Reviewed by:

modmisc: since we apply an exists() test to $paths, be conservative
in what we expect.

Run the unit tests with -r -m / so that we do not fail if there
is no sys.mk present.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 src/usr.bin/make/Makefile
cvs rdiff -u -r1.170 -r1.171 src/usr.bin/make/make.1
cvs rdiff -u -r1.26 -r1.27 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/make/unit-tests/modmisc
cvs rdiff -u -r1.32 -r1.33 src/usr.bin/make/unit-tests/test.exp

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



CVS commit: src/usr.bin/make

2010-04-22 Thread Simon J. Gerraty
Module Name:src
Committed By:   sjg
Date:   Thu Apr 22 19:11:17 UTC 2010

Modified Files:
src/usr.bin/make: job.c main.c make.h

Log Message:
Just because $TMPDIR is set does not mean it is valid.
Add a central function for creating temp files so we have one place to
audit.

Reviewed by: dh


To generate a diff of this commit:
cvs rdiff -u -r1.147 -r1.148 src/usr.bin/make/job.c
cvs rdiff -u -r1.179 -r1.180 src/usr.bin/make/main.c
cvs rdiff -u -r1.80 -r1.81 src/usr.bin/make/make.h

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



CVS commit: src/sys/dev/acpi

2010-04-22 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr 22 18:53:24 UTC 2010

Modified Files:
src/sys/dev/acpi: acpivar.h

Log Message:
Remove a redundant prototype. A leftover from the previous commit.


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 src/sys/dev/acpi/acpivar.h

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



CVS commit: src/sys/dev/acpi

2010-04-22 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr 22 18:40:10 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi.c acpi_tz.c acpivar.h files.acpi
Added Files:
src/sys/dev/acpi: acpi_power.c acpi_power.h
Removed Files:
src/sys/dev/acpi: acpi_powerres.c

Log Message:
Merge new code for ACPI power resources.

The old code served us well, but a major overhaul would have been needed for
it to cope with the increased demands of the code -- and the specifications.

ok jmcneill@, pgoyette@


To generate a diff of this commit:
cvs rdiff -u -r1.180 -r1.181 src/sys/dev/acpi/acpi.c
cvs rdiff -u -r0 -r1.1 src/sys/dev/acpi/acpi_power.c \
src/sys/dev/acpi/acpi_power.h
cvs rdiff -u -r1.12 -r0 src/sys/dev/acpi/acpi_powerres.c
cvs rdiff -u -r1.66 -r1.67 src/sys/dev/acpi/acpi_tz.c
cvs rdiff -u -r1.50 -r1.51 src/sys/dev/acpi/acpivar.h
cvs rdiff -u -r1.73 -r1.74 src/sys/dev/acpi/files.acpi

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



CVS commit: [matt-nb5-mips64] src/common/lib/libc/arch/mips/string

2010-04-22 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Apr 22 17:50:31 UTC 2010

Modified Files:
src/common/lib/libc/arch/mips/string [matt-nb5-mips64]: ffs.S

Log Message:
Fix mips32/mips64 versions of ffs.


To generate a diff of this commit:
cvs rdiff -u -r1.1.40.2 -r1.1.40.3 src/common/lib/libc/arch/mips/string/ffs.S

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



CVS commit: src/external/bsd/tre/dist/lib

2010-04-22 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Thu Apr 22 17:33:54 UTC 2010

Modified Files:
src/external/bsd/tre/dist/lib: regexec.c

Log Message:
implement the REG_STARTEND extension using tre_regnexec - REG_STARTEND is
used by mail(1), and file(1), to name but two.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/tre/dist/lib/regexec.c

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



CVS commit: src/external/bsd/tre/dist/lib

2010-04-22 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Thu Apr 22 17:32:37 UTC 2010

Modified Files:
src/external/bsd/tre/dist/lib: tre.h

Log Message:
don't include parameter names in the namespace for function prototypes.

define REG_STARTEND

include tre-config.h inplace in tre.h, since it is small, always gets
included anyway, and this means that we don't have to install tre-config.h
in the dest tree. this will be addressed differently long-term.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/tre/dist/lib/tre.h

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



CVS commit: src/external/bsd/tre/dist/lib

2010-04-22 Thread Alistair G. Crooks
Module Name:src
Committed By:   agc
Date:   Thu Apr 22 17:28:59 UTC 2010

Modified Files:
src/external/bsd/tre/dist/lib: tre-mem.c

Log Message:
clean up some lint


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 src/external/bsd/tre/dist/lib/tre-mem.c

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



CVS commit: src/sys/dev/acpi

2010-04-22 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr 22 15:25:46 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi_pci.c

Log Message:
Wrap long lines, add some white space for readability, remove unnecessary
variable assignments, misc KNF. No functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/acpi/acpi_pci.c

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



CVS commit: src/sys/dev/acpi

2010-04-22 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr 22 15:14:24 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi_pci.c

Log Message:
Shorten the long lines with two custom macros.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/dev/acpi/acpi_pci.c

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



CVS commit: src/sys/dev/acpi

2010-04-22 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr 22 14:50:31 UTC 2010

Modified Files:
src/sys/dev/acpi: acpi.c acpi_pci.c acpi_pci.h acpivar.h

Log Message:
>From Gregoire Sutre: rework the ACPI PCI support. This makes ACPI to
correctly pick PCI segment groups, PCI bus numbers, PCI root bridges,
PCI-to-PCI bridges, and PCI devices, among other things. In short: it is
more robust than the old code or anything in sys/arch/x86/x86/mpacpi.c.

ok cegger@, jmcneill@


To generate a diff of this commit:
cvs rdiff -u -r1.179 -r1.180 src/sys/dev/acpi/acpi.c
cvs rdiff -u -r1.5 -r1.6 src/sys/dev/acpi/acpi_pci.c
cvs rdiff -u -r1.3 -r1.4 src/sys/dev/acpi/acpi_pci.h
cvs rdiff -u -r1.49 -r1.50 src/sys/dev/acpi/acpivar.h

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



CVS commit: src/usr.bin/netstat

2010-04-22 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Thu Apr 22 14:37:06 UTC 2010

Modified Files:
src/usr.bin/netstat: unix.c

Log Message:
no need to forward declare struct uio and proc before including
 as it does that internally, and don't continue the
_KERNEL definition afterwards as it causes some other problems
with pcc relating to unreferenced symbols in unused static
inline functions which gcc optimises away.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/usr.bin/netstat/unix.c

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



CVS commit: src/usr.bin/netstat

2010-04-22 Thread Iain Hibbert
Module Name:src
Committed By:   plunky
Date:   Thu Apr 22 14:32:30 UTC 2010

Modified Files:
src/usr.bin/netstat: route.c

Log Message:
it is not [any longer] necessary to #define _KERNEL while including
 so remove it.

This fixes a build problem with pcc which is not as clever as gcc
when optimising away unused static inline functions which refer to
unknown symbols (eg sockaddr_dup).


To generate a diff of this commit:
cvs rdiff -u -r1.73 -r1.74 src/usr.bin/netstat/route.c

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



CVS commit: src/games/factor

2010-04-22 Thread Matthias Drochner
Module Name:src
Committed By:   drochner
Date:   Thu Apr 22 14:28:48 UTC 2010

Modified Files:
src/games/factor: factor.c

Log Message:
fix an obvious flaw in bounds check: the array of precomputed primes
could be overrun if its last entry (65537) was a factor of the input
(this does not affect PR misc/43192 -- the factors are much larger
here: 7742394596501*159455563099482401)


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/games/factor/factor.c

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



CVS commit: src/lib/libc/ssp

2010-04-22 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr 22 13:41:40 UTC 2010

Modified Files:
src/lib/libc/ssp: __builtin_object_size.3

Log Message:
gcc -> GCC, offset indent.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/ssp/__builtin_object_size.3

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



CVS commit: src/distrib

2010-04-22 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Thu Apr 22 11:58:59 UTC 2010

Modified Files:
src/distrib/i386/cdroms: Makefile.cdrom
src/distrib/sparc64/cdroms/installcd: Makefile

Log Message:
Change use of ${CP} and ${CHMOD} to ${INSTALL_FILE}, so that if the
target is made un-writeable, the build won't bomb out during an
UPDATE build.  OK'ed by mar...@.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/distrib/i386/cdroms/Makefile.cdrom
cvs rdiff -u -r1.5 -r1.6 src/distrib/sparc64/cdroms/installcd/Makefile

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



CVS commit: src/sys/dev/usb

2010-04-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Apr 22 08:45:56 UTC 2010

Modified Files:
src/sys/dev/usb: pseye.c uvideo.c

Log Message:
fix compilation with -Wmissing-field-initializers.
smoke _KERNEL_OPT where appropriate.


To generate a diff of this commit:
cvs rdiff -u -r1.15 -r1.16 src/sys/dev/usb/pseye.c
cvs rdiff -u -r1.30 -r1.31 src/sys/dev/usb/uvideo.c

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



CVS commit: src/share/man/man3

2010-04-22 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr 22 08:42:34 UTC 2010

Modified Files:
src/share/man/man3: types.3

Log Message:
A small correction. Typos.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/share/man/man3/types.3

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



CVS commit: src/lib/libc

2010-04-22 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr 22 08:00:34 UTC 2010

Modified Files:
src/lib/libc/gen: confstr.3
src/lib/libc/sys: pathconf.2

Log Message:
Use .In for includes.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/lib/libc/gen/confstr.3
cvs rdiff -u -r1.22 -r1.23 src/lib/libc/sys/pathconf.2

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



CVS commit: src/sys/rump/librump/rumpkern

2010-04-22 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Apr 22 07:10:47 UTC 2010

Modified Files:
src/sys/rump/librump/rumpkern: rump.c signals.c

Log Message:
more signal stuff to group.  no functional change.


To generate a diff of this commit:
cvs rdiff -u -r1.162 -r1.163 src/sys/rump/librump/rumpkern/rump.c
cvs rdiff -u -r1.1 -r1.2 src/sys/rump/librump/rumpkern/signals.c

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