hurd: return EIEIO instead of EIO
EIO would be understood as hardware failure, while this is software failure. * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Return EIEIO instead of EIO
This commit is contained in:
parent
954cf3c29b
commit
b6e7c449f9
@ -20,7 +20,7 @@
|
||||
|
||||
* hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
|
||||
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
|
||||
answer to interrupt_operation, return EIO instead of EINTR.
|
||||
answer to interrupt_operation, return EIEIO instead of EINTR.
|
||||
* sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
|
||||
_hurd_intr_rpc_msg_about_to global point to start of controlled
|
||||
assembly snippet. Make it check canceled flag.
|
||||
|
@ -323,9 +323,9 @@ _hurd_intr_rpc_mach_msg (mach_msg_header_t *msg,
|
||||
/* FALLTHROUGH */
|
||||
|
||||
dead:
|
||||
err = EIO;
|
||||
err = EIEIO;
|
||||
|
||||
/* The EIO return indicates cancellation, so clear the flag. */
|
||||
/* The EIEIO return indicates cancellation, so clear the flag. */
|
||||
ss->cancel = 0;
|
||||
break;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user