Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20191001022102.GA16318@brightrain.aerifal.cx>
Date: Mon, 30 Sep 2019 22:21:02 -0400
From: Rich Felker <dalias@...c.org>
To: Joshua Hudson <joshudson@...il.com>
Cc: musl <musl@...ts.openwall.com>
Subject: Re: Re: posix_spawn

On Mon, Sep 30, 2019 at 06:58:15PM -0700, Joshua Hudson wrote:
> Well that was a long dead end. posix_spawnp won't call setgroups.

In a worst case, you use a helper executable (or shell script) to exec
the final program you want running as the child with the changes you
want made to its initial execution environment. This can work around
any deficiency in posix_spawn capabilities. It adds a little bit of
cost but it's nowhere near as big as the cost of fork duplicating the
whole VM space and making it all COW.

> You now have a quirk and I need to actually detect musl libc.

Huh? This does not sound musl-specific.

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.