libunwind-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libunwind-devel] [PATCH] x86_64: fix mincore_validate and msync_val


From: Paul Pluzhnikov
Subject: Re: [Libunwind-devel] [PATCH] x86_64: fix mincore_validate and msync_validate
Date: Fri, 18 Aug 2017 09:46:48 -0700

On Fri, Aug 18, 2017 at 8:16 AM, Dave Watson <address@hidden> wrote:

> and also handle EINTR

> +      int bytes = read (validate_pipe[0], &buf, 1);
> +      if (bytes >= 0 || errno == EAGAIN || errno == EWOULDBLOCK)

On Linux:

#define EWOULDBLOCK EAGAIN /* Operation would block */

Did you mean errno == EINTR above?


-- 
Paul Pluzhnikov



reply via email to

[Prev in Thread] Current Thread [Next in Thread]