summaryrefslogtreecommitdiff
path: root/sys/src/cmd/cpp/cpp.h
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2020-07-12 21:42:26 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2020-07-12 21:42:26 +0200
commit77ddc8c654824962149160af822f849b78cc6cc0 (patch)
tree2bc8bd6478419c8d4b7aec1bd022ba2d9bd491c1 /sys/src/cmd/cpp/cpp.h
parent11fcf41472411fc0b683cc4431c42301e06124fe (diff)
downloadplan9front-77ddc8c654824962149160af822f849b78cc6cc0.tar.xz
kernel: make segments non-executable when icache is not maintained
This change makes it mandatory for programs to call segflush() on code that is not in the text segment if they want to execute it. As a side effect, this means that everything but the text segment will be non-executable by default, even without the SG_NOEXEC attribute. Segments with the SG_NOEXEC attribute never become executable, even when segflush() is called on them.
Diffstat (limited to 'sys/src/cmd/cpp/cpp.h')
0 files changed, 0 insertions, 0 deletions