|
From: Paul M. <pa...@sa...> - 2005-11-17 02:51:00
|
Julian Seward writes: > However .. the clinchers are that (1) even on x86, the data seg is > rwx natively, at least according to cat /proc/self/maps, and (2) > having a non-executable data seg would kill any program which tried > to create code in the data seg and then run it. So I'd say it should > be rwx on all platforms. Forgive me if I missed something at the beginning of this discussion, but why can't Valgrind just use the permissions as set by the kernel and listed in /proc/self/maps? Paul. |