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

2024-07-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 15 06:19:07 UTC 2024 Modified Files: src/tests/lib/libc/sys: t_kill.c Log Message: tests/lib/libc/sys/t_kill: Test kill(INT_MIN, ...) fails with ESRCH. PR kern/58425 To generate a diff of this commit: cvs rdiff -u -r

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

2024-07-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Jul 15 06:19:07 UTC 2024 Modified Files: src/tests/lib/libc/sys: t_kill.c Log Message: tests/lib/libc/sys/t_kill: Test kill(INT_MIN, ...) fails with ESRCH. PR kern/58425 To generate a diff of this commit: cvs rdiff -u -r

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

2024-06-29 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Jun 29 07:10:27 UTC 2024 Modified Files: src/tests/lib/libc/sys: t_ptrace_core_wait.h Log Message: core_dump_procinfo: Fix false positive for vax Increment PC after trapped by `bpt`, as done for many other platforms. To genera

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

2024-06-29 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Sat Jun 29 07:10:27 UTC 2024 Modified Files: src/tests/lib/libc/sys: t_ptrace_core_wait.h Log Message: core_dump_procinfo: Fix false positive for vax Increment PC after trapped by `bpt`, as done for many other platforms. To genera

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

2024-05-27 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon May 27 22:03:21 UTC 2024 Modified Files: src/tests/lib/libc/sys: t_swapcontext.c Log Message: Mark as expected-fail on VAX (PR port-vax/58290). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/

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

2024-05-27 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Mon May 27 22:03:21 UTC 2024 Modified Files: src/tests/lib/libc/sys: t_swapcontext.c Log Message: Mark as expected-fail on VAX (PR port-vax/58290). To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/

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

2024-05-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon May 20 00:27:53 UTC 2024 Modified Files: src/tests/lib/libc/sys: t_dup.c Log Message: Adjust to the new dup3 behavior for equal fds To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/tests/lib/libc/sys/t_dup.

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

2024-05-19 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon May 20 00:27:53 UTC 2024 Modified Files: src/tests/lib/libc/sys: t_dup.c Log Message: Adjust to the new dup3 behavior for equal fds To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/tests/lib/libc/sys/t_dup.

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

2024-05-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 14 16:06:20 UTC 2024 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.h Log Message: t_ptrace_wait: No FPU exception traps on RISC-V. This macro is not named correctly -- RISC-V does implement floating-point excep

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

2024-05-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 14 16:06:20 UTC 2024 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.h Log Message: t_ptrace_wait: No FPU exception traps on RISC-V. This macro is not named correctly -- RISC-V does implement floating-point excep

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

2024-05-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 14 16:04:18 UTC 2024 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.h Log Message: t_ptrace_wait: Force result by write to volatile, not call to usleep. This is causing each FPE-related test to time out because

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

2024-05-14 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Tue May 14 16:04:18 UTC 2024 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.h Log Message: t_ptrace_wait: Force result by write to volatile, not call to usleep. This is causing each FPE-related test to time out because

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

2024-04-12 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Fri Apr 12 07:16:50 UTC 2024 Modified Files: src/tests/lib/libc/sys: t_getrusage.c Log Message: Require at least 64 MB RAM to run the getrusage_maxrss test case as it allocates 40 MB and we should leave some for the system, too. T

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

2024-04-12 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Fri Apr 12 07:16:50 UTC 2024 Modified Files: src/tests/lib/libc/sys: t_getrusage.c Log Message: Require at least 64 MB RAM to run the getrusage_maxrss test case as it allocates 40 MB and we should leave some for the system, too. T

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

2023-12-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Dec 7 16:54:44 UTC 2023 Modified Files: src/tests/lib/libc/sys: Makefile t_setrlimit.c Log Message: t_setrlimit: Narrow the scope of stack-protector warning suppression. To generate a diff of this commit: cvs rdiff -u -r

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

2023-12-07 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Thu Dec 7 16:54:44 UTC 2023 Modified Files: src/tests/lib/libc/sys: Makefile t_setrlimit.c Log Message: t_setrlimit: Narrow the scope of stack-protector warning suppression. To generate a diff of this commit: cvs rdiff -u -r

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

2023-11-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Nov 24 17:19:55 UTC 2023 Modified Files: src/tests/lib/libc/sys: Makefile Log Message: t_setrlimit uses alloca now To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/tests/lib/libc/sys/Makefile Please note

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

2023-11-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Nov 24 17:19:55 UTC 2023 Modified Files: src/tests/lib/libc/sys: Makefile Log Message: t_setrlimit uses alloca now To generate a diff of this commit: cvs rdiff -u -r1.74 -r1.75 src/tests/lib/libc/sys/Makefile Please note

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

2023-11-21 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Nov 22 02:20:34 UTC 2023 Modified Files: src/tests/lib/libc/sys: t_setrlimit.c Log Message: t_setrlimit: Fix typos in comments and messages. No substantive change intended. Suggested by rillig@. PR kern/57711 XXX pullup

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

2023-11-21 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Wed Nov 22 02:20:34 UTC 2023 Modified Files: src/tests/lib/libc/sys: t_setrlimit.c Log Message: t_setrlimit: Fix typos in comments and messages. No substantive change intended. Suggested by rillig@. PR kern/57711 XXX pullup

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

2023-11-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Nov 20 13:05:17 UTC 2023 Modified Files: src/tests/lib/libc/sys: t_setrlimit.c Log Message: t_setrlimit: Verify changing RLIMIT_STACK affects access to stack. PR kern/57711 XXX pullup-10 XXX pullup-9 XXX pullup-8 To gen

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

2023-11-20 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Mon Nov 20 13:05:17 UTC 2023 Modified Files: src/tests/lib/libc/sys: t_setrlimit.c Log Message: t_setrlimit: Verify changing RLIMIT_STACK affects access to stack. PR kern/57711 XXX pullup-10 XXX pullup-9 XXX pullup-8 To gen

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

2023-08-23 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Aug 24 05:55:26 UTC 2023 Modified Files: src/tests/lib/libc/sys: t_ptrace_core_wait.h Log Message: t_ptrace_core_wait.h: Increment PC after trap, also for riscv Fix *:core_dump_procinfo tests for riscv64. To generate a diff of

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

2023-08-23 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Aug 24 05:55:26 UTC 2023 Modified Files: src/tests/lib/libc/sys: t_ptrace_core_wait.h Log Message: t_ptrace_core_wait.h: Increment PC after trap, also for riscv Fix *:core_dump_procinfo tests for riscv64. To generate a diff of

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

2023-08-02 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Aug 3 03:18:12 UTC 2023 Modified Files: src/tests/lib/libc/sys: t_getrandom.c Log Message: t_getrandom: Fix false positives for short read(2) This only affects really slow machines, 68030 for me :) To generate a diff of t

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

2023-08-02 Thread Rin Okuyama
Module Name:src Committed By: rin Date: Thu Aug 3 03:18:12 UTC 2023 Modified Files: src/tests/lib/libc/sys: t_getrandom.c Log Message: t_getrandom: Fix false positives for short read(2) This only affects really slow machines, 68030 for me :) To generate a diff of t

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

2023-08-01 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Aug 1 23:41:55 UTC 2023 Modified Files: src/tests/lib/libc/sys: t_pollts.c Log Message: t_pollts.c: fix typo in a description string (NFC) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/s

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

2023-08-01 Thread David H. Gutteridge
Module Name:src Committed By: gutteridge Date: Tue Aug 1 23:41:55 UTC 2023 Modified Files: src/tests/lib/libc/sys: t_pollts.c Log Message: t_pollts.c: fix typo in a description string (NFC) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/s

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

2023-07-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jul 9 19:19:40 UTC 2023 Modified Files: src/tests/lib/libc/sys: t_clock_gettime.c Log Message: t_clock_gettime: Avoid signed/unsigned comparison. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/lib/

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

2023-07-09 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sun Jul 9 19:19:40 UTC 2023 Modified Files: src/tests/lib/libc/sys: t_clock_gettime.c Log Message: t_clock_gettime: Avoid signed/unsigned comparison. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/tests/lib/

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

2023-07-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 8 15:32:58 UTC 2023 Modified Files: src/tests/lib/libc/sys: t_timerfd.c Log Message: t_timerfd: Sprinkle slightly more diagnostics. Might help us to see if we're off by just a little bit (maybe a tiny jitter between t

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

2023-07-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 8 15:32:58 UTC 2023 Modified Files: src/tests/lib/libc/sys: t_timerfd.c Log Message: t_timerfd: Sprinkle slightly more diagnostics. Might help us to see if we're off by just a little bit (maybe a tiny jitter between t

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

2023-07-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 8 14:05:51 UTC 2023 Modified Files: src/tests/lib/libc/sys: t_clock_gettime.c Log Message: t_clock_gettime: Add test for PR kern/57512. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/s

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

2023-07-08 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jul 8 14:05:51 UTC 2023 Modified Files: src/tests/lib/libc/sys: t_clock_gettime.c Log Message: t_clock_gettime: Add test for PR kern/57512. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/s

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

2022-08-01 Thread Robert Elz
Date:Mon, 1 Aug 2022 18:55:15 +0300 From:Valery Ushakov Message-ID: | The test uses __clone(), not clone() and a followup fix made __clone() | visible under plain _NETBSD_SOURCE again - which is the right thing, | IMO. So this change is not necessary (the test

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

2022-08-01 Thread Valery Ushakov
On Mon, Aug 01, 2022 at 15:48:40 +, Robert Elz wrote: > Module Name: src > Committed By: kre > Date: Mon Aug 1 15:48:40 UTC 2022 > > Modified Files: > src/tests/lib/libc/sys: Makefile > > Log Message: > Provide _GNU_SOURCE for t_clone now that is required to make clone() > vi

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

2022-08-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Aug 1 15:48:40 UTC 2022 Modified Files: src/tests/lib/libc/sys: Makefile Log Message: Provide _GNU_SOURCE for t_clone now that is required to make clone() visible. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72

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

2022-08-01 Thread Robert Elz
Module Name:src Committed By: kre Date: Mon Aug 1 15:48:40 UTC 2022 Modified Files: src/tests/lib/libc/sys: Makefile Log Message: Provide _GNU_SOURCE for t_clone now that is required to make clone() visible. To generate a diff of this commit: cvs rdiff -u -r1.71 -r1.72

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

2022-06-09 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Jun 9 17:39:21 UTC 2022 Modified Files: src/tests/lib/libc/sys: t_ptrace_core_wait.h Log Message: There are two hard problems in computer science cache invalidation, naming and off-by-one errors. Fix a naming and off-by-one b

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

2022-06-09 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Thu Jun 9 17:39:21 UTC 2022 Modified Files: src/tests/lib/libc/sys: t_ptrace_core_wait.h Log Message: There are two hard problems in computer science cache invalidation, naming and off-by-one errors. Fix a naming and off-by-one b

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

2022-06-06 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Jun 7 05:39:16 UTC 2022 Modified Files: src/tests/lib/libc/sys: t_ptrace_core_wait.h Log Message: PR/56865: hppa: t_ptrace_core_wait test doesn't know it must advance PC after breakpoint Add __hppa__ to the list of architect

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

2022-06-06 Thread Nick Hudson
Module Name:src Committed By: skrll Date: Tue Jun 7 05:39:16 UTC 2022 Modified Files: src/tests/lib/libc/sys: t_ptrace_core_wait.h Log Message: PR/56865: hppa: t_ptrace_core_wait test doesn't know it must advance PC after breakpoint Add __hppa__ to the list of architect

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

2022-06-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 4 23:09:18 UTC 2022 Modified Files: src/tests/lib/libc/sys: t_mmap.c Log Message: tests/lib/libc: Test mmap(2) with bad hints. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/tests/lib/libc/sys/t_mm

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

2022-06-04 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Sat Jun 4 23:09:18 UTC 2022 Modified Files: src/tests/lib/libc/sys: t_mmap.c Log Message: tests/lib/libc: Test mmap(2) with bad hints. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/tests/lib/libc/sys/t_mm

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

2022-04-06 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Wed Apr 6 10:02:55 UTC 2022 Modified Files: src/tests/lib/libc/sys: Makefile t_mmap.c Log Message: Add a regression test for PR kern/52239, "Changing protections of already mmap'ed region can fail", based on the test program in the

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

2022-04-06 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Wed Apr 6 10:02:55 UTC 2022 Modified Files: src/tests/lib/libc/sys: Makefile t_mmap.c Log Message: Add a regression test for PR kern/52239, "Changing protections of already mmap'ed region can fail", based on the test program in the

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

2022-04-05 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Tue Apr 5 15:59:22 UTC 2022 Modified Files: src/tests/lib/libc/sys: t_mmap.c Log Message: In the mmap_err test case, mmap the address, not the address of the address. Should fix PR kern/56780. To generate a diff of this commit: c

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

2022-04-05 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Tue Apr 5 15:59:22 UTC 2022 Modified Files: src/tests/lib/libc/sys: t_mmap.c Log Message: In the mmap_err test case, mmap the address, not the address of the address. Should fix PR kern/56780. To generate a diff of this commit: c

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

2022-04-05 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Tue Apr 5 13:09:54 UTC 2022 Modified Files: src/tests/lib/libc/sys: t_mmap.c Log Message: When the t_mmap:mmap_err test fails due to errno not having the expected value of EINVAL, print the actual value. To generate a diff of thi

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

2022-04-05 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Tue Apr 5 13:09:54 UTC 2022 Modified Files: src/tests/lib/libc/sys: t_mmap.c Log Message: When the t_mmap:mmap_err test fails due to errno not having the expected value of EINVAL, print the actual value. To generate a diff of thi

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

2022-03-26 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Mar 26 16:22:50 UTC 2022 Modified Files: src/tests/lib/libc/sys: t_ptrace_core_wait.h Log Message: Add sparc* to the list of architectures that need an explicit address with PT_CONTINUE in this test. To generate a diff of th

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

2022-03-26 Thread Martin Husemann
Module Name:src Committed By: martin Date: Sat Mar 26 16:22:50 UTC 2022 Modified Files: src/tests/lib/libc/sys: t_ptrace_core_wait.h Log Message: Add sparc* to the list of architectures that need an explicit address with PT_CONTINUE in this test. To generate a diff of th

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

2022-03-18 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Mar 18 23:35:37 UTC 2022 Modified Files: src/tests/lib/libc/sys: t_getrandom.c Log Message: getrandom(2): Fix return value checks in automatic tests. The syscall only guarantees up to 256 bytes in a single go -- if interru

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

2022-03-18 Thread Taylor R Campbell
Module Name:src Committed By: riastradh Date: Fri Mar 18 23:35:37 UTC 2022 Modified Files: src/tests/lib/libc/sys: t_getrandom.c Log Message: getrandom(2): Fix return value checks in automatic tests. The syscall only guarantees up to 256 bytes in a single go -- if interru

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

2022-02-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Feb 20 15:21:14 UTC 2022 Modified Files: src/tests/lib/libc/sys: t_eventfd.c t_timerfd.c Log Message: Validate basic fcntl(2) behavior for eventfd and timerfd. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src

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

2022-02-20 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sun Feb 20 15:21:14 UTC 2022 Modified Files: src/tests/lib/libc/sys: t_eventfd.c t_timerfd.c Log Message: Validate basic fcntl(2) behavior for eventfd and timerfd. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src

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

2021-11-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Nov 1 14:33:42 UTC 2021 Modified Files: src/tests/lib/libc/sys: Makefile t_timerfd.c Log Message: Test lib/libc/sys/t_timerfd often fails when run on QEMU because QEMU misses clock interrupts. Always check values against [

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

2021-11-01 Thread Juergen Hannken-Illjes
Module Name:src Committed By: hannken Date: Mon Nov 1 14:33:42 UTC 2021 Modified Files: src/tests/lib/libc/sys: Makefile t_timerfd.c Log Message: Test lib/libc/sys/t_timerfd often fails when run on QEMU because QEMU misses clock interrupts. Always check values against [

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

2021-10-21 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Thu Oct 21 17:02:38 UTC 2021 Modified Files: src/tests/lib/libc/sys: t_ptrace_syscall_wait.h Log Message: Skip the lib/libc/sys/t_ptrace_waitid:syscall_signal_on_sce test case with a reference to PR lib/55087. Marking it as an expe

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

2021-10-21 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Thu Oct 21 17:02:38 UTC 2021 Modified Files: src/tests/lib/libc/sys: t_ptrace_syscall_wait.h Log Message: Skip the lib/libc/sys/t_ptrace_waitid:syscall_signal_on_sce test case with a reference to PR lib/55087. Marking it as an expe

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

2021-10-14 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Thu Oct 14 13:50:36 UTC 2021 Modified Files: src/tests/lib/libc/sys: t_ptrace_register_wait.h Log Message: Remove trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/sys/t_ptrace_regi

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

2021-10-14 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Thu Oct 14 13:50:36 UTC 2021 Modified Files: src/tests/lib/libc/sys: t_ptrace_register_wait.h Log Message: Remove trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/sys/t_ptrace_regi

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

2021-10-02 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Oct 2 15:50:06 UTC 2021 Modified Files: src/tests/lib/libc/sys: t_poll.c Log Message: Add a fifo_inout test case that validates the expected POLLIN / POLLOUT behavior for FIFOs: - A FIFO is readable so long as at least 1 byt

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

2021-10-02 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Oct 2 15:50:06 UTC 2021 Modified Files: src/tests/lib/libc/sys: t_poll.c Log Message: Add a fifo_inout test case that validates the expected POLLIN / POLLOUT behavior for FIFOs: - A FIFO is readable so long as at least 1 byt

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

2021-10-02 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Oct 2 14:41:36 UTC 2021 Modified Files: src/tests/lib/libc/sys: t_poll.c Log Message: In the fifo_hup1 test, also ensure that POLLHUP is de-asserted when a new writer appears. To generate a diff of this commit: cvs rdiff -

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

2021-10-02 Thread Jason R Thorpe
Module Name:src Committed By: thorpej Date: Sat Oct 2 14:41:36 UTC 2021 Modified Files: src/tests/lib/libc/sys: t_poll.c Log Message: In the fifo_hup1 test, also ensure that POLLHUP is de-asserted when a new writer appears. To generate a diff of this commit: cvs rdiff -

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

2020-06-22 Thread Rin Okuyama
Committed. Thank you for your comment! rin On 2020/06/22 20:09, Kamil Rytarowski wrote: On 22.06.2020 04:51, Rin Okuyama wrote: Module Name:src Committed By: rin Date: Mon Jun 22 02:51:07 UTC 2020 Modified Files: src/tests/lib/libc/sys: t_ptrace_signal_wait.h t_ptrace_

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

2020-06-22 Thread Kamil Rytarowski
On 22.06.2020 04:51, Rin Okuyama wrote: > Module Name: src > Committed By: rin > Date: Mon Jun 22 02:51:07 UTC 2020 > > Modified Files: > src/tests/lib/libc/sys: t_ptrace_signal_wait.h t_ptrace_wait.h > > Log Message: > Turn trigger_fpe() back to integer division by zero for a whil

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

2020-06-17 Thread Rin Okuyama
On 2020/06/17 17:42, Rin Okuyama wrote: Now, all *_crash_fpe tests pass for powerpc, and nothing changes for amd64 at least. Here, powerpc means powerpc/oea, more specifically Mac mini G4. At the moment, fenv.h doesn't work correctly on booke and ibm4xx, where FPU is emulated in software. For

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

2020-06-06 Thread Andrew Doran
On Sat, Jun 06, 2020 at 06:11:21PM +, Jason R Thorpe wrote: > Module Name: src > Committed By: thorpej > Date: Sat Jun 6 18:11:21 UTC 2020 > > Modified Files: > src/tests/lib/libc/sys: t_lwp_create.c > > Log Message: > Add a test case to ensure that _lwp_create() fails with t

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

2020-05-15 Thread Kamil Rytarowski
On 15.05.2020 00:43, Taylor R Campbell wrote: >> Date: Thu, 14 May 2020 23:36:28 +0200 >> From: Kamil Rytarowski >> >> If a signal would not reach the child process (as it is ignored or >> masked+SA_IGNOREd) and it is not a crash signal, it is dropped. As I >> checked, it's the design in UNIX to o

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

2020-05-14 Thread Taylor R Campbell
> Date: Thu, 14 May 2020 23:36:28 +0200 > From: Kamil Rytarowski > > If a signal would not reach the child process (as it is ignored or > masked+SA_IGNOREd) and it is not a crash signal, it is dropped. As I > checked, it's the design in UNIX to overlook SIGCHLD signals in UNIX. > Race free signal

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

2020-05-14 Thread Joerg Sonnenberger
On Thu, May 14, 2020 at 11:36:28PM +0200, Kamil Rytarowski wrote: > On 14.05.2020 23:02, Joerg Sonnenberger wrote: > > On Thu, May 14, 2020 at 07:21:35PM +, Kamil Rytarowski wrote: > >> Module Name: src > >> Committed By: kamil > >> Date: Thu May 14 19:21:35 UTC 2020 > >

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

2020-05-14 Thread Kamil Rytarowski
On 14.05.2020 23:02, Joerg Sonnenberger wrote: > On Thu, May 14, 2020 at 07:21:35PM +, Kamil Rytarowski wrote: >> Module Name: src >> Committed By:kamil >> Date:Thu May 14 19:21:35 UTC 2020 >> >> Modified Files: >> src/tests/lib/libc/sys: t_ptrace_fork_wait.h >> >>

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

2020-05-14 Thread Joerg Sonnenberger
On Thu, May 14, 2020 at 07:21:35PM +, Kamil Rytarowski wrote: > Module Name: src > Committed By: kamil > Date: Thu May 14 19:21:35 UTC 2020 > > Modified Files: > src/tests/lib/libc/sys: t_ptrace_fork_wait.h > > Log Message: > Ignore interception of the SIGCHLD signals. > > SIG

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

2020-05-11 Thread Robert Elz
Date:Mon, 11 May 2020 13:47:45 +0200 From:Kamil Rytarowski Message-ID: <54178983-82d1-df3d-fd54-549a6c73f...@gmx.com> | The only purpose of the test is to check whether misaligned program | counter can crash the kernel (it can for NetBSD/sparc). Later, if a | pr

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

2020-05-11 Thread Kamil Rytarowski
On 11.05.2020 13:35, Robert Elz wrote: > Date:Mon, 11 May 2020 11:03:15 + > From:"Kamil Rytarowski" > Message-ID: <2020050315.54b13f...@cvs.netbsd.org> > > | Do not fail when trying to kill a dying process > | > | A dying process can disappear for a whil

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

2020-05-11 Thread Robert Elz
Date:Mon, 11 May 2020 11:03:15 + From:"Kamil Rytarowski" Message-ID: <2020050315.54b13f...@cvs.netbsd.org> | Do not fail when trying to kill a dying process | | A dying process can disappear for a while. Rather than aborting, retry | sending SIGKILL to

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

2020-04-24 Thread Kamil Rytarowski
On 24.04.2020 05:25, Jason R Thorpe wrote: > Module Name: src > Committed By: thorpej > Date: Fri Apr 24 03:25:20 UTC 2020 > > Modified Files: > src/tests/lib/libc/sys: t_ptrace_wait.c t_ptrace_x86_wait.h > > Log Message: > Update for new LWP behavior -- as of 9.99.59, the LWP ID o

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

2020-03-07 Thread Christos Zoulas
In article <5e528f7a-147a-23e7-46da-6b02d76e5...@gmx.com>, Kamil Rytarowski wrote: >-=-=-=-=-=- >-=-=-=-=-=- > >On 07.03.2020 15:53, Christos Zoulas wrote: >> Module Name: src >> Committed By:christos >> Date:Sat Mar 7 14:53:14 UTC 2020 >> >> Modified Files: >> src/

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

2020-03-07 Thread Kamil Rytarowski
On 07.03.2020 15:53, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Sat Mar 7 14:53:14 UTC 2020 > > Modified Files: > src/tests/lib/libc/sys: t_ptrace_wait.c t_ptrace_wait.h > > Log Message: > Try to fix the build. This is why all those inlines should r

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

2020-02-18 Thread Kamil Rytarowski
On 18.02.2020 16:57, Christos Zoulas wrote: > In article <20200213152742.081a9f...@cvs.netbsd.org>, > MichaŠGórny wrote: >> -=-=-=-=-=- >> >> Module Name: src >> Committed By:mgorny >> Date:Thu Feb 13 15:27:41 UTC 2020 >> >> Modified Files: >> src/tests/lib/libc/sy

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

2020-02-18 Thread Christos Zoulas
In article <20200213152742.081a9f...@cvs.netbsd.org>, MichaŠGórny wrote: >-=-=-=-=-=- > >Module Name: src >Committed By: mgorny >Date: Thu Feb 13 15:27:41 UTC 2020 > >Modified Files: > src/tests/lib/libc/sys: t_ptrace_wait.c > >Log Message: >Enable combined breakpoint, watchp

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

2020-02-13 Thread Christos Zoulas
In article <20200213114904.ga30...@bec.de>, Joerg Sonnenberger wrote: >On Thu, Feb 13, 2020 at 10:50:19AM +0100, Joerg Sonnenberger wrote: >> On Wed, Feb 12, 2020 at 09:53:46PM -0500, Christos Zoulas wrote: >> > Module Name: src >> > Committed By: christos >> > Date: Thu F

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

2020-02-13 Thread Christos Zoulas
In article <20200213095019.ga28...@bec.de>, Joerg Sonnenberger wrote: >On Wed, Feb 12, 2020 at 09:53:46PM -0500, Christos Zoulas wrote: >> Module Name: src >> Committed By:christos >> Date:Thu Feb 13 02:53:46 UTC 2020 >> >> Modified Files: >> src/tests/lib/libc/sys:

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

2020-02-13 Thread Joerg Sonnenberger
On Thu, Feb 13, 2020 at 10:50:19AM +0100, Joerg Sonnenberger wrote: > On Wed, Feb 12, 2020 at 09:53:46PM -0500, Christos Zoulas wrote: > > Module Name:src > > Committed By: christos > > Date: Thu Feb 13 02:53:46 UTC 2020 > > > > Modified Files: > > src/tests/lib/lib

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

2020-02-13 Thread Joerg Sonnenberger
On Wed, Feb 12, 2020 at 09:53:46PM -0500, Christos Zoulas wrote: > Module Name: src > Committed By: christos > Date: Thu Feb 13 02:53:46 UTC 2020 > > Modified Files: > src/tests/lib/libc/sys: t_ptrace_x86_wait.h > > Log Message: > Turn off optimization on a function which contains

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 assumption

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 assumption

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

  1   2   >