From a9a002fb6cb9941ba283ef832e2a88ab00033683 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 7 Feb 2015 22:13:46 +0100 Subject: hurdselect: Let select get interrupted by signals We need to set MACH_RCV_INTERRUPT to avoid __mach_msg just looping on signals, and then we can handle the interruption. --- ChangeLog | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 03a987a..5081237 100644 --- a/ChangeLog +++ b/ChangeLog @@ -17,6 +17,8 @@ * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE, NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to 45. + * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to + __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR. 2015-02-06 Roland McGrath -- cgit v1.1