summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_usrreq.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2017-04-30 16:45:45 +0000
committermpi <mpi@openbsd.org>2017-04-30 16:45:45 +0000
commite97088d66c8eee044cad550a3fd9fad00889544f (patch)
tree87f70243379801d20fcafe034629b00d243309c8 /sys/ddb/db_usrreq.c
parentsync (diff)
downloadwireguard-openbsd-e97088d66c8eee044cad550a3fd9fad00889544f.tar.xz
wireguard-openbsd-e97088d66c8eee044cad550a3fd9fad00889544f.zip
Rename Debugger() into db_enter().
Using a name with the 'db_' prefix makes it invisible from the dynamic profiler. ok deraadt@, kettenis@, visa@
Diffstat (limited to 'sys/ddb/db_usrreq.c')
-rw-r--r--sys/ddb/db_usrreq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_usrreq.c b/sys/ddb/db_usrreq.c
index 40e736d67f4..678680cafe0 100644
--- a/sys/ddb/db_usrreq.c
+++ b/sys/ddb/db_usrreq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: db_usrreq.c,v 1.18 2016/09/04 09:22:29 mpi Exp $ */
+/* $OpenBSD: db_usrreq.c,v 1.19 2017/04/30 16:45:45 mpi Exp $ */
/*
* Copyright (c) 1996 Michael Shalayeff. All rights reserved.
@@ -96,7 +96,7 @@ ddb_sysctl(int *name, u_int namelen, void *oldp, size_t *oldlenp, void *newp,
if (securelevel < 1 ||
(pr->ps_flags & PS_CONTROLT && cn_tab &&
cn_tab->cn_dev == pr->ps_session->s_ttyp->t_dev)) {
- Debugger();
+ db_enter();
newp = NULL;
} else
return (ENODEV);