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

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

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

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

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

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

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 |

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

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

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

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

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

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

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,

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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/tests/lib/libc/sys

2019-07-13 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Sat Jul 13 12:44:02 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_getitimer.c Log Message: In the setitimer_old test case, allow for time passing between the two setitimer() calls. Should fix PR kern/54370. To generate a

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

2019-07-13 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Sat Jul 13 12:44:02 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_getitimer.c Log Message: In the setitimer_old test case, allow for time passing between the two setitimer() calls. Should fix PR kern/54370. To generate a

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

2019-07-01 Thread Kamil Rytarowski
On 01.07.2019 14:59, Robert Elz wrote: > Date:Mon, 1 Jul 2019 11:55:57 +0200 > From:Joerg Sonnenberger > Message-ID: <20190701095557.ga55...@bec.de> > > | On Mon, Jul 01, 2019 at 02:04:38AM +, Kamil Rytarowski wrote: > > | > Cast note_hdr.n_namesz to ssize_t

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

2019-07-01 Thread Robert Elz
Date:Mon, 1 Jul 2019 11:55:57 +0200 From:Joerg Sonnenberger Message-ID: <20190701095557.ga55...@bec.de> | On Mon, Jul 01, 2019 at 02:04:38AM +, Kamil Rytarowski wrote: | > Cast note_hdr.n_namesz to ssize_t through size_t to avoid potential | > signedness

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

2019-07-01 Thread Joerg Sonnenberger
On Mon, Jul 01, 2019 at 02:04:38AM +, Kamil Rytarowski wrote: > Module Name: src > Committed By: kamil > Date: Mon Jul 1 02:04:38 UTC 2019 > > Modified Files: > src/tests/lib/libc/sys: t_ptrace_wait.c > > Log Message: > Avoid GCC warning on NetBSD/i386 > > Cast

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

2019-06-30 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jul 1 02:04:38 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Avoid GCC warning on NetBSD/i386 Cast note_hdr.n_namesz to ssize_t through size_t to avoid potential signedness bit shifts. To

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

2019-06-30 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jul 1 02:04:38 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Avoid GCC warning on NetBSD/i386 Cast note_hdr.n_namesz to ssize_t through size_t to avoid potential signedness bit shifts. To

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

2019-06-30 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Sun Jun 30 21:20:04 UTC 2019 Modified Files: src/tests/lib/libc/sys: Makefile t_ptrace_wait.c Log Message: Add a test for verifying procinfo note inside coredumps. Add a first test for triggering a core dump in the debugged

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

2019-06-30 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Sun Jun 30 21:20:04 UTC 2019 Modified Files: src/tests/lib/libc/sys: Makefile t_ptrace_wait.c Log Message: Add a test for verifying procinfo note inside coredumps. Add a first test for triggering a core dump in the debugged

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

2019-06-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 18 21:14:26 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Allow to conditionally enable LWP ATF tests in t_ptrace_wait* By default the tests are disabled. To generate a diff of this

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

2019-06-18 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 18 21:14:26 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Allow to conditionally enable LWP ATF tests in t_ptrace_wait* By default the tests are disabled. To generate a diff of this

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

2019-06-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jun 13 20:26:06 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Enable vfork(2) ATF tests in t_ptrace_wait* The racing issues are gone in my local setup. To generate a diff of this commit: cvs

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

2019-06-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Jun 13 20:26:06 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Enable vfork(2) ATF tests in t_ptrace_wait* The racing issues are gone in my local setup. To generate a diff of this commit: cvs

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

2019-06-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jun 12 17:07:11 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new ATF ptrace(2) tests for posix_spawn, reusing tests for fork/vfork New tests: - posix_spawn_detach_spawner -

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

2019-06-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jun 12 17:07:11 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new ATF ptrace(2) tests for posix_spawn, reusing tests for fork/vfork New tests: - posix_spawn_detach_spawner -

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

2019-06-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 11 23:30:05 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new PTRACE_POSIX_SPAWN tests in ptrace(3) Add test: - eventmask_preserved_posix_spawn - fork9..fork16 - vfork9..vfork16 -

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

2019-06-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 11 23:30:05 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new PTRACE_POSIX_SPAWN tests in ptrace(3) Add test: - eventmask_preserved_posix_spawn - fork9..fork16 - vfork9..vfork16 -

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

2019-06-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jun 10 22:16:06 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add posix_spawn(3) ATF tests in t_ptrace_wait* New tests verify whether forking process reports forking events to a debugger.

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

2019-06-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jun 10 22:16:06 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add posix_spawn(3) ATF tests in t_ptrace_wait* New tests verify whether forking process reports forking events to a debugger.

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

2019-06-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jun 10 21:18:04 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add more verbosity to debug messages in t_ptrace_wait Log func() file:line for each debug message. Most messages are similar one

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

2019-06-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Jun 10 21:18:04 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add more verbosity to debug messages in t_ptrace_wait Log func() file:line for each debug message. Most messages are similar one

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

2019-06-04 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Tue Jun 4 12:17:42 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_x86_wait.h Log Message: Fix alignment of SSE filling data To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

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

2019-06-04 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Tue Jun 4 12:17:42 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_x86_wait.h Log Message: Fix alignment of SSE filling data To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15

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

2019-06-04 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Tue Jun 4 12:17:05 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_amd64_wait.h t_ptrace_i386_wait.h t_ptrace_x86_wait.h Log Message: Add more debug to register writing tests To generate a diff of this

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

2019-06-04 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Tue Jun 4 12:17:05 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_amd64_wait.h t_ptrace_i386_wait.h t_ptrace_x86_wait.h Log Message: Add more debug to register writing tests To generate a diff of this

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

2019-05-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat May 25 03:25:08 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new user_va0_disable* tests in t_ptrace_wait* Add tests: - user_va0_disable_pt_continue - user_va0_disable_pt_syscall -

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

2019-05-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat May 25 03:25:08 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new user_va0_disable* tests in t_ptrace_wait* Add tests: - user_va0_disable_pt_continue - user_va0_disable_pt_syscall -

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

2019-05-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat May 25 03:22:53 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.h Log Message: Add get_user_va0_disable() in t_ptrace_wait.h Add a utility function to check vm.user_va0_disable. To generate a diff of this

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

2019-05-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat May 25 03:22:53 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.h Log Message: Add get_user_va0_disable() in t_ptrace_wait.h Add a utility function to check vm.user_va0_disable. To generate a diff of this

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

2018-05-25 Thread Jason Thorpe
> On May 24, 2018, at 10:45 PM, Kamil Rytarowski wrote: > > Fixed! Confirmed! Thanks! -- thorpej

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

2018-05-24 Thread Kamil Rytarowski
On 24.05.2018 06:17, Jason Thorpe wrote: > This change seems to have broken building on 32-bit platforms (certainly at > least for 32-bit ARM): > > # compile sys/t_ptrace_wait.o > /nbsd/tools/bin/armv6--netbsdelf-eabihf-gcc -O2 -std=gnu99-Wall > -Wstrict-prototypes -Wmissing-prototypes

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

2018-05-23 Thread Jason Thorpe
This change seems to have broken building on 32-bit platforms (certainly at least for 32-bit ARM): # compile sys/t_ptrace_wait.o /nbsd/tools/bin/armv6--netbsdelf-eabihf-gcc -O2 -std=gnu99-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign-compare -Wsystem-headers

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

2018-02-27 Thread Valery Ushakov
On Tue, Feb 27, 2018 at 11:15:53 +, Kamil Rytarowski wrote: > Module Name: src > Committed By: kamil > Date: Tue Feb 27 11:15:53 UTC 2018 > > Modified Files: > src/tests/lib/libc/sys: t_ucontext.c > > Log Message: > Make the t_ucontext.c test more portable > > Cast

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

2017-05-23 Thread Alexander Mihalicyn
help On Tue, May 23, 2017 at 7:01 PM, Christos Zoulas wrote: > Module Name:src > Committed By: christos > Date: Tue May 23 16:01:46 UTC 2017 > > Modified Files: > src/tests/lib/libc/sys: t_mincore.c > > Log Message: > Add the error in syscall

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

2017-03-24 Thread Paul Goyette
Module Name:src Committed By: martin Date: Fri Mar 24 08:18:27 UTC 2017 Modified Files: src/tests/lib/libc/sys: t_mprotect.c Log Message: Do not toggle global security.pax.mprotect state in an attempt to activate it for the current process. It does not work and tests

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

2017-01-13 Thread Paul Goyette
Should address PR bin/51869 On Sat, 14 Jan 2017, Paul Goyette wrote: Module Name:src Committed By: pgoyette Date: Sat Jan 14 03:59:58 UTC 2017 Modified Files: src/tests/lib/libc/sys: Makefile Log Message: Set FILESBUILD=yes to actually run the creation script for the

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

2016-08-09 Thread Robert Elz
Date:Tue, 9 Aug 2016 12:02:44 + From:"Robert Elz" Message-ID: <20160809120244.9f9d0f...@cvs.netbsd.org> Ignore this part ... | Note that NetBSD mlock(2) talks about EINVAL for cases where the length | parameter is negative ... but that is a

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

2013-03-09 Thread David Laight
On Sat, Mar 09, 2013 at 12:19:08AM +0100, Martin Husemann wrote: On Fri, Mar 08, 2013 at 11:03:23PM +, David Laight wrote: Should the 'no timeout' case (try to) check that the elapsed time is less than one tick? I gave the (partly virtual) test platforms a bit more slope and made it

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

2013-03-08 Thread David Laight
On Fri, Mar 08, 2013 at 05:01:54PM +, Martin Husemann wrote: Module Name: src Committed By: martin Date: Fri Mar 8 17:01:54 UTC 2013 Modified Files: src/tests/lib/libc/sys: Makefile Added Files: src/tests/lib/libc/sys: t_sigtimedwait.c Removed Files:

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

2013-03-08 Thread Martin Husemann
On Fri, Mar 08, 2013 at 11:03:23PM +, David Laight wrote: Should the 'no timeout' case (try to) check that the elapsed time is less than one tick? I gave the (partly virtual) test platforms a bit more slope and made it 1s instead of 1 tick, but otherwise: yes. Martin

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

2012-09-08 Thread Christos Zoulas
In article 20120908122506.92aa117...@cvs.netbsd.org, Martin Husemann source-changes-d@NetBSD.org wrote: Module Name: src Committed By: martin Date: Sat Sep 8 12:25:06 UTC 2012 Modified Files: src/tests/lib/libc/sys: t_mlock.c Log Message: Make this compile on archs where

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

2012-09-08 Thread Martin Husemann
On Sat, Sep 08, 2012 at 02:28:53PM +, Christos Zoulas wrote: Why not add a test for == VM_MIN_ADDRESS too? If this is != NULL, we can not rely on it not to be mapped, so I don't see any additional value in that case. The brk+1 page test should be good enough. Martin

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

2012-09-08 Thread Christos Zoulas
On Sep 8, 4:32pm, mar...@duskware.de (Martin Husemann) wrote: -- Subject: Re: CVS commit: src/tests/lib/libc/sys | On Sat, Sep 08, 2012 at 02:28:53PM +, Christos Zoulas wrote: | Why not add a test for == VM_MIN_ADDRESS too? | | If this is != NULL, we can not rely on it not to be mapped, so