From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 10611 invoked from network); 30 Nov 2022 23:31:31 -0000 Received: from second.openwall.net (193.110.157.125) by inbox.vuxu.org with ESMTPUTF8; 30 Nov 2022 23:31:31 -0000 Received: (qmail 32238 invoked by uid 550); 30 Nov 2022 23:28:54 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 32147 invoked from network); 30 Nov 2022 23:28:53 -0000 From: "A. Wilcox" Content-Type: multipart/alternative; boundary="Apple-Mail=_B52CF2B8-2626-44BC-807A-5014AD6932F5" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Date: Wed, 30 Nov 2022 17:28:38 -0600 References: <20221128194740.GA23755@voyager> <20221130151234.GR29905@brightrain.aerifal.cx> To: musl@lists.openwall.com In-Reply-To: <20221130151234.GR29905@brightrain.aerifal.cx> Message-Id: X-Mailer: Apple Mail (2.3696.120.41.1.1) Subject: Re: [musl] Invalid page size reference in __dls2 --Apple-Mail=_B52CF2B8-2626-44BC-807A-5014AD6932F5 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On Nov 30, 2022, at 9:12 AM, Rich Felker wrote: >=20 > Nice catch. The references to libc are not valid in __dls2. If they > were, I would just re-run kernel_mapped_dso() from __dls2b or > something to get the right relro map, but I think instead we should do > something like the attached. >=20 > Rich > LGTM but needs a # before the =E2=80=98define=E2=80=99. This explains a weird error I was seeing with gcompat on aarch64. Best, -A.= --Apple-Mail=_B52CF2B8-2626-44BC-807A-5014AD6932F5 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
On Nov 30, 2022, at 9:12 AM, Rich Felker <dalias@libc.org> = wrote:

Nice catch. = The references to libc are not valid in __dls2. If they
were, I would just re-run = kernel_mapped_dso() from __dls2b or
something to get the right relro map, but I think instead we = should do
something = like the attached.

Rich
<ldso_page_size.diff>= ;

LGTM but = needs a # before the =E2=80=98define=E2=80=99.

This explains a weird error I was = seeing with gcompat on aarch64.

Best,
-A.
= --Apple-Mail=_B52CF2B8-2626-44BC-807A-5014AD6932F5--