summaryrefslogtreecommitdiffstats
path: root/sys/fs/procfs/procfs_ctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/fs/procfs/procfs_ctl.c')
-rw-r--r--sys/fs/procfs/procfs_ctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/procfs/procfs_ctl.c b/sys/fs/procfs/procfs_ctl.c
index 5980ce1..dc267f6 100644
--- a/sys/fs/procfs/procfs_ctl.c
+++ b/sys/fs/procfs/procfs_ctl.c
@@ -147,7 +147,7 @@ procfs_control(struct thread *td, struct proc *p, int op)
p->p_oppid = p->p_pptr->p_pid;
proc_reparent(p, td->td_proc);
}
- psignal(p, SIGSTOP);
+ kern_psignal(p, SIGSTOP);
out:
PROC_UNLOCK(p);
sx_xunlock(&proctree_lock);
@@ -348,7 +348,7 @@ procfs_doprocctl(PFS_FILL_ARGS)
thread_unsuspend(p);
PROC_SUNLOCK(p);
} else
- psignal(p, nm->nm_val);
+ kern_psignal(p, nm->nm_val);
PROC_UNLOCK(p);
error = 0;
}
OpenPOWER on IntegriCloud