CVS commit: src

2012-04-13 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Fri Apr 13 07:05:32 UTC 2012

Modified Files:
src/distrib/sets/lists/tests: module.mi
src/tests/modules: Makefile t_modload.sh
Added Files:
src/tests/modules/k_helper3: Makefile k_helper3.c

Log Message:
Add a helper program that loads a module and returns the errno from modctl(8).

XXX: As noted on tech-kern@, the syscall should be modified to fail
 consistently with a given predefined errno on non-MODULAR kernels.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/distrib/sets/lists/tests/module.mi
cvs rdiff -u -r1.9 -r1.10 src/tests/modules/Makefile
cvs rdiff -u -r1.10 -r1.11 src/tests/modules/t_modload.sh
cvs rdiff -u -r0 -r1.1 src/tests/modules/k_helper3/Makefile \
src/tests/modules/k_helper3/k_helper3.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/pci

2012-04-13 Thread Christoph Egger
Module Name:src
Committed By:   cegger
Date:   Fri Apr 13 12:03:14 UTC 2012

Modified Files:
src/sys/dev/pci: pcidevs

Log Message:
Add AMD Family15h ids


To generate a diff of this commit:
cvs rdiff -u -r1.1114 -r1.1115 src/sys/dev/pci/pcidevs

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



CVS commit: src/sys/dev/pci

2012-04-13 Thread Christoph Egger
Module Name:src
Committed By:   cegger
Date:   Fri Apr 13 12:04:13 UTC 2012

Modified Files:
src/sys/dev/pci: pcidevs.h pcidevs_data.h

Log Message:
regen.


To generate a diff of this commit:
cvs rdiff -u -r1.1108 -r1.1109 src/sys/dev/pci/pcidevs.h
cvs rdiff -u -r1.1107 -r1.1108 src/sys/dev/pci/pcidevs_data.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/pci

2012-04-13 Thread Christoph Egger
Module Name:src
Committed By:   cegger
Date:   Fri Apr 13 12:14:42 UTC 2012

Modified Files:
src/sys/arch/x86/pci: amdtemp.c

Log Message:
- support AMD Family15h
- deregister pmf on detach


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

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



CVS commit: src/tests/lib

2012-04-13 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Fri Apr 13 12:31:19 UTC 2012

Modified Files:
src/tests/lib/libc/gen: Makefile
src/tests/lib/libm: Makefile

Log Message:
Do not re-add -mieee option on alpha, it's already set by default.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 src/tests/lib/libc/gen/Makefile
cvs rdiff -u -r1.17 -r1.18 src/tests/lib/libm/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

2012-04-13 Thread Christoph Egger
Module Name:src
Committed By:   cegger
Date:   Fri Apr 13 13:11:17 UTC 2012

Modified Files:
src/sys/arch/amd64/conf: GENERIC XEN3_DOM0
src/sys/arch/i386/conf: ALL GENERIC XEN3_DOM0
src/sys/arch/x86/pci: amdtemp.c files.pci
Added Files:
src/sys/arch/x86/pci: amdnb_misc.c

Log Message:
Replace amdtempbus with amdnb_miscbus.
This allows us to have independent drivers on the same device (northbridge f3)
each coming with a certain functionality/feature.
This way we do not need to mess with amdtemp(4) to utilize other features.


To generate a diff of this commit:
cvs rdiff -u -r1.352 -r1.353 src/sys/arch/amd64/conf/GENERIC
cvs rdiff -u -r1.81 -r1.82 src/sys/arch/amd64/conf/XEN3_DOM0
cvs rdiff -u -r1.335 -r1.336 src/sys/arch/i386/conf/ALL
cvs rdiff -u -r1.1070 -r1.1071 src/sys/arch/i386/conf/GENERIC
cvs rdiff -u -r1.64 -r1.65 src/sys/arch/i386/conf/XEN3_DOM0
cvs rdiff -u -r0 -r1.1 src/sys/arch/x86/pci/amdnb_misc.c
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/x86/pci/amdtemp.c
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/x86/pci/files.pci

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



CVS commit: src/sys/modules/amdtemp

2012-04-13 Thread Christoph Egger
Module Name:src
Committed By:   cegger
Date:   Fri Apr 13 13:36:57 UTC 2012

Modified Files:
src/sys/modules/amdtemp: amdtemp.ioconf

Log Message:
replace amdtempbus with amdnb_miscbus.
pointed out by pgoyette@


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/modules/amdtemp/amdtemp.ioconf

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



CVS commit: src/lib/libc/gen

2012-04-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 13 14:16:27 UTC 2012

Modified Files:
src/lib/libc/gen: getpass.c

Log Message:
- don't update the length of the buffer until the allocation succeeds
- print only printable characters otherwise print '?'


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/libc/gen/getpass.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/gen

2012-04-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 13 14:39:34 UTC 2012

Modified Files:
src/lib/libc/gen: getpass.3 getpass.c

Log Message:
add timeout.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/lib/libc/gen/getpass.3
cvs rdiff -u -r1.22 -r1.23 src/lib/libc/gen/getpass.c

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



CVS commit: src/include

2012-04-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 13 14:39:49 UTC 2012

Modified Files:
src/include: unistd.h

Log Message:
add timeout to getpassfd.


To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 src/include/unistd.h

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



CVS commit: src/lib/libc/gen

2012-04-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 13 14:42:18 UTC 2012

Modified Files:
src/lib/libc/gen: getpass.c

Log Message:
prefer ETIMEDOUT.


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/lib/libc/gen/getpass.c

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



CVS commit: src/sys/ufs/chfs

2012-04-13 Thread Tamas Toth
Module Name:src
Committed By:   ttoth
Date:   Fri Apr 13 14:50:35 UTC 2012

Modified Files:
src/sys/ufs/chfs: chfs.h chfs_inode.h chfs_vnode.c ebh.h

Log Message:
prepare for chfs's makefs


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/ufs/chfs/chfs.h
cvs rdiff -u -r1.3 -r1.4 src/sys/ufs/chfs/chfs_inode.h
cvs rdiff -u -r1.4 -r1.5 src/sys/ufs/chfs/chfs_vnode.c
cvs rdiff -u -r1.1 -r1.2 src/sys/ufs/chfs/ebh.h

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



CVS commit: src/tests/modules/k_helper3

2012-04-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Apr 13 14:54:39 UTC 2012

Modified Files:
src/tests/modules/k_helper3: Makefile

Log Message:
Put k_helper3 in the correct location.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/modules/k_helper3/Makefile

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



CVS commit: src/tests/modules/k_helper3

2012-04-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Fri Apr 13 15:02:37 UTC 2012

Modified Files:
src/tests/modules/k_helper3: Makefile

Log Message:
Let's get it right this time.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/modules/k_helper3/Makefile

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



CVS commit: src/lib/libc/sys

2012-04-13 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Fri Apr 13 15:14:27 UTC 2012

Modified Files:
src/lib/libc/sys: getpriority.2

Log Message:
- fix ambiguous sentences.
- mention scheduling class.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/lib/libc/sys/getpriority.2

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



CVS commit: src/lib/libc/sys

2012-04-13 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Fri Apr 13 15:14:58 UTC 2012

Modified Files:
src/lib/libc/sys: _lwp_ctl.2

Log Message:
needs sys/lwpctl.h for constants


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/sys/_lwp_ctl.2

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



CVS commit: src/sys/kern

2012-04-13 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Fri Apr 13 15:27:14 UTC 2012

Modified Files:
src/sys/kern: sys_sched.c

Log Message:
- do_sched_getparam: release locks earlier.
- add comments


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/kern/sys_sched.c

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



CVS commit: src/sys/kern

2012-04-13 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Fri Apr 13 15:32:15 UTC 2012

Modified Files:
src/sys/kern: kern_proc.c

Log Message:
comment


To generate a diff of this commit:
cvs rdiff -u -r1.182 -r1.183 src/sys/kern/kern_proc.c

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



CVS commit: src/sys/kern

2012-04-13 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Fri Apr 13 15:32:43 UTC 2012

Modified Files:
src/sys/kern: kern_lwp.c

Log Message:
comment


To generate a diff of this commit:
cvs rdiff -u -r1.167 -r1.168 src/sys/kern/kern_lwp.c

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



CVS commit: src/sys/uvm

2012-04-13 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Fri Apr 13 15:33:38 UTC 2012

Modified Files:
src/sys/uvm: uvm_emap.c

Log Message:
comments


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/uvm/uvm_emap.c

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



CVS commit: src/sys/uvm

2012-04-13 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Fri Apr 13 15:34:42 UTC 2012

Modified Files:
src/sys/uvm: uvm_km.c

Log Message:
uvm_km_kmem_alloc: don't hardcode kmem_va_arena


To generate a diff of this commit:
cvs rdiff -u -r1.124 -r1.125 src/sys/uvm/uvm_km.c

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



CVS commit: src/sys/netinet

2012-04-13 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Fri Apr 13 15:35:57 UTC 2012

Modified Files:
src/sys/netinet: tcp_input.c

Log Message:
comment


To generate a diff of this commit:
cvs rdiff -u -r1.322 -r1.323 src/sys/netinet/tcp_input.c

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



CVS commit: src/sys/netinet

2012-04-13 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Fri Apr 13 15:37:12 UTC 2012

Modified Files:
src/sys/netinet: tcp_vtw.c

Log Message:
add a big comment
(copy and paste from cvs log rev.1.1)


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/netinet/tcp_vtw.c

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



CVS commit: src/sys/netinet

2012-04-13 Thread YAMAMOTO Takashi
Module Name:src
Committed By:   yamt
Date:   Fri Apr 13 15:38:04 UTC 2012

Modified Files:
src/sys/netinet: rfc6056.c

Log Message:
comment


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sys/netinet/rfc6056.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/sys

2012-04-13 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Fri Apr 13 16:32:16 UTC 2012

Modified Files:
src/lib/libc/sys: getpriority.2

Log Message:
Sort errors.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/lib/libc/sys/getpriority.2

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



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

2012-04-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 13 16:36:38 UTC 2012

Modified Files:
src/external/bsd/openpam/dist/lib: openpam_ttyconv.c

Log Message:
replace the custom getpass with getpassfd()


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/external/bsd/openpam/dist/lib/openpam_ttyconv.c

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



CVS commit: src/include

2012-04-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 13 23:29:14 UTC 2012

Modified Files:
src/include: unistd.h

Log Message:
add more options.


To generate a diff of this commit:
cvs rdiff -u -r1.132 -r1.133 src/include/unistd.h

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/openssh/dist

2012-04-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Apr 13 23:57:08 UTC 2012

Modified Files:
src/crypto/external/bsd/openssh/dist: readpassphrase.c

Log Message:
use getpassfd()


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 \
src/crypto/external/bsd/openssh/dist/readpassphrase.c

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



CVS commit: src/etc/mtree

2012-04-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Apr 14 00:14:22 UTC 2012

Modified Files:
src/etc/mtree: NetBSD.dist.tests

Log Message:
Create the directory for the helper program; hopefully fixes the build
break.

XXX It's odd that k_helper3 needs to have its directory pre-created, when
XXX k_helper, k_helper2, and k_uvm don't need it...


To generate a diff of this commit:
cvs rdiff -u -r1.71 -r1.72 src/etc/mtree/NetBSD.dist.tests

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

2012-04-13 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Sat Apr 14 00:49:36 UTC 2012

Modified Files:
src/sys/uvm [matt-nb5-mips64]: uvm_pdaemon.c

Log Message:
If the pagedaemon is stalling, don't wake it.  Unless pages were freed for
a group, don't wake things up if paging is 0 (stop spurious wakeups).


To generate a diff of this commit:
cvs rdiff -u -r1.93.4.2.4.11 -r1.93.4.2.4.12 src/sys/uvm/uvm_pdaemon.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/gen

2012-04-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Apr 14 01:33:44 UTC 2012

Modified Files:
src/lib/libc/gen: getpass.3 getpass.c

Log Message:
- If fd == NULL, do the dance with opening /dev/tty
- Add a flag to enter a newline when we are done.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 src/lib/libc/gen/getpass.3
cvs rdiff -u -r1.24 -r1.25 src/lib/libc/gen/getpass.c

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



CVS commit: src/include

2012-04-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Apr 14 01:34:08 UTC 2012

Modified Files:
src/include: unistd.h

Log Message:
new flag.


To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 src/include/unistd.h

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/openssh/dist

2012-04-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Apr 14 01:34:38 UTC 2012

Modified Files:
src/crypto/external/bsd/openssh/dist: readpassphrase.c

Log Message:
Minimize diffs.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
src/crypto/external/bsd/openssh/dist/readpassphrase.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/gen

2012-04-13 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Sat Apr 14 02:01:13 UTC 2012

Modified Files:
src/lib/libc/gen: getpass.3

Log Message:
a clarification, an a formatting nit.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/gen/getpass.3

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



CVS commit: src/sys/dev/ic

2012-04-13 Thread Takeshi Nakayama
Module Name:src
Committed By:   nakayama
Date:   Sat Apr 14 02:15:02 UTC 2012

Modified Files:
src/sys/dev/ic: bwi.c

Log Message:
Remove duplicate code.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/dev/ic/bwi.c

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



CVS commit: src/tests/modules

2012-04-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Apr 14 02:46:17 UTC 2012

Modified Files:
src/tests/modules: t_modload.sh
src/tests/modules/k_helper3: Makefile

Log Message:
The k_helper3 program does not need to be (and shouldn't be) installed
in its own subdirectory.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/tests/modules/t_modload.sh
cvs rdiff -u -r1.3 -r1.4 src/tests/modules/k_helper3/Makefile

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



CVS commit: src/distrib/sets/lists/tests

2012-04-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Apr 14 02:47:27 UTC 2012

Modified Files:
src/distrib/sets/lists/tests: module.mi

Log Message:
The k_helper3 module no longer gets installed in its own subdirectory.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/distrib/sets/lists/tests/module.mi

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



CVS commit: src/etc/mtree

2012-04-13 Thread Paul Goyette
Module Name:src
Committed By:   pgoyette
Date:   Sat Apr 14 02:48:45 UTC 2012

Modified Files:
src/etc/mtree: NetBSD.dist.tests

Log Message:
Revert previous - k_helper3 does not get installed in a subdirectory.

Doing it this way will prevent us from creating the subdirectory on
non-MODULAR systems.  That would have caused a build break due to the
unexpected empty directory.


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/etc/mtree/NetBSD.dist.tests

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



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

2012-04-13 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Sat Apr 14 06:04:35 UTC 2012

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

Log Message:
Whitespace.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/hp700/dev/ssio.c

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