From 5046dbb4a7eba5eccfd258f92f4735c9ffc8d069 Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Thu, 8 Jun 2017 15:39:03 -0400 Subject: Prepare for radical source tree reorganization. All top-level files and directories are moved into a temporary storage directory, REORG.TODO, except for files that will certainly still exist in their current form at top level when we're done (COPYING, COPYING.LIB, LICENSES, NEWS, README), all old ChangeLog files (which are moved to the new directory OldChangeLogs, instead), and the generated file INSTALL (which is just deleted; in the new order, there will be no generated files checked into version control). --- elf/tst-execstack-prog.c | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 elf/tst-execstack-prog.c (limited to 'elf/tst-execstack-prog.c') diff --git a/elf/tst-execstack-prog.c b/elf/tst-execstack-prog.c deleted file mode 100644 index 8663153372..0000000000 --- a/elf/tst-execstack-prog.c +++ /dev/null @@ -1,33 +0,0 @@ -/* Test program for executable stacks in an executable itself. */ - -#include -#include -#include -#include -#include - -#include "tst-execstack-mod.c" /* This defines the `tryme' test function. */ - -static void deeper (void (*f) (void)); - -static int -do_test (void) -{ - tryme (); - - /* Test that growing the stack region gets new executable pages too. */ - deeper (&tryme); - - return 0; -} - -static void -deeper (void (*f) (void)) -{ - char stack[1100 * 1024]; - memfrob (stack, sizeof stack); - (*f) (); - memfrob (stack, sizeof stack); -} - -#include -- cgit v1.2.3-70-g09d2