Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/misc/lkdtm/
Dusercopy.c126 void __user *test_user_addr; in do_usercopy_heap_size() local
148 test_user_addr = (void __user *)(user_addr + 16); in do_usercopy_heap_size()
153 if (copy_to_user(test_user_addr, test_kern_addr, size / 2)) { in do_usercopy_heap_size()
159 if (copy_to_user(test_user_addr, test_kern_addr, size)) { in do_usercopy_heap_size()
165 if (copy_from_user(test_kern_addr, test_user_addr, size / 2)) { in do_usercopy_heap_size()
171 if (copy_from_user(test_kern_addr, test_user_addr, size)) { in do_usercopy_heap_size()