mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
6da2d377bb
If a UIO memory region does not start on a page boundary but straddles one, the number of actual pages that overlap the memory region may be calculated incorrectly because the offset isn't taken into account. If userspace sets the mmap length to offset+size, it may fail with -EINVAL if UIO thinks it's trying to allocate too many pages. Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Cc: Hans J. Koch <hjk@linutronix.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
uio.c | ||
uio_aec.c | ||
uio_cif.c | ||
uio_pdrv.c | ||
uio_pdrv_genirq.c | ||
uio_sercos3.c | ||
uio_smx.c |