diff options
author | dlg <dlg@openbsd.org> | 2017-06-19 03:06:26 +0000 |
---|---|---|
committer | dlg <dlg@openbsd.org> | 2017-06-19 03:06:26 +0000 |
commit | f933361f20df4def12f9bc8391f68d6bfad3bb75 (patch) | |
tree | a7da190b48af4b1cbdff573c701446c6c7421221 /usr.sbin/procmap | |
parent | Erroneous host names in various options should be ignored (diff) | |
download | wireguard-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/Makefile | 5 |
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> |