CVS commit: src/usr.sbin/sup/source

2011-09-22 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Sep 22 07:30:04 UTC 2011

Modified Files:
src/usr.sbin/sup/source: sup.1

Log Message:
remove an extra ".TP" that broke my build.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/sup/source/sup.1

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

2011-09-22 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Thu Sep 22 08:42:53 UTC 2011

Modified Files:
src/sys/dev/pci: if_bnx.c

Log Message:
The bnx(4) handler runs at IPL_NET (works with spin mutexes), while
allocations can be deferred to a workqueue(9): set its highest IPL to
IPL_NET and not IPL_NONE, which is protected by an adaptive/sleeping mutex.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/dev/pci/if_bnx.c

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



CVS commit: src/dist/dhcp/dst

2011-09-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 22 12:38:34 UTC 2011

Modified Files:
src/dist/dhcp/dst: prandom.c

Log Message:
check the result of malloc (Maksymilian Arciemowicz)


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/dist/dhcp/dst/prandom.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/ntp/dist/libopts/compat

2011-09-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 22 12:40:48 UTC 2011

Modified Files:
src/external/bsd/ntp/dist/libopts/compat: pathfind.c

Log Message:
Check result of malloc (Maksymilian Arciemowicz)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/ntp/dist/libopts/compat/pathfind.c

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



CVS commit: src/dist/smbfs/lib/smb

2011-09-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 22 12:43:09 UTC 2011

Modified Files:
src/dist/smbfs/lib/smb: subr.c

Log Message:
Eliminate unchecked malloc (Maksymilian Arciemowicz)


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/dist/smbfs/lib/smb/subr.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/find

2011-09-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 22 12:49:57 UTC 2011

Modified Files:
src/usr.bin/find: function.c

Log Message:
Fix unchecked malloc, check for overflow (Maksymilian Arciemowicz)
While here, remove unused casts, fix types.


To generate a diff of this commit:
cvs rdiff -u -r1.66 -r1.67 src/usr.bin/find/function.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/ntp/dist/libopts

2011-09-22 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Thu Sep 22 16:05:11 UTC 2011

Modified Files:
src/external/bsd/ntp/dist/libopts: configfile.c
src/external/bsd/ntp/dist/libopts/compat: pathfind.c

Log Message:
Make this build again: include  when needed, and don't
shadow err() with a local variable called err...


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/bsd/ntp/dist/libopts/configfile.c
cvs rdiff -u -r1.3 -r1.4 src/external/bsd/ntp/dist/libopts/compat/pathfind.c

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



CVS commit: src/dist/smbfs/lib/smb

2011-09-22 Thread Havard Eidnes
Module Name:src
Committed By:   he
Date:   Thu Sep 22 16:08:49 UTC 2011

Modified Files:
src/dist/smbfs/lib/smb: subr.c

Log Message:
Also eliminate now-no-longer-used local variable.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/dist/smbfs/lib/smb/subr.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/fstat

2011-09-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 22 17:27:50 UTC 2011

Modified Files:
src/usr.bin/fstat: fstat.c

Log Message:
- factor out common code in the inet and inet6 printing.
- add appletalk (ddp) support.


To generate a diff of this commit:
cvs rdiff -u -r1.92 -r1.93 src/usr.bin/fstat/fstat.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/man

2011-09-22 Thread Nicolas Joly
Module Name:src
Committed By:   njoly
Date:   Thu Sep 22 18:14:09 UTC 2011

Modified Files:
src/lib/libm/man: math.3

Log Message:
In functions list, switch from tab characters to Ta macro. Makes
nroff properly handle xrefs.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/lib/libm/man/math.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/inet

2011-09-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 22 18:21:58 UTC 2011

Modified Files:
src/lib/libc/inet: inet.3

Log Message:
document what size is.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/lib/libc/inet/inet.3

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



CVS commit: src/usr.bin/stat

2011-09-22 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Thu Sep 22 20:23:56 UTC 2011

Modified Files:
src/usr.bin/stat: stat.1 stat.c

Log Message:
Use vis(3) encoding when a string format is modified by the '#' flag.
Also bump copyright years.


To generate a diff of this commit:
cvs rdiff -u -r1.33 -r1.34 src/usr.bin/stat/stat.1
cvs rdiff -u -r1.35 -r1.36 src/usr.bin/stat/stat.c

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



CVS commit: src/external/gpl3/gcc/lib/libgomp

2011-09-22 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Thu Sep 22 20:55:17 UTC 2011

Modified Files:
src/external/gpl3/gcc/lib/libgomp: Makefile

Log Message:
only install libgomp.spec for the native build.  look in the archdir
for libgomp.spec.

XXX: FILES/FILESDIR isn't working here for me yet.  no idea why.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/lib/libgomp/Makefile

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



CVS commit: src/sys/miscfs/syncfs

2011-09-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Thu Sep 22 21:58:07 UTC 2011

Modified Files:
src/sys/miscfs/syncfs: sync_subr.c

Log Message:
Restore updateproc because rump uses it until we figure out how to remove it
for good.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/miscfs/syncfs/sync_subr.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/i386/stand/misc

2011-09-22 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Thu Sep 22 22:00:53 UTC 2011

Modified Files:
src/sys/arch/i386/stand/misc: rawr32.exe.uue

Log Message:
Update Rawrite32 to latests version


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/i386/stand/misc/rawr32.exe.uue

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



CVS commit: src/sys/arch/xen

2011-09-22 Thread Jean-Yves Migeon
Module Name:src
Committed By:   jym
Date:   Thu Sep 22 23:02:35 UTC 2011

Modified Files:
src/sys/arch/xen/conf: files.xen
src/sys/arch/xen/xen: hypervisor.c
src/sys/arch/xen/xenbus: xenbus_dev.c xenbus_probe.c

Log Message:
Expose Xen kernfs entries inside a domU. Patch originally from sborrill@,
slightly modified by me to profit from runtime checks for dom0 privileges
instead of using compile time macros (DOM0OPS).

It should now be possible to use pkgsrc's sysutils/xentools inside
a domU to query XenStore entries (or even modify part of it if the domain
has enough rights).


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 src/sys/arch/xen/conf/files.xen
cvs rdiff -u -r1.57 -r1.58 src/sys/arch/xen/xen/hypervisor.c
cvs rdiff -u -r1.8 -r1.9 src/sys/arch/xen/xenbus/xenbus_dev.c
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/xen/xenbus/xenbus_probe.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

2011-09-22 Thread Christos Zoulas
Module Name:src
Committed By:   christos
Date:   Fri Sep 23 00:03:29 UTC 2011

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

Log Message:
PR/45393: Greg A. Woods: The mount point validation code (that looks for
nocoredump filesystems to avoid dumping on them) only worked for core
filenames that dump in the current working directory. Update the code to
validate the mount point of the parent directory of the core file if needed.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/kern/kern_core.c

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



CVS commit: src/sys

2011-09-22 Thread Emmanuel Dreyfus
Module Name:src
Committed By:   manu
Date:   Fri Sep 23 01:57:32 UTC 2011

Modified Files:
src/sys/fs/puffs: puffs_vnops.c
src/sys/miscfs/syncfs: sync_subr.c

Log Message:
Fix the build that was broken by struct lwp *updateproc reference in
RUMP-visible code. Instead of checking that updateproc (aka ioflush,
aka syncer) will not sleep in PUFFS code, I check for any kernel thread:
after all none of them are designed to hang awaiting for a remote filesystem
operation to complete.


To generate a diff of this commit:
cvs rdiff -u -r1.156 -r1.157 src/sys/fs/puffs/puffs_vnops.c
cvs rdiff -u -r1.46 -r1.47 src/sys/miscfs/syncfs/sync_subr.c

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



CVS commit: src/tools/gcc

2011-09-22 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Sep 23 06:43:47 UTC 2011

Modified Files:
src/tools/gcc: mknative-gcc

Log Message:
since omp.h is part of libgomp, put it in the libgomp files not the
libstdc++ files.


To generate a diff of this commit:
cvs rdiff -u -r1.63 -r1.64 src/tools/gcc/mknative-gcc

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



CVS commit: src/compat

2011-09-22 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Sep 23 06:44:37 UTC 2011

Modified Files:
src/compat/amd64/i386: bsd.i386.mk
src/compat/mips64/64: bsd.64.mk
src/compat/mips64/o32: bsd.o32.mk
src/compat/sparc64/sparc: bsd.sparc.mk

Log Message:
build compat versions of libgomp for everything except mips N64 (for now.)


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/compat/amd64/i386/bsd.i386.mk
cvs rdiff -u -r1.8 -r1.9 src/compat/mips64/64/bsd.64.mk
cvs rdiff -u -r1.8 -r1.9 src/compat/mips64/o32/bsd.o32.mk
cvs rdiff -u -r1.4 -r1.5 src/compat/sparc64/sparc/bsd.sparc.mk

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



CVS commit: src

2011-09-22 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Fri Sep 23 06:48:11 UTC 2011

Modified Files:
src/distrib/sets/lists/base: ad.mips64eb ad.mips64el md.amd64
md.sparc64 shl.mi
src/distrib/sets/lists/comp: ad.mips64eb ad.mips64el md.amd64
md.sparc64 mi shl.mi
src/external/gpl3/gcc/lib: Makefile
src/external/gpl3/gcc/lib/libgomp: Makefile
Added Files:
src/external/gpl3/gcc/lib/libgomp/arch/alpha: omp.h
src/external/gpl3/gcc/lib/libgomp/arch/arm: omp.h
src/external/gpl3/gcc/lib/libgomp/arch/armeb: omp.h
src/external/gpl3/gcc/lib/libgomp/arch/hppa: omp.h
src/external/gpl3/gcc/lib/libgomp/arch/i386: omp.h
src/external/gpl3/gcc/lib/libgomp/arch/m68000: omp.h
src/external/gpl3/gcc/lib/libgomp/arch/m68k: omp.h
src/external/gpl3/gcc/lib/libgomp/arch/mips64eb: omp.h
src/external/gpl3/gcc/lib/libgomp/arch/mips64el: omp.h
src/external/gpl3/gcc/lib/libgomp/arch/mipseb: omp.h
src/external/gpl3/gcc/lib/libgomp/arch/mipsel: omp.h
src/external/gpl3/gcc/lib/libgomp/arch/powerpc: omp.h
src/external/gpl3/gcc/lib/libgomp/arch/sh3eb: omp.h
src/external/gpl3/gcc/lib/libgomp/arch/sh3el: omp.h
src/external/gpl3/gcc/lib/libgomp/arch/sparc: omp.h
src/external/gpl3/gcc/lib/libgomp/arch/sparc64: omp.h
src/external/gpl3/gcc/lib/libgomp/arch/vax: omp.h
src/external/gpl3/gcc/lib/libgomp/arch/x86_64: omp.h
Removed Files:
src/external/gpl3/gcc/lib/libstdc++-v3/arch/alpha: omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/arm: omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/armeb: omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/hppa: omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/i386: omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68000: omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/m68k: omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mips64eb: omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mips64el: omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mipseb: omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/mipsel: omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/powerpc: omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/sh3eb: omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/sh3el: omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/sparc: omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/sparc64: omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/vax: omp.h
src/external/gpl3/gcc/lib/libstdc++-v3/arch/x86_64: omp.h

Log Message:
build and install libgomp, as needed by "cc -fopenmp", and its
suplimentary files like libgomp.spec and omp.h.


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 src/distrib/sets/lists/base/ad.mips64eb
cvs rdiff -u -r1.66 -r1.67 src/distrib/sets/lists/base/ad.mips64el
cvs rdiff -u -r1.140 -r1.141 src/distrib/sets/lists/base/md.amd64
cvs rdiff -u -r1.133 -r1.134 src/distrib/sets/lists/base/md.sparc64
cvs rdiff -u -r1.602 -r1.603 src/distrib/sets/lists/base/shl.mi
cvs rdiff -u -r1.54 -r1.55 src/distrib/sets/lists/comp/ad.mips64eb \
src/distrib/sets/lists/comp/ad.mips64el
cvs rdiff -u -r1.137 -r1.138 src/distrib/sets/lists/comp/md.amd64
cvs rdiff -u -r1.121 -r1.122 src/distrib/sets/lists/comp/md.sparc64
cvs rdiff -u -r1.1674 -r1.1675 src/distrib/sets/lists/comp/mi
cvs rdiff -u -r1.192 -r1.193 src/distrib/sets/lists/comp/shl.mi
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/lib/Makefile
cvs rdiff -u -r1.3 -r1.4 src/external/gpl3/gcc/lib/libgomp/Makefile
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgomp/arch/alpha/omp.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgomp/arch/arm/omp.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgomp/arch/armeb/omp.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgomp/arch/hppa/omp.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgomp/arch/i386/omp.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgomp/arch/m68000/omp.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgomp/arch/m68k/omp.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgomp/arch/mips64eb/omp.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgomp/arch/mips64el/omp.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgomp/arch/mipseb/omp.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgomp/arch/mipsel/omp.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgomp/arch/powerpc/omp.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgomp/arch/sh3eb/omp.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgomp/arch/sh3el/omp.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgomp/arch/sparc/omp.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgomp/arch/sparc64/omp.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/lib/libgomp/arch/vax/omp.h
cvs rdiff -u -r0 -r1.1 src/external/gpl3/gcc/li