Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 24 Jan 2021 13:10:36 -0500
From: Rich Felker <dalias@...c.org>
To: Alexander Monakov <amonakov@...ras.ru>
Cc: musl@...ts.openwall.com, Andrew Rogers <andrew.rogerstech@...il.com>
Subject: Re: Potential DL_NOMMU_SUPPORT bug.

On Sun, Jan 24, 2021 at 06:58:10PM +0300, Alexander Monakov wrote:
> On Sun, 24 Jan 2021, Rich Felker wrote:
> 
> > Could you clarify what you're trying to do? Android devices are not
> > nommu and loading the binary from SD card vs elsewhere should not be
> > relevant to mmap failure here.
> 
> sdcard [pseudo-]partition is usually mounted noexec, so mmap with PROT_EXEC
> should fail.

Uhg, that makes no sense. Does it enforce that even for MAP_PRIVATE,
which should semantically be equivalent to just making anon memory
with the requested permissions and copying the file contents into it??

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.