diff mbox series

[RFC,v13,9/9] NEWS for RTLD_SHARED, RTLD_ISOLATE & DT_GNU_FLAGS_1/DF_GNU_1_UNIQUE

Message ID 20210929162642.21985-10-vivek@collabora.com
State New
Headers show
Series Implementation of RTLD_SHARED for dlmopen | expand

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent
dj/TryBot-32bit success Build for i686

Commit Message

Vivek Das Mohapatra Sept. 29, 2021, 4:26 p.m. UTC
---
 NEWS | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
diff mbox series

Patch

diff --git a/NEWS b/NEWS
index 6bc98873ab..e069ba1f76 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,23 @@  Version 2.35
 
 Major new features:
 
+* New flag RTLD_SHARED for dlmopen. A DSO opened into a secondary
+  namespace with the RTLD_SHARED flag is opened in the default
+  namespace instead (if not present there already) and that copy is
+  shared with the target namespace.
+
+* New dynamic section DT_GNU_FLAGS_1 with a value DF_GNU_1_UNIQUE.
+  This flag indicates that the DSO marked with it should be treated
+  by dlmopen as if RTLD_SHARED had been passed.  The core libc DSOs
+  are all marked with this section and flag.
+
+  NOTE: This does not affect DSOs opened for the audit mechanism.
+
+* New flag RTLD_ISOLATE for dlmopen.  This flag suppresses the effect
+  of DT_GNU_FLAGS_1/DF_GNU_1_UNIQUE, allowing DSOs that would otherwise
+  be shared with the default namespace to be loaded as a separate copy
+  in the target namespace.
+
 * Bump r_version in the debugger interface to 2 and add a new field,
   r_next, support multiple namespaces.