diff options
author | Kurt Miller <kurt@cvs.openbsd.org> | 2005-09-19 03:16:48 +0000 |
---|---|---|
committer | Kurt Miller <kurt@cvs.openbsd.org> | 2005-09-19 03:16:48 +0000 |
commit | 2cc6b9365ba69f6e7a786a57d0b5cdc3a2d5b6df (patch) | |
tree | 684abe1c2d40a3034a039c810b37ecf276ffaba3 | |
parent | 882de28cc27630dd2433f84f4495380f0ebceb33 (diff) |
don't promote DT_NEEDED libs to RTLD_GLOBAL by default when dlopening
libs.
okay drahn@
-rw-r--r-- | libexec/ld.so/dlfcn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/dlfcn.c b/libexec/ld.so/dlfcn.c index c307ceab0cc..d8f1972a6ed 100644 --- a/libexec/ld.so/dlfcn.c +++ b/libexec/ld.so/dlfcn.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dlfcn.c,v 1.51 2005/09/17 03:02:37 drahn Exp $ */ +/* $OpenBSD: dlfcn.c,v 1.52 2005/09/19 03:16:47 kurt Exp $ */ /* * Copyright (c) 1998 Per Fogelstrom, Opsycon AB @@ -104,7 +104,7 @@ dlopen(const char *libname, int flags) DL_DEB(("dlopen: loading: %s required by %s\n", deplibname, libname)); depobj = _dl_load_shlib(deplibname, dynobj, OBJTYPE_LIB, - flags|RTLD_GLOBAL); + flags); if (!depobj) { failed = 1; break; |