Fail closed if we cannot obtain the process flags. Noticed while looking at a similar function for AIX.