summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorguido <guido@FreeBSD.org>2004-03-18 20:58:51 +0000
committerguido <guido@FreeBSD.org>2004-03-18 20:58:51 +0000
commit365db5dd01b85276d53134f9ea822f82253fba23 (patch)
treeca4397c35f90c0e388bb6ae52f153c0faa130189 /lib/libc/stdlib/malloc.c
parent12c28227775bffc834e599b852c0f92a43a634b0 (diff)
downloadFreeBSD-src-365db5dd01b85276d53134f9ea822f82253fba23.zip
FreeBSD-src-365db5dd01b85276d53134f9ea822f82253fba23.tar.gz
When mmap-ing a file from a noexec mount, be sure not to grant the right
to mmap it PROT_EXEC. This also depends on the architecture, as some architextures (e.g. i386) do not distinguish between read and exec pages Inspired by: http://linux.bkbits.net:8080/linux-2.4/cset@1.1267.1.85 Reviewed by: alc
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud