diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2025-05-27 21:08:43 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2025-05-29 14:27:46 +0000 |
commit | def0c056d3380b91ca7422d0a8727c6a4c8f6dae (patch) | |
tree | 6a784426b5f106da39e2e5dd18657f7616af1b0f | |
parent | b57eb80596651c1f5972f3b6cd21ef95cc95ac85 (diff) |
-rw-r--r-- | sys/kern/sys_process.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index 69ea3d97d505..35112f6c29d1 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -1233,6 +1233,7 @@ kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data) (u_long)(uintfptr_t)addr); if (error) goto out; + td2->td_dbgflags |= TDB_USERWR; } switch (req) { case PT_TO_SCE: |