1 /* Test program for making nonexecutable stacks executable
2 on DT_NEEDED load of a DSO that requires executable stacks. */
10 extern void tryme (void); /* from tst-execstack-mod.so */
12 static void deeper (void (*f
) (void));
19 /* Test that growing the stack region gets new executable pages too. */
26 deeper (void (*f
) (void))
28 char stack
[1100 * 1024];
29 explicit_bzero (stack
, sizeof stack
);
31 memfrob (stack
, sizeof stack
);
34 #include <support/test-driver.c>