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

2019-12-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Dec 25 02:23:38 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Read TLS base pointer with _lwp_getprivate() This avoid usage of fast versions that are mostly internal to RTLD. To generate a dif

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

2019-12-24 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Dec 24 21:09:38 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Define _RTLD_SOURCE in t_ptrace_wait.c The __lwp_gettcb_fast() and __lwp_getprivate_fast() functions are namespaced on a selection o

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

2019-12-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Dec 6 01:09:51 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Log PID.LWP in t_ptrace_wait* tests for enabled debug This is useful for multithreaded test scenarios. To generate a diff of this

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

2019-05-10 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Fri May 10 18:07:10 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_x86_wait.h Log Message: Add PT_SET*REGS tests for mm/xmm registers. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/tests/lib/libc/s

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

2019-05-10 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Fri May 10 17:34:27 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_x86_wait.h Log Message: Remove obsolete size asserts. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.12 src/tests/lib/libc/sys/t_ptrace_x8

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

2019-05-10 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Fri May 10 16:28:00 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_x86_wait.h Log Message: Use newly-filled i386 reg structs in PT_GETFPREGS & PT_GETXMMREGS tests. To generate a diff of this commit: cvs rdiff -u -r1.1

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

2019-05-10 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Fri May 10 16:24:35 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_amd64_wait.h t_ptrace_i386_wait.h Log Message: Add tests for PT_SETREGS To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/tests/lib/lib

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

2019-05-09 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Thu May 9 13:07:35 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c t_ptrace_x86_wait.h Log Message: Add ptrace() tests for reading mm* and xmm* registers To generate a diff of this commit: cvs rdiff -u -r1.120

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

2019-05-05 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon May 6 00:08:13 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_amd64_wait.h t_ptrace_i386_wait.h Log Message: fix unused variable warnings. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 src/tests/l

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

2019-05-05 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Sun May 5 18:16:39 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_amd64_wait.h Log Message: Introduce tests for reading r8..r15 registers. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/tests/lib/lib

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

2019-05-05 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Sun May 5 18:15:40 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_i386_wait.h Log Message: Reintroduce i386 tests for general-purpose registers, without MMX req Reintroduce the test for reading i386 general-purpose re

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

2019-05-05 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Sun May 5 15:05:22 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_i386_wait.h Log Message: Revert i386_regs_gp_read as it fails on non-MMX systems. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/test

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

2019-05-05 Thread Michał Górny
Module Name:src Committed By: mgorny Date: Sun May 5 10:04:11 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_amd64_wait.h t_ptrace_i386_wait.h Log Message: Add tests for reading pre-set general purpose register values via PT_GETREGS. Add new tests verifying th

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

2019-05-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu May 2 22:52:21 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Adapt t_ptrace_wait* tests for recent kernel changes Adapt AUXV reading loop to handle io.piod_len == 0 as EOF. Temporarily disable

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

2019-05-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu May 2 00:34:06 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Rename and partially enable trace_thread ATF ptrace(2) tests Rename trace_thrad[1234] to more meaningful names: - trace_thread_nol

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

2019-05-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed May 1 23:44:16 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: ATF ptrace(2) tests suspend1 and resume1 now pass Verified on bare metal and in qemu. PR kern/51995 To generate a diff of this co

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

2019-05-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed May 1 21:59:32 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: ATF ptrace(2) tests signal9 and signal10 now pass PR kern/51918 To generate a diff of this commit: cvs rdiff -u -r1.116 -r1.117 sr

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

2019-05-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed May 1 18:20:23 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new fork/vfork ATF trests in t_ptrace_wait* Add new tests: - fork_detach_forker - vfork_detach_vforker - vfork_detach_vforke

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

2019-04-30 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Apr 30 22:39:31 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new ATF ptrace(2) tests: bytes_transfer_eof Assert that error is returned after attempt to read or write post EOF. To generate

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

2019-04-26 Thread Maya Rashish
Module Name:src Committed By: maya Date: Fri Apr 26 20:41:10 UTC 2019 Modified Files: src/tests/lib/libc/sys: Makefile Log Message: Use LDADD, which apparently puts the libraries at the end of the command, and makes static builds (aka sun2) happier. To generate a diff of

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

2019-04-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 25 19:15:23 UTC 2019 Modified Files: src/tests/lib/libc/sys: Makefile t_ptrace_wait.c t_ptrace_wait.h Log Message: Introduce check for the support of FPU exceptions If FPU exceptions are unsupported, skip the SIGFPE crash

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

2019-04-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 25 11:47:59 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Do not allow 0 as ILL si_code as it's reserved for SI_USER To generate a diff of this commit: cvs rdiff -u -r1.112 -r1.113 src/test

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

2019-04-25 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 25 11:45:12 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: In ATF t_ptrace_wait* SIGILL tests allow any si_code These codes are not portable between CPUs and kernels. Change the checks to re

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

2019-04-19 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Apr 19 21:54:33 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Fix typo in TEST_VFORK_ENABLED This allows building and running vfork(2) test scenarios correctly. To generate a diff of this comm

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

2019-04-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Apr 17 15:54:55 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Fix Clang/LLVM build in t_ptrace_wait.c Do not compile functions that might be unused. To generate a diff of this commit: cvs rdif

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

2019-04-15 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Apr 15 16:47:47 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Temporarily ifdef out PTRACE_VFORK and PTRACE_VFORKDONE tests It's not reliable on all ports. sparc and evbarm are known to hang. P

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

2019-04-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 11 23:23:53 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new tests in ATF t_prace_wait* New tests: - traceme_vfork_fork - traceme_vfork_vfork New tests assert that fork/vfork in vfo

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

2019-04-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 11 23:00:01 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new tests traceme_vfork_clone* in ATF t_ptrace_wait* Added tests: - traceme_vfork_clone - traceme_vfork_clone_vm - traceme_v

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

2019-04-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 11 20:20:54 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.h Log Message: Add clone_func() in t_ptrace_wait.h To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/tests/lib/libc/sys/t_ptrace_w

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

2019-04-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Apr 11 19:25:31 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Validate that clone(2) is handled properly with more ptrace(2) ATF tests New tests: - clone[1-8] - clone_vm[1-8] - clone_fs[1-8]

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

2019-04-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Apr 6 15:41:54 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_fork.c Log Message: Add new tests in ATF t_fork/t_vfork Verify whether nested fork(2)/vfork(2)/clone(2) calls are supported in a fork(2)ed/vforked(2) child. T

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

2019-04-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Apr 6 15:35:09 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Simplify FORK_TEST in ATF t_ptrace_wait* Reduce the scope of combinations that were planned to be tested from the same function body

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

2019-04-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Apr 5 23:01:09 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Reenable tests vfork7 and vfork8 in ATF t_ptrace_wait* These tests used to hang on SMP machines. For experiment after recent change

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

2019-04-05 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Apr 5 22:58:53 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add __clone(2) tests in t_ptrace_wait* The __clone(2) API is a variation of fork(2)/vfork(2) operations. New tests: - clone_signal

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

2019-04-03 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Apr 3 08:19:46 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: The *fork*_signalmasked ATF tests no longer fail Add a fixup for signalmasking in the vforkdone_singalmasked test. To generate a d

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

2019-03-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Mar 28 08:13:40 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new ATF ptrace(2) tests bytes_transfer_alignment* Verify bytes transfer for potentially misaligned operation. New tests: - by

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

2019-03-16 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Mar 16 21:46:43 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_sendmmsg.c Log Message: PR/54062: Using random garbage in the mmsghdr (in this case 0xa5's from jemalloc debug) makes the syscall unhappy. Zero out the memor

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

2019-03-13 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed Mar 13 08:50:12 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_mlock.c Log Message: Add a bunch of fprintf(stderr,...) diagnostics to try and help determine what is going wrong which is causing this test to crash the kernel.

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

2019-03-08 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Mar 8 23:35:01 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Remove expected fail in various ATF t_ptrace_wait* tests Tests for trap signal scenarios no longer fail. To generate a diff of thi

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

2019-03-01 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Mar 2 01:01:20 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Refactor signal6-8 tests in t_ptrace_wait* Transform original tests into new ones: - fork_singalmasked - fork_singalignored - vfo

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

2019-02-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Feb 23 20:52:43 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Drop signal5 test-case from ATF t_ptrace_wait* This test is now duplicated with traceme_signalmasked_exec. To generate a diff of t

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

2019-02-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Feb 23 20:46:27 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add signal masked and ignored variations of traceme_exec in ATF tests All tests pass. To generate a diff of this commit: cvs rdiff

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

2019-02-23 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Feb 23 18:07:47 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add signal masked and ignored variations of traceme_vfork_exec in ATF tests All tests pass. To generate a diff of this commit: cvs

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

2019-02-20 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Feb 20 09:25:12 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Replace signal4 (PT_STEP) test with refactored ones with extra asserts New tests: step_signalmasked and step_signalignored. Assert

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

2019-02-19 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Feb 20 07:18:18 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add more tests for variations of unrelated_tracer_sees_crash in ATF New tests: - unrelated_tracer_sees_signalmasked_crash_trap - u

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

2019-02-19 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Feb 20 05:20:05 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add minor improvements in unrelated_tracer_sees_crash in t_ptrace_wait* Switch forkee commands with asserts to be aligned for the pu

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

2019-02-17 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Feb 17 09:29:35 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new ATF t_ptrace_wait* vfork(2) tests Add traceme_vfork_signalmasked_crash and traceme_vfork_signalignored_crash tests for crash

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

2019-02-16 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Feb 17 05:21:49 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Remove redundant test from ATF t_ptrace_wait* signal3 duplicates traceme_signalmasked_crash(SIGSEGV) To generate a diff of this co

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

2019-02-16 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Feb 17 04:57:09 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add additional assert in traceme_signalignored_crash t_ptrace_wait* tests Check whether sigignore is not reset on a trapsignal under

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

2019-02-16 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Feb 17 04:19:39 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add additional assert in traceme_signalmasked_crash t_ptrace_wait* tests Check whether signal mask is not reset on a trapsignal unde

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

2019-02-14 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Feb 15 05:06:38 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new ATF tests traceme_signal{ignored,masked}_crash* in t_ptrace_wait* New tests verify that crashes (from trap signals) are deli

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

2019-02-14 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Feb 15 04:11:39 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new ATF tests traceme_raisesignal_ignored in t_ptrace_wait* Verify that ignoring (with SIG_IGN) in tracee does not stop tracer f

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

2019-02-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Feb 14 06:47:32 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Replace signal2 in t_ptrace_wait* with new tests Add new tests traceme_raisesignal_masked[1-8]. New tests to verify that masking (w

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

2019-02-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Feb 14 05:38:45 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new regression scenarios for crash signals in t_ptrace_wait* Verify correct behavior of crash signals (SIGTRAP, SIGBUS, SIGILL,

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

2019-02-12 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Feb 12 21:35:35 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Rename signal1 to signal_mask_unrelated in t_ptrace_wait* No functional change intended. To generate a diff of this commit: cvs rd

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

2019-02-11 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Feb 12 06:00:05 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Refactor lwp_create1 and lwp_exit1 into trace_thread* in ptrace(2) tests New tests: - trace_thread1 - trace_thread2 - trace_threa

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

2019-02-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Feb 11 05:59:00 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Rename the siginfo4 test in ATF t_ptrace_wait* The siginfo group of ptrace(2) tests has been replaced with new individual tests or m

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

2019-02-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Feb 11 05:51:20 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Merge siginfo6 into other PT_STEP tests in t_ptrace_wait* To generate a diff of this commit: cvs rdiff -u -r1.80 -r1.81 src/tests/l

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

2019-02-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Feb 11 04:20:06 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Drop siginfo5 from ATF tests in t_ptrace_wait* siginfo5 duplicates older tests verifying PTRACE_FORK. To generate a diff of this c

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

2019-02-10 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Feb 11 04:13:28 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Initial refactoring of siginfo* tests in t_ptrace_wait* Drop test siginfo1 as duplicated with earlier tests. Rework and rename sigi

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

2019-02-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Feb 10 02:13:45 UTC 2019 Modified Files: src/tests/lib/libc/sys: Makefile t_ptrace_amd64_wait.h t_ptrace_i386_wait.h t_ptrace_wait.c t_ptrace_wait.h t_ptrace_wait3.c t_ptrace_wait4.c t_ptrace_wait6.c

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

2019-02-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun Feb 10 02:04:06 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add initial pthread(3) tests in ATF t_prace_wait* tests There were tested few scenarios with native _lwp_create(2) functions, using

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

2019-02-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat Feb 9 23:10:42 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.h Log Message: Add infinite_thread() for ptrace(2) ATF tests infinite_thread() is designed to be spawned as a pthread(3) function. It will be used

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

2019-02-09 Thread Sean Cole
Module Name:src Committed By: scole Date: Sat Feb 9 23:03:01 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: use HAVE_FPREGS not HAVE_FPGPREGS and move some register_t inside proper #define. fixes ia64 build. ok To generate a diff of thi

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

2019-02-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Feb 8 03:08:00 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Refactor kill* test in t_ptrace_wait* Drop original scenario of kill1 (PT_CONTINUE(SIGKILL)) as it duplicates traceme_sendsignal_sim

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

2019-02-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Feb 8 00:31:47 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Correct a style in description of PT_STEP tests in t_ptrace_wait* To generate a diff of this commit: cvs rdiff -u -r1.73 -r1.74 src

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

2019-02-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Fri Feb 8 00:29:41 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Refactor definition of PT_STEP tests into single macro No functional change intended. To generate a diff of this commit: cvs rdiff

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

2019-02-07 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Feb 7 23:03:33 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Refactor GPR and FPR tests in t_ptrace_wait* tests This change deduplicates the code and puts all the test into shared function body

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

2019-02-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Thu Feb 7 00:24:59 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Enable 3 new ptrace(2) tests for SIGILL Add missing code for SIGILL verification and enable new SIGILL tests: - traceme_crash_ill

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

2019-02-04 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Feb 5 02:57:10 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_x86_wait.h Log Message: Add missing break keywords in t_ptrace_wait* x86 tests Add missing break in switch() cases in dbregs_trap_variable(). Reported

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

2019-02-04 Thread matthew green
Module Name:src Committed By: mrg Date: Mon Feb 4 09:35:11 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_wait.c Log Message: - add __unreachable() after ATF_REQUIRE(pid > 0) where pid <= 0. - rearrange one switch so that the -1/0/default cases are the same order in

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

2019-01-21 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jan 22 03:47:45 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Mark traceme_vfork_crash_bus as no longer failing Fixed in src/sys/kern/core_elf32.c r. 1.58 Closes PR lib/53343 To generate a di

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

2019-01-13 Thread Andreas Gustafsson
Module Name:src Committed By: gson Date: Sun Jan 13 11:03:20 UTC 2019 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Don't mark the traceme_vfork_crash_bus test case as an expected failure when it is executing as part of the lib/libc/sys/t_ptrace_wait

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

2018-11-06 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Nov 6 17:55:04 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_sendrecv.c Log Message: Add a test to enable rerror handling. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/sys/t_sendrecv

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

2018-10-16 Thread Roy Marples
Module Name:src Committed By: roy Date: Tue Oct 16 09:23:29 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_sendmmsg.c Log Message: Handle ENOBUFS better and clean some whitespace. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/tests/lib/libc/sys/t_se

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

2018-08-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Aug 22 06:31:37 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_sendrecv.c Log Message: Den't set SA_RESTART in the signal handler allowing the process to get interrupted durning recv and exit (pointed out by kre@) To g

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

2018-08-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Aug 21 11:04:49 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_sendrecv.c Log Message: mark failed To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/sys/t_sendrecv.c Please note that diffs

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

2018-08-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Aug 21 11:03:27 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_sendrecv.c Log Message: should terminate and does with ktrace, but it does not normally. To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/te

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

2018-08-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Aug 21 10:41:00 UTC 2018 Added Files: src/tests/lib/libc/sys: t_sendrecv.c Log Message: Now add the file I really meant to add. To generate a diff of this commit: cvs rdiff -u -r0 -r1.1 src/tests/lib/libc/sys/t_sendrecv.c

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

2018-08-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Aug 21 10:39:21 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_recvmmsg.c Log Message: revert copyright change. To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/tests/lib/libc/sys/t_recvmmsg.c Please no

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

2018-08-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Aug 21 10:38:09 UTC 2018 Modified Files: src/tests/lib/libc/sys: Makefile t_recvmmsg.c Added Files: src/tests/lib/libc/sys: t_sendmmsg.c Log Message: more tests To generate a diff of this commit: cvs rdiff -u -r1.5

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

2018-08-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Aug 13 22:59:52 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add a new ATF ptrace(2) test: tracer_attach_to_unrelated_stopped_process Reuse the body of tracer_sees_terminaton_before_the_parent_

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

2018-08-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Aug 13 22:00:45 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add a new ATF test parent_attach_to_its_stopped_child Reuse the body of parent_attach_to_its_child for a test attaching to a stopped

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

2018-08-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Aug 13 21:49:37 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.h Log Message: Add await_stopped() in t_ptrace_wait.h This is used in tests where a process awaits for a stopped process. To generate a diff of t

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

2018-08-13 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon Aug 13 21:36:55 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add a new ATF ptrace(2) test: child_attach_to_its_stopped_parent Reuse the body of child_attach_to_its_parent for a test attaching t

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

2018-07-16 Thread Martin Husemann
Module Name:src Committed By: martin Date: Tue Jul 17 06:13:08 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Comment out two tests that regularily hang on SMP machines (with unkillable helper/child processes, so ATF timeout does not help). K

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

2018-06-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jun 6 13:18:44 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Fix previous The failing tests are for vfork(2), not fork(2). To generate a diff of this commit: cvs rdiff -u -r1.62 -r1.63 src/te

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

2018-06-06 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Wed Jun 6 13:16:32 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Mark sigbus ATF tests in t_ptrace_wait as expected failure They are breaking right now on all ports. lib/53343 To generate a diff

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

2018-05-31 Thread Robert Elz
Module Name:src Committed By: kre Date: Fri Jun 1 05:48:29 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: 80 column police. Some KNF and whitespace corrections (until I got bored...) NFCI. To generate a diff of this commit: cvs rdiff -u

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

2018-05-29 Thread Robert Elz
Module Name:src Committed By: kre Date: Wed May 30 05:09:12 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: The bytes_transfer_piod_read_auxv test uses 4096 for the size param to bytes_transfer() which asserted that the size is < the size of 5

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

2018-05-29 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue May 29 10:40:54 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Add new ATF ptrace(2) tests verifying crash signal handling Add new tests: - traceme_crash_trap - traceme_crash_segv - traceme_cr

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

2018-05-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon May 28 11:35:50 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Correct the t_ptrace_wait*:signal5 ATF test case This functionality now works. Correct the code path in this test. Add additional sa

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

2018-05-28 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Mon May 28 11:15:48 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Drop trailing white space To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/tests/lib/libc/sys/t_ptrace_wait.c Ple

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

2018-05-28 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon May 28 07:55:56 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_syscall.c Log Message: PR port-amd64/53316: two int don't make a long (when passed to a C variadic function) To generate a diff of this commit: cvs rdiff -u

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

2018-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun May 27 17:16:39 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.h Log Message: Try to fool $CC harder in ATF ptrace(2) tests in trigger_fpe() A function that returns a value that is not used, can be optimized ou

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

2018-05-27 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sun May 27 08:08:24 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Fix ATF ptrace(2) bytes_transfer_piod_read_auxv test Make the initial buffer larger to stop triggering the runtime assert about its

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

2018-05-26 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun May 27 00:36:56 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: alloca, bad; stack protector, good. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/tests/lib/libc/sys/t_ptrac

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

2018-05-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat May 26 20:27:48 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_amd64_wait.h t_ptrace_x86_wait.h Log Message: Port the CVE 2018-8897 mitigation to i386 ATF ptrace(2) tests On i386 there is no need to switch execution

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

2018-05-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat May 26 15:32:31 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.c Log Message: Refactor the PT_WRITE*/PT_READ* and PIOD_* ATF ptrace(2) tests Merge all the PT_WRITE*/PT_READ* and PIOD_* the test cases into the c

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

2018-05-26 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Sat May 26 15:15:17 UTC 2018 Modified Files: src/tests/lib/libc/sys: t_ptrace_wait.h Log Message: Introduce can_we_write_to_text() to ATF ptrace(2) tests The purpose of this function is to detect whether a tracer can write to the

<    1   2   3   4   5   >