CVS commit: src/lib/libm

2014-08-11 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Aug 11 08:20:57 UTC 2014

Modified Files:
src/lib/libm: Makefile

Log Message:
revert parts of 1.163 that affect the x86 build.

possibly, we want to build the i386 fenv.c for compat build, but they
seem largely compatible and for now, just go back to what we had before
that wasn't breaking the build or generating bug reports.


To generate a diff of this commit:
cvs rdiff -u -r1.163 -r1.164 src/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/external/mit/xorg/server/drivers/xf86-video-radeon

2014-08-11 Thread matthew green
Module Name:src
Committed By:   mrg
Date:   Mon Aug 11 08:25:58 UTC 2014

Modified Files:
src/external/mit/xorg/server/drivers/xf86-video-radeon: Makefile

Log Message:
put KMS support under our X11DRI definition.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 \
src/external/mit/xorg/server/drivers/xf86-video-radeon/Makefile

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



CVS commit: src/sys/sys

2014-08-11 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon Aug 11 09:10:52 UTC 2014

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

Log Message:
Welcome to 7.99.1.


To generate a diff of this commit:
cvs rdiff -u -r1.459 -r1.460 src/sys/sys/param.h

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



CVS commit: src/doc

2014-08-11 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon Aug 11 09:12:34 UTC 2014

Modified Files:
src/doc: BRANCHES CHANGES CHANGES.prev

Log Message:
Note the new netbsd-7 branch, and move CHANGES to CHANGES.prev .


To generate a diff of this commit:
cvs rdiff -u -r1.331 -r1.332 src/doc/BRANCHES
cvs rdiff -u -r1.1967 -r1.1968 src/doc/CHANGES
cvs rdiff -u -r1.118 -r1.119 src/doc/CHANGES.prev

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



CVS commit: src/gnu/usr.bin/groff/tmac

2014-08-11 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon Aug 11 09:12:59 UTC 2014

Modified Files:
src/gnu/usr.bin/groff/tmac: mdoc.local

Log Message:
Add NetBSD 8.0, and make 7.0 the default.


To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 src/gnu/usr.bin/groff/tmac/mdoc.local

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



CVS commit: [netbsd-7] src

2014-08-11 Thread Jeff Rizzo
Module Name:src
Committed By:   riz
Date:   Mon Aug 11 09:21:47 UTC 2014

Modified Files:
src/doc [netbsd-7]: LAST_MINUTE README.files
src/gnu/usr.bin/groff/tmac [netbsd-7]: mdoc.local
src/sys/sys [netbsd-7]: param.h
Added Files:
src/doc [netbsd-7]: CHANGES-7.0

Log Message:
Welcome to 7.0_BETA!


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1.2.1 src/doc/CHANGES-7.0
cvs rdiff -u -r1.2 -r1.2.52.1 src/doc/LAST_MINUTE
cvs rdiff -u -r1.5 -r1.5.12.1 src/doc/README.files
cvs rdiff -u -r1.75 -r1.75.4.1 src/gnu/usr.bin/groff/tmac/mdoc.local
cvs rdiff -u -r1.459 -r1.459.2.1 src/sys/sys/param.h

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



CVS commit: src/doc

2014-08-11 Thread Alan Barrett
Module Name:src
Committed By:   apb
Date:   Mon Aug 11 10:28:38 UTC 2014

Modified Files:
src/doc: CHANGES.prev

Log Message:
Formatting fixes, following the guidelines in the comments
at the top of CHANGES:

* Start with ...
* Indent with exactly two tabs.
* End with 
  

I edited only in the "Changes from NetBSD 6.0 to NetBSD 7.0" section,
and I left one entry starting with a lowercase letter because it was a
literal variable name.


To generate a diff of this commit:
cvs rdiff -u -r1.119 -r1.120 src/doc/CHANGES.prev

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

2014-08-11 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Aug 11 10:37:59 UTC 2014

Modified Files:
src/sys/dev/usb: xhci.c

Log Message:
PR/49091: xhci: wrong wMaxPacketSize value

While this is correct according to the specification only fixed sizes
are allowed, i.e. 512 for SS, etc. Maybe these should be used?


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.24 src/sys/dev/usb/xhci.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/sparc64

2014-08-11 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Aug 11 11:51:45 UTC 2014

Modified Files:
src/sys/arch/sparc64/sparc64: autoconf.c

Log Message:
Match firmware paths for the boot device in Mac style, as used by
QEMU/OpenBIOS.


To generate a diff of this commit:
cvs rdiff -u -r1.198 -r1.199 src/sys/arch/sparc64/sparc64/autoconf.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/postinstall

2014-08-11 Thread Roy Marples
Module Name:src
Committed By:   roy
Date:   Mon Aug 11 12:49:01 UTC 2014

Modified Files:
src/usr.sbin/postinstall: postinstall

Log Message:
FONTCONFIG_DIR not existing does not need to be fixed.


To generate a diff of this commit:
cvs rdiff -u -r1.175 -r1.176 src/usr.sbin/postinstall/postinstall

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



CVS commit: src/sys/crypto/cprng_fast

2014-08-11 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Aug 11 13:01:58 UTC 2014

Modified Files:
src/sys/crypto/cprng_fast: cprng_fast.c

Log Message:
Access to struct cprng_fast must be consistently at IPL_VM.


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

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



CVS commit: src/sys/crypto/cprng_fast

2014-08-11 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Aug 11 13:06:31 UTC 2014

Modified Files:
src/sys/crypto/cprng_fast: cprng_fast.c

Log Message:
Use percpu_foreach instead of manual iteration.


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

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



CVS commit: src/sys/crypto/cprng_fast

2014-08-11 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Aug 11 13:12:53 UTC 2014

Modified Files:
src/sys/crypto/cprng_fast: cprng_fast.c

Log Message:
Move initial entropy bookkeeping out of the fast path.


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

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



CVS commit: src/sys/crypto/cprng_fast

2014-08-11 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Aug 11 13:22:17 UTC 2014

Modified Files:
src/sys/crypto/cprng_fast: cprng_fast.c

Log Message:
Tweak cprng_fast_buf to use 32-bit unaligned writes if possible.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/crypto/cprng_fast/cprng_fast.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/base

2014-08-11 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon Aug 11 13:40:34 UTC 2014

Modified Files:
src/distrib/sets/lists/base: ad.aarch64

Log Message:
Mark compat directories as compat, not arch64.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/distrib/sets/lists/base/ad.aarch64

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



CVS commit: src/sys/kern

2014-08-11 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Aug 11 13:59:24 UTC 2014

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

Log Message:
buf is not guaranteed to be aligned; don't *(uint32_t *) it.


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

2014-08-11 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Mon Aug 11 14:02:14 UTC 2014

Modified Files:
src/sys/miscfs/umapfs: umap_vfsops.c

Log Message:
1) 'error' is returned while it does not even hold an error code. Which
   means that zero is returned, and the kernel keeps mounting (and it
   probably ends up in a deadlock/memory corruption somewhere).
2) 'nentries' and 'gnentries' are int and user-controlled, and there's no
   check to ensure they are greater than zero. Since they are used to
   compute the size of two copyin's, a user can control the copied size
   by giving a negative value (like 128-2^29), and thus overwrite kernel
   memory.

Both triggerable from root only.


To generate a diff of this commit:
cvs rdiff -u -r1.93 -r1.94 src/sys/miscfs/umapfs/umap_vfsops.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

2014-08-11 Thread Taylor R Campbell
Module Name:src
Committed By:   riastradh
Date:   Mon Aug 11 14:07:55 UTC 2014

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

Log Message:
done is not guaranteed to be aligned; don't *(uint32_t *) it.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 src/sys/kern/kern_rndq.c

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



CVS commit: [netbsd-7] src/sys/dev/usb

2014-08-11 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Aug 11 15:36:45 UTC 2014

Modified Files:
src/sys/dev/usb [netbsd-7]: xhci.c

Log Message:
Pull up following revision(s) (requested by skrll in ticket #3):
sys/dev/usb/xhci.c: revision 1.24
PR/49091: xhci: wrong wMaxPacketSize value
While this is correct according to the specification only fixed sizes
are allowed, i.e. 512 for SS, etc. Maybe these should be used?


To generate a diff of this commit:
cvs rdiff -u -r1.23 -r1.23.2.1 src/sys/dev/usb/xhci.c

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



CVS commit: [netbsd-7] src/sys/kern

2014-08-11 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Aug 11 15:38:27 UTC 2014

Modified Files:
src/sys/kern [netbsd-7]: kern_rndpool.c kern_rndq.c

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #4):
sys/kern/kern_rndq.c: revision 1.27
sys/kern/kern_rndpool.c: revision 1.7
buf is not guaranteed to be aligned; don't *(uint32_t *) it.
done is not guaranteed to be aligned; don't *(uint32_t *) it.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.6.2.1 src/sys/kern/kern_rndpool.c
cvs rdiff -u -r1.26 -r1.26.2.1 src/sys/kern/kern_rndq.c

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



CVS commit: [netbsd-7] src/doc

2014-08-11 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Mon Aug 11 15:40:08 UTC 2014

Modified Files:
src/doc [netbsd-7]: CHANGES-7.0

Log Message:
Tickets 3 and 4


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.1 -r1.1.2.2 src/doc/CHANGES-7.0

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



CVS commit: src/external/gpl3/binutils/dist/bfd

2014-08-11 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Aug 11 20:53:16 UTC 2014

Modified Files:
src/external/gpl3/binutils/dist/bfd: ChangeLog elflink.c

Log Message:
Apply change from upstream to fix PR/48709 - port-alpha/48709: static
threaded programs crash.

With this fix the new weak symbol's st_other is not merged in, i.e. NOPV
is not copied from the libc __libc_thr_init.

* elflink.c (_bfd_elf_merge_symbol): If merging a new weak
symbol that will be skipped, we don't have a new definition.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/external/gpl3/binutils/dist/bfd/ChangeLog
cvs rdiff -u -r1.7 -r1.8 src/external/gpl3/binutils/dist/bfd/elflink.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/binutils/dist/binutils

2014-08-11 Thread Nick Hudson
Module Name:src
Committed By:   skrll
Date:   Mon Aug 11 20:57:28 UTC 2014

Modified Files:
src/external/gpl3/binutils/dist/binutils: readelf.c

Log Message:
Decode alpha st_other


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/external/gpl3/binutils/dist/binutils/readelf.c

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

2014-08-11 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Aug 11 22:03:25 UTC 2014

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

Log Message:
Add MKCOMPAT support for aarch64 (COMPAT_MACHINE_CPU)


To generate a diff of this commit:
cvs rdiff -u -r1.148 -r1.149 src/sys/rump/librump/rumpkern/Makefile.rumpkern

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



CVS commit: src/sys/arch/aarch64/include

2014-08-11 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Aug 11 22:08:34 UTC 2014

Modified Files:
src/sys/arch/aarch64/include: vmparam.h

Log Message:
Add some definitions for building RUMP libraries with MKCOMPAT.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/aarch64/include/vmparam.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/aarch64/include

2014-08-11 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Aug 11 22:09:08 UTC 2014

Modified Files:
src/sys/arch/aarch64/include: ptrace.h

Log Message:
#include  instead of 
(opps)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/aarch64/include/ptrace.h

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



CVS commit: src/sys/rump

2014-08-11 Thread Justin Cormack
Module Name:src
Committed By:   justin
Date:   Mon Aug 11 22:13:56 UTC 2014

Modified Files:
src/sys/rump: listsrcdirs

Log Message:
Add aarch64 to rump srcdirs


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/rump/listsrcdirs

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



CVS commit: src/share/mk

2014-08-11 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Mon Aug 11 22:28:50 UTC 2014

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

Log Message:
Change the way we default MK vars to yes or no allowing
MK.${MACHINE_ARCH} to override.
e.g MKGDB.aarch64=no will default MKGDB to no on aarch64


To generate a diff of this commit:
cvs rdiff -u -r1.829 -r1.830 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/sys/crypto/cprng_fast

2014-08-11 Thread Justin Cormack
Module Name:src
Committed By:   justin
Date:   Mon Aug 11 22:36:49 UTC 2014

Modified Files:
src/sys/crypto/cprng_fast: cprng_fast.c

Log Message:
Fix inconsistent use of inline in prototype and definition


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/crypto/cprng_fast/cprng_fast.c

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



CVS commit: src

2014-08-11 Thread Mindaugas Rasiukevicius
Module Name:src
Committed By:   rmind
Date:   Mon Aug 11 23:48:01 UTC 2014

Modified Files:
src/lib/libnpf: npf.c
src/sys/net/npf: npf_alg.c npf_conn.c npf_ctl.c npf_impl.h npf_nat.c
src/usr.sbin/npf/npfctl: npfctl.c

Log Message:
- Add and use npf_alg_export().
- npf_conn_import: handle NAT metadata correctly.
- npf_nat_newpolicy: restore the policy ID.
- npfctl_load: fix error code handling for the limit cases.
- npf_config_import: fix the inverted logic.
- npfctl_load: improve error handling.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/lib/libnpf/npf.c
cvs rdiff -u -r1.14 -r1.15 src/sys/net/npf/npf_alg.c
cvs rdiff -u -r1.10 -r1.11 src/sys/net/npf/npf_conn.c
cvs rdiff -u -r1.38 -r1.39 src/sys/net/npf/npf_ctl.c
cvs rdiff -u -r1.58 -r1.59 src/sys/net/npf/npf_impl.h
cvs rdiff -u -r1.32 -r1.33 src/sys/net/npf/npf_nat.c
cvs rdiff -u -r1.42 -r1.43 src/usr.sbin/npf/npfctl/npfctl.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/ext2fs

2014-08-11 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Tue Aug 12 06:49:11 UTC 2014

Modified Files:
src/sys/ufs/ext2fs: ext2fs_readwrite.c

Log Message:
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-2

#04-0x02: Remove 'doclusterread' and 'doclusterwrite' (unused).


To generate a diff of this commit:
cvs rdiff -u -r1.64 -r1.65 src/sys/ufs/ext2fs/ext2fs_readwrite.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/smbfs

2014-08-11 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Tue Aug 12 06:57:20 UTC 2014

Modified Files:
src/sys/fs/smbfs: smbfs_smb.c

Log Message:
http://m00nbsd.net/ae123a9bae03f7dde5c6d654412daf5a.html#Report-2

#04-0x01: Uninitialized var 'rqp' (does not compile anyway)


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/fs/smbfs/smbfs_smb.c

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