CVS commit: src/share/man/man4

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

Modified Files:
src/share/man/man4: acpidalb.4

Log Message:
Emphasize the powerd(8) script and use .Tn for acronyms.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/acpidalb.4

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/wmi

2010-04-08 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr  8 09:35:15 UTC 2010

Added Files:
src/sys/dev/acpi/wmi: files.wmi wmi_dell.c

Log Message:
Add WMI mappings for Dell laptops. Requested and tested by m...@.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/sys/dev/acpi/wmi/files.wmi \
src/sys/dev/acpi/wmi/wmi_dell.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-08 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr  8 09:36:03 UTC 2010

Modified Files:
src/sys/dev/acpi: files.acpi

Log Message:
Include 'files.wmi'.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 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: src/sys/arch

2010-04-08 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr  8 09:45:17 UTC 2010

Modified Files:
src/sys/arch/amd64/conf: GENERIC
src/sys/arch/i386/conf: GENERIC

Log Message:
Add wmidell(4).


To generate a diff of this commit:
cvs rdiff -u -r1.272 -r1.273 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.975 -r1.976 src/sys/arch/i386/conf/GENERIC

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



CVS commit: src

2010-04-08 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr  8 10:06:25 UTC 2010

Modified Files:
src/distrib/sets/lists/man: mi
src/share/man/man4: Makefile
Added Files:
src/share/man/man4: acpiwmi.4

Log Message:
Add acpiwmi(4).


To generate a diff of this commit:
cvs rdiff -u -r1.1198 -r1.1199 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.512 -r1.513 src/share/man/man4/Makefile
cvs rdiff -u -r0 -r1.1 src/share/man/man4/acpiwmi.4

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-08 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr  8 10:33:13 UTC 2010

Modified Files:
src/sys/dev/acpi: wmi_acpi.c wmi_acpivar.h
src/sys/dev/acpi/wmi: wmi_dell.c

Log Message:
Add a dummy acpi_wmi_event_deregister() to match existing conventions.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/dev/acpi/wmi_acpi.c
cvs rdiff -u -r1.7 -r1.8 src/sys/dev/acpi/wmi_acpivar.h
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/acpi/wmi/wmi_dell.c

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



CVS commit: src/sys

2010-04-08 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Thu Apr  8 11:51:14 UTC 2010

Modified Files:
src/sys/compat/common: kern_time_50.c
src/sys/compat/linux/common: linux_time.c
src/sys/compat/linux32/common: linux32_time.c
src/sys/compat/netbsd32: netbsd32_compat_50.c netbsd32_time.c
src/sys/kern: kern_time.c
src/sys/sys: timevar.h

Log Message:
Add a new clock_gettime1() function that holds most of the
clock_gettime syscall code (except for the copyout). Adjust all
corresponding syscalls to make use of it.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/compat/common/kern_time_50.c
cvs rdiff -u -r1.31 -r1.32 src/sys/compat/linux/common/linux_time.c
cvs rdiff -u -r1.31 -r1.32 src/sys/compat/linux32/common/linux32_time.c
cvs rdiff -u -r1.14 -r1.15 src/sys/compat/netbsd32/netbsd32_compat_50.c
cvs rdiff -u -r1.40 -r1.41 src/sys/compat/netbsd32/netbsd32_time.c
cvs rdiff -u -r1.164 -r1.165 src/sys/kern/kern_time.c
cvs rdiff -u -r1.28 -r1.29 src/sys/sys/timevar.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-08 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr  8 12:14:19 UTC 2010

Modified Files:
src/sys/dev/acpi: files.acpi
src/sys/dev/acpi/wmi: files.wmi wmi_dell.c
Added Files:
src/sys/dev/acpi/wmi: wmi_acpi.c wmi_acpivar.h
Removed Files:
src/sys/dev/acpi: wmi_acpi.c wmi_acpivar.h

Log Message:
Move acpiwmi(4) to the "sys/dev/acpi/wmi" -subdirectory.


To generate a diff of this commit:
cvs rdiff -u -r1.69 -r1.70 src/sys/dev/acpi/files.acpi
cvs rdiff -u -r1.17 -r0 src/sys/dev/acpi/wmi_acpi.c
cvs rdiff -u -r1.8 -r0 src/sys/dev/acpi/wmi_acpivar.h
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/acpi/wmi/files.wmi
cvs rdiff -u -r0 -r1.1 src/sys/dev/acpi/wmi/wmi_acpi.c \
src/sys/dev/acpi/wmi/wmi_acpivar.h
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/acpi/wmi/wmi_dell.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/wmi

2010-04-08 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr  8 12:36:21 UTC 2010

Modified Files:
src/sys/dev/acpi/wmi: wmi_acpi.c wmi_acpivar.h

Log Message:
Semantics.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/acpi/wmi/wmi_acpi.c \
src/sys/dev/acpi/wmi/wmi_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/fs/msdosfs

2010-04-08 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Apr  8 15:03:34 UTC 2010

Modified Files:
src/sys/fs/msdosfs: denode.h msdosfs_vnops.c

Log Message:
Use genfs instead of homegrown stuff where possible.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/fs/msdosfs/denode.h
cvs rdiff -u -r1.61 -r1.62 src/sys/fs/msdosfs/msdosfs_vnops.c

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



CVS commit: src/sys/miscfs/genfs

2010-04-08 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Apr  8 15:56:26 UTC 2010

Modified Files:
src/sys/miscfs/genfs: genfs_vnops.c

Log Message:
Call VOP_ABORTOP in genfs_eopnotsupp.  This prevents file system
authors from having to get down on their knees and pray they won't
get POGA'd(*) again.

This plugs componentname leaks in at least smbfs and buggy puffs
servers (buggy servers shouldn't be able to leak kernel memory).

*) principle of greatest astonishment


To generate a diff of this commit:
cvs rdiff -u -r1.176 -r1.177 src/sys/miscfs/genfs/genfs_vnops.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

2010-04-08 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Thu Apr  8 15:59:37 UTC 2010

Modified Files:
src/sys/compat/linux/common: linux_time.c
src/sys/compat/linux32/common: linux32_time.c

Log Message:
Do not use 0 for pointers, but NULL.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/sys/compat/linux/common/linux_time.c
cvs rdiff -u -r1.32 -r1.33 src/sys/compat/linux32/common/linux32_time.c

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



CVS commit: src/sys/fs/msdosfs

2010-04-08 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Thu Apr  8 16:04:35 UTC 2010

Modified Files:
src/sys/fs/msdosfs: denode.h msdosfs_vnops.c

Log Message:
In genfs where available.

The only functional change is mknod now returning EOPNOTSUPP instead
of EINVAL.  I make this sacrifice willingly and with a clean conscience.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/fs/msdosfs/denode.h
cvs rdiff -u -r1.62 -r1.63 src/sys/fs/msdosfs/msdosfs_vnops.c

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/sys/arch/mips/mips

2010-04-08 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Thu Apr  8 16:05:31 UTC 2010

Modified Files:
src/sys/arch/mips/mips [matt-nb5-mips64]: pmap.c

Log Message:
Fix problem where pmap_clear_modify could go into an infinite loop.
Spotted by cyber.


To generate a diff of this commit:
cvs rdiff -u -r1.179.16.22 -r1.179.16.23 src/sys/arch/mips/mips/pmap.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/rasops

2010-04-08 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Apr  8 16:45:53 UTC 2010

Modified Files:
src/sys/dev/rasops: rasops1.c rasops_bitops.h

Log Message:
add support for shadow framebuffers
tested on sparc with a cg12


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/rasops/rasops1.c
cvs rdiff -u -r1.11 -r1.12 src/sys/dev/rasops/rasops_bitops.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/sbus

2010-04-08 Thread Michael Lorenz
Module Name:src
Committed By:   macallan
Date:   Thu Apr  8 16:49:34 UTC 2010

Modified Files:
src/sys/dev/sbus: cgtwelve.c

Log Message:
use a shadow framebuffer


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/sbus/cgtwelve.c

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



CVS commit: src/sys

2010-04-08 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr  8 17:32:30 UTC 2010

Modified Files:
src/sys/arch/amd64/conf: GENERIC
src/sys/arch/i386/conf: GENERIC
src/sys/dev/acpi/wmi: files.wmi
Added Files:
src/sys/dev/acpi/wmi: wmi_hp.c

Log Message:
Add WMI mappings for HP laptops. Requested by ceg...@.
Thanks to apb@ and cegger@ for initial testing.

XXX: This conflicts with hpqlb(4). Someone with the suitable hardware needs
 to complete the list of hotkeys before -- and if -- this can replace
 hpqlb(4). For now, the driver was left uncommented in the GENERICs.


To generate a diff of this commit:
cvs rdiff -u -r1.273 -r1.274 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.976 -r1.977 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/acpi/wmi/files.wmi
cvs rdiff -u -r0 -r1.1 src/sys/dev/acpi/wmi/wmi_hp.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-08 Thread Simon J. Gerraty
Module Name:src
Committed By:   sjg
Date:   Thu Apr  8 17:41:29 UTC 2010

Modified Files:
src/usr.bin/make: main.c parse.c
src/usr.bin/make/unit-tests: Makefile test.exp
Added Files:
src/usr.bin/make/unit-tests: doterror error

Log Message:
Process .ERROR the same as .BEGIN, .END etc
so that it cannot be the default target.
Add unit-tests for .info - .error, and .ERROR.


To generate a diff of this commit:
cvs rdiff -u -r1.176 -r1.177 src/usr.bin/make/main.c
cvs rdiff -u -r1.161 -r1.162 src/usr.bin/make/parse.c
cvs rdiff -u -r1.25 -r1.26 src/usr.bin/make/unit-tests/Makefile
cvs rdiff -u -r0 -r1.1 src/usr.bin/make/unit-tests/doterror \
src/usr.bin/make/unit-tests/error
cvs rdiff -u -r1.30 -r1.31 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

2010-04-08 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr  8 17:44:22 UTC 2010

Modified Files:
src/distrib/sets/lists/man: mi
src/share/man/man4: Makefile acpiwmi.4

Log Message:
Add wmihp(4).


To generate a diff of this commit:
cvs rdiff -u -r1.1199 -r1.1200 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.513 -r1.514 src/share/man/man4/Makefile
cvs rdiff -u -r1.1 -r1.2 src/share/man/man4/acpiwmi.4

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/conf

2010-04-08 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr  8 17:50:34 UTC 2010

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

Log Message:
Add wmidell(4) and wmihp(4).


To generate a diff of this commit:
cvs rdiff -u -r1.252 -r1.253 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.



CVS commit: src/share/man/man4

2010-04-08 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr  8 17:53:42 UTC 2010

Modified Files:
src/share/man/man4: acpiwmi.4 hpqlb.4

Log Message:
Note the conflict between wmihp(4) and hpqlb(4).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/man/man4/acpiwmi.4
cvs rdiff -u -r1.4 -r1.5 src/share/man/man4/hpqlb.4

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



CVS commit: src/share/man/man4

2010-04-08 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr  8 18:11:20 UTC 2010

Modified Files:
src/share/man/man4: hpqlb.4

Log Message:
Refer to the correct driver.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/share/man/man4/hpqlb.4

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



CVS commit: src/share/man/man4

2010-04-08 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr  8 18:20:46 UTC 2010

Modified Files:
src/share/man/man4: Makefile

Log Message:
Fix build failure noted by t...@.


To generate a diff of this commit:
cvs rdiff -u -r1.514 -r1.515 src/share/man/man4/Makefile

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



CVS commit: src/share/man/man4

2010-04-08 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Thu Apr  8 18:31:53 UTC 2010

Modified Files:
src/share/man/man4: acpiwmi.4

Log Message:
Finally, add wmihp to the SYNOPSIS. Duh.


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

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



CVS commit: [netbsd-5] src/external/mit/xorg/lib/dri

2010-04-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Apr  8 23:13:32 UTC 2010

Modified Files:
src/external/mit/xorg/lib/dri/i915 [netbsd-5]: Makefile
src/external/mit/xorg/lib/dri/i965 [netbsd-5]: Makefile

Log Message:
Pull up following revision(s) (requested by yhardy in ticket #1364):
external/mit/xorg/lib/dri/i965/Makefile: revision 1.9
external/mit/xorg/lib/dri/i915/Makefile: revision 1.7
Don't link libOSMesa, this functionality is provided by mesa_dri.so.


To generate a diff of this commit:
cvs rdiff -u -r1.2.6.3 -r1.2.6.4 src/external/mit/xorg/lib/dri/i915/Makefile
cvs rdiff -u -r1.3.6.4 -r1.3.6.5 src/external/mit/xorg/lib/dri/i965/Makefile

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



CVS commit: [netbsd-5] src/external/mit/xorg/lib/dri/libmesa

2010-04-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Apr  8 23:14:27 UTC 2010

Modified Files:
src/external/mit/xorg/lib/dri/libmesa [netbsd-5]: Makefile

Log Message:
Pull up following revision(s) (requested by yhardy in ticket #1364):
external/mit/xorg/lib/dri/libmesa/Makefile: revision 1.5
i915 and i965 dri modules need glapi.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.5 -r1.1.2.6 \
src/external/mit/xorg/lib/dri/libmesa/Makefile

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-08 Thread Soren Jacobsen
Module Name:src
Committed By:   snj
Date:   Thu Apr  8 23:17:24 UTC 2010

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

Log Message:
Ticket 1364.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.222 -r1.1.2.223 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/crypto/external/bsd/openssl/dist/ssl

2010-04-08 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Fri Apr  9 04:34:13 UTC 2010

Modified Files:
src/crypto/external/bsd/openssl/dist/ssl: s3_enc.c s3_srvr.c t1_enc.c

Log Message:
Fix crash in openssl (I suspect caused by malformed packets):
handshake_dgst[] may be used without being allocated, causing NULL
pointer dereference.
Fix by checking that handshake_dgst is not NULL before use.
Reported to openssl as ticket openssl.org #2214.
Fix tested on netbsd-5 by Luke Mewburn with apache, and by me with
freeradius (fixing segmentation fault in both cases).


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
src/crypto/external/bsd/openssl/dist/ssl/s3_enc.c
cvs rdiff -u -r1.4 -r1.5 src/crypto/external/bsd/openssl/dist/ssl/s3_srvr.c
cvs rdiff -u -r1.1.1.2 -r1.2 \
src/crypto/external/bsd/openssl/dist/ssl/t1_enc.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/wmi

2010-04-08 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Fri Apr  9 04:48:23 UTC 2010

Modified Files:
src/sys/dev/acpi/wmi: wmi_acpi.c

Log Message:
Fix a potential NULL pointer dereference.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/dev/acpi/wmi/wmi_acpi.c

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