CVS commit: src/usr.bin/tail
Module Name:src Committed By: christos Date: Sat Sep 3 09:02:20 UTC 2011 Modified Files: src/usr.bin/tail: extern.h forward.c misc.c read.c reverse.c tail.c Log Message: Instead of declaring our own err() which is different than the standard one, and using it incorrectly in a few places because of confusion (does it print errno or not?), declare two versions following the standard ones xerrx and, xerr, and use those as appropriate, implementing them using them vwarn and vwarnx. To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.bin/tail/extern.h cvs rdiff -u -r1.29 -r1.30 src/usr.bin/tail/forward.c cvs rdiff -u -r1.6 -r1.7 src/usr.bin/tail/misc.c cvs rdiff -u -r1.15 -r1.16 src/usr.bin/tail/read.c cvs rdiff -u -r1.20 -r1.21 src/usr.bin/tail/reverse.c cvs rdiff -u -r1.14 -r1.15 src/usr.bin/tail/tail.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
Module Name:src Committed By: christos Date: Sat Sep 3 10:28:33 UTC 2011 Modified Files: src/sys/kern: kern_sleepq.c Log Message: We need to process SA_STOP signals immediately, and not deliver them to the process. Instead of re-structuring the code to do that, call issignal() like before in that case. (tail -F /file^Zfg should not get interrupted). To generate a diff of this commit: cvs rdiff -u -r1.42 -r1.43 src/sys/kern/kern_sleepq.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/tail
Module Name:src Committed By: christos Date: Sat Sep 3 10:35:13 UTC 2011 Modified Files: src/usr.bin/tail: reverse.c Log Message: leave the original errno as it was. don't report EFBIG on all mmap failures. To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/usr.bin/tail/reverse.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/tail
Module Name:src Committed By: christos Date: Sat Sep 3 10:59:11 UTC 2011 Modified Files: src/usr.bin/tail: forward.c read.c reverse.c tail.c Log Message: minor knf, no functional change. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/usr.bin/tail/forward.c cvs rdiff -u -r1.16 -r1.17 src/usr.bin/tail/read.c cvs rdiff -u -r1.22 -r1.23 src/usr.bin/tail/reverse.c cvs rdiff -u -r1.15 -r1.16 src/usr.bin/tail/tail.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/usermode/dev
Module Name:src Committed By: reinoud Date: Sat Sep 3 12:25:31 UTC 2011 Modified Files: src/sys/arch/usermode/dev: cpu.c Log Message: Oops forgot to commit this one To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/sys/arch/usermode/dev/cpu.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/usermode
Module Name:src Committed By: jmcneill Date: Sat Sep 3 12:28:46 UTC 2011 Modified Files: src/sys/arch/usermode/conf: Makefile.usermode files.usermode std.usermode src/sys/arch/usermode/usermode: pmap.c Added Files: src/sys/arch/usermode/include: urkelvisor.h src/sys/arch/usermode/usermode: urkelvisor.c Log Message: Add usermode kernel supervisor, can be disabled with 'no options URKELVISOR' To generate a diff of this commit: cvs rdiff -u -r1.15 -r1.16 src/sys/arch/usermode/conf/Makefile.usermode cvs rdiff -u -r1.7 -r1.8 src/sys/arch/usermode/conf/files.usermode cvs rdiff -u -r1.5 -r1.6 src/sys/arch/usermode/conf/std.usermode cvs rdiff -u -r0 -r1.1 src/sys/arch/usermode/include/urkelvisor.h cvs rdiff -u -r1.50 -r1.51 src/sys/arch/usermode/usermode/pmap.c cvs rdiff -u -r0 -r1.1 src/sys/arch/usermode/usermode/urkelvisor.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/usermode/usermode
Module Name:src Committed By: jmcneill Date: Sat Sep 3 12:33:03 UTC 2011 Modified Files: src/sys/arch/usermode/usermode: machdep.c pmap.c Log Message: move call of urkelvisor_init to main instead of pmap_bootstrap To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/sys/arch/usermode/usermode/machdep.c cvs rdiff -u -r1.51 -r1.52 src/sys/arch/usermode/usermode/pmap.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/usermode/usermode
Module Name:src Committed By: jmcneill Date: Sat Sep 3 12:48:22 UTC 2011 Modified Files: src/sys/arch/usermode/usermode: urkelvisor.c Log Message: if emulating the syscall, toggle insyscall as the child won't get stopped a second time To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/sys/arch/usermode/usermode/urkelvisor.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
Module Name:src Committed By: christos Date: Sat Sep 3 13:22:56 UTC 2011 Modified Files: src/usr.bin/fstat: fstat.1 Log Message: Mention that fstat -f will not list open unix sockets on that filesystem. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/usr.bin/fstat/fstat.1 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
Module Name:src Committed By: christos Date: Sat Sep 3 13:24:19 UTC 2011 Modified Files: src/usr.bin/fstat: fstat.c Log Message: - minor KNF - for system processes (0, 1) where fd_lastfile == -1, fail early. - instead of printing the pcb connection address, print the pathname if possible for unix domain sockets. To generate a diff of this commit: cvs rdiff -u -r1.90 -r1.91 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/sys/kern
Module Name:src Committed By: christos Date: Sat Sep 3 14:09:03 UTC 2011 Modified Files: src/sys/kern: kern_acct.c Log Message: Make sure that we initialize all accounting bytes. To generate a diff of this commit: cvs rdiff -u -r1.92 -r1.93 src/sys/kern/kern_acct.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/usermode/include
Module Name:src Committed By: jmcneill Date: Sat Sep 3 14:23:50 UTC 2011 Modified Files: src/sys/arch/usermode/include: asm.h bswap.h byte_swap.h disklabel.h elf_machdep.h endian.h endian_machdep.h int_const.h int_fmtio.h int_limits.h int_mwgwtypes.h int_types.h limits.h netbsd32_machdep.h param.h ptrace.h wchar_limits.h Added Files: src/sys/arch/usermode/include: Makefile.headers genheaders.sh Log Message: Instead of doing #include , use the headers that ship with the kernel sources as #include "../../$host/include/$hdr", and auto-generate these ugly headers with a script. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/sys/arch/usermode/include/Makefile.headers \ src/sys/arch/usermode/include/genheaders.sh cvs rdiff -u -r1.2 -r1.3 src/sys/arch/usermode/include/asm.h \ src/sys/arch/usermode/include/bswap.h \ src/sys/arch/usermode/include/byte_swap.h \ src/sys/arch/usermode/include/elf_machdep.h \ src/sys/arch/usermode/include/endian.h \ src/sys/arch/usermode/include/endian_machdep.h \ src/sys/arch/usermode/include/int_const.h \ src/sys/arch/usermode/include/int_fmtio.h \ src/sys/arch/usermode/include/int_limits.h \ src/sys/arch/usermode/include/int_mwgwtypes.h \ src/sys/arch/usermode/include/int_types.h \ src/sys/arch/usermode/include/limits.h \ src/sys/arch/usermode/include/netbsd32_machdep.h \ src/sys/arch/usermode/include/param.h \ src/sys/arch/usermode/include/wchar_limits.h cvs rdiff -u -r1.4 -r1.5 src/sys/arch/usermode/include/disklabel.h \ src/sys/arch/usermode/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/arch/usermode
Module Name:src Committed By: jmcneill Date: Sat Sep 3 15:00:28 UTC 2011 Modified Files: src/sys/arch/usermode/conf: Makefile.usermode src/sys/arch/usermode/dev: cpu.c ld_thunkbus.c src/sys/arch/usermode/include: thunk.h src/sys/arch/usermode/usermode: machdep.c thunk.c trap.c urkelvisor.c Log Message: Get this compiling (but not quite linking yet) on Linux To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/sys/arch/usermode/conf/Makefile.usermode cvs rdiff -u -r1.25 -r1.26 src/sys/arch/usermode/dev/cpu.c cvs rdiff -u -r1.6 -r1.7 src/sys/arch/usermode/dev/ld_thunkbus.c cvs rdiff -u -r1.23 -r1.24 src/sys/arch/usermode/include/thunk.h cvs rdiff -u -r1.21 -r1.22 src/sys/arch/usermode/usermode/machdep.c cvs rdiff -u -r1.26 -r1.27 src/sys/arch/usermode/usermode/thunk.c cvs rdiff -u -r1.18 -r1.19 src/sys/arch/usermode/usermode/trap.c cvs rdiff -u -r1.2 -r1.3 src/sys/arch/usermode/usermode/urkelvisor.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/usermode/usermode
Module Name:src Committed By: reinoud Date: Sat Sep 3 15:33:56 UTC 2011 Modified Files: src/sys/arch/usermode/usermode: trap.c Log Message: Add SIGILL handler, doing nothing than printing out details. Move the address check to be done later so pmap and uvm have their go first. Also some minor cosmetic fixes To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/sys/arch/usermode/usermode/trap.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/usb
Module Name:src Committed By: mlelstv Date: Sat Sep 3 16:19:47 UTC 2011 Modified Files: src/sys/dev/usb: usbdevs Log Message: Correct vendor code for Kingston DT101 G2 To generate a diff of this commit: cvs rdiff -u -r1.593 -r1.594 src/sys/dev/usb/usbdevs 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
Module Name:src Committed By: mlelstv Date: Sat Sep 3 16:21:18 UTC 2011 Modified Files: src/sys/dev/usb: usbdevs.h usbdevs_data.h Log Message: Regenerate for Kingston DT101 G2 To generate a diff of this commit: cvs rdiff -u -r1.586 -r1.587 src/sys/dev/usb/usbdevs.h cvs rdiff -u -r1.587 -r1.588 src/sys/dev/usb/usbdevs_data.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/usermode
Module Name:src Committed By: jmcneill Date: Sat Sep 3 18:42:13 UTC 2011 Modified Files: src/sys/arch/usermode/conf: Makefile.usermode files.usermode src/sys/arch/usermode/include: thunk.h src/sys/arch/usermode/usermode: pmap.c thunk.c Log Message: Let NetBSD/usermode build & link on a Linux host: - Need to add options CPU_HOST=i386 or CPU_HOST=amd64 for membar & atomic_ops - Don't use MAP_* and PROT_* with thunk API since the kernel and host might not be the same; add THUNK_MAP_* and THUNK_PROT_* and translate them - Add thunk_posix_memalign - allocate mem_uvm with thunk_posix_memalign instead of thunk_malloc - Fix thunk_mmap callers to always pass either THUNK_MAP_PRIVATE or THUNK_MAP_SHARED - mkstemp on Linux requires exactly 6 "X" characters at the end of the template string, so add an X To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/sys/arch/usermode/conf/Makefile.usermode cvs rdiff -u -r1.8 -r1.9 src/sys/arch/usermode/conf/files.usermode cvs rdiff -u -r1.24 -r1.25 src/sys/arch/usermode/include/thunk.h cvs rdiff -u -r1.52 -r1.53 src/sys/arch/usermode/usermode/pmap.c cvs rdiff -u -r1.27 -r1.28 src/sys/arch/usermode/usermode/thunk.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/usermode
Module Name:src Committed By: jmcneill Date: Sat Sep 3 19:06:49 UTC 2011 Modified Files: src/sys/arch/usermode/conf: Makefile.usermode src/sys/arch/usermode/dev: cpu.c Log Message: unbreak build on netbsd To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/arch/usermode/conf/Makefile.usermode cvs rdiff -u -r1.26 -r1.27 src/sys/arch/usermode/dev/cpu.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/usermode/dev
Module Name:src Committed By: jmcneill Date: Sat Sep 3 19:07:32 UTC 2011 Modified Files: src/sys/arch/usermode/dev: ld_thunkbus.c Log Message: add a workaround for kern/45327 To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/usermode/dev/ld_thunkbus.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
Module Name:src Committed By: christos Date: Sat Sep 3 19:33:40 UTC 2011 Modified Files: src/sys/kern: kern_sig.c Log Message: PR/45327: Jared McNeill: ptrace: siginfo doesn't work with traced processes When saving the signal in p->p_xstat, clear it from the pending mask, but don't remove it from the siginfo queue, so that next time the debugger delivers it, the original information is found. When posting a signal from the debugger l->l_sigpendset is not set, so we use the process pending signal and add it back to the process pending set. To generate a diff of this commit: cvs rdiff -u -r1.312 -r1.313 src/sys/kern/kern_sig.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/usermode/dev
Module Name:src Committed By: jmcneill Date: Sat Sep 3 20:02:34 UTC 2011 Modified Files: src/sys/arch/usermode/dev: ld_thunkbus.c Log Message: Now that pr45327 is fixed, remove BROKEN_SIGINFO code. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/sys/arch/usermode/dev/ld_thunkbus.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
CVS commit: [cherry-xenmp] src/sys/arch/xen/xen
Module Name:src Committed By: mhitch Date: Sun Sep 4 01:15:14 UTC 2011 Modified Files: src/sys/arch/xen/xen [cherry-xenmp]: xengnt.c Log Message: Use a mutex to protect updates to gnt_entries. Fixes a KASSERT panic with an MP kernel. To generate a diff of this commit: cvs rdiff -u -r1.18.2.1 -r1.18.2.2 src/sys/arch/xen/xen/xengnt.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.