aboutsummaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorTony Battersby <[email protected]>2009-03-31 15:24:14 -0700
committerLinus Torvalds <[email protected]>2009-04-01 08:59:19 -0700
commitd0305882825784e74f68a56eee6c3a812a99f235 (patch)
treea4dcfea753279e1f8f4e7cc8256a8f5c195341ce /scripts/stackusage
parentabff55cee1039b5a3b96f7a5eb6e65b9f247a274 (diff)
epoll: remember the event if epoll_wait returns -EFAULT
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. Signed-off-by: Tony Battersby <[email protected]> Acked-by: Davide Libenzi <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions