[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 #3 from Коренберг Марк (socketpair@xxxxxxxxx) ---
Hi,
I appreciate depth of information validation. Actually, you are right. vfork()
DOES work with pid=1 processes. I figured out the cause in my case. In order to
reproduce -- add unshare(CLONE_NEWTIME) just before vfork(). Now, I don't know
if it's a bug in vfork() or in fork(). Yes, both are clone() actually.

In any case, they should either both give EINVAL or both don't fail. But it's
definitely bug in the kernel around CLONE_NEWTIME.

-- 
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