summaryrefslogtreecommitdiffstats
path: root/usr.sbin/procmap
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2017-06-19 03:06:26 +0000
committerdlg <dlg@openbsd.org>2017-06-19 03:06:26 +0000
commitf933361f20df4def12f9bc8391f68d6bfad3bb75 (patch)
treea7da190b48af4b1cbdff573c701446c6c7421221 /usr.sbin/procmap
parentErroneous host names in various options should be ignored (diff)
downloadwireguard-openbsd-f933361f20df4def12f9bc8391f68d6bfad3bb75.tar.xz
wireguard-openbsd-f933361f20df4def12f9bc8391f68d6bfad3bb75.zip
port the RBT code to userland by making it part of libc.
src/lib/libc/gen/tree.c is a copy of src/sys/kern/subr_tree.c, but with annotations for symbol visibility. changes to one should be reflected in the other. the malloc debug code that uses RB code is ported to RBT. because libc provides the RBT code, procmap doesn't have to reach into the kernel and build subr_tree.c itself now. mild enthusiasm from many ok guenther@
Diffstat (limited to 'usr.sbin/procmap')
-rw-r--r--usr.sbin/procmap/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/procmap/Makefile b/usr.sbin/procmap/Makefile
index 7a43a5fe1d2..6edae34018f 100644
--- a/usr.sbin/procmap/Makefile
+++ b/usr.sbin/procmap/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.6 2016/09/16 04:45:35 dlg Exp $
+# $OpenBSD: Makefile,v 1.7 2017/06/19 03:06:26 dlg Exp $
PROG= procmap
SRCS= procmap.c
@@ -6,7 +6,4 @@ CFLAGS+= -Wall
LDADD= -lkvm
DPADD= ${LIBKVM}
-.PATH: ${.CURDIR}/../../sys/kern
-SRCS+= subr_tree.c
-
.include <bsd.prog.mk>