read/write: error oversized requests
authorAlan Cox <alan@linux.intel.com>
Sat, 24 Sep 2016 13:17:25 +0000 (14:17 +0100)
committerAlan Cox <alan@linux.intel.com>
Sat, 24 Sep 2016 13:17:25 +0000 (14:17 +0100)
commitafe1c661572c7a6e9d9419a51fe78e58b18ecbf3
treecad426b0f23f10324a89f26d9b1e2712110b7f0e
parent22959ce376d27de7e8cb8a84b052630216a47d93
read/write: error oversized requests

We could allow it but it's undefined behaviour in the standard and in some
of our driver code, so force a nice clear error.
Kernel/syscall_fs.c