summaryrefslogtreecommitdiff
path: root/sys/miscfs/procfs/procfs_ctl.c
diff options
context:
space:
mode:
authorws <ws@NetBSD.org>1994-01-09 19:44:03 +0000
committerws <ws@NetBSD.org>1994-01-09 19:44:03 +0000
commit6202bab2db9783bc584dbffdfd88e0f94dcdd34d (patch)
treefcb41272fbfeaf245c59b4dbc2bcbba4a4474621 /sys/miscfs/procfs/procfs_ctl.c
parent8243207be1d49a6f2461067340a20e8195ad3e66 (diff)
Bug fixes and enhancements:
Make NFS serving work (BUT DON'T USE "attach" TO /proc/*/ctl FOR NOW!!!) Make `curproc' a symbolic link Add `.' and `..' entries to the directories. Return better guesses on the size of the files.
Diffstat (limited to 'sys/miscfs/procfs/procfs_ctl.c')
-rw-r--r--sys/miscfs/procfs/procfs_ctl.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/miscfs/procfs/procfs_ctl.c b/sys/miscfs/procfs/procfs_ctl.c
index 7455a7e49db..611fae2331c 100644
--- a/sys/miscfs/procfs/procfs_ctl.c
+++ b/sys/miscfs/procfs/procfs_ctl.c
@@ -37,7 +37,7 @@
* From:
* Id: procfs_ctl.c,v 4.1 1993/12/17 10:47:45 jsp Rel
*
- * $Id: procfs_ctl.c,v 1.2 1994/01/08 10:47:02 cgd Exp $
+ * $Id: procfs_ctl.c,v 1.3 1994/01/09 19:44:04 ws Exp $
*/
#include <sys/param.h>
@@ -190,7 +190,6 @@ procfs_control(curp, p, op)
p->p_oppid = 0;
p->p_flag &= ~SWTED; /* XXX ? */
- wakeup((caddr_t) curp); /* XXX for CTL_WAIT below ? */
break;
@@ -198,7 +197,8 @@ procfs_control(curp, p, op)
* Step. Let the target process execute a single instruction.
*/
case PROCFS_CTL_STEP:
- process_sstep(p);
+ if (error = process_sstep(p))
+ return error;
break;
/*