[Bug 239894] security.bsd.stack_guard_page default causes Java to crash

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Aug 27 17:26:13 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=239894

--- Comment #15 from Greg Lewis <glewis at FreeBSD.org> ---
Hi Konstantin,

It looks like you have been working on the procctl approach based on
https://reviews.freebsd.org/D21352.  Thanks for doing that!  A couple of
questions/comments though.

Can we help test this approach?  I.e., verify that fixes the problem for the
JDK?  I'm happy to compile a kernel with the changes and see if that resolves
the issue if that would help.

A concern though is that this doesn't address the other problems outside of the
JDK that have been raised in this thread.  Those are the issues raced by Kurt
and Shawn in the comments here including problems with some values of this
sysctl making the system unstable or unusable, whether it should be placing
pages within the stack at all, and whether stable values (i.e., 0 or 1)
actually prevent the stack clash issues at all.  Do you see what you're doing
as a stop gap prior to longer term work here?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list