On 2020-08-14 17:05, Magnus Fromreide wrote: > The vfork child only blocks the parent until it have performed an successful > exec so that part looks ok [ ... ]
Hi Magnus, Are you sure of this? From the Linux vfork() man page (https://man7.org/linux/man-pages/man2/vfork.2.html): The requirements put on vfork() by the standards are weaker than those put on fork(2), so an implementation where the two are synonymous is compliant. In particular, the programmer cannot rely on the parent remaining blocked until the child either terminates or calls execve(2), and cannot rely on any specific behavior with respect to shared memory. Thanks, Bart. _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders