git: 9d7e450b64f1 - main - ptrace: remove dead call to FIX_SSTEP()

Konstantin Belousov kib at FreeBSD.org
Sun Apr 11 11:44:45 UTC 2021


The branch main has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=9d7e450b64f1e605c718fba0f357d49541c8147b

commit 9d7e450b64f1e605c718fba0f357d49541c8147b
Author:     Konstantin Belousov <kib at FreeBSD.org>
AuthorDate: 2021-04-11 09:02:34 +0000
Commit:     Konstantin Belousov <kib at FreeBSD.org>
CommitDate: 2021-04-11 11:44:30 +0000

    ptrace: remove dead call to FIX_SSTEP()
    
    It was an alias for procfs_fix_sstep() long time ago.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      1 week
---
 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 51c7bd662600..99bb2e992208 100644
--- a/sys/kern/sys_process.c
+++ b/sys/kern/sys_process.c
@@ -784,13 +784,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
 	 */


More information about the dev-commits-src-all mailing list