util: Don't overflow on errno in virFileAccessibleAs
If we need to virFork() to check assess() under different UID+GID we need to translate returned status via WEXITSTATUS(). Otherwise, we may return values greater than 255 which is obviously wrong.
Showing
想要评论请 注册 或 登录