klibc: Fix termination of the spoofing portmapper
Fix termination of dummy portmapper
This patch actually fixes two bugs happening when the dummy portammaper is
started:
1/ if nfs_mount() fails, nfsmount_main returns without trying to kill the dummy
portmapper;
2/ kill() is called with arguments inverted, which leads to send an arbitrary,
probably invalid, signal to task 15(!). The most probable side effect is that
the loop over waitpid() never ends, which blocks the boot process without
warning.
Signed-off-by: Louis Rilling <Louis.Rilling@kerlabs.com>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
1 file changed