diff options
| author | Heiko Carstens <[email protected]> | 2014-01-29 22:05:46 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2014-01-30 00:22:40 +0000 |
| commit | d8d14bd09cddbaf0168d61af638455a26bd027ff (patch) | |
| tree | 7f52af4737d5435e87a25e767d04de33223fccc5 /lib/dma-debug.c | |
| parent | fs/compat: fix parameter handling for compat readv/writev syscalls (diff) | |
| download | kernel-d8d14bd09cddbaf0168d61af638455a26bd027ff.tar.gz kernel-d8d14bd09cddbaf0168d61af638455a26bd027ff.zip | |
fs/compat: fix lookup_dcookie() parameter handling
Commit d5dc77bfeeab ("consolidate compat lookup_dcookie()") coverted all
architectures to the new compat_sys_lookup_dcookie() syscall.
The "len" paramater of the new compat syscall must have the type
compat_size_t in order to enforce zero extension for architectures where
the ABI requires that the caller of a function performed zero and/or
sign extension to 64 bit of all parameters.
Signed-off-by: Heiko Carstens <[email protected]>
Cc: Al Viro <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Cc: Hendrik Brueckner <[email protected]>
Cc: Martin Schwidefsky <[email protected]>
Cc: <[email protected]> [v3.10+]
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/dma-debug.c')
0 files changed, 0 insertions, 0 deletions
