diff options
| author | 2015-09-24 20:35:18 +0000 | |
|---|---|---|
| committer | 2015-09-24 20:35:18 +0000 | |
| commit | 89102e235d6cadbed4a779718b14336e1ac67ea9 (patch) | |
| tree | 5fc736c22efcede1ad352f025878ef4369c8fc83 /sys/kern/sys_process.c | |
| parent | Expunge VAX SMD special handling that tried to fill up the last (diff) | |
| download | wireguard-openbsd-89102e235d6cadbed4a779718b14336e1ac67ea9.tar.xz wireguard-openbsd-89102e235d6cadbed4a779718b14336e1ac67ea9.zip | |
buglet: there's no way for req to be STEP in the DETACH case.
also fix the confusing comment. ok guethner.
Diffstat (limited to 'sys/kern/sys_process.c')
| -rw-r--r-- | sys/kern/sys_process.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index 67866a24551..60ec50edca2 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sys_process.c,v 1.67 2015/01/20 19:43:21 kettenis Exp $ */ +/* $OpenBSD: sys_process.c,v 1.68 2015/09/24 20:35:18 tedu Exp $ */ /* $NetBSD: sys_process.c,v 1.55 1996/05/15 06:17:47 tls Exp $ */ /*- @@ -488,9 +488,9 @@ sys_ptrace(struct proc *p, void *v, register_t *retval) #ifdef PT_STEP /* - * Arrange for a single-step, if that's requested and possible. + * Stop single stepping. */ - error = process_sstep(t, req == PT_STEP); + error = process_sstep(t, 0); if (error) goto relebad; #endif |
