[Bug 215769] man 2 vfork() does not document corner case when PID == 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.kernel.org/show_bug.cgi?id=215769

--- Comment #9 from Коренберг Марк (socketpair@xxxxxxxxx) ---
GLIBC:
sysdeps/unix/sysv/linux/spawni.c

It uses clone(CLONE_VM | CLONE_VFORK | SIGCHLD) instead of direct vfork()
syscall.

Also, vfork() function implementation in glibc depends on architecture. On
x86it should be 1:1 i.e. it should call vfork() syscall directly. On some other
architectures, it calls clone() with flags.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.



[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux