efdc1e2083
Instead of doing byte-at-a-time user accesses to figure out where the fault occurred, read the saved fault_address from the current thread structure. For the sake of defensive programming, if the fault_address does not fall into the user buffer range, simply assume the whole area faulted. This will cause the fixup for copy_from_user() to clear the entire kernel side buffer. Signed-off-by: David S. Miller <davem@davemloft.net> |
||
---|---|---|
.. | ||
atomic.S | ||
bitops.S | ||
bzero.S | ||
checksum.S | ||
clear_page.S | ||
copy_in_user.S | ||
copy_page.S | ||
csum_copy_from_user.S | ||
csum_copy_to_user.S | ||
csum_copy.S | ||
delay.c | ||
find_bit.c | ||
iomap.c | ||
ipcsum.S | ||
Makefile | ||
mcount.S | ||
memcmp.S | ||
memmove.S | ||
memscan.S | ||
PeeCeeI.c | ||
rwsem.S | ||
strlen_user.S | ||
strlen.S | ||
strncmp.S | ||
strncpy_from_user.S | ||
U1copy_from_user.S | ||
U1copy_to_user.S | ||
U1memcpy.S | ||
U3copy_from_user.S | ||
U3copy_to_user.S | ||
U3memcpy.S | ||
U3patch.S | ||
user_fixup.c | ||
VISsave.S | ||
xor.S |