CVS commit: src/sys/arch/arm/include/arm32

2014-04-16 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Apr 16 07:29:52 UTC 2014

Modified Files:
src/sys/arch/arm/include/arm32: pmap.h

Log Message:
Make to flush the secondary cache when syncing PTEs when the Sheeva L2 cache
is used.


To generate a diff of this commit:
cvs rdiff -u -r1.131 -r1.132 src/sys/arch/arm/include/arm32/pmap.h

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

2014-04-16 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Apr 16 08:10:57 UTC 2014

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

Log Message:
Ticket 1900.


To generate a diff of this commit:
cvs rdiff -u -r1.1.2.49 -r1.1.2.50 src/doc/CHANGES-5.3

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



CVS commit: [netbsd-5] src/sys/dev/wscons

2014-04-16 Thread SAITOH Masanobu
Module Name:src
Committed By:   msaitoh
Date:   Wed Apr 16 08:10:25 UTC 2014

Modified Files:
src/sys/dev/wscons [netbsd-5]: mra.c

Log Message:
Pull up following revision(s) (requested by khorben in ticket #1900):
sys/dev/wscons/mra.crev. 1.6

Fixed wrong cast and invalid array access in the calibration framework,
as documented in PR kern/45872. The AA() macro accessed sample
coordinates as long integers, whereas they are really stored as signed
integers.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.4.64.1 src/sys/dev/wscons/mra.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/luna68k/stand/boot

2014-04-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Apr 16 11:18:00 UTC 2014

Modified Files:
src/sys/arch/luna68k/stand/boot: lance.c machdep.c sc.c

Log Message:
Appease gcc 4.8 -Wunused-but-set-variable warnings.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/luna68k/stand/boot/lance.c \
src/sys/arch/luna68k/stand/boot/machdep.c
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/luna68k/stand/boot/sc.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/luna68k/stand/boot

2014-04-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Apr 16 12:01:53 UTC 2014

Modified Files:
src/sys/arch/luna68k/stand/boot: sd.c

Log Message:
Check a status code and return proper errno in sdstrategy().

Suggested by gcc 4.8 -Wunused-but-set-variable warning to use the variable.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/luna68k/stand/boot/sd.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/luna68k/stand/boot

2014-04-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Apr 16 13:43:02 UTC 2014

Modified Files:
src/sys/arch/luna68k/stand/boot: devopen.c init_main.c samachdep.h
version

Log Message:
Use booted device unit if no unit number is specified on boot command.

Bump version to denote a visible change.


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/sys/arch/luna68k/stand/boot/devopen.c
cvs rdiff -u -r1.13 -r1.14 src/sys/arch/luna68k/stand/boot/init_main.c
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/luna68k/stand/boot/samachdep.h
cvs rdiff -u -r1.10 -r1.11 src/sys/arch/luna68k/stand/boot/version

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



CVS commit: src/sys/arch/x68k/stand/boot_ustar

2014-04-16 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Wed Apr 16 14:33:43 UTC 2014

Modified Files:
src/sys/arch/x68k/stand/boot_ustar: Makefile

Log Message:
Put back "-Wa,-march=m68000 -Wa,-mcpu=m68000" for AFLAGS for X68000 models.

See my post in source-changes-d@ for details.
http://mail-index.netbsd.org/source-changes-d/2014/04/15/msg006723.html

Also use "-m68000" for CFLAGS for consistency.
(the previous -m68020-60 was harmless because vers.c has
 only const strings and there is no instruction)


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/sys/arch/x68k/stand/boot_ustar/Makefile

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



CVS commit: src

2014-04-16 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Wed Apr 16 18:55:19 UTC 2014

Modified Files:
src/external/cddl/osnet/dist/uts/common/fs/zfs: zfs_vfsops.c
src/sys/coda: coda_vfsops.c
src/sys/fs/adosfs: advfsops.c
src/sys/fs/cd9660: cd9660_vfsops.c
src/sys/fs/efs: efs_vfsops.c
src/sys/fs/filecorefs: filecore_vfsops.c
src/sys/fs/hfs: hfs_vfsops.c
src/sys/fs/msdosfs: msdosfs_vfsops.c
src/sys/fs/nilfs: nilfs_vfsops.c
src/sys/fs/ntfs: ntfs_vfsops.c
src/sys/fs/ptyfs: ptyfs_vfsops.c
src/sys/fs/puffs: puffs_vfsops.c
src/sys/fs/smbfs: smbfs_vfsops.c
src/sys/fs/sysvbfs: sysvbfs_vfsops.c
src/sys/fs/tmpfs: tmpfs_vfsops.c
src/sys/fs/udf: udf_vfsops.c
src/sys/fs/union: union_vfsops.c
src/sys/fs/unionfs: unionfs_vfsops.c
src/sys/fs/v7fs: v7fs_vfsops.c
src/sys/kern: vfs_syscalls.c
src/sys/miscfs/nullfs: null_vfsops.c
src/sys/miscfs/overlay: overlay_vfsops.c
src/sys/miscfs/procfs: procfs_vfsops.c
src/sys/miscfs/umapfs: umap_vfsops.c
src/sys/nfs: nfs_vfsops.c
src/sys/ufs/chfs: chfs_vfsops.c
src/sys/ufs/ext2fs: ext2fs_vfsops.c
src/sys/ufs/ffs: ffs_vfsops.c
src/sys/ufs/lfs: lfs_vfsops.c
src/sys/ufs/mfs: mfs_vfsops.c

Log Message:
An (un)privileged user can easily make the kernel dereference a NULL
pointer.

The kernel allows 'data' to be NULL; it's the fs's responsibility to
ensure that it isn't NULL (if the fs actually needs data).

ok christos@


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 \
src/external/cddl/osnet/dist/uts/common/fs/zfs/zfs_vfsops.c
cvs rdiff -u -r1.80 -r1.81 src/sys/coda/coda_vfsops.c
cvs rdiff -u -r1.69 -r1.70 src/sys/fs/adosfs/advfsops.c
cvs rdiff -u -r1.83 -r1.84 src/sys/fs/cd9660/cd9660_vfsops.c
cvs rdiff -u -r1.24 -r1.25 src/sys/fs/efs/efs_vfsops.c
cvs rdiff -u -r1.75 -r1.76 src/sys/fs/filecorefs/filecore_vfsops.c
cvs rdiff -u -r1.30 -r1.31 src/sys/fs/hfs/hfs_vfsops.c
cvs rdiff -u -r1.106 -r1.107 src/sys/fs/msdosfs/msdosfs_vfsops.c
cvs rdiff -u -r1.15 -r1.16 src/sys/fs/nilfs/nilfs_vfsops.c
cvs rdiff -u -r1.93 -r1.94 src/sys/fs/ntfs/ntfs_vfsops.c
cvs rdiff -u -r1.49 -r1.50 src/sys/fs/ptyfs/ptyfs_vfsops.c
cvs rdiff -u -r1.109 -r1.110 src/sys/fs/puffs/puffs_vfsops.c
cvs rdiff -u -r1.99 -r1.100 src/sys/fs/smbfs/smbfs_vfsops.c
cvs rdiff -u -r1.42 -r1.43 src/sys/fs/sysvbfs/sysvbfs_vfsops.c
cvs rdiff -u -r1.58 -r1.59 src/sys/fs/tmpfs/tmpfs_vfsops.c
cvs rdiff -u -r1.66 -r1.67 src/sys/fs/udf/udf_vfsops.c
cvs rdiff -u -r1.71 -r1.72 src/sys/fs/union/union_vfsops.c
cvs rdiff -u -r1.12 -r1.13 src/sys/fs/unionfs/unionfs_vfsops.c
cvs rdiff -u -r1.9 -r1.10 src/sys/fs/v7fs/v7fs_vfsops.c
cvs rdiff -u -r1.478 -r1.479 src/sys/kern/vfs_syscalls.c
cvs rdiff -u -r1.87 -r1.88 src/sys/miscfs/nullfs/null_vfsops.c
cvs rdiff -u -r1.60 -r1.61 src/sys/miscfs/overlay/overlay_vfsops.c
cvs rdiff -u -r1.90 -r1.91 src/sys/miscfs/procfs/procfs_vfsops.c
cvs rdiff -u -r1.91 -r1.92 src/sys/miscfs/umapfs/umap_vfsops.c
cvs rdiff -u -r1.226 -r1.227 src/sys/nfs/nfs_vfsops.c
cvs rdiff -u -r1.10 -r1.11 src/sys/ufs/chfs/chfs_vfsops.c
cvs rdiff -u -r1.179 -r1.180 src/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -u -r1.296 -r1.297 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -u -r1.320 -r1.321 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -u -r1.106 -r1.107 src/sys/ufs/mfs/mfs_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-04-16 Thread Maxime Villard
Module Name:src
Committed By:   maxv
Date:   Wed Apr 16 19:25:28 UTC 2014

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

Log Message:
Some fs's - like kernfs - set their vfs_min_mount_data to zero. Add a check
to prevent an (un)privileged user from requesting a zero-sized allocation
(and thus a panic).


To generate a diff of this commit:
cvs rdiff -u -r1.479 -r1.480 src/sys/kern/vfs_syscalls.c

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




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

2014-04-16 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Wed Apr 16 20:39:55 UTC 2014

Modified Files:
src/common/lib/libc/string: bcopy.c

Log Message:
Undef possible macro versions of memcpy and friends for kernel builds
too. libkern sometimes defines them to the builtins.


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/common/lib/libc/string/bcopy.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/arm/samsung

2014-04-16 Thread Reinoud Zandijk
Module Name:src
Committed By:   reinoud
Date:   Wed Apr 16 21:28:51 UTC 2014

Modified Files:
src/sys/arch/arm/samsung: exynos_soc.c exynos_sscom.c sscom.c
sscom_var.h

Log Message:
Teach sscom attachment, also the console, to use the busspace handle of the
main register space.

While here, map in the correct amount of memory or bus_space_map() won't
return an error but will wedge the system.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/samsung/exynos_soc.c
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/arm/samsung/exynos_sscom.c \
src/sys/arch/arm/samsung/sscom.c src/sys/arch/arm/samsung/sscom_var.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/arm/arm

2014-04-16 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Apr 16 22:33:07 UTC 2014

Modified Files:
src/sys/arch/arm/arm: arm_machdep.c

Log Message:
Pendantic structure member initialization.  (setting a field to 0 which is 0).


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/arm/arm/arm_machdep.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-04-16 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Wed Apr 16 22:34:02 UTC 2014

Modified Files:
src/sys/rump/librump/rumpkern: lwproc.c

Log Message:
Reparent children of a dying lwproc.  Fixes wpa_supplicant -B (and
most likely a bunch of other things).


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/rump/librump/rumpkern/lwproc.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/arm/cortex

2014-04-16 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Apr 16 22:40:00 UTC 2014

Modified Files:
src/sys/arch/arm/cortex: pl310.c

Log Message:
Allow l2cc base to gotten from device properties.


To generate a diff of this commit:
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/arm/cortex/pl310.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/arm/conf

2014-04-16 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Apr 16 22:40:24 UTC 2014

Modified Files:
src/sys/arch/arm/conf: majors.arm32

Log Message:
Add ctcom


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/arm/conf/majors.arm32

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



CVS commit: src/sys/arch/arm/pic

2014-04-16 Thread Matt Thomas
Module Name:src
Committed By:   matt
Date:   Wed Apr 16 22:44:43 UTC 2014

Modified Files:
src/sys/arch/arm/pic: pic_splfuncs.c

Log Message:
Do softints after restoring interrupts


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/arm/pic/pic_splfuncs.c

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