From: Nicholas Nethercote Date: Sat, 10 Jul 2004 17:22:27 +0000 (+0000) Subject: Remove out-of-date comment. X-Git-Tag: svn/VALGRIND_2_1_2~37 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=662b1e60292e71f2eebe423a08d4476faf99c867;p=thirdparty%2Fvalgrind.git Remove out-of-date comment. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2470 --- diff --git a/coregrind/vg_syscalls.c b/coregrind/vg_syscalls.c index df1e36b701..fc686875af 100644 --- a/coregrind/vg_syscalls.c +++ b/coregrind/vg_syscalls.c @@ -4026,9 +4026,6 @@ POST(mprotect) Bool ww = prot & VKI_PROT_WRITE; Bool xx = prot & VKI_PROT_EXEC; - // if removing exe permission, should check and remove from exe_seg list - // if adding, should check and add to exe_seg list - // easier to ignore both cases -- both v. unlikely? mash_addr_and_len(&a, &len); VG_(mprotect_range)(a, len, prot); VG_TRACK( change_mem_mprotect, a, len, rr, ww, xx );