[PATCH 3/7] test_user_copy: Check __clear_user()/clear_user()

2015-08-05 Thread James Hogan
Add basic success/failure checking of __clear_user() and clear_user(), which zero an area of user or kernel memory and return the number of bytes left to clear. This catches a couple of bugs in the MIPS Enhanced Virtual Memory (EVA) implementation (which have already been fixed): test_user_copy:

[PATCH 3/7] test_user_copy: Check __clear_user()/clear_user()

2015-08-05 Thread James Hogan
Add basic success/failure checking of __clear_user() and clear_user(), which zero an area of user or kernel memory and return the number of bytes left to clear. This catches a couple of bugs in the MIPS Enhanced Virtual Memory (EVA) implementation (which have already been fixed): test_user_copy: