CVS commit: src/sys/kern

2012-11-17 Thread Juergen Hannken-Illjes
Module Name:src
Committed By:   hannken
Date:   Sat Nov 17 10:10:18 UTC 2012

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

Log Message:
wapbl_biodone: Release the buffer before reclaiming the log.
wapbl_flush() may wait for the log to become empty and
all buffers should be unbusy before it returns.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/sys/kern/vfs_wapbl.c

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



CVS commit: src/share/misc

2012-11-17 Thread Marc Balmer
Module Name:src
Committed By:   mbalmer
Date:   Sat Nov 17 13:15:25 UTC 2012

Modified Files:
src/share/misc: flowers

Log Message:
Correct spelling of "Lily" and "Camellia".  From FreeBSD.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/share/misc/flowers

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

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 15:50:13 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/xxboot: boot.S

Log Message:
Pull fixes in comments from x68k/stand/boot_ufs/boot.S rev 1.9 and 1.10.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/boot.S

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

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 15:53:21 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/xxboot: boot.S

Log Message:
Use a correct function name in .globl decl.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/boot.S

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

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 15:59:28 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/xxboot: bootmain.c

Log Message:
- fix comments
- use proper uintNN_t types
- use ANSI function decls
- remove unnecessary function decl
- remove __P()
- misc KNF and cosmetics


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/bootmain.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/x68k/stand/xxboot

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 16:02:00 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/xxboot: xx.c

Log Message:
- use declarations in 
- remove __P() and some KNF
- remove extern variable decl
- use uintNN_t type


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/xx.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

2012-11-17 Thread Jonathan A. Kollasch
Module Name:src
Committed By:   jakllsch
Date:   Sat Nov 17 16:03:48 UTC 2012

Modified Files:
src/sys/ufs/ext2fs: ext2fs_extern.h

Log Message:
Match prototype types to function types (u_int64_t vs. uint64_t).


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/ufs/ext2fs/ext2fs_extern.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/x68k/stand/xxboot

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 16:16:46 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/xxboot: bootmain.c

Log Message:
Set *file for FS_OPS() pathname properly in devopen().
Now bootxx_ffsv1 (and other bootxx ufs variants) work properly.

XXX: cd9660_open() in sys/lib/libsa/cd9660.c seems to open a file in
 the first entry of root directory if specified path is empty.
 Not sure if it's intentional behavoir.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/bootmain.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/kern/lib/libsys_linux

2012-11-17 Thread Antti Kantee
Module Name:src
Committed By:   pooka
Date:   Sat Nov 17 16:38:23 UTC 2012

Modified Files:
src/sys/rump/kern/lib/libsys_linux: component.c

Log Message:
include correct header


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/rump/kern/lib/libsys_linux/component.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/x68k/stand/xxboot

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 17:51:10 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2: Makefile

Log Message:
Appease warning "nbmake: ${TOUCHPROG} expands to empty string".


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1/Makefile
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2/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/x68k/stand/xxboot

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 17:59:00 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2: Makefile

Log Message:
Fix previous; no need to echo dummy command.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1/Makefile
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2/Makefile
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1/Makefile
cvs rdiff -u -r1.2 -r1.3 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2/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/x68k/stand/xxboot

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 19:10:47 UTC 2012

Modified Files:
src/sys/arch/x68k/stand/xxboot: bootmain.c version
src/sys/arch/x68k/stand/xxboot/cdboot_cd9660: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1: Makefile
src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2: Makefile

Log Message:
Make xxboot for ufs variants actually functional:
- set bootdev properly even on SCSI HD and floppy boot
  per SDBOOT/FDBOOT/CDBOOT defines in each Makefile
- always print xxboot name and version
- use IOCS PRINT calls instead of printf to avoid size overflow in DEBUG case
- wrap debug stuff with #ifdef XXBOOT_DEBUG
- bump version to denote changes
Mostly taken from old boot_ufs.

XXX: xxboot_lfs[12] are untested.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/xxboot/bootmain.c
cvs rdiff -u -r1.1 -r1.2 src/sys/arch/x68k/stand/xxboot/version
cvs rdiff -u -r1.1 -r1.2 \
src/sys/arch/x68k/stand/xxboot/cdboot_cd9660/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv1/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/xxboot/xxboot_ffsv2/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv1/Makefile
cvs rdiff -u -r1.3 -r1.4 src/sys/arch/x68k/stand/xxboot/xxboot_lfsv2/Makefile

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



CVS commit: src/distrib/utils/sysinst/arch/x68k

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 19:35:55 UTC 2012

Modified Files:
src/distrib/utils/sysinst/arch/x68k: md.h

Log Message:
Define HAVE_UFS2_BOOT to enable UFS2 root in sysinst.

UFS2 support for secondary boot was added on March 2012:
http://mail-index.netbsd.org/source-changes/2012/03/20/msg033042.html
Note prinary boot_ufs has supported UFS2 since 2003:
http://mail-index.netbsd.org/source-changes/2003/04/09/0036.html


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/distrib/utils/sysinst/arch/x68k/md.h

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



CVS commit: src/distrib/utils/sysinst

2012-11-17 Thread Izumi Tsutsui
Module Name:src
Committed By:   tsutsui
Date:   Sat Nov 17 20:34:24 UTC 2012

Modified Files:
src/distrib/utils/sysinst: disks.c

Log Message:
Don't show a disk which is mounted as root partition
in the "Available disks" list during sysinst procedure
to prevent users from shooting their foot in case of
installation using install-image on a USB stick.
Per suggestion in PR/47195.


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 src/distrib/utils/sysinst/disks.c

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



CVS commit: src

2012-11-17 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Sat Nov 17 21:55:24 UTC 2012

Modified Files:
src/distrib/sets/lists/tests: mi
src/sys/kern: kern_event.c
src/tests/kernel/kqueue: Makefile
Added Files:
src/tests/kernel/kqueue: t_proc3.c

Log Message:
Unbreak the NOTE_TRACK event of EVFILT_PROC. When attaching to the child
process, proc_find can't be used as the child is still in state SIDL.


To generate a diff of this commit:
cvs rdiff -u -r1.504 -r1.505 src/distrib/sets/lists/tests/mi
cvs rdiff -u -r1.76 -r1.77 src/sys/kern/kern_event.c
cvs rdiff -u -r1.2 -r1.3 src/tests/kernel/kqueue/Makefile
cvs rdiff -u -r0 -r1.1 src/tests/kernel/kqueue/t_proc3.c

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



CVS commit: src/etc/root

2012-11-17 Thread Valeriy E. Ushakov
Module Name:src
Committed By:   uwe
Date:   Sat Nov 17 23:08:38 UTC 2012

Modified Files:
src/etc/root: Makefile

Log Message:
We don't need to include  to install a few config files
just  and  is enough.

Noticed because  sets LINKSMODE to BINMODE and that does
the wrong thing at least for unprivileged builds.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/etc/root/Makefile

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



CVS commit: src/sys

2012-11-17 Thread Chuck Silvers
Module Name:src
Committed By:   chs
Date:   Sun Nov 18 00:06:57 UTC 2012

Modified Files:
src/sys/kern: kern_ksyms.c
src/sys/sys: ksyms.h

Log Message:
make ksyms structures not depend on KDTRACE_HOOKS.
always include a CTF section, even though it might be empty.
this fixes savecore's generated kernel symbol table files.


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/kern/kern_ksyms.c
cvs rdiff -u -r1.27 -r1.28 src/sys/sys/ksyms.h

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