Lines Matching defs:do_nothing
14 /* Whether or not to fill the target memory area with do_nothing(). */
18 /* How many bytes to copy to be sure we've copied enough of do_nothing(). */
34 static void do_nothing(void)
39 /* Must immediately follow do_nothing for size calculuations to work out. */
50 pr_info("attempting ok execution at %px\n", do_nothing);
51 do_nothing();
54 memcpy(dst, do_nothing, EXEC_SIZE);
70 pr_info("attempting ok execution at %px\n", do_nothing);
71 do_nothing();
73 copied = access_process_vm(current, (unsigned long)dst, do_nothing,
116 size = (unsigned long)do_overwritten - (unsigned long)do_nothing;
120 memcpy((void *)ptr, (unsigned char *)do_nothing, size);