Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Java:bootstrap
java-9-openjdk
jdk9-glibc234.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File jdk9-glibc234.patch of Package java-9-openjdk
--- jdk9/hotspot/test/runtime/StackGuardPages/exeinvoke.c 2018-01-22 16:19:02.000000000 +0100 +++ jdk9/hotspot/test/runtime/StackGuardPages/exeinvoke.c 2021-09-21 11:27:11.836402050 +0200 @@ -67,8 +67,17 @@ longjmp(context, 1); } +static char* altstack = NULL; + void set_signal_handler() { - static char altstack[SIGSTKSZ]; + if (altstack == NULL) { + // Dynamically allocated in case SIGSTKSZ is not constant + altstack = malloc(SIGSTKSZ); + if (altstack == NULL) { + fprintf(stderr, "Test ERROR. Unable to malloc altstack space\n"); + exit(7); + } + } stack_t ss = { .ss_size = SIGSTKSZ,
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor