Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/misc/lkdtm/
Dusercopy.c52 unsigned char good_stack[32]; in do_usercopy_stack() local
57 for (i = 0; i < sizeof(good_stack); i++) in do_usercopy_stack()
58 good_stack[i] = test_text[i % sizeof(test_text)]; in do_usercopy_stack()
79 if (copy_to_user((void __user *)user_addr, good_stack, in do_usercopy_stack()
80 unconst + sizeof(good_stack))) { in do_usercopy_stack()
87 unconst + sizeof(good_stack))) { in do_usercopy_stack()
100 if (copy_from_user(good_stack, (void __user *)user_addr, in do_usercopy_stack()
101 unconst + sizeof(good_stack))) { in do_usercopy_stack()
108 unconst + sizeof(good_stack))) { in do_usercopy_stack()