aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorFlorian Weimer <fw@deneb.enyo.de>2019-10-28 19:49:46 +0100
committerFlorian Weimer <fweimer@redhat.com>2019-10-29 18:11:36 +0100
commit8c59ed1f7454cba46c29ceba07322a75f9eb78ad (patch)
treeb2a6f0b4f55a39907c1e1bd8b1d2bb5658bd7b87 /sysdeps
parent93e07b2f9ef6825c7165f4587d2204464c83959a (diff)
downloadglibc-fw/bug25112.tar
glibc-fw/bug25112.tar.gz
glibc-fw/bug25112.tar.bz2
glibc-fw/bug25112.zip
Remove all loaded objects if dlopen fails [BZ #20839]fw/bug25112
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/generic/ldsodefs.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h
index c5467575c8..874be9680c 100644
--- a/sysdeps/generic/ldsodefs.h
+++ b/sysdeps/generic/ldsodefs.h
@@ -923,6 +923,10 @@ enum
DL_LOOKUP_RETURN_NEWEST = 2,
/* Set if dl_lookup* called with GSCOPE lock held. */
DL_LOOKUP_GSCOPE_LOCK = 4,
+
+ /* Set if dl_lookup* is called from within dlopen, for non-lazy
+ binding. */
+ DL_LOOKUP_INSIDE_DLOPEN = 8,
};
/* Lookup versioned symbol. */