UNIXProcess_md.c: do not retry EINTR failed close() calls

In 2005 Linus said:
http://lkml.indiana.edu/hypermail/linux/kernel/0509.1/0877.html

If close() return EINTR, the file descriptor _will_ have been closed. The
error return just tells you that soem error happened on the file: for
example, in the case of EINTR, the close() may not have flushed all the
pending data synchronously.

Re-doing the close() is the wrong thing to do, since in a threaded
environment, something else might have opened another file, gotten the
same file descriptor, and you now close _another_ file.

Bug: 20501816
Test: compiles and boots
Change-Id: Ibd6b81d3bd3e7db4672b875cfea38f6a56dc9404
1 file changed