]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove out-of-date comment.
authorNicholas Nethercote <n.nethercote@gmail.com>
Sat, 10 Jul 2004 17:22:27 +0000 (17:22 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Sat, 10 Jul 2004 17:22:27 +0000 (17:22 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2470

coregrind/vg_syscalls.c

index df1e36b7018e1aa241864ccfe0449b4a7f3e6c22..fc686875af64ea3716788a9a2c48c2a4e29ff80d 100644 (file)
@@ -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 );