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.
Simo.
--
Simo Sorce * Red Hat, Inc * New York