hg: hsx/hsx24/hotspot: 7107135: Stack guard pages are no more protected after loading a shared library with executable stack

zhengyu.gu at oracle.com zhengyu.gu at oracle.com
Fri Mar 29 09:53:39 PDT 2013


Changeset: 19c1e132e9ee
Author:    iklam
Date:      2013-03-28 19:59 -0700
URL:       http://hg.openjdk.java.net/hsx/hsx24/hotspot/rev/19c1e132e9ee

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

! src/os/linux/vm/globals_linux.hpp
! src/os/linux/vm/os_linux.cpp
! src/os/linux/vm/os_linux.hpp
! src/os_cpu/linux_sparc/vm/os_linux_sparc.cpp
! src/os_cpu/linux_x86/vm/os_linux_x86.cpp
! src/share/vm/runtime/thread.hpp
! src/share/vm/runtime/vm_operations.hpp
! src/share/vm/utilities/elfFile.cpp
! src/share/vm/utilities/elfFile.hpp
+ test/runtime/7107135/Test.java
+ test/runtime/7107135/Test7107135.sh
+ test/runtime/7107135/TestMT.java
+ test/runtime/7107135/test.c
+ test/runtime/8010389/VMThreadDlopen.java



More information about the hotspot-dev mailing list