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=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 3772 invoked from network); 16 Sep 2020 14:20:33 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 16 Sep 2020 14:20:33 -0000 Received: (qmail 1542 invoked by uid 550); 16 Sep 2020 14:20:30 -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 1524 invoked from network); 16 Sep 2020 14:20:29 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1600266018; bh=K23UATr4zdxiYvExWQZ3wZ+TYpj7XcwfYhUn+G74DW8=; h=X-UI-Sender-Class:Date:From:To:Subject:References:In-Reply-To; b=VLBa0tgiWtZfzP/sVaCVHTOB4QBy+AhPv//lFDG5nHpy4U+tZ19Yk2epgvlGxNfft IsNVN9oWWMNZPgG/vt/c/h3C5Pc0lDy5dVYO2cm42nm+RWdCRSLB+yrO9j6ZMVZHol o8nblIco4YnG0YNehwCj62T3F79AbvcUwtuLbjdA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Date: Wed, 16 Sep 2020 16:20:17 +0200 From: Markus Wichmann To: musl@lists.openwall.com Message-ID: <20200916142017.GB7854@voyager> References: <20200904195251.GA2139@voyager> <20200905034153.GI3265@brightrain.aerifal.cx> <20200905064419.GB2139@voyager> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: in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yHt/O4V2rmPVQ1/rYDJQQ8779rPYFMEHr5/aKwTRJWsveSsTTjwqoq0QrGKI5DT jD/MX4vlUo0XuQYa8fYhm/0XO2Z9/XQbUv1+fps0ufRXl4HrsRj2BuZAfFCShjDpyehTtHEZn hlYMCGqHOWbVg/kbT56XrnJyuDK52Qk1nut+kXgAgCgzBIiChyU6p/UpFsgcRChzMVzqU8uha lFRRIk93q+BO0ORM64XYE5tUSQ6QnC6FVXNBy402viHDIXDM3IxjcIVM8EZEbgbI7IroGVv3U 2T03fvtTpO71HH/wcWfw7Hi3oAsmc/Vf7oC5jeJm+xqakksh2/w6rCIptOo9nzNfZ30epdX5H 4Sz/dp5MPMlPAP99nL5XsPwfEzbqesafAFM6SKeP0M0sR7xe87kNG1iPJI6nSSzQ8C/WTLPG/ NALB4s+zjneNhXq6koTW3HkHmHRsZygnVeXOCNhezNgNmXukA/2YOI0FwFMq6G7tpvfMfPgAz 2645OG16EmJkLNsSe Subject: Re: [musl] Bug in mmap_fixed() On Wed, Sep 16, 2020 at 12:15:23AM -0500, Rob Landley wrote: > Coldfire is also nommu and musl has had m68k support for years, is there no > coldfire target? (That's been supported by qemu longer than proper m68k.) As stated in the OP, whether the buggy code even runs depends on DL_NOMMU_SUPPORT, which as of yet only Super-H defines to 1. Even if the buggy code runs, it will only bug out if a read() on a shared library fails with EINTR, which is impossible during initial load (since no signal handler can be installed), and almost impossible at runtime, since shared libraries tend to be regular files, and only regular files on an NFS share that has been setup to do interrupting I/O can ever return EINTR. Even then, the first read() (that reads the ELF header and the program headers) has to go off without a hitch, or else we won't even come that far. As far as I can tell, there is no special Coldfire target. If Coldfire is incompatible with the M68k ABI (and from what I've just read, they stripped a lot of features out of M68k to make Coldfire), then no, there is no support for Coldfire. Ciao, Markus