Home
last modified time | relevance | path

Searched refs:test_user_addr (Results 1 – 1 of 1) sorted by relevance

/drivers/misc/lkdtm/
Dusercopy.c138 void __user *test_user_addr; in do_usercopy_slab_size() local
160 test_user_addr = (void __user *)(user_addr + 16); in do_usercopy_slab_size()
165 if (copy_to_user(test_user_addr, test_kern_addr, size / 2)) { in do_usercopy_slab_size()
171 if (copy_to_user(test_user_addr, test_kern_addr, size)) { in do_usercopy_slab_size()
177 if (copy_from_user(test_kern_addr, test_user_addr, size / 2)) { in do_usercopy_slab_size()
183 if (copy_from_user(test_kern_addr, test_user_addr, size)) { in do_usercopy_slab_size()