mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-27 21:12:04 -04:00
This adds a set of test cases to test the behaviour of copy_tofrom_user when exceptions are encountered accessing the source or destination. Currently, copy_tofrom_user does not always copy as many bytes as possible when an exception occurs on a store to the destination, and that is reflected in failures in these tests. Based on a test program from Anton Blanchard. [paulus@ozlabs.org - test all three paths, wrote commit description, made EX_TABLE create an exception table.] Signed-off-by: Paul Mackerras <paulus@ozlabs.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
14 lines
213 B
Plaintext
14 lines
213 B
Plaintext
copyuser_64_t0
|
|
copyuser_64_t1
|
|
copyuser_64_t2
|
|
copyuser_power7_t0
|
|
copyuser_power7_t1
|
|
memcpy_64_t0
|
|
memcpy_64_t1
|
|
memcpy_64_t2
|
|
memcpy_power7_t0
|
|
memcpy_power7_t1
|
|
copyuser_64_exc_t0
|
|
copyuser_64_exc_t1
|
|
copyuser_64_exc_t2
|