This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug stdio/17490] New: popen should not invoke atfork handlers


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

            Bug ID: 17490
           Summary: popen should not invoke atfork handlers
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: stdio
          Assignee: unassigned at sourceware dot org
          Reporter: luto at mit dot edu

I don't know whether calling atfork handlers from popen violates POSIX, but
it's annoying and causes popen to be unsafe in conjunction with various
libraries when it should be perfectly safe.

It would also be much faster if it used vfork or appropriate clone flags on
Linux.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]