summaryrefslogtreecommitdiff
path: root/sys/miscfs/procfs/procfs_dbregs.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/miscfs/procfs/procfs_dbregs.c')
-rw-r--r--sys/miscfs/procfs/procfs_dbregs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/miscfs/procfs/procfs_dbregs.c b/sys/miscfs/procfs/procfs_dbregs.c
index 9fe4968d37c62..b4e9d41f668c8 100644
--- a/sys/miscfs/procfs/procfs_dbregs.c
+++ b/sys/miscfs/procfs/procfs_dbregs.c
@@ -62,9 +62,6 @@ procfs_dodbregs(curp, p, pfs, uio)
char *kv;
int kl;
- /* Can't trace a process that's currently exec'ing. */
- if ((p->p_flag & P_INEXEC) != 0)
- return EAGAIN;
if (!CHECKIO(curp, p) || p_trespass(curp, p))
return (EPERM);
kl = sizeof(r);