[Bug libc/14749] Dangerous race condition with vfork in posix_spawn

fweimer at redhat dot com sourceware-bugzilla@sourceware.org
Wed Mar 7 09:53:00 GMT 2018


https://sourceware.org/bugzilla/show_bug.cgi?id=14749

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fweimer at redhat dot com

--- Comment #3 from Florian Weimer <fweimer at redhat dot com> ---
(In reply to Rich Felker from comment #0)
> Fundamentally, the danger of this race is the possibility of it giving rise
> to two threads/processes sharing an address space, but with different
> privileges; this kind of situation must never be allowed to arise.

Why?  The kernel does this, too, and user-space file servers really want this
functionality as well.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Glibc-bugs mailing list