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
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user