git: def0c056d338 - main - PT_CONTINUE: if pc is set, mark the thread state as modified by user
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 May 2025 14:29:42 UTC
The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=def0c056d3380b91ca7422d0a8727c6a4c8f6dae commit def0c056d3380b91ca7422d0a8727c6a4c8f6dae Author: Konstantin Belousov <kib@FreeBSD.org> AuthorDate: 2025-05-27 21:08:43 +0000 Commit: Konstantin Belousov <kib@FreeBSD.org> CommitDate: 2025-05-29 14:27:46 +0000 PT_CONTINUE: if pc is set, mark the thread state as modified by user Reviewed by: markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differrential revision: https://reviews.freebsd.org/D50556 --- sys/kern/sys_process.c | 1 + 1 file changed, 1 insertion(+) 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: