Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 May 2021 00:39:02 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 29e156233904 - stable/12 - ptrace: remove dead call to FIX_SSTEP()
Message-ID:  <202105010039.1410d2XI048079@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=29e156233904cf6093db5f6d8b05284f5df679c5

commit 29e156233904cf6093db5f6d8b05284f5df679c5
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-04-11 09:02:34 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-05-01 00:38:29 +0000

    ptrace: remove dead call to FIX_SSTEP()
    
    (cherry picked from commit 9d7e450b64f1e605c718fba0f357d49541c8147b)
---
 sys/kern/sys_process.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c
index 82f25e93b218..c61a77cd7584 100644
--- a/sys/kern/sys_process.c
+++ b/sys/kern/sys_process.c
@@ -922,13 +922,6 @@ kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data)
 	/* Keep this process around until we finish this request. */
 	_PHOLD(p);
 
-#ifdef FIX_SSTEP
-	/*
-	 * Single step fixup ala procfs
-	 */
-	FIX_SSTEP(td2);
-#endif
-
 	/*
 	 * Actually do the requests
 	 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105010039.1410d2XI048079>