summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2020-05-15 11:58:01 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2020-05-15 11:58:01 +0000
commit1659238a0ca2744d18f4b9a3c77ed1e224510e11 (patch)
tree1556ea81535141af9c65634e9a1b4fa2b251f050 /include
parent8ffb1c8ce15ca01ad17ee0a88bc03cc5ccdba162 (diff)
downloadsrc-test2-1659238a0ca2744d18f4b9a3c77ed1e224510e11.tar.gz
src-test2-1659238a0ca2744d18f4b9a3c77ed1e224510e11.zip
Implement RTLD_DEEPBIND.
PR: 246462 Tested by: Martin Birgmeier <d8zNeCFG@aon.at> Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential revision: https://reviews.freebsd.org/D24841
Notes
Notes: svn path=/head/; revision=361073
Diffstat (limited to 'include')
-rw-r--r--include/dlfcn.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dlfcn.h b/include/dlfcn.h
index 76a7fa02ed74..f219879b8fa5 100644
--- a/include/dlfcn.h
+++ b/include/dlfcn.h
@@ -47,6 +47,8 @@
#define RTLD_TRACE 0x200 /* Trace loaded objects and exit. */
#define RTLD_NODELETE 0x01000 /* Do not remove members. */
#define RTLD_NOLOAD 0x02000 /* Do not load if not already loaded. */
+#define RTLD_DEEPBIND 0x04000 /* Put symbols from the dso ahead of
+ the global list */
/*
* Request arguments for dlinfo().