diff src/os/linux/vm/os_linux.hpp @ 8710:9058789475af

7107135: Stack guard pages are no more protected after loading a shared library with executable stack Summary: Detect the execstack attribute of the loaded library and attempt to fix the stack guard using Safepoint op. Reviewed-by: dholmes, zgu Contributed-by: ioi.lam@oracle.com
author iklam
date Tue, 05 Mar 2013 13:55:56 -0800
parents 63e54c37ac64
children 14509df4cd63
line wrap: on
line diff
--- a/src/os/linux/vm/os_linux.hpp	Tue Mar 05 08:50:59 2013 +0100
+++ b/src/os/linux/vm/os_linux.hpp	Tue Mar 05 13:55:56 2013 -0800
@@ -94,6 +94,9 @@
   static void print_libversion_info(outputStream* st);
 
  public:
+  static bool _stack_is_executable;
+  static void *dll_load_inner(const char *name);
+
   static void init_thread_fpu_state();
   static int  get_fpu_control_word();
   static void set_fpu_control_word(int fpu_control);