CVS commit: src/sys

2019-04-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 11 11:40:58 UTC 2019 Modified Files: src/sys/arch/mips/cavium/dev: octeon_pow.c octeon_uartreg.h src/sys/dev/iscsi: iscsi_main.c src/sys/net80211: ieee80211_ioctl.c Log Message: Fix CVS Id NFCI To generat

CVS commit: src/sys

2019-04-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 11 14:38:06 UTC 2019 Modified Files: src/sys/arch/arm/at91: at91pmc.c src/sys/arch/arm/mpcore: mpcore_a2x_space.c src/sys/arch/evbppc/virtex/dev: cdmacreg.h temacvar.h src/sys/arch/ia64/include: elf_m

CVS commit: src/sys/arch/evbppc/mpc85xx

2019-04-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 11 14:47:06 UTC 2019 Modified Files: src/sys/arch/evbppc/mpc85xx: machdep.c Log Message: Fix incorrect CVS Id To generate a diff of this commit: cvs rdiff -u -r1.43 -r1.44 src/sys/arch/evbppc/mpc85xx/machdep.c Please not

CVS commit: src/share/man/man4

2019-04-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 11 17:46:32 UTC 2019 Modified Files: src/share/man/man4: acpifan.4 Log Message: Fix CVS Id To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/share/man/man4/acpifan.4 Please note that diffs are not public do

CVS commit: src/tests/lib/libc/sys

2019-04-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 11 19:25:31 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Validate that clone(2) is handled properly with more ptrace(2) ATF tests New tests: - clone[1-8] - clone_vm[1-8] - clone_fs[1-8]

CVS commit: src/tests/lib/libc/sys

2019-04-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 11 20:20:54 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.h Log Message: Add clone_func() in t_ptrace_wait.h To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/tests/lib/libc/sys/t_ptrace_w

CVS commit: src/tests/lib/libc/sys

2019-04-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 11 23:00:01 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new tests traceme_vfork_clone* in ATF t_ptrace_wait* Added tests: - traceme_vfork_clone - traceme_vfork_clone_vm - traceme_v

CVS commit: src/tests/lib/libc/sys

2019-04-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 11 23:23:53 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new tests in ATF t_prace_wait* New tests: - traceme_vfork_fork - traceme_vfork_vfork New tests assert that fork/vfork in vfo

CVS commit: src/tests/lib/libc/sys

2019-04-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Apr 15 16:47:47 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Temporarily ifdef out PTRACE_VFORK and PTRACE_VFORKDONE tests It's not reliable on all ports. sparc and evbarm are known to hang. P

CVS commit: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common

2019-04-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Apr 16 01:40:16 UTC 2019 Modified Files: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common: sanitizer_linux.cc Log Message: Sync GetPcSpBp() with GCC9 (and recent LLVM) Unify all NetBSD ports in a single ifd

CVS commit: src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common

2019-04-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Apr 16 01:44:07 UTC 2019 Modified Files: src/external/gpl3/gcc.old/dist/libsanitizer/sanitizer_common: sanitizer_linux.cc Log Message: Sync gcc.old GetPcSpBp() with GCC9 (and recent LLVM) Unify all NetBSD ports in

CVS commit: src/tests/lib/libc/sys

2019-04-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Apr 17 15:54:55 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Fix Clang/LLVM build in t_ptrace_wait.c Do not compile functions that might be unused. To generate a diff of this commit: cvs rdif

CVS commit: src/tests/lib/libc/sys

2019-04-19 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Apr 19 21:54:33 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Fix typo in TEST_VFORK_ENABLED This allows building and running vfork(2) test scenarios correctly. To generate a diff of this comm

CVS commit: src/share/mk

2019-04-19 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Apr 19 22:06:03 UTC 2019 Modified Files: src/share/mk: bsd.README Log Message: Fix typo cost -> host To generate a diff of this commit: cvs rdiff -u -r1.390 -r1.391 src/share/mk/bsd.README Please note that diffs are not publ

CVS commit: src

2019-04-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Apr 24 11:43:20 UTC 2019 Modified Files: src/distrib/sets/lists/comp: mi src/distrib/sets/lists/debug: mi src/distrib/sets/lists/tests: mi src/lib/libpthread: Makefile src/tests/lib/libpthread: Ma

CVS commit: src

2019-04-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Apr 24 13:01:52 UTC 2019 Modified Files: src/distrib/sets/lists/base: shl.mi src/distrib/sets/lists/debug: shl.mi src/lib/libpthread: shlib_version Log Message: Bump the libpthread(3) minor number to 4 Added C1

CVS commit: src/doc

2019-04-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Apr 24 15:04:51 UTC 2019 Modified Files: src/doc: CHANGES Log Message: libpthread(3): Import C11 thread support library To generate a diff of this commit: cvs rdiff -u -r1.2528 -r1.2529 src/doc/CHANGES Please note that diffs

CVS commit: src/lib/libpthread

2019-04-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Apr 24 18:47:54 UTC 2019 Modified Files: src/lib/libpthread: thrd.3 thrd.c threads.h Log Message: Introduce minor changes to the C11 threading library Switch tss_t type from int to pthread_key_t (no functional change as pthrea

CVS commit: src/lib/libpthread

2019-04-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Apr 24 21:41:15 UTC 2019 Modified Files: src/lib/libpthread: call_once.c Log Message: Drop error path from C11 call_once The original implementation of C11 threads(3) contained check for error paths, but it was stripped in the

CVS commit: src/tests/lib/libc/sys

2019-04-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 25 11:45:12 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: In ATF t_ptrace_wait* SIGILL tests allow any si_code These codes are not portable between CPUs and kernels. Change the checks to re

CVS commit: src/tests/lib/libc/sys

2019-04-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 25 11:47:59 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Do not allow 0 as ILL si_code as it's reserved for SI_USER To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/test

CVS commit: src/tests/lib/libc/sys

2019-04-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 25 19:15:23 UTC 2019 Modified Files: src/tests/lib/libc/sys: Makefile t_ptrace_wait.c t_ptrace_wait.h Log Message: Introduce check for the support of FPU exceptions If FPU exceptions are unsupported, skip the SIGFPE crash

CVS commit: src/tests/kernel

2019-04-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 25 19:37:10 UTC 2019 Modified Files: src/tests/kernel: h_segv.c Log Message: Fix typo To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/tests/kernel/h_segv.c Please note that diffs are not public domain;

CVS commit: src/tests/lib

2019-04-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 25 20:48:54 UTC 2019 Modified Files: src/tests/lib/libc/gen: t_fpsetmask.c t_siginfo.c src/tests/lib/libm: t_fenv.c Log Message: Fix typo in 'exceptions' To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.

CVS commit: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common

2019-04-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Apr 27 00:23:18 UTC 2019 Modified Files: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common: sanitizer_linux.cc Log Message: Backport improvements into GCC's sanitizer_linux.cc from more recent LLVM Backport

CVS commit: src

2019-04-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Apr 27 23:04:32 UTC 2019 Modified Files: src/distrib/sets/lists/comp: mi src/lib/libm: Makefile src/lib/libm/man: nextafter.3 src/lib/libm/src: s_nextafterl.c src/usr.sbin/makemandb: nostem.txt L

CVS commit: src/lib/libpthread

2019-04-29 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Apr 29 20:11:44 UTC 2019 Modified Files: src/lib/libpthread: thrd.c Log Message: Avoid incompatible function pointer casts in thrd_create(3) Use an intermediate function trampoline to workaround different function pointer prot

CVS commit: src/sys/kern

2019-04-30 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Apr 30 20:50:30 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Return EIO for empty memory transfer from ptrace(2) Certain operations of PT_READ/PT_WRITE and PIOD_READ/PIOD_WRITE can result in 0 byte t

CVS commit: src/sys/kern

2019-04-30 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Apr 30 22:32:01 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Reject ptrace(2) PIOD_READ/WRITE operations with length 0 Return EINVAL for such invalid requests. To generate a diff of this commit: cv

CVS commit: src/tests/lib/libc/sys

2019-04-30 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Apr 30 22:39:31 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new ATF ptrace(2) tests: bytes_transfer_eof Assert that error is returned after attempt to read or write post EOF. To generate

CVS commit: src/sys/kern

2019-05-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed May 1 17:02:40 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Disallow resuming program with PC=0x0 in ptrace(2) If the address parameter is 0, report error. It's a popular mistake to set Program Coun

CVS commit: src/sys

2019-05-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed May 1 17:21:55 UTC 2019 Modified Files: src/sys/kern: kern_exec.c kern_fork.c kern_sig.c src/sys/sys: signalvar.h Log Message: Add eventswitch() in signal code Route all crash and debugger related signal through event

CVS commit: src/sys/kern

2019-05-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed May 1 18:01:54 UTC 2019 Modified Files: src/sys/kern: kern_fork.c kern_sig.c Log Message: Correct handling of corner cases in fork1(9) code under a debugger Correct detaching and SIGKILLing forker and vforker in the middle of

CVS commit: src/tests/lib/libc/sys

2019-05-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed May 1 18:20:23 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new fork/vfork ATF trests in t_ptrace_wait* Add new tests: - fork_detach_forker - vfork_detach_vforker - vfork_detach_vforke

CVS commit: src/sys/kern

2019-05-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed May 1 21:52:35 UTC 2019 Modified Files: src/sys/kern: kern_sig.c Log Message: Assert that debugger event is triggered only for userland LWP All passing ATF ptrace(2) tests still pass. To generate a diff of this commit: cvs

CVS commit: src/sys/kern

2019-05-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed May 1 21:57:35 UTC 2019 Modified Files: src/sys/kern: kern_lwp.c sys_lwp.c Log Message: Correct passing debugger related events for LWP create and exit Add MI toplevel startlwp function. Switch all userland LWPs to go throug

CVS commit: src/tests/lib/libc/sys

2019-05-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed May 1 21:59:32 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: ATF ptrace(2) tests signal9 and signal10 now pass PR kern/51918 To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 sr

CVS commit: src/sys/kern

2019-05-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed May 1 22:55:55 UTC 2019 Modified Files: src/sys/kern: sys_lwp.c Log Message: Call MD code in mi_startlwp() before MI check for debugger This allows to get initialized mcontext. To generate a diff of this commit: cvs rdiff -

CVS commit: src/tests/lib/libc/sys

2019-05-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed May 1 23:44:16 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: ATF ptrace(2) tests suspend1 and resume1 now pass Verified on bare metal and in qemu. PR kern/51995 To generate a diff of this co

CVS commit: src/sys/kern

2019-05-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu May 2 00:23:01 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Allow cancelled byte transfer in ptrace(2) again Current GDB depends on it on NetBSD (which is probably a GDB support bug). In future GDB

CVS commit: src/tests/lib/libc/sys

2019-05-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu May 2 00:34:06 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Rename and partially enable trace_thread ATF ptrace(2) tests Rename trace_thrad[1234] to more meaningful names: - trace_thread_nol

CVS commit: src/sys/kern

2019-05-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu May 2 22:23:49 UTC 2019 Modified Files: src/sys/kern: kern_lwp.c kern_sig.c sys_lwp.c Log Message: Introduce fixes for ptrace(2) Stop disabling LWP create and exit events for PT_SYSCALL tracing. PT_SYSCALL disabled EXEC repor

CVS commit: src/tests/lib/libc/sys

2019-05-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu May 2 22:52:21 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Adapt t_ptrace_wait* tests for recent kernel changes Adapt AUXV reading loop to handle io.piod_len == 0 as EOF. Temporarily disable

CVS commit: src/external/gpl3/gdb/dist/gdb

2019-05-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri May 3 07:05:28 UTC 2019 Modified Files: src/external/gpl3/gdb/dist/gdb: infrun.c nbsd-nat.c Log Message: Quick clean up the NetBSD support in GDB Changes: - always perform polling on inferior_ptid, never -1 -1 can cause

CVS commit: src/external/gpl3/gdb/dist/gdb

2019-05-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri May 3 19:03:57 UTC 2019 Modified Files: src/external/gpl3/gdb/dist/gdb: infrun.c nbsd-nat.c Log Message: Overwrite waiton_ptid in nbsd-nat, rather than generic core This avoids compatibility issues with remote access to !NetB

CVS commit: src/external/gpl3/gdb/dist/gdb

2019-05-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri May 3 19:06:50 UTC 2019 Modified Files: src/external/gpl3/gdb/dist/gdb: nbsd-nat.c Log Message: Improve comment in the GDB NetBSD code To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/gpl3/gdb/dist/gd

CVS commit: src/sys

2019-05-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri May 3 22:34:21 UTC 2019 Modified Files: src/sys/kern: kern_exec.c kern_fork.c kern_lwp.c kern_sig.c sys_lwp.c src/sys/sys: signalvar.h Log Message: Register KTR events for debugger related signals Register signals for

CVS commit: src/sys

2019-05-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon May 6 08:05:03 UTC 2019 Modified Files: src/sys/kern: kern_sig.c kern_syscall.c src/sys/sys: ptrace.h siginfo.h Log Message: Ship with syscall information with SIGTRAP TRAP_SCE/TRAP_SCX for tracers Expand siginfo_t (s

CVS commit: src/sys/sys

2019-05-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon May 6 08:07:41 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to NetBSD 8.99.38! Signal code struct and API changes. To generate a diff of this commit: cvs rdiff -u -r1.585 -r1.586 src/sys/sys/param.h P

CVS commit: src/doc

2019-05-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon May 6 08:32:40 UTC 2019 Modified Files: src/doc: CHANGES Log Message: siginfo(2): Ship with MI syscall information of a debugged process for SIGTRAP and si_code TRAP_SCE/TRAP_SCX. To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.bin/ktruss

2019-05-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon May 6 11:58:37 UTC 2019 Modified Files: src/usr.bin/ktruss: makeerrnos.sh Log Message: Add support for SIGRTMIN+1..SIGRTMAX-1 signals in ktruss(1) Generate misc.c and misc.h with entries for signals between SIGRTMIN+1 and SIG

CVS commit: src/sys/arch

2019-05-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 7 03:49:28 UTC 2019 Modified Files: src/sys/arch/alpha/include: ansi.h src/sys/arch/amd64/include: ansi.h src/sys/arch/amiga/include: ansi.h src/sys/arch/arm/include: ansi.h src/sys/arch/atar

CVS commit: src/sys/kern

2019-05-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu May 9 20:50:14 UTC 2019 Modified Files: src/sys/kern: kern_exec.c Log Message: Report TRAP_EXEC (for exec()) to a debugger in the PT_SYSCALL mode Orignally exec() reporting was disabled in the NetBSD version as there was no s

CVS commit: src/share/mk

2019-12-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Dec 1 17:25:47 UTC 2019 Modified Files: src/share/mk: bsd.sys.mk Log Message: Disable KCOV instrumentation in x86_machdep.c This allows to use cpu_intr_p() directly inside KCOV. To generate a diff of this commit: cvs rdiff

CVS commit: src/sys/kern

2019-12-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Dec 1 17:41:11 UTC 2019 Modified Files: src/sys/kern: subr_kcov.c Log Message: Switch in_interrupt() in KCOV to cpu_intr_p() This makes KCOV more MI friendly and removes x86-specific in_interrupt() implementation. To genera

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

2019-12-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Dec 2 19:17:27 UTC 2019 Modified Files: src/sys/arch/amd64/include: ptrace.h Log Message: Define PT_GETXMMREGS and PT_SETXMMREGS in PT_MACHDEP_STRINGS/amd64 To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/s

CVS commit: src/sys/sys

2019-12-04 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Dec 4 13:52:27 UTC 2019 Modified Files: src/sys/sys: ptrace.h Log Message: Register "PT_STOP" in ptrace PT_STRINGS To generate a diff of this commit: cvs rdiff -u -r1.66 -r1.67 src/sys/sys/ptrace.h Please note that diffs ar

CVS commit: src/tests/lib/libc/sys

2019-12-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Dec 6 01:09:51 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Log PID.LWP in t_ptrace_wait* tests for enabled debug This is useful for multithreaded test scenarios. To generate a diff of this

CVS commit: src/sys/kern

2019-12-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Dec 6 17:41:43 UTC 2019 Modified Files: src/sys/kern: kern_proc.c Log Message: Correct signals in siglist+sigmask passed in kinfo_lwp Make the union of LWP and PROC pending signals correctly. To generate a diff of this comm

CVS commit: src/share/man/man5

2019-12-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Dec 6 18:03:49 UTC 2019 Modified Files: src/share/man/man5: core.5 Log Message: Remove misleading comments from core(5) netbsd_elfcore_procinfo is still in version 1. cpi_siglwp is stored in the same netbsd_elfcore_procinfo v

CVS commit: src/sys/arch/aarch64

2019-12-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Dec 6 18:16:23 UTC 2019 Modified Files: src/sys/arch/aarch64/aarch64: sys_machdep.c src/sys/arch/aarch64/include: types.h Log Message: Remove __HAVE_CPU_LWP_SETPRIVATE from aarch64 aarch64 specific cpu_lwp_setprivate(

CVS commit: src/external/bsd/libproc/dist

2019-12-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Dec 7 19:38:29 UTC 2019 Modified Files: src/external/bsd/libproc/dist: proc_util.c Log Message: Switch proc_getlwpstatus from PT_LWPINFO to PT_GET_SIGINFO for NetBSD PT_LWPINFO from FreeBSD is almost never intended to be expr

CVS commit: src/sys/kern

2019-12-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Dec 7 19:50:34 UTC 2019 Modified Files: src/sys/kern: subr_kcov.c Log Message: Revert the in_interrupt() change to use again the x86 specific code This is prerequisite for kMSan and upcoming kernel changes. Discussed with

CVS commit: src/etc/mtree

2019-12-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Dec 18 14:44:16 UTC 2019 Modified Files: src/etc/mtree: NetBSD.dist.base Log Message: Remove obsolete mtree entry of usr/share/examples/supfiles To generate a diff of this commit: cvs rdiff -u -r1.206 -r1.207 src/etc/mtree/Ne

CVS commit: src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common

2019-12-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Dec 18 14:51:24 UTC 2019 Modified Files: src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common: sanitizer_interceptors_ioctl_netbsd.inc sanitizer_platform_limits_netbsd.cc sanitizer_platf

CVS commit: src/sys/dev/ic

2019-12-19 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 19 16:25:13 UTC 2019 Modified Files: src/sys/dev/ic: rtsx.c Log Message: Avoid changing signedness bit with << in rtsx_read_cfg() Reported by To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/sys/dev/ic/rt

CVS commit: src/sys/net80211

2019-12-19 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 19 16:29:51 UTC 2019 Modified Files: src/sys/net80211: ieee80211_crypto_tkip.c Log Message: Avoid changing signedness bit with << 24 in ieee80211_crypto_tkip.c Reported by To generate a diff of this commit: cvs rdiff -u

CVS commit: src/sys/dev/sdmmc

2019-12-19 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 19 17:24:45 UTC 2019 Modified Files: src/sys/dev/sdmmc: sdmmc_ioreg.h Log Message: Avoid changing signedness bit with << in sdmmc_ioreg.h Reported by To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/d

CVS commit: src/lib/libc/sys

2019-12-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Dec 22 17:01:15 UTC 2019 Modified Files: src/lib/libc/sys: kqueue.2 Log Message: Document udata type switch in struct kevent in the kqueue(2) To generate a diff of this commit: cvs rdiff -u -r1.48 -r1.49 src/lib/libc/sys/kque

CVS commit: src/lib/libc/sys

2019-12-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Dec 23 01:46:09 UTC 2019 Modified Files: src/lib/libc/sys: kqueue.2 Log Message: Explain in kevent(2) the semantics of EINTR All changes contained in the changelist are applied before returning this error. To generate a diff

CVS commit: src

2019-12-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 24 14:51:00 UTC 2019 Modified Files: src/external/gpl3/gdb/dist/gdb: nbsd-nat.c src/sys/arch/alpha/include: ptrace.h src/sys/arch/hppa/include: ptrace.h src/sys/arch/powerpc/include: ptrace.h

CVS commit: src/sys/sys

2019-12-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 24 15:20:34 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to NetBSD 9.99.30! Addition of PT_LWPSTATUS, PT_LWPNEXT with compat32 and core(5) support. To generate a diff of this commit: cvs rdiff -u -r

CVS commit: src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common

2019-12-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 24 19:51:00 UTC 2019 Modified Files: src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common: sanitizer_platform_limits_netbsd.cc sanitizer_platform_limits_netbsd.h sanitizer_syscalls_netbsd.inc L

CVS commit: src/tests/lib/libc/sys

2019-12-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 24 21:09:38 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Define _RTLD_SOURCE in t_ptrace_wait.c The __lwp_gettcb_fast() and __lwp_getprivate_fast() functions are namespaced on a selection o

CVS commit: src/tests/lib/libc/sys

2019-12-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Dec 25 02:23:38 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Read TLS base pointer with _lwp_getprivate() This avoid usage of fast versions that are mostly internal to RTLD. To generate a dif

CVS commit: src/sys/kern

2019-12-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Dec 25 15:54:02 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Cast PTRACE_LWP_GETPRIVATE to (void *) through (intptr_t) Fixes sparc build. To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.

CVS commit: src/sys

2019-12-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Dec 26 08:52:39 UTC 2019 Modified Files: src/sys/kern: files.kern sys_ptrace_common.c src/sys/sys: ptrace.h Added Files: src/sys/kern: sys_ptrace_lwpstatus.c Log Message: Put ptrace_read_lwpstatus() and process_

CVS commit: src/sys/arch

2019-12-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Dec 27 00:32:17 UTC 2019 Modified Files: src/sys/arch/alpha/include: mcontext.h src/sys/arch/amd64/include: mcontext.h src/sys/arch/hppa/include: mcontext.h src/sys/arch/i386/include: mcontext.h s

CVS commit: src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common

2019-12-26 Thread Kamil Rytarowski
52b5fe5f45b1908e140e05a4eceaaac7002be768 Author: Kamil Rytarowski Date: Wed Dec 25 04:05:10 2019 +0100 [compiler-rt] [netbsd] Define _RTLD_SOURCE to fix build The TLS base (LWP private pointer) functions are namespaced and hidden i.e. inside the _RTLD_SOURCE namespace. To generate a

CVS commit: src/doc

2019-12-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Dec 28 04:23:26 UTC 2019 Modified Files: src/doc: TODO.sanitizers Log Message: Sync TODO.sanitizers with reality Done: - compiler-rt sanitizers integration with base - merge TSan, MSan and libFuzzer ATF tests - LSan - fini

CVS commit: src/sys/sys

2020-01-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jan 2 04:28:51 UTC 2020 Modified Files: src/sys/sys: exec_elf.h Log Message: Fix the EM_TILEGX number in the ELF header source: http://www.sco.com/developers/gabi/latest/ch4.eheader.html 191 is confirmed in LLVM, GNU toolcha

CVS commit: src/sys/sys

2020-01-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jan 2 04:58:07 UTC 2020 Modified Files: src/sys/sys: exec_elf.h Log Message: Update e_machine magic values with the ELF specification source: http://www.sco.com/developers/gabi/latest/ch4.eheader.html To generate a diff of

CVS commit: src/sys/sys

2020-01-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jan 2 05:18:07 UTC 2020 Modified Files: src/sys/sys: exec_elf.h Log Message: Sync the e_ident[EI_OSABI] magic values with the ELF specification source: http://www.sco.com/developers/gabi/latest/ch4.eheader.html To generate

CVS commit: src/sys/kern

2020-01-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jan 3 00:37:30 UTC 2020 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Correct the rule to iterate over LWPs with PT_LWPNEXT and PT_LWPINFO Correctly exclude dead/dying/zombie and system threads. Fixes kern/5

CVS commit: src/sys/kern

2020-01-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 4 03:46:19 UTC 2020 Modified Files: src/sys/kern: files.kern Added Files: src/sys/kern: sys_process_lwpstatus.c Removed Files: src/sys/kern: sys_ptrace_lwpstatus.c Log Message: Rename sys_ptrace_lwpstatus.c

CVS commit: src/lib/libc/sys

2020-01-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 4 04:40:17 UTC 2020 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: /tmp/cvsbigmGa To generate a diff of this commit: cvs rdiff -u -r1.82 -r1.83 src/lib/libc/sys/ptrace.2 Please note that diffs are not public do

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

2020-01-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jan 9 10:46:31 UTC 2020 Modified Files: src/sys/arch/i386/include: ptrace.h Log Message: Add missing compat define of PT32_GETXSTATE Fixes i386 build. Reviewed by To generate a diff of this commit: cvs rdiff -u -r1.24 -r1

CVS commit: src

2020-01-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jan 13 08:25:02 UTC 2020 Modified Files: src/distrib/sets/lists/comp: mi src/share/man/man3: Makefile Added Files: src/share/man/man3: dlinfo.3 Log Message: Document dlinfo(3) Man-page taken from FreeBSD. To

CVS commit: src/share/man/man3

2020-01-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jan 13 08:29:05 UTC 2020 Modified Files: src/share/man/man3: dlfcn.3 Log Message: Cross-Link from dlfcn(3) to dlinfo(3) To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/share/man/man3/dlfcn.3 Please note tha

CVS commit: src/share/man/man3

2020-01-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jan 13 09:00:20 UTC 2020 Modified Files: src/share/man/man3: dlinfo.3 Log Message: Bump date in dlinfo(3) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/share/man/man3/dlinfo.3 Please note that diffs are not

CVS commit: src/share/man/man3

2020-01-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jan 13 09:00:59 UTC 2020 Modified Files: src/share/man/man3: dlfcn.3 Log Message: Bump date in dlfcn(3) To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/share/man/man3/dlfcn.3 Please note that diffs are not

CVS commit: src/share/man/man3

2020-01-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jan 13 14:24:16 UTC 2020 Modified Files: src/share/man/man3: dlinfo.3 Log Message: Correct the authorship note of dlinfo(3) To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/share/man/man3/dlinfo.3 Please note

CVS commit: src/share/man/man3

2020-01-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jan 13 14:25:06 UTC 2020 Modified Files: src/share/man/man3: dlinfo.3 Log Message: Fix a typo To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/share/man/man3/dlinfo.3 Please note that diffs are not public doma

CVS commit: src/usr.bin/ktruss

2020-01-14 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jan 14 11:28:35 UTC 2020 Modified Files: src/usr.bin/ktruss: dump.c Log Message: Catch up in ktruss(1) with ptrace descriptive operation names Switch to dynamic string lists PT_STRINGS and PT_MACHDEP_STRINGS. Reuse the code a

CVS commit: src/lib/libc/thread-stub

2020-01-14 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jan 14 18:18:59 UTC 2020 Modified Files: src/lib/libc/thread-stub: thread-stub.c Log Message: Adjust the error return value of pthread_sigmask for !libpthread usage Instead of returning -1, return errno on error. Catch up aft

CVS commit: src/sys/compat/netbsd32

2020-01-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 18 07:33:24 UTC 2020 Modified Files: src/sys/compat/netbsd32: netbsd32_syscall.h netbsd32_syscallargs.h netbsd32_syscalls.c netbsd32_syscalls_autoload.c netbsd32_sysent.c netbsd32_systrace_args.c sysc

CVS commit: src/tests/lib/libc/sys

2020-01-21 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jan 21 16:46:07 UTC 2020 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new ATF tests in t_ptrace_wait* New tests: - access_regs_set_unaligned_pc_0x1 - access_regs_set_unaligned_pc_0x3 - access_reg

CVS commit: src/tests/lib/libc/sys

2020-01-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jan 29 03:51:56 UTC 2020 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new fork/vfork/posix_spawn ATF tests in t_ptrace_wait* Add unrelated tracer variation of tests: fork1-16, vfork1-16, posix_spawn

CVS commit: src/lib/libpthread

2020-01-29 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jan 29 10:55:23 UTC 2020 Modified Files: src/lib/libpthread: pthread_mutex.c Log Message: Mark destroyed pthread_mutexattr_t as dead To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/lib/libpthread/pthread_mut

CVS commit: src/tests/lib/libpthread

2020-01-29 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jan 29 13:40:23 UTC 2020 Modified Files: src/tests/lib/libpthread: t_join.c Log Message: Fix the t_join test For pthread_attr_get_np() attr should be initialized prior to the call by using pthread_attr_init(3). pthread_getattr

<    6   7   8   9   10   11   12   13   14   15   >