diff options
| author | Heiko Carstens <[email protected]> | 2006-11-03 06:06:58 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2006-11-03 20:27:55 +0000 |
| commit | 87c2b7c045a44f6c1c7af23e64f2b286e6f7130a (patch) | |
| tree | 42c59705e0b04b8cd4770556f59f65228b62feaa /scripts/basic/docproc.c | |
| parent | [PATCH] md: send online/offline uevents when an md array starts/stops (diff) | |
| download | kernel-87c2b7c045a44f6c1c7af23e64f2b286e6f7130a.tar.gz kernel-87c2b7c045a44f6c1c7af23e64f2b286e6f7130a.zip | |
[PATCH] sys_pselect7 vs compat_sys_pselect7 uaccess error handling
758333458aa719bfc26ec16eafd4ad3a9e96014d fixes the not checked copy_to_user
return value of compat_sys_pselect7. I ran into this too because of an old
source tree, but my fix would look quite a bit different to Andi's fix.
The reason is that the compat function IMHO should behave the very same as
the non-compat function if possible. Since sys_pselect7 does not return
-EFAULT in this specific case, change the compat code so it behaves like
sys_pselect7.
Cc: David Woodhouse <[email protected]>
Cc: Andi Kleen <[email protected]>
Signed-off-by: Heiko Carstens <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts/basic/docproc.c')
0 files changed, 0 insertions, 0 deletions
