From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by sourceware.org (Postfix) with ESMTPS id DB4CC385800A for ; Wed, 29 Sep 2021 16:26:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DB4CC385800A Received: from noise.cbg.collabora.co.uk (unknown [IPv6:2001:4d48:ad5c:ef00:8e70:5aff:fe59:c29c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vivek) by bhuna.collabora.co.uk (Postfix) with ESMTPSA id 5E6401F446D4 for ; Wed, 29 Sep 2021 17:26:50 +0100 (BST) From: =?UTF-8?q?Vivek=20Das=C2=A0Mohapatra?= To: libc-alpha@sourceware.org Subject: [RFC][PATCH v13 9/9] NEWS for RTLD_SHARED, RTLD_ISOLATE & DT_GNU_FLAGS_1/DF_GNU_1_UNIQUE Date: Wed, 29 Sep 2021 17:26:42 +0100 Message-Id: <20210929162642.21985-10-vivek@collabora.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210929162642.21985-1-vivek@collabora.com> References: <20210929162642.21985-1-vivek@collabora.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2021 16:26:55 -0000 --- NEWS | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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. -- 2.20.1