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> |
||
---|---|---|
.. | ||
Makefile | ||
PeeCeeI.c | ||
U1copy_from_user.S | ||
U1copy_to_user.S | ||
U1memcpy.S | ||
U3copy_from_user.S | ||
U3copy_to_user.S | ||
U3memcpy.S | ||
U3patch.S | ||
VISsave.S | ||
atomic.S | ||
bitops.S | ||
bzero.S | ||
checksum.S | ||
clear_page.S | ||
copy_in_user.S | ||
copy_page.S | ||
csum_copy.S | ||
csum_copy_from_user.S | ||
csum_copy_to_user.S | ||
delay.c | ||
find_bit.c | ||
iomap.c | ||
ipcsum.S | ||
mcount.S | ||
memcmp.S | ||
memmove.S | ||
memscan.S | ||
rwsem.S | ||
strlen.S | ||
strlen_user.S | ||
strncmp.S | ||
strncpy_from_user.S | ||
user_fixup.c | ||
xor.S |