https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254201
Bug ID: 254201
Summary: ptrace(): rfork(RFSPAWN) / posix_spawn() reports fork
instead of vfork (+ vfork_done)
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Created attachment 223168
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=223168&action=edit
reproducer
If the debugged program executes rfork(RFSPAWN) or posix_spawn(), the first
SIGTRAP signal reports PL_FLAG_FORKED instead of PL_FLAG_VFORKED. This is
followed by PL_FLAG_VFORK_DONE, so I guess PL_FLAG_VFORKED was desired.
I'm attaching a simple reproducer. Confirmed on 14.0-CURRENT from end of
January.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"