https://bugs.kde.org/show_bug.cgi?id=524312
Bug ID: 524312
Summary: Add support for illumos spawn(2)
Classification: Developer tools
Product: valgrind
Version First 3.26.0
Reported In:
Platform: Other
OS: Unspecified
Status: REPORTED
Severity: major
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Here is the e-mail report about this that I received from Andy Fiddaman
I don't know if you saw it go past but we recently added a new spawn(2)
system call to illumos so that the posix_spawn() function is now handled
mostly within the kernel instead of via a fork/exec wrapper.
Solaris has a spawn(2) too, but it's quite different to ours as you'd
expect. I've written a patch against valgrind 3.72.1 to add support for
illumos spawn - it's based on the existing code for Solaris - and I've run
our entire posix_spawn testsuite under valgrind with --follow-children=yes
and so on. That did find a few emulation bugs along the way but the tests
are all passing under valgrind with that final patch.
https://github.com/omniosorg/omnios-extra/pull/1781
The patch is free to use if you are interested in getting this into
the next valgrind release.
Let me know if you have any questions about the patch or the new system
call. I had to implement a few of the nuances of the system call, which was
probably easier since I wrote the implementation!
--
You are receiving this mail because:
You are watching all bug changes.