CVS commit: src

2016-11-21 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Nov 22 03:52:02 UTC 2016 Modified Files: src/distrib/sets/lists/comp: mi src/lib/libpthread_dbg: Makefile pthread_dbg.3 Added Files: src/lib/libpthread_dbg: td_map_pth2thr.3 Log Message: Document td_map_pth2thr(

CVS commit: src/lib/libpthread_dbg

2016-11-21 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Nov 22 04:17:05 UTC 2016 Modified Files: src/lib/libpthread_dbg: pthread_dbg.c Log Message: Simplify (pthread_t)pt_magic read in td_map_pth2thr(3) No functional change. All ATF tests for pthread_dbg(3) still pass. Sponsored b

CVS commit: src/lib/libpthread_dbg

2016-11-21 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Nov 22 04:51:06 UTC 2016 Modified Files: src/lib/libpthread_dbg: pthread_dbg.c pthread_dbg.h Log Message: Obsolete thread_type in td_thread_info_st in The thread_type is irrelevant as all local POSIX threads are in user-space

CVS commit: src/tests/kernel

2016-11-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Nov 22 19:46:26 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new tests io_read_d[1234] in t_ptrace_wait{,3,4,6,id,pid} io_read_d1: Verify PT_IO with PIOD_READ_D and len = sizeof(uint8_t) io_

CVS commit: src/tests/kernel

2016-11-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Nov 22 21:59:32 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new tests io_write_d[1234] in t_ptrace_wait{,3,4,6,id,pid} io_write_d1: Verify PT_IO with PIOD_WRITE_D and len = sizeof(uint8_t)

CVS commit: src/tests/kernel

2016-11-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Nov 23 01:49:05 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new tests io_write_d[1234] in t_ptrace_wait{,3,4,6,id,pid} write1: Verify PT_WRITE_D called once write2: Verify PT_WRITE_D ca

CVS commit: src/tests/kernel

2016-11-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Nov 23 03:02:56 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new tests read[1234] in t_ptrace_wait{,3,4,6,id,pid} read1: Verify PT_READ_D called once read2: Verify PT_READ_D called twice

CVS commit: src/tests/kernel

2016-11-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Nov 23 05:00:20 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add io_read_write_handshake to t_ptrace_wait{,3,4,6,id,pid} Verify PT_IO with PIOD_READ_D and PIOD_WRITE_D handshake Sponsored by To g

CVS commit: src/tests/kernel

2016-11-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Nov 23 19:46:51 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new test io_read_d_write_d_handshake2 in tests/kernel/t_ptrace_wait.c Rename io_read_write_handshake to io_read_d_write_d_handshake1.

CVS commit: src/tests/kernel

2016-11-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Nov 23 20:56:47 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Rename read* and write* tests to read_d* and write_d* The purpose of renaming is to make room for PT_READ_I and PT_WRITE_I type ptrace(2)

CVS commit: src/tests/kernel

2016-11-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Nov 23 21:14:23 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new tests read_d_write_d_handshake[12] in t_ptrace_wait{,3,4,6,id,pid} read_d_write_d_handshake1: Verify PT_READ_D with PT_WRITE_D

CVS commit: src/tests/kernel

2016-11-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Nov 23 23:30:50 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add {,io_}read_i[1234] in t_ptrace_wait{,3,4,6,id,pid} New tests are direct counterparts to the existing ones {,io_}read_d[1234]. PT_READ

CVS commit: src/lib/libc/sys

2016-11-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 24 00:12:52 UTC 2016 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: Remove duplicated PT_DUMPCORE description in machine-specific calls section This function is part of the general ptrace(2) interface. Sponsored

CVS commit: src/tests/kernel

2016-11-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 24 04:08:37 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add regs[12345] in t_ptrace_wait{,3,4,6,id,pid} Add new ATF tests for the general purpose register calls. These tests require platforms t

CVS commit: src/tests/kernel

2016-11-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 24 04:11:16 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Drop unwanted printf(3) call in regs5 in t_ptrace This call is reserved for other test. Sponsored by To generate a diff of this commit

CVS commit: src/regress/sys/kern/kqueue

2016-11-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 24 04:20:11 UTC 2016 Removed Files: src/regress/sys/kern/kqueue/ioctl: Makefile src/regress/sys/kern/kqueue/proc: Makefile Makefile.inc src/regress/sys/kern/kqueue/read: Makefile Makefile.inc src/regr

CVS commit: src/tests/kernel

2016-11-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 24 22:52:03 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add fpregs[12] in t_ptrace_wait{,3,4,6,id,pid} fpregs1: Verify plain PT_GETFPREGS call without further steps fpregs2: Verify PT_G

CVS commit: src/tests/kernel

2016-11-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Nov 25 20:01:05 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Fix several printf(3)-like functions usage with printing integers Integers as hex shall no be printed with PRIx8, but with plain "x". Poi

CVS commit: src/tests/kernel

2016-11-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Nov 26 02:34:50 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Print integers as hex with %#x rather than with plain %x # if used with o, x or X specifiers the value is preceeded with 0, 0x or 0X respe

CVS commit: src/share/misc

2016-11-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Nov 26 03:33:34 UTC 2016 Modified Files: src/share/misc: acronyms.comp Log Message: Add: PCB process control block To generate a diff of this commit: cvs rdiff -u -r1.168 -r1.169 src/share/misc/acronyms.comp Please note that

CVS commit: src/sys/arch/amd64/amd64

2016-11-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Nov 27 02:32:56 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S Log Message: Fix rdr6() function on amd64 According to the AMD64 SysV ABI the first returned value is passed in RAX, not in RDI. Actually RDI is used

CVS commit: src/sys/arch

2016-11-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Nov 27 14:49:21 UTC 2016 Modified Files: src/sys/arch/amd64/amd64: cpufunc.S src/sys/arch/i386/i386: i386func.S src/sys/arch/x86/include: cpufunc.h src/sys/arch/xen/x86: xenfunc.c Added Files: src

CVS commit: src/tests/kernel

2016-11-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Nov 28 21:37:00 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new test step1 in t_prace_wait{,3,4,6,id,pid} under PT_STEP guards step1: Verify single PT_STEP call. This function is calculating

CVS commit: src/tests/kernel

2016-11-29 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Nov 29 21:31:45 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add more tests for PT_STEP step[234] in t_ptrace_wait{,3,4,6,id,pid} step2: Verify PT_STEP called twice step3: Verify PT_STEP cal

CVS commit: src/tests/kernel

2016-11-29 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Nov 29 21:58:14 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new tests dbregs[12] in t_ptrace_wait{,3,4,6,id,pid} dbregs1: Verify plain PT_GETDBREGS call without further steps dbregs2: V

CVS commit: src/tests/kernel

2016-11-30 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Nov 30 21:12:53 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new tests kill[12] in t_ptrace_wait{,3,4,6,id,pid} New tests verify that PT_CONTINUE with SIGKILL is equivalent to PT_KILL. kill1:

CVS commit: src/tests/kernel

2016-12-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 1 20:11:17 UTC 2016 Modified Files: src/tests/kernel: Makefile t_ptrace_wait.c Added Files: src/tests/kernel: t_ptrace_amd64_wait.c t_ptrace_amd64_wait3.c t_ptrace_amd64_wait4.c t_ptrace_amd64_wait6.c

CVS commit: src/distrib/sets/lists

2016-12-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 1 20:23:11 UTC 2016 Modified Files: src/distrib/sets/lists/debug: mi src/distrib/sets/lists/tests: mi Log Message: Add t_ptrace_amd64_wait{,3,4,6,id,pid} tests Sponsored by To generate a diff of this commit: cv

CVS commit: src/distrib/sets/lists

2016-12-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Dec 2 00:50:09 UTC 2016 Modified Files: src/distrib/sets/lists/debug: mi src/distrib/sets/lists/tests: mi Log Message: Fix !amd64 sets Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.181 -r1.182 sr

CVS commit: src

2016-12-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Dec 2 05:54:15 UTC 2016 Modified Files: src/distrib/sets/lists/debug: mi src/distrib/sets/lists/tests: mi src/etc/mtree: NetBSD.dist.tests src/tests/kernel: Makefile Added Files: src/tests/kernel

CVS commit: src/tests/kernel/arch/amd64

2016-12-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Dec 2 06:49:00 UTC 2016 Modified Files: src/tests/kernel/arch/amd64: t_ptrace_wait.c Log Message: Add new tests dbregs[2345] in MD arch/amd64/ t_ptrace_wait{,3,4,6,id,pid} dbregs2: Verify that setting DR0 is preserved acr

CVS commit: src/tests/kernel/arch/amd64

2016-12-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Dec 3 01:41:15 UTC 2016 Modified Files: src/tests/kernel/arch/amd64: t_ptrace_wait.c Log Message: Define new tests for CPU Debug Registers in t_ptrace_wait{,3,4,6,id,pid} Rename dbregs1 to dbregs_print Rename dbregs[2345] to

CVS commit: src/tests/kernel

2016-12-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Dec 3 07:23:08 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new tests lwpinfo1 in t_ptrace_wait* and lwpinfo2 under HAVE_PID guard lwpinfo1: Verify baic LWPINFO call for single thread (PT_TR

CVS commit: src/tests/kernel/arch/amd64

2016-12-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Dec 4 03:38:58 UTC 2016 Modified Files: src/tests/kernel/arch/amd64: t_ptrace_wait.c Log Message: Add dbregs_dr[0123]_trap_variable in arch/amd64/t_ptrace_wait* Add new preliminary tests for testing that CPU Debug Registers c

CVS commit: src/tests/kernel

2016-12-04 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Dec 4 23:48:02 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: lwpinfo1 and lwpinfo2 in t_ptrace_wait{,3,4,6,id,pid} no longer fails Remove atf_tc_expect_fail() linked with PR kern/51685. Issue fixed

CVS commit: src/tests/kernel

2016-12-04 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Dec 5 07:18:10 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Mark again lwpinfo2 with expected failure in t_ptrace_wait{,3,4,6,id,pid} Only failure lwpinfo1 was addressed, not lwpinfo2. PR kern/5168

CVS commit: src/sys/arch/riscv/riscv

2016-12-04 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Dec 5 07:24:16 UTC 2016 Modified Files: src/sys/arch/riscv/riscv: locore.S Log Message: Fix cpu_switchto(9) prototype in a comment To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/arch/riscv/riscv/locore.S

CVS commit: src/tests/kernel

2016-12-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 6 08:03:09 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Clean up after fixes and refactoring by Christos Zoulas No functional change, remove dead and unneeded code. Sponsored by To generate

CVS commit: src/tests/kernel/arch/amd64

2016-12-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Dec 7 22:24:44 UTC 2016 Modified Files: src/tests/kernel/arch/amd64: t_ptrace_wait.c Log Message: Stop using atf_utils_fork() in tests/kernel/arch/amd64/t_ptrace_wait.c Switch from: child = atf_utils_fork(); to: ATF_R

CVS commit: src/tests/kernel

2016-12-08 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 8 13:32:17 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Fix Clang/LLVM build Reported error: src/tests/kernel/t_ptrace_wait.c:4401:33: error: missing field 'pl_event' initializer

CVS commit: src/tests/lib/libc/gen/exect

2016-12-08 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Dec 9 04:00:36 UTC 2016 Added Files: src/tests/lib/libc/gen/exect: Makefile t_exect.c Log Message: Add new test t_exect to verify exect(2) This test is a clone of tests/lib/libc/gen/execve/t_execve t_exect_null: Tests an

CVS commit: src

2016-12-08 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Dec 9 06:12:02 UTC 2016 Modified Files: src/distrib/sets/lists/debug: mi src/distrib/sets/lists/tests: mi src/etc/mtree: NetBSD.dist.tests src/tests/lib/libc/gen: Makefile src/tests/lib/libc/gen/

CVS commit: src/tests/lib/libc/gen/exect

2016-12-08 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Dec 9 06:47:48 UTC 2016 Modified Files: src/tests/lib/libc/gen/exect: t_exect.c Log Message: Add check in t_exect_null to verify that SIGTRAP was emitted only once Currently this test fails on amd64. PR port-amd64/51700

CVS commit: src/tests/lib/libc/gen/exect

2016-12-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Dec 9 08:34:38 UTC 2016 Modified Files: src/tests/lib/libc/gen/exect: t_exect.c Log Message: Restrict atf_tc_expect_fail(PR port-amd64/51700) only for amd64 (x86_64) Other ports than amd64 have their own issues, mostly keepin

CVS commit: src/lib/libc/sys

2016-12-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Dec 10 20:02:07 UTC 2016 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: Remove outdated note in the PT_DUMPCORE call of the ptrace(2) man-page Currently the PT_DUMPCORE call requires process to be stopped, therefore i

CVS commit: src/tests/lib/libc/gen/exect

2016-12-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Dec 11 03:38:09 UTC 2016 Modified Files: src/tests/lib/libc/gen/exect: t_exect.c Log Message: Skip t_exect test because it makes test machines to hang exect(NULL,NULL,NULL) generates 15859 times SIGTRAP on amd64 Currently exec

CVS commit: src/distrib/sets/lists/comp

2016-12-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Dec 12 13:13:12 UTC 2016 Modified Files: src/distrib/sets/lists/comp: ad.aarch64 Log Message: Add missing files in distribution file lists to fix evbarm64-aarch64 build Add ./usr/libdata/ldscripts/aarch64elf{,b}.xd{,c,w} Test

CVS commit: src/doc

2016-12-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 13 09:44:35 UTC 2016 Added Files: src/doc: TODO.ptrace Log Message: Add initial TODO list for the ptrace(2) (and procfs) interface. Sponsored by To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/doc/TODO.ptr

CVS commit: src/sys/arch

2016-12-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 13 10:21:33 UTC 2016 Modified Files: src/sys/arch/x86/include: cpufunc.h src/sys/arch/xen/x86: xenfunc.c Log Message: Switch x86 CPU Debug Register types from vaddr_t to register_t This is more opaque and appropria

CVS commit: src/sys/arch

2016-12-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 13 10:54:27 UTC 2016 Modified Files: src/sys/arch/i386/conf: files.i386 src/sys/arch/i386/i386: trap.c src/sys/arch/x86/include: cpufunc.h src/sys/arch/x86/x86: pmap.c src/sys/arch/xen/conf: f

CVS commit: src/share/man/man4

2016-12-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 13 10:55:40 UTC 2016 Modified Files: src/share/man/man4: options.4 Log Message: KSTACK_CHECK_DR0 is no longer available It used to detect stackoverflow on the i386 port. Sponsored by To generate a diff of this commit:

CVS commit: src/doc

2016-12-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 13 11:01:10 UTC 2016 Modified Files: src/doc: CHANGES Log Message: options(4): Remove KSTACK_CHECK_DR0. To generate a diff of this commit: cvs rdiff -u -r1. -r1.2223 src/doc/CHANGES Please note that diffs are not pub

CVS commit: src/tests/kernel

2016-12-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 13 12:25:05 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Remove dbregs[12] from t_ptrace_wait{,3,4,6,id,pid} CPU Debug Registers won't be exposed as is to userland. Hardware Watchpoints will be

CVS commit: src/tests/kernel/arch/amd64

2016-12-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 13 12:59:46 UTC 2016 Modified Files: src/tests/kernel/arch/amd64: Makefile Log Message: Define in CPPFLAGS symbol _KERNTYPES in order to get PRIxREGISTER This type will be used in t_ptrace_wait* for the printf(3) function.

CVS commit: src/tests/kernel/arch/amd64

2016-12-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 13 13:04:18 UTC 2016 Modified Files: src/tests/kernel/arch/amd64: t_ptrace_wait.c Log Message: Add regs1 in arch/amd64/t_ptrace_wait* regs1: Call PT_GETREGS and iterate over General Purpose registers Sponsored by T

CVS commit: src/tests/kernel/arch/amd64

2016-12-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 13 13:09:00 UTC 2016 Modified Files: src/tests/kernel/arch/amd64: t_ptrace_wait.c Log Message: Remove dbregs* in arch/amd64/t_ptrace_wait* CPU Debug Registers won't be exposed as is to userland. Hardware Watchpoints will

CVS commit: src

2016-12-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 13 18:00:10 UTC 2016 Modified Files: src/distrib/sets/lists/debug: mi src/distrib/sets/lists/tests: mi src/etc/mtree: NetBSD.dist.tests src/tests/kernel/arch: Makefile Added Files: src/tests/k

CVS commit: src/tests/kernel

2016-12-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Dec 14 06:19:59 UTC 2016 Modified Files: src/tests/kernel: Makefile Log Message: Define -D_KERNTYPES in CPPFLAGS unconditionally to fix MKRUMP=no build Reported by Robert Swindells Sponsored by To generate a diff of this c

CVS commit: src/doc

2016-12-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Dec 14 06:26:04 UTC 2016 Modified Files: src/doc: TODO.ptrace Log Message: Update TODO.ptrace Add new entries: - add support for PT_STEP, PT_GETREGS, PT_SETREGS, PT_GETFPREGS, PT_SETFPREGS in all ports - integrate all ptr

CVS commit: src/doc

2016-12-14 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 15 07:47:08 UTC 2016 Modified Files: src/doc: TODO.ptrace Log Message: Add new entries to TODO.ptrace - add support for detecting equivalent events to PTRACE_O_TRACEEXEC, PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXIT from Li

CVS commit: src/tests/kernel

2016-12-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 15 08:57:24 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.h Log Message: Prepare t_ptrace_wait.h for hardware watchpoints API Add new symbol ATF_TP_ADD_TC_HAVE_PTRACE_WATCHPOINTS() to be protected with the __HAV

CVS commit: src

2016-12-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 15 12:04:18 UTC 2016 Modified Files: src/distrib/sets/lists/comp: md.amd64 md.i386 src/sys/arch/amd64/amd64: machdep.c netbsd32_machdep.c process_machdep.c trap.c src/sys/arch/amd64/conf: files.am

CVS commit: src/tests/kernel/arch/amd64

2016-12-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 15 12:15:20 UTC 2016 Modified Files: src/tests/kernel/arch/amd64: t_ptrace_wait.c Log Message: Add ATF tests for hardware assisted watchpoints on amd64 Addedd tests: - watchpoint_count - watchpoint_read - watchpoint_wri

CVS commit: src/sys/sys

2016-12-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 15 12:20:39 UTC 2016 Modified Files: src/sys/sys: param.h Log Message: Welcome to NetBSD 7.99.50! New ptrace(2) calls for hardware assisted watchpoints/breakpoints: - PT_COUNT_WATCHPOINTS, - PT_READ_WATCHPOINT, - PT_WRI

CVS commit: src/doc

2016-12-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 15 12:42:38 UTC 2016 Modified Files: src/doc: TODO.ptrace Log Message: Update TODO.ptrace with recent changes Hardware assisted breakpoint/watchpoint API has been merged with current. Add note about pthread_dbg(3) API nee

CVS commit: src/doc

2016-12-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 15 12:51:02 UTC 2016 Modified Files: src/doc: CHANGES Log Message: ptrace(2): Add hardware assisted breakpoint/watchpoint API: PT_READ_WATCHPOINT, PT_WRITE_WATCHPOINT and PT_COUNT_WATCHPOINTS To generate a diff

CVS commit: src/lib/libc/sys

2016-12-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 15 13:06:08 UTC 2016 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: ptrace(2): Remove dead text, some of it commented in this file for years For example PT_READ_U/PT_WRITE_U has been removed by in 19950126. Spon

CVS commit: src/lib/libc/sys

2016-12-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 15 14:49:46 UTC 2016 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: ptrace(2): Document PT_GETXMMREGS and PT_SETXMMREGS (i386 port specific) Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.42 -

CVS commit: src/lib/libc/sys

2016-12-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 15 15:03:17 UTC 2016 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: ptrace(2): Document PT_GETVECREGS and PT_SETVECREGS (ppc ports specific) Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.43 -

CVS commit: src/doc

2016-12-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Dec 19 03:19:37 UTC 2016 Modified Files: src/doc: TODO.ptrace Log Message: TODO.ptrace: Update notes about MD documentation Currently all the MD interfaces are documented, remove this line from TODO. Add new note: once the

CVS commit: src/external/gpl3/gcc/dist/libstdc++-v3

2016-12-21 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Dec 21 21:55:46 UTC 2016 Modified Files: src/external/gpl3/gcc/dist/libstdc++-v3/include/std: mutex src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11: mutex.cc Log Message: Add a walkaround for TLS bug in libstdc++ expo

CVS commit: src/sys/dev

2016-12-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 22 20:57:33 UTC 2016 Modified Files: src/sys/dev: cgd.c Log Message: The cgd(4) module requires des and blowfish symbols This has been exposed with the MODULAR kernel. kobj_checksyms, 979: [cgd]: linker error: symbol `BF_

CVS commit: src/doc

2016-12-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Dec 24 05:43:31 UTC 2016 Modified Files: src/doc: TODO.ptrace Log Message: Add new entry in TODO.ptrace New entry: - add ATF tests for SIGCHLD To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/doc/TODO.ptrace

CVS commit: src/external/gpl3/gcc/dist/libstdc++-v3

2016-12-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Dec 24 15:48:26 UTC 2016 Modified Files: src/external/gpl3/gcc/dist/libstdc++-v3/include/std: mutex src/external/gpl3/gcc/dist/libstdc++-v3/src/c++11: mutex.cc Log Message: Revert introduction of FIXME_PR_51139 This ch

CVS commit: src/doc

2016-12-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Dec 26 03:24:11 UTC 2016 Modified Files: src/doc: TODO.ptrace Log Message: Add new entry in TODO.ptrace + add ATF tests for PT_SYSCALL and PT_SYSCALLEMU Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.6 -

CVS commit: src/doc

2016-12-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Dec 26 08:43:55 UTC 2016 Modified Files: src/doc: TODO.ptrace Log Message: Add new entry in TODO.ptrace + add support to read and write siginfo_t from and to tracee (reuse PT_IO?) Sponsored by To generate a diff of this c

CVS commit: src/share/man/man2

2016-12-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 27 01:44:06 UTC 2016 Modified Files: src/share/man/man2: siginfo.2 Log Message: Rename SIGPOLL signal to SIGIO in documentation siginfo(2) SIGPOLL is absent on NetBSD, it's emulated in linux_compat(8). To generate a diff

CVS commit: src/sys/sys

2016-12-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 27 02:20:46 UTC 2016 Modified Files: src/sys/sys: siginfo.h Log Message: Replace in comment SIGPOLL with SIGIO SIGPOLL is absent in NetBSD. No functional change. To generate a diff of this commit: cvs rdiff -u -r1.25 -r

CVS commit: src/share/man/man2

2016-12-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Dec 28 20:00:15 UTC 2016 Modified Files: src/share/man/man2: siginfo.2 Log Message: Document SI_NOINFO in siginfo(2) SI_NOINFO The signal was generated without specifc info available. Sponsored by To generate a diff of t

CVS commit: src/share/man/man2

2016-12-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Dec 28 20:06:00 UTC 2016 Modified Files: src/share/man/man2: siginfo.2 Log Message: Document SI_LWP in siginfo(2) SI_LWP The signal was generated via _lwp_kill(2). Sponsored by To generate a diff of this commit: cvs rdif

CVS commit: src/share/man/man2

2016-12-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Dec 28 20:34:36 UTC 2016 Modified Files: src/share/man/man2: siginfo.2 Log Message: Document SI_QUEUE in siginfo(2) SI_QUEUE The signal was generated via sigqueue(2). This code was commented out since inception of this manu

CVS commit: src/share/man/man2

2016-12-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Dec 28 20:41:55 UTC 2016 Modified Files: src/share/man/man2: siginfo.2 Log Message: Document SI_MESGQ in siginfo(2) SI_MESGQ The signal was generated because of the arrival of a message on an empty message queue. This cod

CVS commit: src/share/man/man2

2016-12-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Dec 28 21:19:06 UTC 2016 Modified Files: src/share/man/man2: siginfo.2 Log Message: Bump date for siginfo(2) and document SI_LWP and SI_NOINFO as .Nx extension Sponsored by To generate a diff of this commit: cvs rdiff -u -r

CVS commit: src/lib/libc/sys

2016-12-29 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 29 22:17:51 UTC 2016 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: Reference siginfo(2) for a SIGCHLD signal siginfo(2) describes appropriate signal specific information for SIGCHLD. Sponsored by To generate

CVS commit: src/tests/kernel

2016-12-30 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Dec 30 17:29:34 UTC 2016 Modified Files: src/tests/kernel: t_ptrace_wait.h Log Message: Remove unused macro for ATF_TP_ADD_TC_HAVE_DBREGS This code is unused. Sponsored by To generate a diff of this commit: cvs rdiff -u -r

CVS commit: src/doc

2016-12-31 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Dec 31 20:57:15 UTC 2016 Modified Files: src/doc: TODO.ptrace Log Message: Update TODO.ptrace Mark exect(3) for removal, there is no use-case for it. exec() is already monitored and emits SIGTRAP when traced. Accessor for sig

CVS commit: src/share/misc

2017-01-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Jan 1 22:44:30 UTC 2017 Modified Files: src/share/misc: acronyms.comp Log Message: Document AMP in wtf(6) AMPasymmetric multiprocessing To generate a diff of this commit: cvs rdiff -u -r1.169 -r1.170 src/share/misc/acro

CVS commit: src/tests/kernel

2017-01-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jan 2 21:02:03 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Fix typo in atf_tc_set_md_var(): baic -> basic No functional change. To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48 src/t

CVS commit: src/distrib/sets/lists/comp

2017-01-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jan 3 04:12:18 UTC 2017 Modified Files: src/distrib/sets/lists/comp: mi Log Message: Fix typo in distribution synckok.0 -> syncok.0 To generate a diff of this commit: cvs rdiff -u -r1.2092 -r1.2093 src/distrib/sets/lists/com

CVS commit: src/tests/kernel

2017-01-04 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jan 4 22:27:20 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c t_ptrace_wait.h Log Message: Add new tests siginfo[123] in t_ptrace_wait{,3,4,6,id,pid} These tests are for the proposed PT_[GS]ET_SIGINFO interface fo

CVS commit: src/tests/kernel

2017-01-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jan 6 22:40:06 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new test siginfo4 in t_ptrace_wait{,3,4,6,id,pid} siginfo4: Detect SIGTRAP TRAP_EXEC from tracee This test is currently disabled

CVS commit: src/sys

2017-01-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jan 6 22:42:58 UTC 2017 Modified Files: src/sys/kern: kern_exec.c src/sys/sys: siginfo.h Log Message: Introduce new SIGTRAP code: TRAP_EXEC On exec() events under a debugger generate the SIGTRAP signal with TRAP_EXEC

CVS commit: src/sys

2017-01-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jan 6 22:53:17 UTC 2017 Modified Files: src/sys/kern: core_elf32.c core_netbsd.c kern_sig.c sys_ptrace_common.c src/sys/sys: ptrace.h signalvar.h Log Message: Introduce new ptrace(2) interface: PT_SET_SIGINFO and PT_GE

CVS commit: src/sys/sys

2017-01-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jan 6 22:58:00 UTC 2017 Modified Files: src/sys/sys: param.h Log Message: Welcome to 7.99.56 for new ptrace(2) interfaces and SIGTRAP type TRAP_EXEC Kernel bump for PT_GET_SIGINFO and PT_SET_SIGINFO in ptrace(2) and new si_co

CVS commit: src/distrib/sets/lists/comp

2017-01-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 7 00:47:19 UTC 2017 Modified Files: src/distrib/sets/lists/comp: mi Log Message: Fix MKCATPAGES=yes build - fix typo in cat3/krb5_checksum_is_keyed.0 To generate a diff of this commit: cvs rdiff -u -r1.2098 -r1.2099 src/

CVS commit: src/share/man/man2

2017-01-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 7 01:22:12 UTC 2017 Modified Files: src/share/man/man2: siginfo.2 Log Message: Document TRAP_EXEC in SIGRAP in siginfo(2) TRAP_EXEC - Process exec trap This signal is emitted on exec() when a process is controlled by a d

CVS commit: src/lib/libc/sys

2017-01-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 7 01:29:18 UTC 2017 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: ptrace(2): Document addr and data argument usage for PT_GET_PROCESS_STATE The PT_GET_PROCESS_STATE call in ptrace(2) has the following usage of a

CVS commit: src/lib/libc/sys

2017-01-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 7 01:32:35 UTC 2017 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: Fix swapped text between PT_GET_PROCESS_STATE and PT_GET_EVENT_MASK Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.47 -r1.48

CVS commit: src/lib/libc/sys

2017-01-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 7 03:41:25 UTC 2017 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: Document PT_SET_SIGINFO and PT_GET_SIGINFO in ptrace(2) PT_SET_SIGINFO - fake signal information emitted to tracee PT_GET_SIGINFO - read signal i

CVS commit: src/lib/libc/sys

2017-01-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 7 05:51:14 UTC 2017 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: Add more notes explaining how debuggers work on NetBSD Explain: - execve(2) handling and behavior, SIGTRAP & TRAP_EXEC - reference PaX MPROTECT

<    3   4   5   6   7   8   9   10   11   12   >