Date: Fri, 3 Jan 2003 23:54:23 -0800 (PST) From: Jake Burkholder <jake@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_exec.c Message-ID: <200301040754.h047sNpf083700@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jake 2003/01/03 23:54:23 PST
Modified files:
sys/kern kern_exec.c
Log:
Add a sysctl to get the vm protections for the stack of the current process.
On architectures with a non-executable stack, eg sparc64, this is used by
libgcc to determine at runtime if its necessary to enable execute permissions
on a region of the stack which will be used to execute code, allowing the
call to mprotect to be avoided if the kernel is configured to map the stack
executable.
Revision Changes Path
1.206 +14 -0 src/sys/kern/kern_exec.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301040754.h047sNpf083700>
