vfork() semantics changed: ERESTARTNOINTR

Kyle McMartin kyle at mcmartin.ca
Thu Dec 2 17:34:07 UTC 2010


On Thu, Dec 02, 2010 at 09:27:34AM -0800, John Reiser wrote:
> vfork() can fail with ERESTARTNOINTR which is 513
> and somewhat young.  'make' did not know:
>    https://bugzilla.redhat.com/show_bug.cgi?id=659382
> 
> If your package has any shell-like feature
> then it might be good to check for vfork().
> 

These are internal kernel errnos, and I'm fairly certain are not
supposed to leak to userspace, but be fixed up by the syscall return
code...

Roland?

--Kyle


More information about the devel mailing list