Lines Matching refs:stack
28 * Instead of adding -Wno-return-local-addr, just pass the stack address
31 static noinline unsigned char *trick_compiler(unsigned char *stack)
33 return stack + unconst;
41 /* Exercise stack to avoid everything living in registers. */
47 * Put the target buffer in the middle of stack allocation
48 * so that we don't step on future stack users regardless
49 * of stack growth direction.
61 /* Exercise stack to avoid everything living in registers. */
65 /* This is a pointer to outside our current stack frame. */
69 /* Put start address just inside stack. */
75 pr_info("stack : %px\n", (void *)current_stack_pointer);
89 pr_info("attempting good copy_to_user of local stack\n");
96 pr_info("attempting bad copy_to_user of distant stack\n");
105 * if we're going to write to another thread's stack.
110 pr_info("attempting good copy_from_user of local stack\n");
117 pr_info("attempting bad copy_from_user of distant stack\n");