CVS commit: src/sys/sys

2019-08-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Aug 10 23:47:13 UTC 2019 Modified Files: src/sys/sys: event.h Log Message: Fix typo in pragma in sys/event.h Reenable -Wconversion-null. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/sys/event.h

CVS commit: src/sys/sys

2019-08-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Aug 10 23:47:13 UTC 2019 Modified Files: src/sys/sys: event.h Log Message: Fix typo in pragma in sys/event.h Reenable -Wconversion-null. To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/sys/event.h

Re: CVS commit: src/sys/sys

2019-08-11 Thread Kamil Rytarowski
On 11.08.2019 09:17, Martin Husemann wrote: > On Sat, Aug 10, 2019 at 11:37:28PM +0200, Kamil Rytarowski wrote: >>> can we go back to the drawing board on this one and discuss the original >>> problem? >>> >> >> C++ and cast rules. > > The que

CVS commit: src/tests/rump/modautoload

2019-08-16 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Aug 17 04:04:29 UTC 2019 Modified Files: src/tests/rump/modautoload: Makefile Log Message: Avoid symbol clashes in test/rump/modautoload/t_modautoload with sanitizers Set SANITIZER_RENAME_SYMBOL.t_modautoload to: *

CVS commit: src/tests/rump/modautoload

2019-08-16 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Aug 17 04:04:29 UTC 2019 Modified Files: src/tests/rump/modautoload: Makefile Log Message: Avoid symbol clashes in test/rump/modautoload/t_modautoload with sanitizers Set SANITIZER_RENAME_SYMBOL.t_modautoload to: *

CVS commit: src/sbin/sysctl

2019-08-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Aug 18 04:10:22 UTC 2019 Modified Files: src/sbin/sysctl: Makefile prog_ops.h sysctl.c sysctl_hostops.c sysctl_rumpops.c Log Message: sysctl: Add indirection of symbols to remove clash with sanitizers Add

CVS commit: src/usr.sbin/traceroute

2019-08-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Aug 18 04:12:07 UTC 2019 Modified Files: src/usr.sbin/traceroute: Makefile ifaddrlist.c prog_ops.h traceroute_hostops.c traceroute_rumpops.c Log Message: traceroute: Add indirection of symbol to remove clash with

CVS commit: src/usr.sbin/traceroute

2019-08-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Aug 18 04:12:07 UTC 2019 Modified Files: src/usr.sbin/traceroute: Makefile ifaddrlist.c prog_ops.h traceroute_hostops.c traceroute_rumpops.c Log Message: traceroute: Add indirection of symbol to remove clash with

CVS commit: src/sbin/sysctl

2019-08-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Aug 18 04:10:22 UTC 2019 Modified Files: src/sbin/sysctl: Makefile prog_ops.h sysctl.c sysctl_hostops.c sysctl_rumpops.c Log Message: sysctl: Add indirection of symbols to remove clash with sanitizers Add

CVS commit: src/usr.bin/sockstat

2019-08-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Aug 18 04:13:24 UTC 2019 Modified Files: src/usr.bin/sockstat: Makefile prog_ops.h sockstat.c sockstat_hostops.c sockstat_rumpops.c Log Message: sockstat: Add indirection of symbols to remove clash with sanitizers

CVS commit: src/usr.bin/sockstat

2019-08-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Aug 18 04:13:24 UTC 2019 Modified Files: src/usr.bin/sockstat: Makefile prog_ops.h sockstat.c sockstat_hostops.c sockstat_rumpops.c Log Message: sockstat: Add indirection of symbols to remove clash with sanitizers

CVS commit: src/usr.bin/netstat

2019-08-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Aug 18 04:14:41 UTC 2019 Modified Files: src/usr.bin/netstat: Makefile atalk.c bpf.c fast_ipsec.c inet.c inet6.c netstat_hostops.c netstat_rumpops.c pfkey.c pfsync.c prog_ops.h Log Message: netstat: Add indirection

CVS commit: src/usr.bin/netstat

2019-08-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Aug 18 04:14:41 UTC 2019 Modified Files: src/usr.bin/netstat: Makefile atalk.c bpf.c fast_ipsec.c inet.c inet6.c netstat_hostops.c netstat_rumpops.c pfkey.c pfsync.c prog_ops.h Log Message: netstat: Add indirection

CVS commit: src/distrib/i386/ramdisks/common

2019-08-21 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Aug 22 04:25:38 UTC 2019 Modified Files: src/distrib/i386/ramdisks/common: Makefile.ramdisk Log Message: Set NOSANITIZER in i386 ramdisk image To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

CVS commit: src/distrib/i386/ramdisks/common

2019-08-21 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Aug 22 04:25:38 UTC 2019 Modified Files: src/distrib/i386/ramdisks/common: Makefile.ramdisk Log Message: Set NOSANITIZER in i386 ramdisk image To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14

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

2019-08-20 Thread Kamil Rytarowski
On 07.08.2019 08:28, Maxime Villard wrote: > Module Name: src > Committed By: maxv > Date: Wed Aug 7 06:28:03 UTC 2019 > > Modified Files: > src/sys/arch/amd64/conf: GENERIC > > Log Message: > Sync with reality. > > Can we enable USER_LDT by default in GENERIC? > To generate

CVS commit: src

2019-08-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Aug 25 06:06:48 UTC 2019 Modified Files: src: Makefile src/external/bsd/compiler_rt: Makefile src/external/bsd/compiler_rt/lib/clang: Makefile src/external/bsd/compiler_rt/lib/clang/lib: Makefile Log

CVS commit: src

2019-08-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Aug 27 22:48:55 UTC 2019 Modified Files: src: Makefile src/common/lib/libc/gmon: mcount.c src/distrib/sets/lists/base: mi src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64: Makefile

CVS commit: src

2019-08-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Aug 27 22:48:55 UTC 2019 Modified Files: src: Makefile src/common/lib/libc/gmon: mcount.c src/distrib/sets/lists/base: mi src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64: Makefile

CVS commit: src/external/bsd/compiler_rt/lib/clang/lib/netbsd

2019-08-30 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 30 23:36:41 UTC 2019 Modified Files: src/external/bsd/compiler_rt/lib/clang/lib/netbsd: syms.mk src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64: Makefile

CVS commit: src/external/bsd/compiler_rt/lib/clang/lib/netbsd

2019-08-30 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 30 23:36:41 UTC 2019 Modified Files: src/external/bsd/compiler_rt/lib/clang/lib/netbsd: syms.mk src/external/bsd/compiler_rt/lib/clang/lib/netbsd/asan-m64: Makefile

Re: CVS commit: src/lib/libcurses

2019-09-03 Thread Kamil Rytarowski
On 03.09.2019 12:36, Roy Marples wrote: > Module Name: src > Committed By: roy > Date: Tue Sep 3 10:36:17 UTC 2019 > > Modified Files: > src/lib/libcurses: Makefile curses.h version.c > Added Files: > src/lib/libcurses: cursesrelease.sh > > Log Message: > curses: Add

CVS commit: src/external/bsd/compiler_rt/lib/clang/lib/netbsd

2019-09-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Sep 3 03:04:31 UTC 2019 Modified Files: src/external/bsd/compiler_rt/lib/clang/lib/netbsd: common.mk Log Message: Set NOLIBCSANITIZER for LLVM sanitizer runtimes Do not sanitize sanitizer runtimes. To generate a diff of

CVS commit: src/external/bsd/compiler_rt/lib/clang/lib/netbsd

2019-09-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Sep 3 03:04:31 UTC 2019 Modified Files: src/external/bsd/compiler_rt/lib/clang/lib/netbsd: common.mk Log Message: Set NOLIBCSANITIZER for LLVM sanitizer runtimes Do not sanitize sanitizer runtimes. To generate a diff of

CVS commit: src

2019-08-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Aug 26 04:49:47 UTC 2019 Modified Files: src: Makefile src/distrib/sets/lists/base: md.amd64 md.i386 src/distrib/sets/lists/comp: md.amd64 md.i386 src/external/bsd/compiler_rt/lib/clang/lib/netbsd:

CVS commit: src

2019-08-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Aug 26 04:49:47 UTC 2019 Modified Files: src: Makefile src/distrib/sets/lists/base: md.amd64 md.i386 src/distrib/sets/lists/comp: md.amd64 md.i386 src/external/bsd/compiler_rt/lib/clang/lib/netbsd:

CVS commit: src/external/bsd/compiler_rt/lib/clang/lib/netbsd

2019-08-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 23 19:26:03 UTC 2019 Modified Files: src/external/bsd/compiler_rt/lib/clang/lib/netbsd/safestack-m32: Makefile src/external/bsd/compiler_rt/lib/clang/lib/netbsd/safestack-m64: Makefile

CVS commit: src/external/bsd/compiler_rt/lib/clang/lib/netbsd

2019-08-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 23 19:26:03 UTC 2019 Modified Files: src/external/bsd/compiler_rt/lib/clang/lib/netbsd/safestack-m32: Makefile src/external/bsd/compiler_rt/lib/clang/lib/netbsd/safestack-m64: Makefile

CVS commit: src

2019-08-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 23 06:38:27 UTC 2019 Modified Files: src: Makefile src/distrib/sets/lists/base: md.i386 src/external/bsd: Makefile src/external/bsd/compiler_rt/lib/clang/lib: Makefile

CVS commit: src/tests/usr.bin

2019-08-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 23 06:39:54 UTC 2019 Modified Files: src/tests/usr.bin/c++: t_fuzzer_oom.sh t_fuzzer_simple.sh t_fuzzer_timeout.sh t_msan_allocated_memory.sh t_msan_check_mem.sh t_msan_free.sh t_msan_heap.sh

CVS commit: src/tests/usr.bin

2019-08-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 23 06:39:54 UTC 2019 Modified Files: src/tests/usr.bin/c++: t_fuzzer_oom.sh t_fuzzer_simple.sh t_fuzzer_timeout.sh t_msan_allocated_memory.sh t_msan_check_mem.sh t_msan_free.sh t_msan_heap.sh

CVS commit: src

2019-08-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 23 06:38:27 UTC 2019 Modified Files: src: Makefile src/distrib/sets/lists/base: md.i386 src/external/bsd: Makefile src/external/bsd/compiler_rt/lib/clang/lib: Makefile

CVS commit: src/sys/ddb

2019-08-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 23 14:48:51 UTC 2019 Modified Files: src/sys/ddb: db_access.c Log Message: Avoids signedness bit shift in db_get_value() Appease UBSan. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

CVS commit: src/sys/ddb

2019-08-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Aug 23 14:48:51 UTC 2019 Modified Files: src/sys/ddb: db_access.c Log Message: Avoids signedness bit shift in db_get_value() Appease UBSan. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24

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

2019-09-05 Thread Kamil Rytarowski
On 05.09.2019 14:57, Maxime Villard wrote: > Module Name: src > Committed By: maxv > Date: Thu Sep 5 12:57:30 UTC 2019 > > Modified Files: > src/sys/arch/amd64/amd64: lock_stubs.S > > Log Message: > Remove unused, and style. > > > To generate a diff of this commit: > cvs rdiff

CVS commit: src/sys/netinet6

2019-09-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Sep 5 20:17:27 UTC 2019 Modified Files: src/sys/netinet6: in6.h Log Message: Revert regression introduced in in6.h r. 1.95 revision 1.95 date: 2019-05-28 05:56:46 +0200; author: kamil; state:

CVS commit: src/sys/netinet6

2019-09-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Sep 5 20:17:27 UTC 2019 Modified Files: src/sys/netinet6: in6.h Log Message: Revert regression introduced in in6.h r. 1.95 revision 1.95 date: 2019-05-28 05:56:46 +0200; author: kamil; state:

CVS commit: src/sys/sys

2019-09-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Sep 5 22:29:59 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to 9.99.11 struct in6_addr ABI revert to the previous layout. To generate a diff of this commit: cvs rdiff -u -r1.610 -r1.611

CVS commit: src/sys/sys

2019-09-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Sep 5 22:29:59 UTC 2019 Modified Files: src/sys/sys: param.h Log Message: Welcome to 9.99.11 struct in6_addr ABI revert to the previous layout. To generate a diff of this commit: cvs rdiff -u -r1.610 -r1.611

Re: CVS commit: src/bin/ps

2019-09-11 Thread Kamil Rytarowski
On 11.09.2019 21:03, Robert Elz wrote: > Date:Wed, 11 Sep 2019 17:02:53 + > From: "Kamil Rytarowski" > Message-ID: <20190911170253.d097ff...@cvs.netbsd.org> > > | Free it when no longer used, just before the program termin

Re: CVS commit: src/bin/ps

2019-09-11 Thread Kamil Rytarowski
On 12.09.2019 02:52, Roy Marples wrote: > On 11/09/2019 20:03, Robert Elz wrote: >> Date:    Wed, 11 Sep 2019 17:02:53 + >> From:    "Kamil Rytarowski" >> Message-ID:  <20190911170253.d097ff...@cvs.netbsd.org> >> >&

Leak Sanitizer - how to suppress leaks

2019-09-11 Thread Kamil Rytarowski
On 11.09.2019 23:33, Robert Elz wrote: > Date:Wed, 11 Sep 2019 21:13:24 +0200 > From: Kamil Rytarowski > Message-ID: <6c853bc7-6510-459e-d451-51f988617...@gmx.com> > > | We have got even fixups in libc for such "nonsense" cases. >

Re: Leak Sanitizer - how to suppress leaks

2019-09-12 Thread Kamil Rytarowski
On 12.09.2019 10:09, Robert Elz wrote: > The right change to make however is to teach the santitsers (all of them) > that exiting (via exit() or a return from main()) frees everything, This proposal is practically equivalent of disabling leak detection at all and removes the whole purpose. Leak

CVS commit: src/lib/libpthread

2019-09-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Sep 10 22:34:19 UTC 2019 Modified Files: src/lib/libpthread: thrd.c threads.h Log Message: Switch back _Noreturn to __dead in C11 threads There is an ongoing discussion to unify unreturn attribute between C and C++, making a

CVS commit: src/lib/libpthread

2019-09-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Sep 10 22:34:19 UTC 2019 Modified Files: src/lib/libpthread: thrd.c threads.h Log Message: Switch back _Noreturn to __dead in C11 threads There is an ongoing discussion to unify unreturn attribute between C and C++, making a

Re: Leak Sanitizer - how to suppress leaks

2019-09-14 Thread Kamil Rytarowski
On 13.09.2019 14:03, Robert Elz wrote: > | I think we need to specify the definition. Leak is a memory object > | without a pointer referencing it. > > I can accept that as a definition. But we also need to recognise that > there are no leaks after the program has finished. And the

Re: Leak Sanitizer - how to suppress leaks

2019-09-14 Thread Kamil Rytarowski
On 14.09.2019 13:54, Martin Husemann wrote: > On Sat, Sep 14, 2019 at 01:45:08PM +0200, Kamil Rytarowski wrote: >> OK, thank you. So to sum it up. Plugging resource leaks costs time and >> human effort and this is what is not wanted by some people. For those >> who find it u

CVS commit: src/bin/ps

2019-09-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 15 15:27:50 UTC 2019 Modified Files: src/bin/ps: ps.c Log Message: ps(1): Guard freeing the memory of pinfo with __NO_LEAKS. No more leaks are detected by LSan/NetBSD as of the LLVM snapshot (clang10svn) from 2019-09-15.

CVS commit: src/bin/ps

2019-09-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 15 15:27:50 UTC 2019 Modified Files: src/bin/ps: ps.c Log Message: ps(1): Guard freeing the memory of pinfo with __NO_LEAKS. No more leaks are detected by LSan/NetBSD as of the LLVM snapshot (clang10svn) from 2019-09-15.

CVS commit: src/sys/sys

2019-09-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 15 15:18:45 UTC 2019 Modified Files: src/sys/sys: cdefs.h Log Message: Define __NO_LEAKS in sys/cdefs.h This preprocessor symbol is intended to be used with leak detecting software, documenting leaks that are not

CVS commit: src/sys/sys

2019-09-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 15 15:18:45 UTC 2019 Modified Files: src/sys/sys: cdefs.h Log Message: Define __NO_LEAKS in sys/cdefs.h This preprocessor symbol is intended to be used with leak detecting software, documenting leaks that are not

Re: CVS commit: src/tests/kernel

2019-09-15 Thread Kamil Rytarowski
On 15.09.2019 18:53, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Sun Sep 15 16:53:58 UTC 2019 > > Modified Files: > src/tests/kernel: Makefile > Added Files: > src/tests/kernel: h_fexecve.c t_fexecve.sh > > Log Message: > Add tests for

CVS commit: src/libexec/ld.elf_so

2019-09-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 15 13:40:46 UTC 2019 Modified Files: src/libexec/ld.elf_so: rtld.c Log Message: Return the ELF loader dl_phdr_info information for dl_iterate_phdr(3) Sync the behavior of dl_iterate_phdr(3) with Linux/FreeBSD/OpenBSD.

CVS commit: src/libexec/ld.elf_so

2019-09-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 15 13:40:46 UTC 2019 Modified Files: src/libexec/ld.elf_so: rtld.c Log Message: Return the ELF loader dl_phdr_info information for dl_iterate_phdr(3) Sync the behavior of dl_iterate_phdr(3) with Linux/FreeBSD/OpenBSD.

CVS commit: src/sys/sys

2019-09-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 15 14:30:26 UTC 2019 Modified Files: src/sys/sys: cdefs.h Log Message: Add Clang/LLVM specific feature/extension detection macros in sys/cdefs.h These macros are not supported (as of now) with GCC and there is need to

CVS commit: src/sys/sys

2019-09-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 15 14:30:26 UTC 2019 Modified Files: src/sys/sys: cdefs.h Log Message: Add Clang/LLVM specific feature/extension detection macros in sys/cdefs.h These macros are not supported (as of now) with GCC and there is need to

CVS commit: src/sys/sys

2019-09-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 18 15:06:03 UTC 2019 Modified Files: src/sys/sys: cdefs.h Log Message: Define __noubsan in sys/cdefs.h for KERNEL sanitization To generate a diff of this commit: cvs rdiff -u -r1.143 -r1.144 src/sys/sys/cdefs.h Please

CVS commit: src/sys/sys

2019-09-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 18 15:06:03 UTC 2019 Modified Files: src/sys/sys: cdefs.h Log Message: Define __noubsan in sys/cdefs.h for KERNEL sanitization To generate a diff of this commit: cvs rdiff -u -r1.143 -r1.144 src/sys/sys/cdefs.h Please

CVS commit: src/sys/kern

2019-09-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 18 15:33:32 UTC 2019 Modified Files: src/sys/kern: subr_percpu.c Log Message: Decorate percpu_cpu_swap() with __noubsan To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/kern/subr_percpu.c Please

CVS commit: src/sys/kern

2019-09-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 18 15:33:32 UTC 2019 Modified Files: src/sys/kern: subr_percpu.c Log Message: Decorate percpu_cpu_swap() with __noubsan To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/sys/kern/subr_percpu.c Please

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

2019-09-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 18 15:07:08 UTC 2019 Modified Files: src/sys/arch/x86/x86: patch.c Log Message: Switch to __noubsan in x86_hotpatch() To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/arch/x86/x86/patch.c Please

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

2019-09-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 18 15:07:08 UTC 2019 Modified Files: src/sys/arch/x86/x86: patch.c Log Message: Switch to __noubsan in x86_hotpatch() To generate a diff of this commit: cvs rdiff -u -r1.36 -r1.37 src/sys/arch/x86/x86/patch.c Please

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

2019-09-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 18 20:18:27 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Avoid VLA to appease stack-protector This has been reproduced with -O0 and -fsanitize=undefined. To generate a diff of this commit: cvs

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

2019-09-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 18 20:18:27 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: trap.c Log Message: Avoid VLA to appease stack-protector This has been reproduced with -O0 and -fsanitize=undefined. To generate a diff of this commit: cvs

Re: CVS commit: src/sys

2019-09-18 Thread Kamil Rytarowski
On 18.09.2019 21:02, Kamil Rytarowski wrote: > On 02.09.2019 22:09, Taylor R Campbell wrote: >> Module Name: src >> Committed By:riastradh >> Date:Mon Sep 2 20:09:30 UTC 2019 >> >> Modified Files: >> src/sys/conf: files >>

Re: CVS commit: src/sys

2019-09-18 Thread Kamil Rytarowski
On 02.09.2019 22:09, Taylor R Campbell wrote: > Module Name: src > Committed By: riastradh > Date: Mon Sep 2 20:09:30 UTC 2019 > > Modified Files: > src/sys/conf: files > src/sys/dev: rndpseudo.c > src/sys/kern: subr_cprng.c > src/sys/rump/kern/lib/libcrypto:

Re: CVS commit: src/include

2019-09-15 Thread Kamil Rytarowski
Thanks! Here is more cleanup of _INCOMPLETE_XOPEN_C063: http://netbsd.org/~kamil/patch-00149-_INCOMPLETE_XOPEN_C063.txt (not build tested) On 16.09.2019 01:41, Christos Zoulas wrote: > Fixed. > > christos > >> On Sep 15, 2019, at 6:40 PM, Kamil Rytarowski wrote: >

CVS commit: src/lib/librumphijack

2019-09-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Sep 16 00:00:57 UTC 2019 Modified Files: src/lib/librumphijack: Makefile Log Message: Stop passing -D_INCOMPLETE_XOPEN_C063 (obsolete define) To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

Re: Leak Sanitizer - how to suppress leaks

2019-09-15 Thread Kamil Rytarowski
On 16.09.2019 02:47, Robert Elz wrote: > Expecting any unix program (even the simplest) to simply compile and run > in a non-kernel environment is pointless, they simply won't work. As a non-trivial no-kernel example, nethack on rump unikernel: https://github.com/anttikantee/rumprun-nethack On

CVS commit: src/lib/libc/gen

2019-09-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Sep 16 01:25:16 UTC 2019 Modified Files: src/lib/libc/gen: utimens.c Log Message: Remove _INCOMPLETE_XOPEN_C063, no longer needed To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/lib/libc/gen/utimens.c Please

CVS commit: src/lib/librumphijack

2019-09-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Sep 16 00:00:57 UTC 2019 Modified Files: src/lib/librumphijack: Makefile Log Message: Stop passing -D_INCOMPLETE_XOPEN_C063 (obsolete define) To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22

CVS commit: src/bin/dd

2019-09-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 15 23:58:31 UTC 2019 Modified Files: src/bin/dd: Makefile Log Message: Drop -D_INCOMPLETE_XOPEN_C063 from dd(1) To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/bin/dd/Makefile Please note that diffs

CVS commit: src/bin/dd

2019-09-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Sep 15 23:58:31 UTC 2019 Modified Files: src/bin/dd: Makefile Log Message: Drop -D_INCOMPLETE_XOPEN_C063 from dd(1) To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/bin/dd/Makefile Please note that diffs

Re: CVS commit: src/tests/kernel

2019-09-15 Thread Kamil Rytarowski
better. It is also the case that perhaps > we need to get rid of the kernel tests directory and move them to the > respective bin and lib directories to avoid confusion? > > christos > >> On Sep 15, 2019, at 1:02 PM, Kamil Rytarowski wrote: >> >> Signed PGP part >&g

Re: CVS commit: src/tests/kernel

2019-09-15 Thread Kamil Rytarowski
) ^~~ execve cc1: all warnings being treated as errors On 15.09.2019 22:37, Kamil Rytarowski wrote: > I have got no opinion, but merging them is good. Personally I prefer > src/libc/* path as fexecve(2) is a libc public symbol. > > On 15.09.2019 20:06, Christos Zoulas wrote:

Re: CVS commit: src/include

2019-09-15 Thread Kamil Rytarowski
On 16.09.2019 00:32, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Sun Sep 15 22:32:48 UTC 2019 > > Modified Files: > src/include: unistd.h > > Log Message: > Declare fexecve > Thanks! Now we have got two.. declarations. #if

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

2019-09-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 6 14:37:00 UTC 2019 Modified Files: src/external/gpl3/gdb/dist/gdb: ChangeLog event-top.c inflow.c inflow.h ser-unix.c top.c Log Message: Cherry-pick upstream GDB patch to fix SIGTTOU handling Fixes

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

2019-09-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Sep 6 14:37:00 UTC 2019 Modified Files: src/external/gpl3/gdb/dist/gdb: ChangeLog event-top.c inflow.c inflow.h ser-unix.c top.c Log Message: Cherry-pick upstream GDB patch to fix SIGTTOU handling Fixes

Re: Leak Sanitizer - how to suppress leaks

2019-09-12 Thread Kamil Rytarowski
On 12.09.2019 21:24, Robert Elz wrote: > Date:Thu, 12 Sep 2019 15:12:25 +0200 > From: Kamil Rytarowski > Message-ID: <2a6e1fb2-cedc-4a57-750b-45f101be9...@gmx.com> > > > | This proposal is practically equivalent of disabling leak detection

Re: Leak Sanitizer - how to suppress leaks

2019-09-12 Thread Kamil Rytarowski
On 13.09.2019 03:24, Simon Burge wrote: > Kamil Rytarowski wrote: > >> I will revert it, but I am looking for a more generic approach. >> >> How about adding ifdef __NO_LEAKS like: >> >> #ifdef __NO_LEAKS >> free(3)? >> #endif >> &g

Re: CVS commit: src/bin/ps

2019-09-12 Thread Kamil Rytarowski
On 13.09.2019 03:51, Roy Marples wrote: > On 12/09/2019 20:55, Joerg Sonnenberger wrote: >> On Thu, Sep 12, 2019 at 01:52:19AM +0100, Roy Marples wrote: >>> On 11/09/2019 20:03, Robert Elz wrote: >>>>   Date:    Wed, 11 Sep 2019 17:02:53 + >>>

CVS commit: src/bin/ps

2019-09-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 11 17:02:53 UTC 2019 Modified Files: src/bin/ps: ps.c Log Message: Plug memory leak in ps(1) pinfo is allocated in setpinfo() with calloc(3). Free it when no longer used, just before the program termination. Detected

CVS commit: src/bin/ps

2019-09-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Sep 11 17:02:53 UTC 2019 Modified Files: src/bin/ps: ps.c Log Message: Plug memory leak in ps(1) pinfo is allocated in setpinfo() with calloc(3). Free it when no longer used, just before the program termination. Detected

Re: CVS import: src/external/bsd/openresolv/dist

2019-09-11 Thread Kamil Rytarowski
On 08.09.2019 22:46, Roy Marples wrote: > Module Name: src > Committed By: roy > Date: Sun Sep 8 20:46:17 UTC 2019 > > Update of /cvsroot/src/external/bsd/openresolv/dist > In directory ivanova.netbsd.org:/tmp/cvs-serv12058 > > Log Message: > Import openresolv-3.9.2 with the following

CVS commit: src/bin/ps

2019-08-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Aug 6 18:07:51 UTC 2019 Modified Files: src/bin/ps: keyword.c ps.1 Log Message: Restore maxrss, idrss, isrss, ixrss printing in ps(1) The RSS related statistics are now back in the NetBSD kernel. These values were disabled

CVS commit: src/bin/ps

2019-08-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Aug 6 18:07:51 UTC 2019 Modified Files: src/bin/ps: keyword.c ps.1 Log Message: Restore maxrss, idrss, isrss, ixrss printing in ps(1) The RSS related statistics are now back in the NetBSD kernel. These values were disabled

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

2019-08-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Aug 6 01:34:29 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: process_machdep.c Log Message: Do not dereference user pointer in ptrace_machdep_dorequest()/amd64 Always use copyin(9) for reading user memory. This fixes

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

2019-08-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Aug 6 01:34:29 UTC 2019 Modified Files: src/sys/arch/amd64/amd64: process_machdep.c Log Message: Do not dereference user pointer in ptrace_machdep_dorequest()/amd64 Always use copyin(9) for reading user memory. This fixes

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

2019-08-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Aug 6 02:04:43 UTC 2019 Modified Files: src/sys/arch/i386/i386: process_machdep.c Log Message: Do not dereference user pointer in ptrace_machdep_dorequest()/i386 Always use copyin(9) for reading user memory. To generate a

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

2019-08-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Aug 6 02:04:43 UTC 2019 Modified Files: src/sys/arch/i386/i386: process_machdep.c Log Message: Do not dereference user pointer in ptrace_machdep_dorequest()/i386 Always use copyin(9) for reading user memory. To generate a

CVS commit: src/sys/sys

2019-08-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Aug 6 11:21:59 UTC 2019 Modified Files: src/sys/sys: event.h Log Message: Make EV_SET() casts compatible with the C++ code EV_SET() handles cast that are expected to work with alternative kqueue/kevent implementations that

CVS commit: src/sys/sys

2019-08-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Aug 6 11:21:59 UTC 2019 Modified Files: src/sys/sys: event.h Log Message: Make EV_SET() casts compatible with the C++ code EV_SET() handles cast that are expected to work with alternative kqueue/kevent implementations that

CVS commit: src/external/bsd/compiler_rt

2019-08-08 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Aug 8 14:00:33 UTC 2019 Added Files: src/external/bsd/compiler_rt: Makefile src/external/bsd/compiler_rt/lib: Makefile src/external/bsd/compiler_rt/lib/clang: Makefile

CVS commit: src/external/bsd/compiler_rt

2019-08-08 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Aug 8 14:00:33 UTC 2019 Added Files: src/external/bsd/compiler_rt: Makefile src/external/bsd/compiler_rt/lib: Makefile src/external/bsd/compiler_rt/lib/clang: Makefile

CVS commit: src/sys/kern

2019-07-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jul 18 20:10:46 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Enhance locking of ptrace_update_lwp Replace lwp_delref() + mutex_enter() with: mutex_enter() + lwp_delref2(). This avoids extra taking

CVS commit: src/sys/kern

2019-07-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jul 18 20:10:46 UTC 2019 Modified Files: src/sys/kern: sys_ptrace_common.c Log Message: Enhance locking of ptrace_update_lwp Replace lwp_delref() + mutex_enter() with: mutex_enter() + lwp_delref2(). This avoids extra taking

Re: CVS commit: src/sys/crypto/nist_hash_drbg

2019-09-19 Thread Kamil Rytarowski
On 19.09.2019 16:35, Taylor R Campbell wrote: > Module Name: src > Committed By: riastradh > Date: Thu Sep 19 14:35:00 UTC 2019 > > Modified Files: > src/sys/crypto/nist_hash_drbg: nist_hash_drbg.c > > Log Message: > Use CTASSERT where possible, run-time assertion where not. > >

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 10:54:07 UTC 2019 Modified Files: src/sys/external/bsd/drm2/include/asm: bug.h Log Message: Adapt DRMKMS BUILD_BUG_ON_MSG() to static_assert semantics static_assert is violated with runtime-only compiler semantics in a

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 10:54:07 UTC 2019 Modified Files: src/sys/external/bsd/drm2/include/asm: bug.h Log Message: Adapt DRMKMS BUILD_BUG_ON_MSG() to static_assert semantics static_assert is violated with runtime-only compiler semantics in a

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

<    1   2   3   4   5   6   7   8   9   >