diff options
| author | Dan Carpenter <[email protected]> | 2013-02-21 16:41:57 -0800 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2013-02-21 17:22:16 -0800 |
| commit | bffea77c08c361d174af7ad94887f6aecc3f340b (patch) | |
| tree | ffe22fc5274c4398be4bd8597292a84ca7b9295d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 9a8ab1c39970a4938a72d94e6fd13be88a797590 (diff) | |
compat: return -EFAULT on error in waitid()
The copy_to_user() call returns the number of bytes remaining but we
want to return -EFAULT on error.
Fixes "x32: fix waitid()"
Signed-off-by: Dan Carpenter <[email protected]>
Cc: Al Viro <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions