diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-06-09 01:18:51 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2016-06-09 01:18:51 +0200 |
commit | 5ebf5d24aa206f7fd10aeb89c2ac6db7116939d5 (patch) | |
tree | 4121aed80bcd90c07897b60f9d1d3bb4db37b8d9 /hurd/hurdsig.c | |
parent | 792f37ecfbd2cde23c07a45a3e15f5a7e37c1d19 (diff) | |
parent | db54436230917dd06d821ae70df4e6cd6b4e0d56 (diff) |
Merge branch 't/eintr' into refs/top-bases/tschwinge/Roger_Whittaker
Diffstat (limited to 'hurd/hurdsig.c')
-rw-r--r-- | hurd/hurdsig.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index 5b63a06e15..4940fbdf9e 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -1561,11 +1561,12 @@ reauth_proc (mach_port_t new) ref = __mach_reply_port (); if (! HURD_PORT_USE (&_hurd_ports[INIT_PORT_PROC], - __proc_reauthenticate (port, ref, - MACH_MSG_TYPE_MAKE_SEND) || - __auth_user_authenticate (new, ref, - MACH_MSG_TYPE_MAKE_SEND, - &ignore)) + __proc_reauthenticate (port, ref, + MACH_MSG_TYPE_MAKE_SEND) || + /* FIXME: handle EINTR */ + __auth_user_authenticate (new, ref, + MACH_MSG_TYPE_MAKE_SEND, + &ignore)) && ignore != MACH_PORT_NULL) __mach_port_deallocate (__mach_task_self (), ignore); __mach_port_destroy (__mach_task_self (), ref); |