s3: Use sys_read in fork_domain_child
commit964e809ce2069ad888e0fb12dfe51bac5a461508
authorVolker Lendecke <vl@samba.org>
Fri, 26 Aug 2011 09:38:21 +0000 (26 11:38 +0200)
committerVolker Lendecke <vl@samba.org>
Fri, 26 Aug 2011 09:42:35 +0000 (26 11:42 +0200)
tree1092c042f314a0bba164ecd55907fe8e391aedc0
parent099b9db4045d6d12ec9f55647def5d1af0baa3c6
s3: Use sys_read in fork_domain_child

I've seen

[2011/08/26 01:44:10.872057,  1] winbindd/winbindd_dual.c:1336(fork_domain_child)
  fork_domain_child: Could not read child status: nread=-1, error=Interrupted system call

on a customer box. Not good.
source3/winbindd/winbindd_dual.c