On Fri, 2014-01-03 at 17:00 -0500, Simo Sorce wrote:
First patch adds utility functions to read/write safely even when
interrupted by signal.
Second patch creates a pipe between child and parent so the parent will
wait until the child finishes initializing all the sockets and write to
the nfsd file in proc.
This is necessary to reliably enable gssproxy code in nfsd via init
system ordering and avoid races where the client may not have written
the proc file in time if the parent immediately returns and the init
system immediately starts the kernel nfs daemon.
Changed some comments at Bruce Fields's request, the code is unchanged.
Simo Sorce * Red Hat, Inc * New York