]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
comment wibbles
authorNicholas Nethercote <njn@valgrind.org>
Fri, 4 Oct 2002 09:22:30 +0000 (09:22 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Fri, 4 Oct 2002 09:22:30 +0000 (09:22 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1175

addrcheck/ac_main.c
helgrind/hg_main.c
memcheck/mc_main.c

index 3063b1a0ff2aa3667de72280b007d8f2a29ff45d..ac38e9bad9950770bfe4e1e15177da8260b8dcaa 100644 (file)
@@ -1304,8 +1304,7 @@ void check_is_readable_asciiz ( CorePart part, ThreadState* tst,
 static
 void addrcheck_new_mem_startup( Addr a, UInt len, Bool rr, Bool ww, Bool xx )
 {
-   // JJJ: this ignores the permissions and just makes it readable, like the
-   // old code did, AFAICT
+   /* Ignore the permissions, just make it readable.  Seems to work... */
    DEBUG("new_mem_startup(%p, %u, rr=%u, ww=%u, xx=%u)\n", a,len,rr,ww,xx);
    SK_(make_accessible)(a, len);
 }
index f824be9d73d13c89cb3c0d5f0aa3d6957ce10929..68276e164ecbd20545f2580ead259e6a455a6fd2 100644 (file)
@@ -778,8 +778,7 @@ void eraser_pre_mem_write(CorePart part, ThreadState* tst,
 static
 void eraser_new_mem_startup( Addr a, UInt len, Bool rr, Bool ww, Bool xx )
 {
-   // JJJ: this ignores the permissions and just makes it readable, like the
-   // old code did, AFAICT
+   /* Ignore the permissions, just make it readable.  Seems to work... */
    make_segment_readable(a, len);
 }
 
index c6ddc142e064fe2132c928d52a02a7a2b75b3614..2e8f7120a2d365634f056c7e4f7053f1464ef1fe 100644 (file)
@@ -873,8 +873,7 @@ void check_is_readable_asciiz ( CorePart part, ThreadState* tst,
 static
 void memcheck_new_mem_startup( Addr a, UInt len, Bool rr, Bool ww, Bool xx )
 {
-   // JJJ: this ignores the permissions and just makes it readable, like the
-   // old code did, AFAICT
+   /* Ignore the permissions, just make it readable.  Seems to work... */
    DEBUG("new_mem_startup(%p, %u, rr=%u, ww=%u, xx=%u)\n", a,len,rr,ww,xx);
    SK_(make_readable)(a, len);
 }