CVS commit: src/doc

2017-01-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 7 05:57:27 UTC 2017 Modified Files: src/doc: CHANGES Log Message: Document new additions to ptrace(2) in doc/CHANGES Added: ptrace(2): Add new si_code value of SIGTRAP: TRAP_EXEC [kamil 20170107] ptrace(2): Add signal

CVS commit: src/share/man/man2

2017-01-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 7 06:01:20 UTC 2017 Modified Files: src/share/man/man2: siginfo.2 Log Message: Document that TRAP_EXEC is .Nx extension and update .Sh HISTORY for it Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.17

CVS commit: src/doc

2017-01-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Jan 8 04:27:36 UTC 2017 Modified Files: src/doc: TODO.ptrace Log Message: Update TODO.ptrace 1. siginfo_t accessors done 2. PTRACE_O_TRACEEXIT not applicable for NetBSD as we are tracing the whole process at once, not per thr

CVS commit: src/sys/kern

2017-01-08 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jan 9 00:31:30 UTC 2017 Modified Files: src/sys/kern: kern_exec.c kern_exit.c kern_fork.c Log Message: Cleanup dead code after revert of racy vfork(2) commit This removes dead code introduced with the following commit: date:

CVS commit: src/tests/kernel

2017-01-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jan 9 22:09:21 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c t_ptrace_wait.h Log Message: PT_GET_SIGINFO is no longer PT_SET_SIGINFO conditional in ATF tests This interface is MI. Sponsored by To generate a d

CVS commit: src/sys

2017-01-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jan 10 00:48:37 UTC 2017 Modified Files: src/sys/kern: kern_fork.c src/sys/sys: siginfo.h Log Message: Introduce new si_code for SIGTRAP: TRAP_CHLD - process child trap The SIGTRAP signal is thrown from the kernel if E

CVS commit: src/share/man/man2

2017-01-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jan 10 00:51:56 UTC 2017 Modified Files: src/share/man/man2: siginfo.2 Log Message: Document TRAP_CHLD in siginfo(2) The SIGTRAP signal is thrown from the kernel if EVENT_MASK (ptrace_event) enables PTRACE_FORK. This new si_co

CVS commit: src/tests/kernel

2017-01-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jan 10 00:54:22 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new test siginfo5 in t_ptrace_wait{,3,4,6,id,pid} siginfo5: Verify that fork(2) is intercepted by ptrace(2) with EVENT_MASK se

CVS commit: src/sys/sys

2017-01-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jan 10 01:02:23 UTC 2017 Modified Files: src/sys/sys: param.h Log Message: Welcome to NetBSD 7.99.57! Added for SIGTRAP new si_code: TRAP_CHLD This interface is part of Sponsored by To generate a diff of this commit: cvs

CVS commit: src/doc

2017-01-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jan 10 01:53:25 UTC 2017 Modified Files: src/doc: CHANGES Log Message: ptrace(2): Add new si_code value of SIGTRAP: TRAP_CHLD Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.2234 -r1.2235 src/doc/CHANGES P

CVS commit: src/usr.sbin/makefs/chfs

2017-01-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jan 10 04:27:02 UTC 2017 Modified Files: src/usr.sbin/makefs/chfs: chfs_mkfs.c Log Message: Include missing header for write(2) read(2) close(2) These functions are undefined after switch to new zlib. To generate a diff of

CVS commit: src/usr.sbin/makemandb

2017-01-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jan 10 04:34:07 UTC 2017 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Include for R_OK W_OK STDOUT_FILENO access(2) These symbols are undefined after switch to new zlib. To generate a diff of this co

CVS commit: src/sbin/savecore

2017-01-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jan 10 04:42:20 UTC 2017 Modified Files: src/sbin/savecore: zopen.c Log Message: Adapt funopen(3) call after switch to new zlib(3) In the prototype of the gzclose() function of changed from: typedef struct gzFile_s *gzFile;

CVS commit: src/tests/kernel

2017-01-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jan 10 05:08:24 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new test siginfo6 in t_ptrace_wait{,3,6,6,id,pid} for ports with PT_STEP siginfo6: Verify single PT_STEP call with signal informat

CVS commit: src/lib/libc/sys

2017-01-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jan 11 07:31:14 UTC 2017 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: Document SIGTRAP with si_code TRAP_CHLD in ptrace(2) Document the current behavior of TRAP_CHILD in NetBSD. Add more notes on PTRACE_FORK events.

CVS commit: src/lib/libc/sys

2017-01-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jan 11 07:32:36 UTC 2017 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: Correct man-page category of posix_spawn: is (3) not (2) To generate a diff of this commit: cvs rdiff -u -r1.51 -r1.52 src/lib/libc/sys/ptrace.2

CVS commit: src/tests/kernel

2017-01-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jan 12 21:35:53 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new tests vforkdone[12] in t_ptrace_wait{,3,4,6,id,pid} vforkdone1: Verify that vfork(2) is intercepted by ptrace(2) with EVENT_MA

CVS commit: src/sys

2017-01-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jan 13 23:00:35 UTC 2017 Modified Files: src/sys/kern: kern_fork.c sys_ptrace_common.c src/sys/sys: proc.h ptrace.h Log Message: Add support for PTRACE_VFORK_DONE and stub for PTRACE_VFORK in ptrace(2) PTRACE_VFORK is

CVS commit: src/sys/sys

2017-01-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jan 13 23:05:24 UTC 2017 Modified Files: src/sys/sys: param.h Log Message: Welcome to NetBSD 7.99.59 - PTRACE_VFORK and PTRACE_VFORK_DONE in ptrace(2) Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.525 -r1

CVS commit: src/tests/kernel

2017-01-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jan 13 23:22:12 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Update t_ptrace_wait* tests for added support for PTRACE_VFORK{,_DONE} PTRACE_VFORK and PTRACE_VFORK_DONE are now parts of . PTRACE_VFORK

CVS commit: src/doc

2017-01-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jan 13 23:29:10 UTC 2017 Modified Files: src/doc: CHANGES Log Message: Add new entry for ptrace(2) Added: ptrace(2): Add new options in EVENT_MASK: PTRACE_VFORK and PTRACE_VFORK_DONE To generate a diff of this commit:

CVS commit: src/lib/libc/sys

2017-01-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 14 00:02:40 UTC 2017 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: Document PTRACE_VFORK and PTRACE_VFORK_DONE in ptrace(2) PTRACE_VFORK - report vfork(2)-like operations and trace child PTRACE_VFORK_DONE - repor

CVS commit: src/doc

2017-01-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 14 01:36:28 UTC 2017 Modified Files: src/doc: TODO.ptrace Log Message: Update TODO.ptrace Removed: - evaluate equivalent for PTRACE_O_TRACECLONE from Linux clone(2)-like calls are traced with PTRACE_FORK, PTRACE_VFORK a

CVS commit: src/tests/kernel

2017-01-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 14 04:37:55 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new tests eventmask[34] in t_ptrace_wait{,3,4,6,id,pid} eventmask3: Verify that PTRACE_VFORK in EVENT_MASK is preserved eventmask

CVS commit: src

2017-01-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 14 06:36:52 UTC 2017 Modified Files: src/sys/kern: kern_lwp.c sys_ptrace_common.c src/sys/sys: proc.h ptrace.h siginfo.h src/tests/kernel: t_ptrace_wait.c Log Message: Introduce PTRACE_LWP_{CREATE,EXIT} in p

CVS commit: src/doc

2017-01-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 14 06:51:02 UTC 2017 Modified Files: src/doc: CHANGES Log Message: Document the latest ptrace(2) and siginfo(2) additions: Added new entries: ptrace(2): Add new options in EVENT_MASK: PTRACE_LWP_CREATE and

CVS commit: src/share/man/man2

2017-01-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 14 06:55:40 UTC 2017 Modified Files: src/share/man/man2: siginfo.2 Log Message: Document TRAP_LWP in siginfo(2) TRAP_LWP - process lwp (thread) traps Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.20

CVS commit: src/lib/libc/sys

2017-01-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 14 07:17:38 UTC 2017 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: Document PTRACE_LWP_CREATE and PTRACE_LWP_EXIT in ptrace(2) Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.53 -r1.54 src/lib

CVS commit: src/tests/kernel

2017-01-14 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 14 19:17:10 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add additional check for pe_report_event in lwp_{create,exit}1 This caught bug that currently PTRACE_LWP_EXIT is reported as PTRACE_LWP_CR

CVS commit: src/sys/kern

2017-01-14 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 14 19:32:10 UTC 2017 Modified Files: src/sys/kern: kern_lwp.c Log Message: Fix generation of PTRACE_LWP_EXIT event Set p_lwp_exited instead of p_lwp_created for PTRACE_LWP_EXIT. This made the lwp_exit1 ATF test passing.

CVS commit: src/sys/sys

2017-01-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Jan 15 21:42:03 UTC 2017 Modified Files: src/sys/sys: siginfo.h Log Message: Introduce TRAP_HWWPT in for hw assisted watchpoints TRAP_HWWPT is si_code of SIGTRAP and it will be used for hardware assisted watchpoints (vel brea

CVS commit: src/lib/libc/sys

2017-01-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Jan 15 22:18:11 UTC 2017 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: Fix one markup issue and add initial HISTORY section Import HISTORY notes from FreeBSD. Sponsored by To generate a diff of this commit: cvs r

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

2017-01-16 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jan 16 21:19:14 UTC 2017 Modified Files: src/sys/arch/i386/include: userret.h Log Message: Allow to mix single-step with hardware assisted watchpoints on i386 This case needs new handling in trap recognition. Sponsored by

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

2017-01-16 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jan 16 21:19:35 UTC 2017 Modified Files: src/sys/arch/amd64/include: userret.h Log Message: Allow to mix single-step with hardware assisted watchpoints on amd64 This case needs new handling in trap recognition. Sponsored by

CVS commit: src

2017-01-16 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jan 16 21:35:59 UTC 2017 Modified Files: src/sys/arch/amd64/amd64: process_machdep.c src/sys/arch/amd64/include: ptrace.h src/sys/arch/i386/i386: process_machdep.c src/sys/arch/i386/include: ptrace.h

CVS commit: src/sys/arch

2017-01-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jan 18 05:12:00 UTC 2017 Modified Files: src/sys/arch/amd64/amd64: trap.c src/sys/arch/i386/i386: trap.c src/sys/arch/x86/include: dbregs.h src/sys/arch/x86/x86: dbregs.c Log Message: Embed hardware trap

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

2017-01-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jan 18 05:14:34 UTC 2017 Modified Files: src/tests/kernel/arch/amd64: t_ptrace_wait.c Log Message: Use siginfo_t to validate tests/kernel/arch/amd64/t_ptrace_wait* This change makes sure that the fired expected watchpoint with

CVS commit: src/sys/arch/x86/x86

2017-01-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jan 18 05:48:16 UTC 2017 Modified Files: src/sys/arch/x86/x86: dbregs.c Log Message: Remove assert that Debug Registers are not mixed with Debug Trap Flag New code is designed to mix them. Sponsored by To generate a diff o

CVS commit: src/sys/arch/x86/x86

2017-01-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jan 18 12:15:21 UTC 2017 Modified Files: src/sys/arch/x86/x86: dbregs.c Log Message: Fix bug with swapped event type and register that fired in hw watchpoints Swap bits for DR_EVENT_MASK and DR_REGISTER_MASK. Sponsored by

CVS commit: src/tests/kernel

2017-01-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jan 25 17:01:57 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add io_read_auxv1 in t_ptrace_wait{,3,4,6,id,pid} io_read_auxv1: Verify PT_READ_AUXV called for tracee Sponsored by To generate a

CVS commit: src/lib/libc/sys

2017-01-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jan 25 17:12:56 UTC 2017 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: Make the PIOD_READ_AUXV operation more clear Describe how to set piod_offs. Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: src/doc

2017-01-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jan 26 01:04:24 UTC 2017 Modified Files: src/doc: TODO.ptrace Log Message: Update TODO.ptrace Drop: - add ATF tests for PIOD_READ_AUXV Add new entry: - research what happens when a tracee masks signals (including SIGTRAP)

CVS commit: src/doc

2017-01-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jan 26 01:12:13 UTC 2017 Modified Files: src/doc: TODO.ptrace Log Message: Update TODO.ptrace Added: - reiterate over FreeBSD tests and add missing ones if applicable Sponsored by To generate a diff of this commit: cvs rd

CVS commit: src/tests/kernel

2017-01-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jan 26 17:03:21 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new test signal1 in t_ptrace_wait{,3,4,6,id,pid} signal1: Verify that masking single unrelated signal does not stop tracer fro

CVS commit: src/tests/kernel

2017-01-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jan 26 20:15:44 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new tests signal[23] in t_ptrace_wait{,3,4,6,id,pid} signal2: Verify that masking SIGTRAP in tracee stops tracer from catching

CVS commit: src/tests/kernel

2017-01-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jan 26 22:32:48 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new test signal4 in t_ptrace_wait{,3,4,6,id,pid} signal4: Verify that masking SIGTRAP in tracee does not stop tracer from catc

CVS commit: src/tests/kernel

2017-01-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jan 26 22:46:19 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new test signal5 in t_ptrace_wait{,3,4,6,id,pid} signal5: Verify that masking SIGTRAP in tracee does not stop tracer from catc

CVS commit: src/tests/kernel

2017-01-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jan 27 00:34:52 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new tests signal[67] in t_ptrace_wait{4,6,id,pid} signal6: Verify that masking SIGTRAP in tracee does not stop tracer from cat

CVS commit: src/tests/kernel

2017-01-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jan 27 16:06:23 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new test signal8 in t_ptrace_wait{,3,4,6,id,pid} signal8: Verify that masking SIGTRAP in tracee does not stop tracer from catc

CVS commit: src/tests/kernel

2017-01-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jan 27 16:35:47 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Add new tests signal{9,10} in t_ptrace_wait{,3,4,6,id,pid} signal9: Verify that masking SIGTRAP in tracee does not stop tracer from

CVS commit: src/tests/kernel

2017-01-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jan 27 16:43:07 UTC 2017 Modified Files: src/tests/kernel: t_ptrace_wait.c Log Message: Remove debug printf(3) No functional change. Sponsored by To generate a diff of this commit: cvs rdiff -u -r1.68 -r1.69 src/tests/kern

CVS commit: src/doc/roadmaps/people

2017-01-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jan 28 15:40:16 UTC 2017 Added Files: src/doc/roadmaps/people: kamil Log Message: Add personal TODO and research goals Things I want to finish for 8: - as much as possible from the LLDB, Swift, .NET and VirtualBox projects -

CVS commit: src/sys/rump

2020-05-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri May 29 00:05:26 UTC 2020 Modified Files: src/sys/rump: Makefile.rump Log Message: Set -fno-delete-null-pointer-checks for RUMP/MKSANITIZER with Clang NULL + 0 arithmetic raises LLVM UBSan warnings, specially in sys/pslist.h in

CVS commit: src/crypto/external/bsd/openssh/bin/scp

2020-05-29 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri May 29 10:01:23 UTC 2020 Modified Files: src/crypto/external/bsd/openssh/bin/scp: Makefile Log Message: Specify -Wno-format-nonlitera for scp.c (OpenSSH) Fixes build with Clang/LLVM. To generate a diff of this commit: cvs rd

CVS commit: src/external/bsd/ntp/lib/libntp

2020-05-29 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri May 29 10:47:37 UTC 2020 Modified Files: src/external/bsd/ntp/lib/libntp: Makefile Log Message: Fix the libntp build with Clang/LLVM Set -Wno-error=implicit-int-float-conversion To generate a diff of this commit: cvs rdiff -

CVS commit: src/external/bsd/ntp/bin/ntpd

2020-05-29 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri May 29 10:53:02 UTC 2020 Modified Files: src/external/bsd/ntp/bin/ntpd: Makefile Log Message: Fix the ntpd build with Clang/LLVM Set -Wno-format-nonliteral for ntp_refclock.c To generate a diff of this commit: cvs rdiff -u -

CVS commit: src/tests/include/sys

2020-05-31 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun May 31 16:36:07 UTC 2020 Modified Files: src/tests/include/sys: Makefile Log Message: Mask NULL + 0 LLVM UBSan reports in the ATF test: t_pslist.c Pass -fno-delete-null-pointer-checks for Clang for the MKSANITIZER/MKLIBCSANITI

CVS commit: src/external/gpl2/lvm2

2020-05-31 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jun 1 00:34:25 UTC 2020 Modified Files: src/external/gpl2/lvm2: lvm2tools.mk src/external/gpl2/lvm2/dist/include: lib.h src/external/gpl2/lvm2/dist/lib/misc: lib.h Log Message: Avoid redefining _REENTRANT under

CVS commit: src/external/bsd/fetch

2020-05-31 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jun 1 00:55:25 UTC 2020 Modified Files: src/external/bsd/fetch/dist/libfetch: http.c src/external/bsd/fetch/lib: Makefile Log Message: Avoid redefining _REENTRANT under sanitizers Switch away from -Wno-macro-redefined

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

2020-05-31 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jun 1 01:03:21 UTC 2020 Modified Files: src/tests/lib/libc/net: Makefile h_nsd_recurse.c Log Message: Avoid redefining _REENTRANT under sanitizers Switch away from -Wno-macro-redefined which was Clang specific. To generate

CVS commit: src/sys/kern

2020-06-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 2 13:49:15 UTC 2020 Modified Files: src/sys/kern: makesyscalls.sh Log Message: Synchronize struct name in rump_syscalls.c and syscallargs.h Whenever a syscall has alias name, the struct sys_ names shall be the same. To

CVS commit: src/usr.sbin/makemandb

2020-06-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 2 15:43:26 UTC 2020 Modified Files: src/usr.sbin/makemandb: nostem.txt Log Message: Register ppoll To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/makemandb/nostem.txt Please note that diffs are

CVS commit: src/sys/kern

2020-06-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 2 16:45:42 UTC 2020 Modified Files: src/sys/kern: makesyscalls.sh Log Message: Respect syscall aliases in the rump code With this change rump_sys_*() matches *() from the usually libc entry point. To generate a diff of

CVS commit: src/sys

2020-06-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 2 17:02:33 UTC 2020 Modified Files: src/sys/kern: init_sysent.c syscalls.c syscalls_autoload.c systrace_args.c src/sys/rump/include/rump: rump_syscalls.h src/sys/rump/librump/rumpkern: rump_sysca

CVS commit: src/sys

2020-06-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 2 17:23:22 UTC 2020 Modified Files: src/sys/kern: init_sysent.c syscalls.c syscalls_autoload.c systrace_args.c src/sys/rump/include/rump: rump_syscalls.h src/sys/rump/librump/rumpkern: rump_sysca

CVS commit: src/lib/libc/gen

2020-06-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 2 19:30:29 UTC 2020 Modified Files: src/lib/libc/gen: timespec_get.3 Log Message: timespec_get(3) was developed by myself Remove FreeBSD from the authorship as it was just a pullup of small documentation changes. To gen

CVS commit: src/sys/arch/x86/x86

2020-06-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jun 5 21:48:04 UTC 2020 Modified Files: src/sys/arch/x86/x86: cpu_rng.c Log Message: Change const unsigned to preprocessor define Fixes GCC -O0 build with the stack protector. To generate a diff of this commit: cvs rdiff -u

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

2020-06-08 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 9 00:28:57 UTC 2020 Modified Files: src/tests/lib/libc/sys: t_ptrace_fork_wait.h Log Message: Add fork/vfork/posix_spawn tests for processes within pgrp New tests: - fork_setpgid - vfork_setpgid - posix_spawn_setpgid

CVS commit: src

2020-06-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 9 21:50:33 UTC 2020 Modified Files: src/distrib/sets/lists/comp: mi src/distrib/sets/lists/debug: mi src/external/apache2/llvm/bin: Makefile src/external/apache2/llvm/bin/llvm-symbolizer: Makefile

CVS commit: src/sys/rump/librump/rumpkern

2020-06-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jun 11 00:33:30 UTC 2020 Modified Files: src/sys/rump/librump/rumpkern: rump.c Log Message: Follow the syscall() logic and mask unsupported syscall ranges in rump Avoids invalid pointer dereference from too large syscall numbe

CVS commit: src/bin/expr

2020-06-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jun 11 13:08:08 UTC 2020 Modified Files: src/bin/expr: expr.y Log Message: Fix typo To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/bin/expr/expr.y Please note that diffs are not public domain; they are sub

CVS commit: src/lib/librumpuser

2020-06-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jun 13 16:51:59 UTC 2020 Modified Files: src/lib/librumpuser: sp_common.c Log Message: Fix incompatible function pointer casts To generate a diff of this commit: cvs rdiff -u -r1.41 -r1.42 src/lib/librumpuser/sp_common.c Ple

CVS commit: src/usr.bin/jot

2020-06-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Jun 14 01:26:46 UTC 2020 Modified Files: src/usr.bin/jot: jot.c Log Message: Generate format after setting the prec value Otherwise we end up with setting invalid printf format: "%.-1f" (from "if (snprintf(p, sz, "%%.%df", pre

CVS commit: src/sys/rump/include/rump

2020-06-14 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Jun 14 22:12:58 UTC 2020 Modified Files: src/sys/rump/include/rump: rump.h Log Message: Fix header compatibility with C++ This file is OS-agnostic and cannot include OS specific headers. The fallback for NetBSD specific symbo

CVS commit: src/sys/rump/include/rump

2020-06-14 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Jun 14 23:38:25 UTC 2020 Modified Files: src/sys/rump/include/rump: rump.h Log Message: Remove old compat include of rump_syscallshotgun.h It was separated in 2016 and is no longer needed. To generate a diff of this commit:

CVS commit: src

2020-06-16 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jun 17 00:16:22 UTC 2020 Modified Files: src/lib/libc/rpc: svc_fdset.h src/sbin/fsck_lfs: kernelops.c src/tests/fs/common: fstest_ext2fs.c fstest_ffs.c fstest_lfs.c fstest_msdosfs.c fstest_nfs.c fstes

CVS commit: src/share/man/man9

2020-06-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jun 18 23:30:51 UTC 2020 Modified Files: src/share/man/man9: kmem.9 Log Message: Document kmem_strdup() and kmem_strndup() Added in 2018 by christos@ in sys/sys/kmem.h r. 1.11. To generate a diff of this commit: cvs rdiff -u

CVS commit: src/usr.bin/tail

2020-06-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Jun 20 10:53:28 UTC 2020 Modified Files: src/usr.bin/tail: tac.1 Log Message: Remove double 'each of' Reported by Weitian LI liweitianux (DragonFly). To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/usr.bin/ta

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

2020-07-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jul 17 15:24:03 UTC 2020 Modified Files: src/distrib/sets/lists/man: mi Log Message: man5/changelist.5 does not depend on MKPOSTFIX To generate a diff of this commit: cvs rdiff -u -r1.1695 -r1.1696 src/distrib/sets/lists/man/

CVS commit: src

2020-07-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jul 17 15:34:17 UTC 2020 Modified Files: src/distrib/sets/lists/comp: mi src/distrib/sets/lists/debug: mi src/distrib/sets/lists/tests: mi src/lib/libc/sys: Makefile.inc poll.2 src/sys/sys: poll.h

CVS commit: src/external/bsd/nsd/include

2020-07-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jul 17 15:44:04 UTC 2020 Modified Files: src/external/bsd/nsd/include: config.h Log Message: Enable support for ppoll() To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/external/bsd/nsd/include/config.h Please

CVS commit: src/doc

2020-07-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Jul 17 15:52:16 UTC 2020 Modified Files: src/doc: CHANGES Log Message: libc: Added ppoll() wrapper around native pollts(2) To generate a diff of this commit: cvs rdiff -u -r1.2716 -r1.2717 src/doc/CHANGES Please note that di

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

2020-09-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 9 14:38:41 UTC 2020 Modified Files: src/distrib/sets/lists/comp: mi Log Message: Register getrandom.0 Fixes MKCATPAGES=yes build. To generate a diff of this commit: cvs rdiff -u -r1.2348 -r1.2349 src/distrib/sets/lists/

CVS commit: src/external/gpl3/gcc

2020-09-10 Thread Kamil Rytarowski
RTLD/libpthread/libc symbol in sanitizers Cherry-pick and adapt: commit 0da15ff318480f30bbc90b9e8ecb9bb9431c7fd3 Author: Kamil Rytarowski Date: Fri Jan 3 02:35:33 2020 +0100 [compiler-rt] [netbsd] Switch to syscall for ThreadSelfTlsTcb() This change avoids using internal, namespaced

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

2020-09-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 11 01:01:14 UTC 2020 Modified Files: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common: sanitizer_stoptheworld_linux_libcdep.cc Log Message: Disable sanitizer_stoptheworld_linux_libcdep.cc for NetBSD To

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

2020-09-10 Thread Kamil Rytarowski
/libsanitizer/sanitizer_common: sanitizer_common_interceptors.inc Log Message: Add __lsan::ScopedInterceptorDisabler for strerror(3) Cherry-pick and adapt: commit 1b58389428ed07a7322ba9c2bcaeec99807f9457 Author: Kamil Rytarowski Date: Sat Sep 21 07:45:02 2019 + Add __lsan

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

2020-09-10 Thread Kamil Rytarowski
/libsanitizer/sanitizer_common: sanitizer_platform_interceptors.h Log Message: Stop tracking atexit/__cxa_atexit/pthread_atfork allocations in LSan/NetBSD Cherry-pick and adapt: commit 8827047551570b7ed7088765c3de2a8cce6823b8 Author: Kamil Rytarowski Date: Sat Sep 21 07:30:42 2019 +

CVS commit: src/external/gpl3/gcc

2020-09-10 Thread Kamil Rytarowski
983d7ddd0b278b45d815cbac9197205b39c4860a Author: Kamil Rytarowski Date: Thu Jul 11 06:22:35 2019 + Add NetBSD LSan support Summary: Combine few relatively small changes into one: - implement internal_ptrace() and internal_clone() for NetBSD - add support for stoptheworld

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

2020-09-10 Thread Kamil Rytarowski
Cherry-pick and adapt: commit fc356dcc11c10003ff22acff667b0a9f5e6c1e0f Author: Kamil Rytarowski Date: Tue Dec 24 20:33:54 2019 +0100 [compiler-rt] Adapt stop-the-world for ptrace changes in NetBSD-9.99.30 Handle PT_LWPNEXT for newer kernels and keep PT_LWPINFO for older ones. To

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

2020-09-10 Thread Kamil Rytarowski
3a189bac9bb111c9a59339015ab0d4e2fed735f4 Author: Kamil Rytarowski Date: Thu Dec 19 03:21:46 2019 +0100 [compiler-rt] Enable SANITIZER_CAN_USE_PREINIT_ARRAY on NetBSD .preinit_array is supported since 9.0. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 \ src/external

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

2020-09-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 11 01:07:53 UTC 2020 Modified Files: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common: sanitizer_linux.cc Log Message: Use sysctl to implement GetPageSize() Cherry-pick code chunk from newer LLVM compil

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

2020-09-10 Thread Kamil Rytarowski
02519fc7a6f8c528f67975a9f78ce64dabf402b4 Author: Kamil Rytarowski Date: Thu Sep 12 18:57:58 2019 + Add getauxval() compat for NetBSD Summary: getauxval() is not available on NetBSD and there is no a direct equivalent. Add a function that implements the same semantics with NetBSD

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

2020-09-10 Thread Kamil Rytarowski
change from: commit 983d7ddd0b278b45d815cbac9197205b39c4860a Author: Kamil Rytarowski Date: Thu Jul 11 06:22:35 2019 + Add NetBSD LSan support Summary: Combine few relatively small changes into one: - implement internal_ptrace() and internal_clone() for NetBSD - add

CVS commit: src/external/gpl3/gcc

2020-09-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Sep 12 15:01:38 UTC 2020 Modified Files: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common: sanitizer_common_interceptors.inc sanitizer_fuchsia.cc sanitizer_interceptors_ioctl_netbsd.inc sanitizer_

CVS commit: src/sys/dev/tc

2020-09-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Sep 12 16:44:41 UTC 2020 Modified Files: src/sys/dev/tc: sticio.h Log Message: Restrict stic_xmap to the kernel namespace Otherwise this header is not includable on ports without the definition of NBPG. This fixes build of san

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

2020-09-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Sep 12 21:30:36 UTC 2020 Modified Files: src/external/gpl3/gcc/dist/libsanitizer/tsan: tsan_interceptors.cc Log Message: Remove dead code block (from a local patch) To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10

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

2020-09-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Sep 12 22:23:57 UTC 2020 Modified Files: src/external/gpl3/gcc/dist/libsanitizer/tsan: tsan_interceptors.cc Log Message: Sync chunks of tsan_interceptors.cc with LLVM rev. 74760bb00fb9b78a2fe122 Sync tsan_interceptors.cc with

CVS commit: src/external/gpl3/gcc/lib/libtsan

2020-09-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Sep 12 22:24:22 UTC 2020 Modified Files: src/external/gpl3/gcc/lib/libtsan: Makefile Log Message: Ignore unused functions in tsan_interceptors.cc To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/external/gpl3

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

2020-09-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Sep 12 22:52:24 UTC 2020 Modified Files: src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common: sanitizer_posix_libcdep.cc Log Message: Disable GetNamedMappingFd for NetBSD Analogous logic is in LLVM rev. 74760b

CVS commit: src/external/gpl3/gcc/lib/libtsan

2020-09-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Sep 12 23:04:44 UTC 2020 Modified Files: src/external/gpl3/gcc/lib/libtsan: Makefile Log Message: Always link TSan runtime with librt and libm With these changes, TSan/amd64 works. To generate a diff of this commit: cvs rdif

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