Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+jjjYSomVyXPoRkioRj3yhS6xRZ+Ejv9xpm8_ALdJLuD3o=Nw@mail.gmail.com>
Date: Mon, 30 Sep 2019 12:57:34 -0700
From: Joshua Hudson <joshudson@...il.com>
To: musl <musl@...ts.openwall.com>
Subject: Re: Hangup calling setuid() from vfork() child

>It's simpler than that. The (retired) specification for vfork did not
>allow anything but _exit or execve in the child after vfork, so the
>issue doesn't arise and it works perfectly fine with threads as long
>as you follow the requirement.

I'm reading the man page for vfork and it says what it actually does, that
is overlay the child process on the memory of the calling process.

posix_spawn can't be used in the originating location, and fork() is
hogging too much memory.

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.