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 libc/6990] New: Parent pid lost after using raise() in child process


After creating child using vfork(), I call raise in child process.
Once child process completes in parent process if we use getpid(), we are not 
able to get pid of parent instead we are getting pid of child. 

I have attached the test code. Is it valid behaviour??
Please let me know.

I have raised the same bug in gmane(linux-kernel-dev), but i think its 
releated to glibc?? 
Please let me know if i am wrong.

Thanks.

-- 
           Summary: Parent pid lost after using raise() in child process
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: halesh dot s at gmail dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=6990

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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