CVS commit: src

2011-05-09 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon May  9 07:31:51 UTC 2011

Modified Files:
src/distrib/sets/lists/tests: mi
src/tests/lib/libc/stdlib: Makefile
Added Files:
src/tests/lib/libc/stdlib: t_exit.c

Log Message:
Few basic tests for exit(3).


To generate a diff of this commit:
cvs rdiff -u -r1.333 -r1.334 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.11 -r1.12 src/tests/lib/libc/stdlib/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/stdlib/t_exit.c

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



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

2011-05-09 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Mon May  9 08:44:22 UTC 2011

Modified Files:
src/sys/arch/sparc64/dev: ffbreg.h

Log Message:
Correc the "enable pedestal" register definition.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/sparc64/dev/ffbreg.h

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



CVS commit: src

2011-05-09 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Mon May  9 08:51:18 UTC 2011

Modified Files:
src/distrib/sets/lists/base: ad.mips64eb ad.mips64el md.amd64
md.sparc64 mi shl.mi
src/distrib/sets/lists/comp: ad.mips64eb ad.mips64el md.amd64
md.sparc64 mi shl.mi
src/distrib/sets/lists/man: mi
src/doc: CHANGES
src/lib: Makefile
src/lib/libperfuse: Makefile
src/usr.sbin: Makefile
src/usr.sbin/perfused: Makefile msg.c

Log Message:
Enable the build of perfused and libperfuse


To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/distrib/sets/lists/base/ad.mips64eb
cvs rdiff -u -r1.44 -r1.45 src/distrib/sets/lists/base/ad.mips64el
cvs rdiff -u -r1.119 -r1.120 src/distrib/sets/lists/base/md.amd64
cvs rdiff -u -r1.112 -r1.113 src/distrib/sets/lists/base/md.sparc64
cvs rdiff -u -r1.936 -r1.937 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.581 -r1.582 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.29 -r1.30 src/distrib/sets/lists/comp/ad.mips64eb \
src/distrib/sets/lists/comp/ad.mips64el
cvs rdiff -u -r1.111 -r1.112 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.94 -r1.95 src/distrib/sets/lists/comp/md.sparc64
cvs rdiff -u -r1.1620 -r1.1621 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.168 -r1.169 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.1314 -r1.1315 src/distrib/sets/lists/man/mi
cvs rdiff -u -r1.1544 -r1.1545 src/doc/CHANGES
cvs rdiff -u -r1.166 -r1.167 src/lib/Makefile
cvs rdiff -u -r1.2 -r1.3 src/lib/libperfuse/Makefile
cvs rdiff -u -r1.255 -r1.256 src/usr.sbin/Makefile
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/perfused/Makefile
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/perfused/msg.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

2011-05-09 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon May  9 09:06:21 UTC 2011

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

Log Message:
Xref raise_default_signal(3).


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/lib/libc/gen/raise.3

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



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

2011-05-09 Thread Julian Coleman
Module Name:src
Committed By:   jdc
Date:   Mon May  9 09:06:28 UTC 2011

Modified Files:
src/sys/arch/sparc64/dev: ffb.c

Log Message:
Alter the sync-on-green and composite-sync settings:

  if the monitor doesn't support composite sync, enable sync-on-green

  then, if the monitor supports separate sync, disable composite vsync

(Prompted by macallan@.)


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/sparc64/dev/ffb.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/libc/gen

2011-05-09 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon May  9 09:27:37 UTC 2011

Modified Files:
src/tests/lib/libc/gen: t_raise.c

Log Message:
Add one more naive unit test.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/gen/t_raise.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/libc/gen

2011-05-09 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon May  9 10:50:03 UTC 2011

Modified Files:
src/tests/lib/libc/gen: t_closefrom.c

Log Message:
Remove superfluous close(2) pointed out by martin@.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/gen/t_closefrom.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/libc/gen

2011-05-09 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon May  9 11:05:36 UTC 2011

Modified Files:
src/tests/lib/libc/gen: t_closefrom.c

Log Message:
On a second thought, require that close(2) fails for a descriptor already
closed with closefrom(3). For some odd reason (yet to be determined), this
check fails on 5.99.51 (amd64).


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/gen/t_closefrom.c

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

2011-05-09 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Mon May  9 11:55:34 UTC 2011

Modified Files:
src/distrib/sets/lists/comp: mi

Log Message:
Small typo (perfuse.debug -> perfused.debug).


To generate a diff of this commit:
cvs rdiff -u -r1.1621 -r1.1622 src/distrib/sets/lists/comp/mi

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



CVS commit: src/doc

2011-05-09 Thread Takahiro Kambe
Module Name:src
Committed By:   taca
Date:   Mon May  9 12:45:25 UTC 2011

Modified Files:
src/doc: 3RDPARTY

Log Message:
Postfix 2.8.3 has released.


To generate a diff of this commit:
cvs rdiff -u -r1.834 -r1.835 src/doc/3RDPARTY

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



CVS commit: src/share/mk

2011-05-09 Thread Adam Hamsik
Module Name:src
Committed By:   haad
Date:   Mon May  9 14:36:48 UTC 2011

Modified Files:
src/share/mk: bsd.own.mk

Log Message:
Add MKPERFUSE flag to those who are enabled by default.


To generate a diff of this commit:
cvs rdiff -u -r1.663 -r1.664 src/share/mk/bsd.own.mk

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



CVS commit: src/distrib/sets

2011-05-09 Thread Adam Hamsik
Module Name:src
Committed By:   haad
Date:   Mon May  9 14:45:45 UTC 2011

Modified Files:
src/distrib/sets: sets.subr

Log Message:
Mention MKPERFUSE keyword here, too. I have forgot to commit this file before.


To generate a diff of this commit:
cvs rdiff -u -r1.130 -r1.131 src/distrib/sets/sets.subr

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



CVS commit: othersrc/external/bsd/gensetlist

2011-05-09 Thread Alistair G. Crooks
Module Name:othersrc
Committed By:   agc
Date:   Mon May  9 14:47:15 UTC 2011

Modified Files:
othersrc/external/bsd/gensetlist: gensetlist.c

Log Message:
Add a ".debug" extension to all compat debug libraries - as pointed out by
Nicholas Joly on tech-userlevel.

Many thanks!


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/gensetlist/gensetlist.c

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



CVS commit: othersrc/external/bsd/gensetlist

2011-05-09 Thread Alistair G. Crooks
Module Name:othersrc
Committed By:   agc
Date:   Mon May  9 15:03:58 UTC 2011

Modified Files:
othersrc/external/bsd/gensetlist: bsd.setlist.mk

Log Message:
derive syspkg category (CATEGORY) from LIB or PROG if one of them is defined

don't try to be smart with the gensetlist invocation, just call it when
needed.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/gensetlist/bsd.setlist.mk

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

2011-05-09 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Mon May  9 17:13:21 UTC 2011

Modified Files:
src/distrib/sets/lists/base: ad.mips64eb ad.mips64el md.amd64
md.sparc64 mi shl.mi
src/distrib/sets/lists/comp: ad.mips64eb ad.mips64el md.amd64
md.sparc64 mi shl.mi
src/distrib/sets/lists/man: mi

Log Message:
Attempt to fix build after perfuse addition (there is no MKPERFUSE)


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 src/distrib/sets/lists/base/ad.mips64eb
cvs rdiff -u -r1.45 -r1.46 src/distrib/sets/lists/base/ad.mips64el
cvs rdiff -u -r1.120 -r1.121 src/distrib/sets/lists/base/md.amd64
cvs rdiff -u -r1.113 -r1.114 src/distrib/sets/lists/base/md.sparc64
cvs rdiff -u -r1.937 -r1.938 src/distrib/sets/lists/base/mi
cvs rdiff -u -r1.582 -r1.583 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.30 -r1.31 src/distrib/sets/lists/comp/ad.mips64eb \
src/distrib/sets/lists/comp/ad.mips64el
cvs rdiff -u -r1.112 -r1.113 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.95 -r1.96 src/distrib/sets/lists/comp/md.sparc64
cvs rdiff -u -r1.1622 -r1.1623 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.169 -r1.170 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.1315 -r1.1316 src/distrib/sets/lists/man/mi

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



CVS commit: src

2011-05-09 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon May  9 17:53:54 UTC 2011

Modified Files:
src/distrib/sets/lists/tests: mi
src/etc/mtree: NetBSD.dist.tests
src/tests/sbin: Makefile
Added Files:
src/tests/sbin/sysctl: Makefile t_perm.sh

Log Message:
Add a test case for PR kern/44946. This tests that common first level sysctl
nodes (ddb, hw, machdep, etc.) are not writable by a normal user.


To generate a diff of this commit:
cvs rdiff -u -r1.334 -r1.335 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.47 -r1.48 src/etc/mtree/NetBSD.dist.tests
cvs rdiff -u -r1.4 -r1.5 src/tests/sbin/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/sbin/sysctl/Makefile \
src/tests/sbin/sysctl/t_perm.sh

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



CVS commit: src/tests/sbin/sysctl

2011-05-09 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Mon May  9 17:55:38 UTC 2011

Modified Files:
src/tests/sbin/sysctl: t_perm.sh

Log Message:
Add one missing cleanup routine declaration.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/sbin/sysctl/t_perm.sh

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



CVS commit: src/lib/libcrypt

2011-05-09 Thread Matthias Drochner
Module Name:src
Committed By:   drochner
Date:   Mon May  9 19:15:29 UTC 2011

Modified Files:
src/lib/libcrypt: crypt-sha1.c

Log Message:
rearrange variable usage to kill __UNCONST
reviewed by sjg


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/lib/libcrypt/crypt-sha1.c

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



CVS commit: [netbsd-4] src/lib/libc/resolv

2011-05-09 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Mon May  9 19:37:30 UTC 2011

Modified Files:
src/lib/libc/resolv [netbsd-4]: res_init.c

Log Message:
Pull up following revision(s) (requested by taca in ticket #1429):
lib/libc/resolv/res_init.c: revisions 1.11, 1.12 via patch
Don't check for ext being NULL to destroy the res_state. Instead check
the option bits like we did before.
Only try free-ing a version of res if it is not supposed to be pre-inited
like before. Fixes issues with programs passing random uninitialized data
as res_state.


To generate a diff of this commit:
cvs rdiff -u -r1.8.4.3 -r1.8.4.4 src/lib/libc/resolv/res_init.c

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



CVS commit: [netbsd-4] src/doc

2011-05-09 Thread Manuel Bouyer
Module Name:src
Committed By:   bouyer
Date:   Mon May  9 19:39:19 UTC 2011

Modified Files:
src/doc [netbsd-4]: CHANGES-4.1

Log Message:
Ticket 1429


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.223 -r1.1.2.224 src/doc/CHANGES-4.1

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



CVS commit: src/sys/rump

2011-05-09 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue May 10 00:33:58 UTC 2011

Modified Files:
src/sys/rump: Makefile.rump

Log Message:
Make rump compile things with -std=gnu99 like the kernel and modules.


To generate a diff of this commit:
cvs rdiff -u -r1.60 -r1.61 src/sys/rump/Makefile.rump

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



CVS commit: src/sys/fs/tmpfs

2011-05-09 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Tue May 10 00:34:26 UTC 2011

Modified Files:
src/sys/fs/tmpfs: tmpfs_vnops.c

Log Message:
yes, more C99 please (back out previous change).


To generate a diff of this commit:
cvs rdiff -u -r1.79 -r1.80 src/sys/fs/tmpfs/tmpfs_vnops.c

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



CVS commit: src/usr.sbin/traceroute6

2011-05-09 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Tue May 10 01:58:58 UTC 2011

Modified Files:
src/usr.sbin/traceroute6: traceroute6.8 traceroute6.c

Log Message:
AS additions from Zafer Aydogan to print the AS path. Minor cleanups to compile
without WARNS=1 hackery.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/traceroute6/traceroute6.8
cvs rdiff -u -r1.39 -r1.40 src/usr.sbin/traceroute6/traceroute6.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

2011-05-09 Thread enami tsugutomo
Module Name:src
Committed By:   enami
Date:   Tue May 10 04:40:16 UTC 2011

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

Log Message:
Use ptrdiff_t to hold pointer difference to avoid coredump on LP64 system.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.bin/netstat/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/dev/raidframe

2011-05-09 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Tue May 10 05:08:51 UTC 2011

Modified Files:
src/sys/dev/raidframe: rf_netbsdkintf.c

Log Message:
print "raidN: detached" when unconfiguring a raid device.


To generate a diff of this commit:
cvs rdiff -u -r1.289 -r1.290 src/sys/dev/raidframe/rf_netbsdkintf.c

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



CVS commit: src/lib/libm

2011-05-09 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Tue May 10 06:38:33 UTC 2011

Modified Files:
src/lib/libm: Makefile
src/lib/libm/man: ieee.3
Added Files:
src/lib/libm/man: ilogb.3

Log Message:
Split out the ilogb(3) family out of ieee(3) and properly document it.


To generate a diff of this commit:
cvs rdiff -u -r1.107 -r1.108 src/lib/libm/Makefile
cvs rdiff -u -r1.24 -r1.25 src/lib/libm/man/ieee.3
cvs rdiff -u -r0 -r1.1 src/lib/libm/man/ilogb.3

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

2011-05-09 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Tue May 10 06:39:46 UTC 2011

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

Log Message:
Xref ilogb(3).


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

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



CVS commit: othersrc/external/bsd/gensetlist

2011-05-09 Thread Alistair G. Crooks
Module Name:othersrc
Committed By:   agc
Date:   Tue May 10 06:41:26 UTC 2011

Modified Files:
othersrc/external/bsd/gensetlist: gensetlist.c

Log Message:
Occasional MAN definitions can hold multiple pages (see src/bin/pax for one
example).

Change the parsing of the contents of MAN definitions so that both single
and multiple definitions of man pages can be recognised.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/gensetlist/gensetlist.c

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



CVS commit: othersrc/external/bsd/gensetlist

2011-05-09 Thread Alistair G. Crooks
Module Name:othersrc
Committed By:   agc
Date:   Tue May 10 06:42:13 UTC 2011

Modified Files:
othersrc/external/bsd/gensetlist: Makefile bsd.setlist.mk

Log Message:
add license

set binary directory explicitly


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 othersrc/external/bsd/gensetlist/Makefile
cvs rdiff -u -r1.2 -r1.3 othersrc/external/bsd/gensetlist/bsd.setlist.mk

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



CVS commit: src/tests/lib/libc/string

2011-05-09 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Tue May 10 06:55:27 UTC 2011

Modified Files:
src/tests/lib/libc/string: t_strerror.c

Log Message:
Fix typo.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/string/t_strerror.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/libc/gen

2011-05-09 Thread Jukka Ruohonen
Module Name:src
Committed By:   jruoho
Date:   Tue May 10 06:58:17 UTC 2011

Modified Files:
src/tests/lib/libc/gen: t_alarm.c

Log Message:
Fix comment/string typos.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/gen/t_alarm.c

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