Valgrind: r16324 - in /trunk: coregrind/m_syswrap/syswrap-darwin.c include/vki/vki-scnums-darwin.h

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Valgrind: r16324 - in /trunk: coregrind/m_syswrap/syswrap-darwin.c include/vki/vki-scnums-darwin.h

svn-2
Author: rhyskidd
Date: Sun Apr 30 02:59:33 2017
New Revision: 16324

Log:
macos: Block out a few more macOS / Darwin syscalls. n-i-bz.

Modified:
    trunk/coregrind/m_syswrap/syswrap-darwin.c
    trunk/include/vki/vki-scnums-darwin.h

Modified: trunk/coregrind/m_syswrap/syswrap-darwin.c
==============================================================================
--- trunk/coregrind/m_syswrap/syswrap-darwin.c (original)
+++ trunk/coregrind/m_syswrap/syswrap-darwin.c Sun Apr 30 02:59:33 2017
@@ -10326,6 +10326,16 @@
 #endif
 #if DARWIN_VERS >= DARWIN_10_9
     MACX_(__NR_fileport_makeport, fileport_makeport),
+// _____(__NR_fileport_makefd),                         // 431
+// _____(__NR_audit_session_port),                      // 432
+// _____(__NR_pid_suspend),                             // 433
+// _____(__NR_pid_resume),                              // 434
+   _____(VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(435)),        // ???
+   _____(VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(436)),        // ???
+   _____(VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(437)),        // ???
+// _____(__NR_shared_region_map_and_slide_np),          // 438
+// _____(__NR_kas_info),                                // 439
+// _____(__NR_memorystatus_control),                    // 440
     MACX_(__NR_guarded_open_np, guarded_open_np),
     MACX_(__NR_guarded_close_np, guarded_close_np),
     MACX_(__NR_guarded_kqueue_np, guarded_kqueue_np),

Modified: trunk/include/vki/vki-scnums-darwin.h
==============================================================================
--- trunk/include/vki/vki-scnums-darwin.h (original)
+++ trunk/include/vki/vki-scnums-darwin.h Sun Apr 30 02:59:33 2017
@@ -713,9 +713,9 @@
 #define __NR_audit_session_port     VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(432)
 #define __NR_pid_suspend            VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(433)
 #define __NR_pid_resume             VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(434)
-
-
-
+ /* 435  */
+ /* 436  */
+ /* 437  */
 #define __NR_shared_region_map_and_slide_np  VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(438)
 #define __NR_kas_info               VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(439)
 #define __NR_memorystatus_control   VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(440)
@@ -723,7 +723,7 @@
 #define __NR_guarded_close_np       VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(442)
 #define __NR_guarded_kqueue_np      VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(443)
 #define __NR_change_fdguard_np      VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(444)
-
+ /* 445  */
 #define __NR_proc_rlimit_control    VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(446)
 #define __NR_connectx               VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(447)
 #define __NR_disconnectx            VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(448)


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-developers mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/valgrind-developers