Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250321223944.GK1827@brightrain.aerifal.cx>
Date: Fri, 21 Mar 2025 18:39:44 -0400
From: Rich Felker <dalias@...c.org>
To: Leah Neukirchen <leah@...u.org>
Cc: MouriNaruto <mourinaruto@...il.com>, musl@...ts.openwall.com,
	MouriNaruto <Kenji.Mouri@...look.com>
Subject: Re: [PATCH] workaround the issue that pthread_getattr_np
 won't return in FreeBSD Linuxulator

On Fri, Mar 21, 2025 at 11:27:53PM +0100, Leah Neukirchen wrote:
> Rich Felker <dalias@...c.org> writes:
> 
> > only tell if it's currently paged in, not if it's mapped. There's
> > procfs which could be used if mounted, but that's more of a pain to
> > work with and not always present, and I'm not sure it would help on
> > FreeBSD anyway.
> 
> FreeBSD took precautions to make "linprocfs" work in such a way that
> glibc parses it properly:
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253337

I think this is promising that they might also fix mremap so that musl
can interpret it properly.

As for procfs, does that include /proc/self/maps? That's what we'd
have to parse, and I'm not even sure how rigorously safe it is to
parse... so I'd rather not go there.

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.