patched fdset call in osproc