Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/misc/lkdtm/
Dusercopy.c138 void *test_kern_addr; in do_usercopy_heap_size() local
160 test_kern_addr = one + 16; in do_usercopy_heap_size()
164 if (copy_to_user(test_user_addr, test_kern_addr, size / 2)) { in do_usercopy_heap_size()
170 if (copy_to_user(test_user_addr, test_kern_addr, size)) { in do_usercopy_heap_size()
176 if (copy_from_user(test_kern_addr, test_user_addr, size / 2)) { in do_usercopy_heap_size()
182 if (copy_from_user(test_kern_addr, test_user_addr, size)) { in do_usercopy_heap_size()