opnsense-src/tests/sys/kern
Andrew Turner 598e53b3d3 Stop single stepping in signal handers on arm64
We should clear the single step flag when entering a signal hander and
set it when returning. This fixes the ptrace__PT_STEP_with_signal test.

While here add support for userspace to set the single step bit as on
x86. This can be used by userspace for self tracing.

Reviewed by:	kib
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D34170

(cherry picked from commit 31cf95cec7)
2022-02-22 16:23:07 +00:00
..
acct
execve tests: add a basic test for argc == 0 2022-02-10 14:21:59 -06:00
pipe Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
basic_signal.c Stop single stepping in signal handers on arm64 2022-02-22 16:23:07 +00:00
coredump_phnum_helper.c Fix coredump_phnum test with ASLR enabled 2021-11-27 19:27:03 -05:00
coredump_phnum_test.sh
fdgrowtable_test.c fdgrowtable_test.c: appease gcc 2020-12-11 22:52:16 +00:00
kcov.c
kern_copyin.c riscv: fix VM_MAXUSER_ADDRESS checks in asm routines 2021-10-15 12:22:13 -03:00
kern_descrip_test.c
kill_zombie.c
ktls_test.c ktls: Disallow transmitting empty frames outside of TLS 1.0/CBC mode 2022-02-16 11:52:31 -05:00
libkern_crc32.c tests/sys/kern/crc32: Check for SSE4.2 before using it 2021-04-22 10:41:09 +01:00
Makefile tests: Add some regression tests for a couple of KERN_PROC_* sysctls 2022-01-16 10:40:39 -05:00
Makefile.depend
Makefile.inc
pdeathsig.c
pdeathsig_helper.c
ptrace_test.c Fix GCC build of ptrace_test after 96a9e50e63 2021-03-17 12:24:45 +00:00
reaper.c
sendfile_helper.c add a few tests for sendfile. 2020-07-20 20:36:32 +00:00
sendfile_test.sh add a few tests for sendfile. 2020-07-20 20:36:32 +00:00
sigaltstack.c
sonewconn_overflow.py Clear the dmesg buffer to prevent rotating causes issues 2020-10-06 04:18:42 +00:00
sonewconn_overflow.sh Add a regression test for the changes in r359922 and r359923. 2020-04-16 20:07:34 +00:00
sys_getrandom.c
sysctl_kern_proc.c tests: Add some regression tests for a couple of KERN_PROC_* sysctls 2022-01-16 10:40:39 -05:00
unix_passfd_test.c Unbreak MSG_CMSG_CLOEXEC 2021-04-10 13:52:15 +01:00
unix_seqpacket_test.c
unix_socketpair_test.c
waitpid_nohang.c