
otherwise, linux_syscall() returns garbage, at least on i386. (it returns native_to_linux_errno[EPASSTHROUGH] where EPASSTHROUGH == -4.) i choose EINVAL rather than ENOTTY, because linux's pipe returns it and i think that it's a common case.
otherwise, linux_syscall() returns garbage, at least on i386. (it returns native_to_linux_errno[EPASSTHROUGH] where EPASSTHROUGH == -4.) i choose EINVAL rather than ENOTTY, because linux's pipe returns it and i think that it's a common case.