mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
record more email comments
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5156
This commit is contained in:
parent
973949d2b3
commit
f02b856600
@ -658,7 +658,10 @@ static void setup_client_dataseg ( SizeT max_size )
|
||||
vg_assert(ok);
|
||||
|
||||
/* We make the data segment (heap) executable because LinuxThreads on
|
||||
ppc32 creates trampolines in this area. */
|
||||
ppc32 creates trampolines in this area. Also, on x86/Linux the data
|
||||
segment is RWX natively, at least according to /proc/self/maps.
|
||||
Also, having a non-executable data seg would kill any program which
|
||||
tried to create code in the data seg and then run it. */
|
||||
sres = VG_(am_mmap_anon_fixed_client)(
|
||||
anon_start,
|
||||
anon_size,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user