]> granicus.if.org Git - gc/commitdiff
Do not use iOS private symbols master
authorIvan Maidanski <ivmai@mail.ru>
Mon, 21 Oct 2019 06:39:12 +0000 (09:39 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 21 Oct 2019 06:39:12 +0000 (09:39 +0300)
Issue #295 (bdwgc).

* include/private/gcconfig.h [(AARCH64 || ARM32) && DARWIN]
(MPROTECT_VDB): Do not define; add comment.

include/private/gcconfig.h

index 57f10b9e007458f03d3c3df160b531258f17bd7c..fcec9f865a3bbc8b2c1274dfb27f6daa454c49b0 100644 (file)
@@ -2302,7 +2302,9 @@ EXTERN_C_BEGIN
 #     define DATAEND   ((ptr_t)get_end())
 #     define STACKBOTTOM ((ptr_t)0x16fdfffff)
 #     define USE_MMAP_ANON
-#     define MPROTECT_VDB
+      /* MPROTECT_VDB causes use of non-public API like exc_server,     */
+      /* this could be a reason for blocking the client application in  */
+      /* the store.                                                     */
       EXTERN_C_END
 #     include <unistd.h>
       EXTERN_C_BEGIN
@@ -2452,7 +2454,7 @@ EXTERN_C_BEGIN
 #     define DATAEND   ((ptr_t)get_end())
 #     define STACKBOTTOM ((ptr_t)0x30000000)
 #     define USE_MMAP_ANON
-#     define MPROTECT_VDB
+      /* MPROTECT_VDB causes use of non-public API.     */
       EXTERN_C_END
 #     include <unistd.h>
       EXTERN_C_BEGIN