diff options
author | jake <jake@FreeBSD.org> | 2003-01-04 07:54:23 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2003-01-04 07:54:23 +0000 |
commit | 94ee5f0ac5ec30458a7835695b4d17520a36ab31 (patch) | |
tree | 8693673620209b7b426b6c63f12a1c07eb78cd9c /lib/libc/stdlib/grantpt.c | |
parent | 30246458a278eb3e11456eeea0448fb05e2a3b69 (diff) | |
download | FreeBSD-src-94ee5f0ac5ec30458a7835695b4d17520a36ab31.zip FreeBSD-src-94ee5f0ac5ec30458a7835695b4d17520a36ab31.tar.gz |
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.
Diffstat (limited to 'lib/libc/stdlib/grantpt.c')
0 files changed, 0 insertions, 0 deletions