public inbox for lvm2-cvs@sourceware.org
help / color / mirror / Atom feed
* LVM2 ./WHATS_NEW lib/misc/sharedlib.c
@ 2005-08-09 17:24 agk
0 siblings, 0 replies; 2+ messages in thread
From: agk @ 2005-08-09 17:24 UTC (permalink / raw)
To: lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk@sourceware.org 2005-08-09 17:24:21
Modified files:
. : WHATS_NEW
lib/misc : sharedlib.c
Log message:
Factor out _get_library_path().
Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.275&r2=1.276
http://sources.redhat.com/cgi-bin/cvsweb.cgi/LVM2/lib/misc/sharedlib.c.diff?cvsroot=lvm2&r1=1.4&r2=1.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* LVM2 ./WHATS_NEW lib/misc/sharedlib.c
@ 2006-07-04 19:40 agk
0 siblings, 0 replies; 2+ messages in thread
From: agk @ 2006-07-04 19:40 UTC (permalink / raw)
To: lvm2-cvs
CVSROOT: /cvs/lvm2
Module name: LVM2
Changes by: agk@sourceware.org 2006-07-04 19:40:27
Modified files:
. : WHATS_NEW
lib/misc : sharedlib.c
Log message:
Use RTLD_GLOBAL when loading shared libraries.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/WHATS_NEW.diff?cvsroot=lvm2&r1=1.406&r2=1.407
http://sourceware.org/cgi-bin/cvsweb.cgi/LVM2/lib/misc/sharedlib.c.diff?cvsroot=lvm2&r1=1.9&r2=1.10
--- LVM2/WHATS_NEW 2006/07/04 19:36:48 1.406
+++ LVM2/WHATS_NEW 2006/07/04 19:40:27 1.407
@@ -1,5 +1,6 @@
Version 2.02.07 -
=================================
+ Use RTLD_GLOBAL when loading shared libraries.
Add some forgotten memlock checks to _vg_read to protect against full scans.
Add mutex to dmeventd_mirror to avoid concurrent execution.
Fix vgreduce --removemissing to return success if VG is already consistent.
--- LVM2/lib/misc/sharedlib.c 2006/05/16 16:48:30 1.9
+++ LVM2/lib/misc/sharedlib.c 2006/07/04 19:40:27 1.10
@@ -47,13 +47,13 @@
log_very_verbose("Opening shared %s library %s", desc, path);
- if (!(library = dlopen(path, RTLD_LAZY))) {
+ if (!(library = dlopen(path, RTLD_LAZY | RTLD_GLOBAL))) {
if (silent && ignorelockingfailure())
log_verbose("Unable to open external %s library %s",
desc, path);
else
- log_error("Unable to open external %s library %s",
- desc, path);
+ log_error("Unable to open external %s library %s: %s",
+ desc, path, dlerror());
}
return library;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-04 19:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-09 17:24 LVM2 ./WHATS_NEW lib/misc/sharedlib.c agk
2006-07-04 19:40 agk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).