[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.0902260834150.31638@alien.or.mcafeemobile.com>
Date: Thu, 26 Feb 2009 08:36:19 -0800 (PST)
From: Davide Libenzi <davidel@...ilserver.org>
To: Tony Battersby <tonyb@...ernetics.com>
cc: Andrew Morton <akpm@...ux-foundation.org>,
Jonathan Corbet <corbet@....net>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 3/6] [-mm] epoll: remember the event if epoll_wait returns
-EFAULT
On Tue, 24 Feb 2009, Tony Battersby wrote:
> If epoll_wait returns -EFAULT, the event that was being returned when
> the fault was encountered will be forgotten. This is not a big deal
> since EFAULT will happen only if a buggy userspace program passes in a
> bad address, in which case what happens later usually doesn't matter.
> However, it is easy to remember the event for later, and this patch
> makes a simple change to do that.
It doesn't really matter with an EFAULT coming, anyway ...
Acked-by: Davide Libenzi <davidel@...ilserver.org>
- Davide
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists