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

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

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

CVS commit: src/sys/kern

2019-11-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Nov 6 13:07:32 UTC 2019 Modified Files: src/sys/kern: subr_disk_mbr.c Log Message: Avoid unaligned pointer arithmetic in check_label_magic() Replace the logic of calculating the address with with base + offset. Reported by

CVS commit: src/sys/kern

2019-11-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Nov 6 13:07:32 UTC 2019 Modified Files: src/sys/kern: subr_disk_mbr.c Log Message: Avoid unaligned pointer arithmetic in check_label_magic() Replace the logic of calculating the address with with base + offset. Reported by

Re: CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
On 07.11.2019 14:25, Valery Ushakov wrote: > If the sanitizer does complain about other uses, there is little point > in fixing one instance and not the others. We already agreed with Christos that this is appeasing of GCC. If you want to scan the whole kernel (or whole C) file for more

Re: CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
On 07.11.2019 16:49, Martin Husemann wrote: > On Thu, Nov 07, 2019 at 04:45:31PM +0100, Kamil Rytarowski wrote: >> Unfortunately the C committee went into the opposite direction here and >> specified a potential dereference. > > Where? > > Martin > 6.3.2.1 C9

Re: CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
On 07.11.2019 16:45, Kamil Rytarowski wrote: > On 07.11.2019 16:26, Martin Husemann wrote: >> On Thu, Nov 07, 2019 at 02:53:08PM +0100, Kamil Rytarowski wrote: >>> On 07.11.2019 14:25, Valery Ushakov wrote: >>>> If the sanitizer does complain about other uses, there

CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 7 18:35:41 UTC 2019 Modified Files: src/sys/kern: subr_disk_mbr.c Log Message: Revert src/sys/kern/subr_disk_mbr.c r.1.52 Addressed in a better way in r. 1.53. To generate a diff of this commit: cvs rdiff -u -r1.53

Re: CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
On 07.11.2019 17:20, Kamil Rytarowski wrote: > On 07.11.2019 17:08, Martin Husemann wrote: >> On Thu, Nov 07, 2019 at 04:56:16PM +0100, Kamil Rytarowski wrote: >>> 6.3.2.1 C11 >>> >>> 'An lvalue is an expression (with an object type other than void) that

CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 7 18:35:41 UTC 2019 Modified Files: src/sys/kern: subr_disk_mbr.c Log Message: Revert src/sys/kern/subr_disk_mbr.c r.1.52 Addressed in a better way in r. 1.53. To generate a diff of this commit: cvs rdiff -u -r1.53

Re: CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
On 07.11.2019 17:09, Martin Husemann wrote: > On Thu, Nov 07, 2019 at 09:58:06AM -0600, David Young wrote: >> I think the problem is that if you have the series of statements, >> >> element_t *e = >element; >> >> if (s == NULL) >> return; > > Note that this example

CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 7 18:30:27 UTC 2019 Modified Files: src/sys/kern: subr_disk_mbr.c Log Message: Ensure in validate_label() that struct disklabel pointer is 8-byte aligned The label is searched each 4 bytes and can be detected in an

CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 7 18:30:27 UTC 2019 Modified Files: src/sys/kern: subr_disk_mbr.c Log Message: Ensure in validate_label() that struct disklabel pointer is 8-byte aligned The label is searched each 4 bytes and can be detected in an

Re: CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
On 07.11.2019 17:08, Martin Husemann wrote: > On Thu, Nov 07, 2019 at 04:56:16PM +0100, Kamil Rytarowski wrote: >> 6.3.2.1 C11 >> >> 'An lvalue is an expression (with an object type other than void) that >> potentially designates an object' >> >> This me

Re: CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
On 07.11.2019 18:20, Martin Husemann wrote: > On Thu, Nov 07, 2019 at 06:08:40PM +0100, Kamil Rytarowski wrote: >> Please review: >> >> http://netbsd.org/~kamil/patch-00194-disklabel-alignment.txt >> >> This patch works for me. > > Yes, I believe that it

Re: CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
On 07.11.2019 19:32, Valery Ushakov wrote: > On Thu, Nov 07, 2019 at 18:08:40 +0100, Kamil Rytarowski wrote: > >> On 07.11.2019 16:45, Kamil Rytarowski wrote: >>> On 07.11.2019 16:26, Martin Husemann wrote: >>>> On Thu, Nov 07, 2019 at 02:53:08PM +0100, Kamil Ryta

Re: CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
On 07.11.2019 07:25, Martin Husemann wrote: > On Wed, Nov 06, 2019 at 11:17:23PM +0100, Kamil Rytarowski wrote: >> Technically, I think that this is a real UB. >> >> 6.3.2.3/7 >> A pointer to an object type may be converted to a pointer to a >> different obje

Re: CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
On 07.11.2019 11:53, Martin Husemann wrote: > On Thu, Nov 07, 2019 at 11:46:47AM +0100, Kamil Rytarowski wrote: >> Please see my newer mail with rationale and another one with a >> confirmation that this was real UB. > > Confirmation? The dereference in this case happens i

Re: CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
On 07.11.2019 13:17, Valery Ushakov wrote: > On Thu, Nov 07, 2019 at 06:02:39 +0100, Kamil Rytarowski wrote: > >> I have checked received the following patch and received a feedback from >> a LLVM developer. >> >> On 07.11.2019 05:47, 'Dmitry Vyukov' via syzkall

Re: CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
On 07.11.2019 13:48, Valery Ushakov wrote: > On Thu, Nov 07, 2019 at 13:37:21 +0100, Kamil Rytarowski wrote: > >> On 07.11.2019 13:17, Valery Ushakov wrote: >>> On Thu, Nov 07, 2019 at 06:02:39 +0100, Kamil Rytarowski wrote: >>> As a side note - the C99 standard c

Re: CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
On 07.11.2019 16:26, Martin Husemann wrote: > On Thu, Nov 07, 2019 at 02:53:08PM +0100, Kamil Rytarowski wrote: >> On 07.11.2019 14:25, Valery Ushakov wrote: >>> If the sanitizer does complain about other uses, there is little point >>> in fixing one instance and not t

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 >>> >>>

CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 7 20:34:29 UTC 2019 Modified Files: src/sys/kern: subr_disk_mbr.c Log Message: Revert subr_disk_mbr.c r.1.54 Requested by as there can be a better way to fix the original problem with alignment. To generate a diff of

CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 7 20:34:29 UTC 2019 Modified Files: src/sys/kern: subr_disk_mbr.c Log Message: Revert subr_disk_mbr.c r.1.54 Requested by as there can be a better way to fix the original problem with alignment. To generate a diff of

Re: CVS commit: src/share/mk

2019-11-13 Thread Kamil Rytarowski
On 14.11.2019 03:34, Roy Marples wrote: > On 13/11/2019 22:32, Joerg Sonnenberger wrote: >> Module Name:    src >> Committed By:    joerg >> Date:    Wed Nov 13 22:32:16 UTC 2019 >> >> Modified Files: >> src/share/mk: bsd.own.mk >> >> Log Message: >> Restore pax-as-tar. >> >> >> To

Re: CVS commit: src/share/mk

2019-11-13 Thread Kamil Rytarowski
On 14.11.2019 05:11, Kamil Rytarowski wrote: > On 14.11.2019 04:55, Roy Marples wrote: >> On 14/11/2019 02:40, Kamil Rytarowski wrote: >>> On 14.11.2019 03:34, Roy Marples wrote: >>>> On 13/11/2019 22:32, Joerg Sonnenberger wrote: >>>>> Module Name:  

Re: CVS commit: src/share/mk

2019-11-13 Thread Kamil Rytarowski
On 14.11.2019 04:55, Roy Marples wrote: > On 14/11/2019 02:40, Kamil Rytarowski wrote: >> On 14.11.2019 03:34, Roy Marples wrote: >>> On 13/11/2019 22:32, Joerg Sonnenberger wrote: >>>> Module Name:    src >>>> Committed By:    joerg >

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

2019-11-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Nov 12 18:18:04 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c t_ptrace_wait.h Log Message: Rework thread_concurrent_signals and trace_thread_lwpcreate_and_exit Change the code to remove the LWP id

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

2019-11-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Nov 12 18:18:04 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c t_ptrace_wait.h Log Message: Rework thread_concurrent_signals and trace_thread_lwpcreate_and_exit Change the code to remove the LWP id

Re: CVS commit: src/sys/kern

2019-11-06 Thread Kamil Rytarowski
On 06.11.2019 23:38, Christos Zoulas wrote: > On Nov 6, 11:17pm, n...@gmx.com (Kamil Rytarowski) wrote: > -- Subject: Re: CVS commit: src/sys/kern > > | Technically, I think that this is a real UB. > | > | 6.3.2.3/7 > | A pointer to an object type may be converted to a point

Re: CVS commit: src/sys/kern

2019-11-06 Thread Kamil Rytarowski
sys/kern/vfs_subr.c:793:14, member access within null pointer of type 'struct vnode_impl' On 07.11.2019 00:03, Kamil Rytarowski wrote: > On 06.11.2019 23:38, Christos Zoulas wrote: >> On Nov 6, 11:17pm, n...@gmx.com (Kamil Rytarowski) wrote: >> -- Subject: Re: CVS commit: src/sys/kern

Re: CVS commit: src/sys/kern

2019-11-06 Thread Kamil Rytarowski
On 06.11.2019 22:43, Christos Zoulas wrote: > In article <20191106130732.c6c5af...@cvs.netbsd.org>, > Kamil Rytarowski wrote: >> -=-=-=-=-=- >> >> Module Name: src >> Committed By:kamil >> Date:Wed Nov 6 13:07:32 UTC 2019

CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 7 20:30:49 UTC 2019 Modified Files: src/sys/kern: subr_disk_mbr.c Log Message: Decorate check_label_magic() with __noubsan Requested by To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55

CVS commit: src/sys/kern

2019-11-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Nov 7 20:30:49 UTC 2019 Modified Files: src/sys/kern: subr_disk_mbr.c Log Message: Decorate check_label_magic() with __noubsan Requested by To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55

Re: CVS commit: src/external/gpl3/gdb/lib/libgdb/arch/x86_64

2019-11-21 Thread Kamil Rytarowski
On 22.11.2019 02:52, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Fri Nov 22 01:52:20 UTC 2019 > > Modified Files: > src/external/gpl3/gdb/lib/libgdb/arch/x86_64: config.h defs.mk init.c > > Log Message: > regen x86_64 for i386 support > For the

Re: CVS commit: src/external/gpl3/gdb/lib/libgdb/arch/x86_64

2019-11-21 Thread Kamil Rytarowski
types like void* cannot work as-is anyway. > christos > >> On Nov 21, 2019, at 9:37 PM, Christos Zoulas wrote: >> >> That's for kernel debugging? >> I still have not been touching kgdb. It was for building the i386 file on amd64 host only. >> christos >> &

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

2019-12-03 Thread Kamil Rytarowski
On 03.12.2019 12:50, Juergen Hannken-Illjes wrote: > Module Name: src > Committed By: hannken > Date: Tue Dec 3 11:50:45 UTC 2019 > > Modified Files: > src/sys/arch/x86/x86: x86_machdep.c > > Log Message: > Make sure the assignment to "idepth" is done inside the loop to prevent >

Re: CVS commit: src/sys/kern

2019-12-07 Thread Kamil Rytarowski
On 08.12.2019 00:35, matthew green wrote: >> 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 >> >>

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()->

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()->

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/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

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

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

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

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

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

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

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

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

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

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

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

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: 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:

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:

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:

Re: CVS commit: [netbsd-9] src

2019-11-21 Thread Kamil Rytarowski
On 22.11.2019 06:14, Takahiro Kambe wrote: > In message <20191121181801.11c5ff...@cvs.netbsd.org> > on Thu, 21 Nov 2019 18:18:01 +, > "Martin Husemann" wrote: >> Module Name: src >> Committed By:martin >> Date:Thu Nov 21 18:18:00 UTC 2019 >> >> Modified

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

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

CVS commit: src/sys/kern

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 13:29:31 UTC 2019 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Validate usec ranges in do_sys_utimes() sys/kern/vfs_syscalls.c:3939:4, signed integer overflow: 503923632 * 1000 cannot be represented in

CVS commit: src/sys/compat/netbsd32

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 15:09:07 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32_compat_50.c Log Message: Validate usec ranges in compat_50_netbsd32_select() Later in the code selcommon() checks for proper timespec, check only

CVS commit: src/sys/compat/netbsd32

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 15:09:07 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32_compat_50.c Log Message: Validate usec ranges in compat_50_netbsd32_select() Later in the code selcommon() checks for proper timespec, check only

CVS commit: src/sys/compat/netbsd32

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 15:16:41 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32_select.c Log Message: Validate usec ranges in netbsd32___select50() Later in the code selcommon() checks for proper timespec, check only correct usec

CVS commit: src/sys/compat/netbsd32

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 15:16:41 UTC 2019 Modified Files: src/sys/compat/netbsd32: netbsd32_select.c Log Message: Validate usec ranges in netbsd32___select50() Later in the code selcommon() checks for proper timespec, check only correct usec

CVS commit: src/sys/netinet6

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 14:53:24 UTC 2019 Modified Files: src/sys/netinet6: scope6.c Log Message: Decorate in6_clearscope() with __noubsan sys/netinet6/scope6.c:480:6, member access within misaligned address 0x9457bc441286 for type

CVS commit: src/sys/compat/common

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 15:05:22 UTC 2019 Modified Files: src/sys/compat/common: kern_select_50.c Log Message: Validate usec ranges in compat_50_sys_select() Later in the code selcommon() checks for proper timespec, check only correct usec of

CVS commit: src/sys/compat

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 15:25:19 UTC 2019 Modified Files: src/sys/compat/linux/common: linux_misc.c src/sys/compat/linux32/common: linux32_unistd.c Log Message: Avoid signed integer overflow when convering linux timeval to timespec

CVS commit: src/sys/kern

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 13:29:31 UTC 2019 Modified Files: src/sys/kern: vfs_syscalls.c Log Message: Validate usec ranges in do_sys_utimes() sys/kern/vfs_syscalls.c:3939:4, signed integer overflow: 503923632 * 1000 cannot be represented in

CVS commit: src/sys/compat

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 15:25:19 UTC 2019 Modified Files: src/sys/compat/linux/common: linux_misc.c src/sys/compat/linux32/common: linux32_unistd.c Log Message: Avoid signed integer overflow when convering linux timeval to timespec

CVS commit: src/sys/external/bsd/drm2/dist/drm/i915

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 12:41:34 UTC 2019 Modified Files: src/sys/external/bsd/drm2/dist/drm/i915: intel_display.c intel_runtime_pm.c Log Message: Switch CTASSERT() to DRMCTASSERT() in two i915 functions Fixes build with disabled

CVS commit: src/sys/external/bsd/drm2/dist/drm/i915

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 12:41:34 UTC 2019 Modified Files: src/sys/external/bsd/drm2/dist/drm/i915: intel_display.c intel_runtime_pm.c Log Message: Switch CTASSERT() to DRMCTASSERT() in two i915 functions Fixes build with disabled

CVS commit: src/sys/netinet6

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 14:53:24 UTC 2019 Modified Files: src/sys/netinet6: scope6.c Log Message: Decorate in6_clearscope() with __noubsan sys/netinet6/scope6.c:480:6, member access within misaligned address 0x9457bc441286 for type

CVS commit: src/sys/compat/common

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 15:05:22 UTC 2019 Modified Files: src/sys/compat/common: kern_select_50.c Log Message: Validate usec ranges in compat_50_sys_select() Later in the code selcommon() checks for proper timespec, check only correct usec of

CVS commit: src/sys/kern

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 14:12:57 UTC 2019 Modified Files: src/sys/kern: kern_time.c Log Message: Validate usec ranges in settimeofday1() To generate a diff of this commit: cvs rdiff -u -r1.199 -r1.200 src/sys/kern/kern_time.c Please note

CVS commit: src/sys/kern

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 14:12:57 UTC 2019 Modified Files: src/sys/kern: kern_time.c Log Message: Validate usec ranges in settimeofday1() To generate a diff of this commit: cvs rdiff -u -r1.199 -r1.200 src/sys/kern/kern_time.c Please note

CVS commit: src/sys/kern

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 15:00:48 UTC 2019 Modified Files: src/sys/kern: sys_select.c Log Message: Validate usec ranges in sys___select50() Later in the code selcommon() checks for proper timespec, check only correct usec of timeval before

CVS commit: src/sys/kern

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 15:00:48 UTC 2019 Modified Files: src/sys/kern: sys_select.c Log Message: Validate usec ranges in sys___select50() Later in the code selcommon() checks for proper timespec, check only correct usec of timeval before

CVS commit: src/sys/external/bsd/drm2/include/asm

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 12:40:23 UTC 2019 Modified Files: src/sys/external/bsd/drm2/include/asm: bug.h Log Message: Define DRMCTASSERT() for Compile-Time DRMKMS asserts Switch CTASSERT() to DRMCTASSERT() in BUILD_BUG_ON(). This fixes build

CVS commit: src/sys/external/bsd/drm2/include/asm

2019-09-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 20 12:40:23 UTC 2019 Modified Files: src/sys/external/bsd/drm2/include/asm: bug.h Log Message: Define DRMCTASSERT() for Compile-Time DRMKMS asserts Switch CTASSERT() to DRMCTASSERT() in BUILD_BUG_ON(). This fixes build

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

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

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

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

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

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

Re: CVS commit: src/sys/net

2019-09-23 Thread Kamil Rytarowski
On 23.09.2019 06:53, Rin Okuyama wrote: > Hi, > > On 2019/09/22 18:30, Kamil Rytarowski wrote: >> On 12.04.2018 06:38, Ryota Ozaki wrote: >>> Module Name:    src >>> Committed By:    ozaki-r >>> Date:    Thu Apr 12 04:38:13 UTC 2018 >>> &g

CVS commit: src/sys/sys

2019-09-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 22 23:23:12 UTC 2019 Modified Files: src/sys/sys: cdefs.h Log Message: Handle LSan/LLVM and LSan/GCC in __NO_LEAKS __has_feature(leak_sanitizer) was merged with Clang/LLVM today: https://reviews.llvm.org/D67719 GCC

CVS commit: src/sys/sys

2019-09-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 22 23:23:12 UTC 2019 Modified Files: src/sys/sys: cdefs.h Log Message: Handle LSan/LLVM and LSan/GCC in __NO_LEAKS __has_feature(leak_sanitizer) was merged with Clang/LLVM today: https://reviews.llvm.org/D67719 GCC

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

2019-09-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 22 23:34:13 UTC 2019 Modified Files: src/external/gpl3/gcc/dist/gcc: cppbuiltin.c Log Message: Add LSan and UBSan specific preprocessor macros __SANITIZE_LEAK__ patch:

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

2019-09-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 22 23:34:13 UTC 2019 Modified Files: src/external/gpl3/gcc/dist/gcc: cppbuiltin.c Log Message: Add LSan and UBSan specific preprocessor macros __SANITIZE_LEAK__ patch:

CVS commit: src/sys/sys

2019-09-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 22 23:13:10 UTC 2019 Modified Files: src/sys/sys: cdefs.h Log Message: Make __CTASSERT static assert again Today GCC/Clang allow to specify typedef char[] with the dynamic VLA property (as introduced in C99). This means

CVS commit: src/sys/sys

2019-09-22 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 22 23:13:10 UTC 2019 Modified Files: src/sys/sys: cdefs.h Log Message: Make __CTASSERT static assert again Today GCC/Clang allow to specify typedef char[] with the dynamic VLA property (as introduced in C99). This means

Re: CVS commit: src

2019-09-23 Thread Kamil Rytarowski
On 23.09.2019 14:10, Christos Zoulas wrote: > In article <39faa27a-2f79-3296-b316-513a6a3fa...@gmx.com>, > Kamil Rytarowski wrote: >> -=-=-=-=-=- >> -=-=-=-=-=- >> >> On 23.09.2019 00:59, Christos Zoulas wrote: >>> Module Name:

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

<    1   2   3   4   5   6   7   8   9   >