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

--- Comment #20 from Konstantin Belousov <k...@freebsd.org> ---
After r351773, you can add the following fragment at the beginning of the jvm
initialization.  It is safe to ignore errors from procctl(2), which means that
the kernel is old and stack overflow detection would be still broken.

        int arg = PROC_STACKGAP_DISABLE | PROC_STACKGAP_ENABLE_EXEC;
        procctl(P_PID, getpid(), PROC_STACKGAP_CTL, &arg);

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to