Re: CVS commit: src

2019-11-05 Thread Kamil Rytarowski
On 05.11.2019 22:08, m...@netbsd.org wrote: > On Tue, Nov 05, 2019 at 09:01:06PM +, m...@netbsd.org wrote: >> On Tue, Nov 05, 2019 at 08:19:18PM +, Maxime Villard wrote: >>> Module Name:src >>> Committed By: maxv >>> Date: Tue Nov 5 20:19:18 UTC 2019 >>> >>> Mod

Re: CVS commit: src

2019-11-04 Thread Kamil Rytarowski
On 04.11.2019 13:45, Joerg Sonnenberger wrote: > Module Name: src > Committed By: joerg > Date: Mon Nov 4 12:45:10 UTC 2019 > > Modified Files: > src/lib/libc/tls: Makefile.inc tls.c > src/libexec/ld.elf_so: Makefile tls.c > src/usr.bin/ldd: Makefile.elf > > Log Messag

CVS commit: src/common/lib/libc/misc

2019-11-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Nov 1 14:54:07 UTC 2019 Modified Files: src/common/lib/libc/misc: ubsan.c Log Message: uubsan: Implement function_type_mismatch_v1 RTTI is not supported by micro-UBSan (by design) and this is now a stub handler. To generate

CVS commit: src/common/lib/libc/misc

2019-11-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Nov 1 14:54:07 UTC 2019 Modified Files: src/common/lib/libc/misc: ubsan.c Log Message: uubsan: Implement function_type_mismatch_v1 RTTI is not supported by micro-UBSan (by design) and this is now a stub handler. To generate

CVS commit: src/common/lib/libc/misc

2019-10-29 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Oct 30 00:13:46 UTC 2019 Modified Files: src/common/lib/libc/misc: ubsan.c Log Message: uubsan: Handle implicit_conversion To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/common/lib/libc/misc/ubsan.c Please n

CVS commit: src/common/lib/libc/misc

2019-10-29 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Oct 30 00:13:46 UTC 2019 Modified Files: src/common/lib/libc/misc: ubsan.c Log Message: uubsan: Handle implicit_conversion To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/common/lib/libc/misc/ubsan.c Please n

Re: CVS commit: src

2019-10-25 Thread Kamil Rytarowski
On 25.10.2019 08:51, Martin Husemann wrote: > On Fri, Oct 25, 2019 at 02:29:16AM +, m...@netbsd.org wrote: >> Is this going to be a trend now of not even publicly proposing changes >> and just going straight to core? > > There was a publich discussion quite some time back with no clear result;

CVS commit: src/doc

2019-10-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Oct 24 19:28:47 UTC 2019 Modified Files: src/doc: CHANGES Log Message: libc: Changed the iconv(3) function signature to the POSIX variation To generate a diff of this commit: cvs rdiff -u -r1.2602 -r1.2603 src/doc/CHANGES Pl

CVS commit: src/doc

2019-10-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Oct 24 19:28:47 UTC 2019 Modified Files: src/doc: CHANGES Log Message: libc: Changed the iconv(3) function signature to the POSIX variation To generate a diff of this commit: cvs rdiff -u -r1.2602 -r1.2603 src/doc/CHANGES Pl

CVS commit: xsrc/external/mit/xwininfo/dist

2019-10-24 Thread Kamil Rytarowski
Module Name:xsrc Committed By: kamil Date: Thu Oct 24 18:19:27 UTC 2019 Modified Files: xsrc/external/mit/xwininfo/dist: xwininfo.c Log Message: Adapt xwininfo for POSIX iconv(3) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 xsrc/external/mit/xwininfo/dist/

CVS commit: xsrc/external/mit/xwininfo/dist

2019-10-24 Thread Kamil Rytarowski
Module Name:xsrc Committed By: kamil Date: Thu Oct 24 18:19:27 UTC 2019 Modified Files: xsrc/external/mit/xwininfo/dist: xwininfo.c Log Message: Adapt xwininfo for POSIX iconv(3) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 xsrc/external/mit/xwininfo/dist/

CVS commit: src

2019-10-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Oct 24 18:18:00 UTC 2019 Modified Files: src/external/bsd/libarchive/include: config_netbsd.h src/external/bsd/nvi/dist/common: conv.c src/external/bsd/smbfs/dist/lib/smb: nls.c src/external/gpl2/gettext/

CVS commit: src/usr.sbin/sysinst

2019-10-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Oct 23 18:08:31 UTC 2019 Modified Files: src/usr.sbin/sysinst: msg.mi.pl Log Message: Fix polish translation for sysinst PR install/53870 by Guest01 PR install/53871 by Guest01 patch by Krzysztof Lasocki To generate a diff

CVS commit: src/usr.sbin/sysinst

2019-10-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Oct 23 18:08:31 UTC 2019 Modified Files: src/usr.sbin/sysinst: msg.mi.pl Log Message: Fix polish translation for sysinst PR install/53870 by Guest01 PR install/53871 by Guest01 patch by Krzysztof Lasocki To generate a diff

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

2019-10-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Oct 23 11:27:08 UTC 2019 Modified Files: src/sys/external/bsd/compiler_rt/dist/lib/msan: msan_interceptors.cc Log Message: Correct the __libc_thr_keycreate signature in the MSan interceptor Noted by gcc8. In practice it might

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

2019-10-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Oct 23 11:27:08 UTC 2019 Modified Files: src/sys/external/bsd/compiler_rt/dist/lib/msan: msan_interceptors.cc Log Message: Correct the __libc_thr_keycreate signature in the MSan interceptor Noted by gcc8. In practice it might

Re: CVS commit: src/sys/dev/ic

2019-10-23 Thread Kamil Rytarowski
On 22.10.2019 14:09, Martin Husemann wrote: > Module Name: src > Committed By: martin > Date: Tue Oct 22 12:09:11 UTC 2019 > > Modified Files: > src/sys/dev/ic: wdc.c > > Log Message: > Fix channel locking - patch from Christos. > > > #include > -__KERNEL_RCSID(0, "$NetBSD: wd

CVS commit: xsrc/external/mit/xedit/dist/lisp

2019-10-22 Thread Kamil Rytarowski
Module Name:xsrc Committed By: kamil Date: Wed Oct 23 00:06:07 UTC 2019 Modified Files: xsrc/external/mit/xedit/dist/lisp: pathname.c Log Message: Switch strncpy(3) with length of source to strlcpy(3) in xedit Fixes build with gcc8. To generate a diff of this commit: cv

CVS commit: xsrc/external/mit/xedit/dist/lisp

2019-10-22 Thread Kamil Rytarowski
Module Name:xsrc Committed By: kamil Date: Wed Oct 23 00:06:07 UTC 2019 Modified Files: xsrc/external/mit/xedit/dist/lisp: pathname.c Log Message: Switch strncpy(3) with length of source to strlcpy(3) in xedit Fixes build with gcc8. To generate a diff of this commit: cv

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

2019-10-21 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Oct 21 18:36:08 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Remove preprocessor switch TEST_LWP_ENABLED in t_ptrace_wait* LWP tests are now enabled always and confirmed to be stable. To gene

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

2019-10-21 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Oct 21 18:36:08 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Remove preprocessor switch TEST_LWP_ENABLED in t_ptrace_wait* LWP tests are now enabled always and confirmed to be stable. To gene

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

2019-10-21 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Oct 21 18:31:40 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Remove preprocessor switch TEST_VFORK_ENABLED in t_ptrace_wait* vfork(2) tests are now enabled always and confirmed to be stable.

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

2019-10-21 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Oct 21 18:31:40 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Remove preprocessor switch TEST_VFORK_ENABLED in t_ptrace_wait* vfork(2) tests are now enabled always and confirmed to be stable.

CVS commit: src/sys/kern

2019-10-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Oct 15 13:59:57 UTC 2019 Modified Files: src/sys/kern: kern_sig.c Log Message: Remove the short-circuit lwp_exit() path from sigswitch() sigswitch() can be called from exit1() through: ttywait()->ttysleep()-> cv_timedwait

CVS commit: src/sys/kern

2019-10-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Oct 15 13:59:57 UTC 2019 Modified Files: src/sys/kern: kern_sig.c Log Message: Remove the short-circuit lwp_exit() path from sigswitch() sigswitch() can be called from exit1() through: ttywait()->ttysleep()-> cv_timedwait

Re: CVS commit: src/tests/usr.bin

2019-10-13 Thread Kamil Rytarowski
On 14.10.2019 05:47, Jason High wrote: Module Name:src Committed By: jhigh Date: Mon Oct 14 03:47:20 UTC 2019 Modified Files: src/tests/usr.bin: Makefile Added Files: src/tests/usr.bin/argon2: Atffile Makefile t_argon2.sh Log Message: adding argon2 tests diff

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

2019-10-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Oct 13 09:42:15 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Fix race in t_ptrace_wait* LWP tests Increment the done variable under a mutex. This variable was updated non-atomically and sometim

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

2019-10-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Oct 13 09:42:15 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Fix race in t_ptrace_wait* LWP tests Increment the done variable under a mutex. This variable was updated non-atomically and sometim

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

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Oct 13 04:05:39 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Enable TEST_LWP_ENABLED in t_ptrace_wait* The LWP events (created, exited) are now reliable in my local tests. PR kern/51420 PR ker

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

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Oct 13 04:05:39 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Enable TEST_LWP_ENABLED in t_ptrace_wait* The LWP events (created, exited) are now reliable in my local tests. PR kern/51420 PR ker

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

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Oct 13 04:00:12 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Bump the number of threads in LWP t_ptrace_wait*() tests from to 100 This is a torture, but on purpose to catch LWP_CREATED and LWP_

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

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Oct 13 04:00:12 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Bump the number of threads in LWP t_ptrace_wait*() tests from to 100 This is a torture, but on purpose to catch LWP_CREATED and LWP_

CVS commit: src/sys/kern

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Oct 13 03:50:26 UTC 2019 Modified Files: src/sys/kern: kern_sig.c Log Message: Avoid double lwp_exit() in eventswitch() For the PTRACE_LWP_EXIT event, the eventswitch() call is triggered from lwp_exit(). In the case of setting

CVS commit: src/sys/kern

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Oct 13 03:50:26 UTC 2019 Modified Files: src/sys/kern: kern_sig.c Log Message: Avoid double lwp_exit() in eventswitch() For the PTRACE_LWP_EXIT event, the eventswitch() call is triggered from lwp_exit(). In the case of setting

CVS commit: src/sys/kern

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Oct 13 03:19:57 UTC 2019 Modified Files: src/sys/kern: kern_sig.c Log Message: Fix one the the root causes of unreliability of the ptrace(2)ed threads In case of sigswitchin away in issignal() and continuing the execution on P

CVS commit: src/sys/kern

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Oct 13 03:19:57 UTC 2019 Modified Files: src/sys/kern: kern_sig.c Log Message: Fix one the the root causes of unreliability of the ptrace(2)ed threads In case of sigswitchin away in issignal() and continuing the execution on P

CVS commit: src/sys/kern

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Oct 13 03:10:22 UTC 2019 Modified Files: src/sys/kern: kern_sig.c Log Message: Add sigswitch_unlock_and_switch_away(), extracted from sigswitch() Use sigswitch_unlock_and_switch_away() whenever there is no need for sigswitch()

CVS commit: src/sys/kern

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Oct 13 03:10:22 UTC 2019 Modified Files: src/sys/kern: kern_sig.c Log Message: Add sigswitch_unlock_and_switch_away(), extracted from sigswitch() Use sigswitch_unlock_and_switch_away() whenever there is no need for sigswitch()

CVS commit: src/sys/sys

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Oct 12 19:59:57 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to 9.99.17! struct proc change sigswitch() removed from public API To generate a diff of this commit: cvs rdiff -u -r1.617 -r1.618 src/sys/sy

CVS commit: src/sys/sys

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Oct 12 19:59:57 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to 9.99.17! struct proc change sigswitch() removed from public API To generate a diff of this commit: cvs rdiff -u -r1.617 -r1.618 src/sys/sy

CVS commit: src/sys

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Oct 12 19:57:09 UTC 2019 Modified Files: src/sys/kern: kern_sig.c src/sys/sys: signalvar.h Log Message: Refactor sigswitch() Make the function static as it is now local to kern_sig.c. Rename the 'relock' argument to '

CVS commit: src/sys

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Oct 12 19:57:09 UTC 2019 Modified Files: src/sys/kern: kern_sig.c src/sys/sys: signalvar.h Log Message: Refactor sigswitch() Make the function static as it is now local to kern_sig.c. Rename the 'relock' argument to '

CVS commit: src/sys/sys

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Oct 12 19:38:57 UTC 2019 Modified Files: src/sys/sys: proc.h Log Message: Remove now unused p_oppid from struct proc To generate a diff of this commit: cvs rdiff -u -r1.356 -r1.357 src/sys/sys/proc.h Please note that diffs a

CVS commit: src/sys/sys

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Oct 12 19:38:57 UTC 2019 Modified Files: src/sys/sys: proc.h Log Message: Remove now unused p_oppid from struct proc To generate a diff of this commit: cvs rdiff -u -r1.356 -r1.357 src/sys/sys/proc.h Please note that diffs a

CVS commit: src/sys/kern

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Oct 12 12:04:37 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Avoid signed integer overflow for -lwp where lwp is INT_MIN Reported-by: syzbot+68b80b44b898e66da...@syzkaller.appspotmail.com To genera

CVS commit: src/sys/kern

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Oct 12 12:04:37 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Avoid signed integer overflow for -lwp where lwp is INT_MIN Reported-by: syzbot+68b80b44b898e66da...@syzkaller.appspotmail.com To genera

CVS commit: src/sys/kern

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Oct 12 10:55:23 UTC 2019 Modified Files: src/sys/kern: kern_exec.c kern_fork.c kern_proc.c kern_sig.c Log Message: Remove p_oppid from struct proc This field is not needed as it duplicated p_opptr that is alread safe to use, u

CVS commit: src/sys/kern

2019-10-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Oct 12 10:55:23 UTC 2019 Modified Files: src/sys/kern: kern_exec.c kern_fork.c kern_proc.c kern_sig.c Log Message: Remove p_oppid from struct proc This field is not needed as it duplicated p_opptr that is alread safe to use, u

CVS commit: src/lib/libc/sys

2019-10-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Oct 9 13:42:37 UTC 2019 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: Document PT_STOP, update PT_KILL in the ptrace(2) man-page Formatting by To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/lib

CVS commit: src/lib/libc/sys

2019-10-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Oct 9 13:42:37 UTC 2019 Modified Files: src/lib/libc/sys: ptrace.2 Log Message: Document PT_STOP, update PT_KILL in the ptrace(2) man-page Formatting by To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/lib

CVS commit: src/sys

2019-10-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Oct 9 13:19:43 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c src/sys/sys: ptrace.h Log Message: Introduce new ptrace(2) operation PT_STOP It works like: - kill(SIGSTOP) for unstopped tracee - ptrace(PT

CVS commit: src/sys

2019-10-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Oct 9 13:19:43 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c src/sys/sys: ptrace.h Log Message: Introduce new ptrace(2) operation PT_STOP It works like: - kill(SIGSTOP) for unstopped tracee - ptrace(PT

CVS commit: src/sys/kern

2019-10-08 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Oct 8 18:02:46 UTC 2019 Modified Files: src/sys/kern: kern_sig.c Log Message: Enhance reliability of ptrace(2) in a debuggee with multiple LWPs Stop competing between threads which one emits event signal quicker and overwriti

CVS commit: src/sys/kern

2019-10-08 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Oct 8 18:02:46 UTC 2019 Modified Files: src/sys/kern: kern_sig.c Log Message: Enhance reliability of ptrace(2) in a debuggee with multiple LWPs Stop competing between threads which one emits event signal quicker and overwriti

CVS commit: src/sys/kern

2019-10-08 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Oct 8 12:29:57 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Correct the same expression on both sides of | PR sw-bug/54610 by David Binderman To generate a diff of this commit: cvs rdiff -u -r1.64

CVS commit: src/sys/kern

2019-10-08 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Oct 8 12:29:57 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Correct the same expression on both sides of | PR sw-bug/54610 by David Binderman To generate a diff of this commit: cvs rdiff -u -r1.64

CVS commit: src/sys/kern

2019-10-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Oct 7 21:32:51 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Fix typo in a comment To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/kern/sys_ptrace_common.c Please note that di

CVS commit: src/sys/kern

2019-10-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Oct 7 21:32:51 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Fix typo in a comment To generate a diff of this commit: cvs rdiff -u -r1.63 -r1.64 src/sys/kern/sys_ptrace_common.c Please note that di

Re: CVS commit: src/external/gpl3/gcc

2019-10-05 Thread Kamil Rytarowski
On 04.10.2019 10:51, matthew green wrote: > Module Name: src > Committed By: mrg > Date: Fri Oct 4 08:51:33 UTC 2019 > > Modified Files: > src/external/gpl3/gcc: README.gcc8 > src/external/gpl3/gcc/dist/gcc/config/aarch64: aarch64-netbsd.h > src/external/gpl3/gcc/dist/l

CVS commit: src/sys/compat/netbsd32

2019-10-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Oct 5 14:19:53 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32_compat_50.c netbsd32_time.c Log Message: Validate input before converting timeval::tv_usec in compat/netbsd32 To generate a diff of this commit: cvs r

CVS commit: src/sys/compat/netbsd32

2019-10-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Oct 5 14:19:53 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32_compat_50.c netbsd32_time.c Log Message: Validate input before converting timeval::tv_usec in compat/netbsd32 To generate a diff of this commit: cvs r

CVS commit: src/sys/kern

2019-10-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Oct 5 12:57:40 UTC 2019 Modified Files: src/sys/kern: kern_time.c Log Message: Check for valid timespec in clock_settime1() An alternative approach would be to check the valie in settime1(), but it would result in multiple ch

CVS commit: src/sys/kern

2019-10-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Oct 5 12:57:40 UTC 2019 Modified Files: src/sys/kern: kern_time.c Log Message: Check for valid timespec in clock_settime1() An alternative approach would be to check the valie in settime1(), but it would result in multiple ch

CVS commit: src/sys/kern

2019-10-04 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Oct 4 23:20:22 UTC 2019 Modified Files: src/sys/kern: sysv_msg.c Log Message: Avoid -LONG_MIN msgtyp in msgrcv(2) and treat it as LONG_MAX This logic (found in Linux) avoids undefined behavior. Reported-by: syzbot+8af00519a8

CVS commit: src/sys/kern

2019-10-04 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Oct 4 23:20:22 UTC 2019 Modified Files: src/sys/kern: sysv_msg.c Log Message: Avoid -LONG_MIN msgtyp in msgrcv(2) and treat it as LONG_MAX This logic (found in Linux) avoids undefined behavior. Reported-by: syzbot+8af00519a8

CVS commit: src/sys/uvm

2019-10-04 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Oct 4 22:48:46 UTC 2019 Modified Files: src/sys/uvm: uvm_mmap.c Log Message: Avoid left shift changing the signedness flag Reviewed by Reported-by: syzbot+25ac03024cedf27f3...@syzkaller.appspotmail.com To generate a diff

CVS commit: src/sys/uvm

2019-10-04 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Oct 4 22:48:46 UTC 2019 Modified Files: src/sys/uvm: uvm_mmap.c Log Message: Avoid left shift changing the signedness flag Reviewed by Reported-by: syzbot+25ac03024cedf27f3...@syzkaller.appspotmail.com To generate a diff

CVS commit: src/sys/kern

2019-10-04 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Oct 4 14:17:08 UTC 2019 Modified Files: src/sys/kern: subr_time.c Log Message: Avoid signed integer overflow in ts2timo() for ts->tv_nsec The condition would be rechecked later again after subtracting start time and most inva

CVS commit: src/sys/kern

2019-10-04 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Oct 4 14:17:08 UTC 2019 Modified Files: src/sys/kern: subr_time.c Log Message: Avoid signed integer overflow in ts2timo() for ts->tv_nsec The condition would be rechecked later again after subtracting start time and most inva

Re: CVS commit: src/sys/arch/acorn32/acorn32

2019-10-03 Thread Kamil Rytarowski
At least in certain domains of engineering 0 is a special case as it does not need unit (km, lumen, kg, ...) neither base (hex, dec, ..). It is natural (correct, expected) to print %#x for 0 as 0, without 0x. On 04.10.2019 04:09, Christos Zoulas wrote: > Thanks, and zero is special for 0#. Should

CVS commit: src/sys/kern

2019-10-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Oct 3 23:11:11 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Add two KASSERTS in the ptrace(2) kernel code Verify that we will never return empty ptrace_state for CHILD/LWP event. To generate a dif

CVS commit: src/sys/kern

2019-10-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Oct 3 23:11:11 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Add two KASSERTS in the ptrace(2) kernel code Verify that we will never return empty ptrace_state for CHILD/LWP event. To generate a dif

CVS commit: src/sys/kern

2019-10-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Oct 3 22:48:44 UTC 2019 Modified Files: src/sys/kern: kern_exit.c kern_lwp.c kern_sig.c kern_synch.c sys_ptrace_common.c Log Message: Separate flag for suspended by _lwp_suspend and suspended by a debugger Once a

CVS commit: src/sys/kern

2019-10-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Oct 3 22:48:44 UTC 2019 Modified Files: src/sys/kern: kern_exit.c kern_lwp.c kern_sig.c kern_synch.c sys_ptrace_common.c Log Message: Separate flag for suspended by _lwp_suspend and suspended by a debugger Once a

CVS commit: src/sys/kern

2019-10-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Oct 3 22:29:17 UTC 2019 Modified Files: src/sys/kern: init_main.c Log Message: Remove compile-time asserts checking whether intptr_t and void* are compat The checks were requested by core@ as a prerequisite for kevent::udata

CVS commit: src/sys/kern

2019-10-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Oct 3 22:29:17 UTC 2019 Modified Files: src/sys/kern: init_main.c Log Message: Remove compile-time asserts checking whether intptr_t and void* are compat The checks were requested by core@ as a prerequisite for kevent::udata

CVS commit: src/sys/sys

2019-10-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Oct 3 22:26:43 UTC 2019 Modified Files: src/sys/sys: lwp.h Log Message: Define LW_DBGSUSPEND in sys/lwp.h This flag specifies the suspended by debugger property, as used by PT_SUSPEND in ptrace(2). To generate a diff of thi

CVS commit: src/sys/sys

2019-10-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Oct 3 22:26:43 UTC 2019 Modified Files: src/sys/sys: lwp.h Log Message: Define LW_DBGSUSPEND in sys/lwp.h This flag specifies the suspended by debugger property, as used by PT_SUSPEND in ptrace(2). To generate a diff of thi

CVS commit: src

2019-10-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Oct 3 22:16:53 UTC 2019 Modified Files: src/external/bsd/libevent/dist: kqueue.c src/sys/compat/linux/common: linux_sched.c src/sys/compat/netbsd32: netbsd32.h netbsd32_conv.h src/sys/sys: event.h Log M

CVS commit: src

2019-10-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Oct 3 22:16:53 UTC 2019 Modified Files: src/external/bsd/libevent/dist: kqueue.c src/sys/compat/linux/common: linux_sched.c src/sys/compat/netbsd32: netbsd32.h netbsd32_conv.h src/sys/sys: event.h Log M

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

2019-10-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Oct 2 23:15:09 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Remove ATF t_ptrace_wait test suspend1 The tests verifies that a thread can be suspended by a debugger and later resumed by a tracee

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

2019-10-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Oct 2 23:15:09 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Remove ATF t_ptrace_wait test suspend1 The tests verifies that a thread can be suspended by a debugger and later resumed by a tracee

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

2019-10-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Oct 1 22:26:38 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Merge PT_GET_PROCESS_STATE checks into traceme_raise ATF ptrace tests Assert that PT_GET_PROCESS_STATE for !child and !lwp events re

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

2019-10-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Oct 1 22:26:38 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Merge PT_GET_PROCESS_STATE checks into traceme_raise ATF ptrace tests Assert that PT_GET_PROCESS_STATE for !child and !lwp events re

CVS commit: src/sys/kern

2019-10-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Oct 1 21:49:50 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Remove 2 static asserts from the kernel ptrace code sizeof(pid) and sizeof(lwp) will unlikely ever change and the check can confuse. The

CVS commit: src/sys/kern

2019-10-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Oct 1 21:49:50 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Remove 2 static asserts from the kernel ptrace code sizeof(pid) and sizeof(lwp) will unlikely ever change and the check can confuse. The

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

2019-10-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Oct 1 21:13:30 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add a few static asserts in t_ptrace_wait.c for conditions that must be kept Assert that ptrace_state and siginfo_t's _ptrace_state

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

2019-10-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Oct 1 21:13:30 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add a few static asserts in t_ptrace_wait.c for conditions that must be kept Assert that ptrace_state and siginfo_t's _ptrace_state

CVS commit: src/sys/kern

2019-10-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Oct 1 18:44:22 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Restore the old behavior in PT_GET_PROCESS_STATE For !child and !lwp events return zeroed struct ptrace_state. There is code that depends

CVS commit: src/sys/kern

2019-10-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Oct 1 18:44:22 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Restore the old behavior in PT_GET_PROCESS_STATE For !child and !lwp events return zeroed struct ptrace_state. There is code that depends

CVS commit: src/sys/sys

2019-09-30 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Sep 30 21:18:01 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to 9.99.15! struct proc and eventswitch() API changes. To generate a diff of this commit: cvs rdiff -u -r1.615 -r1.616 src/sys/sys/param.h P

CVS commit: src/sys/sys

2019-09-30 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Sep 30 21:18:01 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to 9.99.15! struct proc and eventswitch() API changes. To generate a diff of this commit: cvs rdiff -u -r1.615 -r1.616 src/sys/sys/param.h P

CVS commit: src/sys

2019-09-30 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Sep 30 21:13:33 UTC 2019 Modified Files: src/sys/compat/sys: siginfo.h src/sys/kern: kern_exec.c kern_fork.c kern_lwp.c kern_proc.c kern_sig.c sys_lwp.c sys_ptrace_common.c src/sys/sys: proc.h siginfo

CVS commit: src/sys

2019-09-30 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Sep 30 21:13:33 UTC 2019 Modified Files: src/sys/compat/sys: siginfo.h src/sys/kern: kern_exec.c kern_fork.c kern_lwp.c kern_proc.c kern_sig.c sys_lwp.c sys_ptrace_common.c src/sys/sys: proc.h siginfo

CVS commit: src/external/gpl2/xcvs/dist/src

2019-09-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Sep 24 21:03:29 UTC 2019 Modified Files: src/external/gpl2/xcvs/dist/src: ignore.c Log Message: Add missing ; To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/gpl2/xcvs/dist/src/ignore.c Please note t

CVS commit: src/external/gpl2/xcvs/dist/src

2019-09-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Sep 24 21:03:29 UTC 2019 Modified Files: src/external/gpl2/xcvs/dist/src: ignore.c Log Message: Add missing ; To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/external/gpl2/xcvs/dist/src/ignore.c Please note t

CVS commit: src/external/gpl2/xcvs/dist/src

2019-09-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Sep 24 21:01:50 UTC 2019 Modified Files: src/external/gpl2/xcvs/dist/src: ignore.c Log Message: Add a bunch of meta files from git and hg to ignore from CVS imports This will allow interop of src/ with git and hg without malfo

CVS commit: src/external/gpl2/xcvs/dist/src

2019-09-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Sep 24 21:01:50 UTC 2019 Modified Files: src/external/gpl2/xcvs/dist/src: ignore.c Log Message: Add a bunch of meta files from git and hg to ignore from CVS imports This will allow interop of src/ with git and hg without malfo

CVS commit: src/sys/kern

2019-09-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Sep 24 19:21:45 UTC 2019 Modified Files: src/sys/kern: init_main.c Log Message: Add a temporary ctassert checking whether void* and intptr_t are compatible To generate a diff of this commit: cvs rdiff -u -r1.504 -r1.505 src/s

CVS commit: src/sys/kern

2019-09-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Sep 24 19:21:45 UTC 2019 Modified Files: src/sys/kern: init_main.c Log Message: Add a temporary ctassert checking whether void* and intptr_t are compatible To generate a diff of this commit: cvs rdiff -u -r1.504 -r1.505 src/s

<    1   2   3   4   5   6   7   8   9   >