Home
last modified time | relevance | path

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

/drivers/misc/lkdtm/
Dusercopy.c58 unsigned char good_stack[32]; in do_usercopy_stack() local
63 for (i = 0; i < sizeof(good_stack); i++) in do_usercopy_stack()
64 good_stack[i] = test_text[i % sizeof(test_text)]; in do_usercopy_stack()
78 pr_info("good_stack: %px-%px\n", good_stack, good_stack + sizeof(good_stack)); in do_usercopy_stack()
79 pr_info("bad_stack : %px-%px\n", bad_stack, bad_stack + sizeof(good_stack)); in do_usercopy_stack()
91 if (copy_to_user((void __user *)user_addr, good_stack, in do_usercopy_stack()
92 unconst + sizeof(good_stack))) { in do_usercopy_stack()
99 unconst + sizeof(good_stack))) { in do_usercopy_stack()
112 if (copy_from_user(good_stack, (void __user *)user_addr, in do_usercopy_stack()
113 unconst + sizeof(good_stack))) { in do_usercopy_stack()
[all …]