mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
|
||
|---|---|---|
| .. | ||
| acct | ||
| execve | ||
| pipe | ||
| basic_signal.c | ||
| coredump_phnum_helper.c | ||
| coredump_phnum_test.sh | ||
| fdgrowtable_test.c | ||
| kcov.c | ||
| kern_copyin.c | ||
| kern_descrip_test.c | ||
| kill_zombie.c | ||
| ktls_test.c | ||
| libkern_crc32.c | ||
| Makefile | ||
| Makefile.depend | ||
| Makefile.inc | ||
| pdeathsig.c | ||
| pdeathsig_helper.c | ||
| ptrace_test.c | ||
| reaper.c | ||
| sendfile_helper.c | ||
| sendfile_test.sh | ||
| sigaltstack.c | ||
| sonewconn_overflow.py | ||
| sonewconn_overflow.sh | ||
| sys_getrandom.c | ||
| sysctl_kern_proc.c | ||
| unix_passfd_test.c | ||
| unix_seqpacket_test.c | ||
| unix_socketpair_test.c | ||
| waitpid_nohang.c | ||