Skip to content

Instantly share code, notes, and snippets.

@drodriguez
Created October 30, 2013 23:50
Show Gist options
  • Save drodriguez/d8713b063c7d1dfd5f46 to your computer and use it in GitHub Desktop.
Save drodriguez/d8713b063c7d1dfd5f46 to your computer and use it in GitHub Desktop.
--- /Library/Caches/Homebrew/valgrind--svn-HEAD/coregrind/m_syswrap/syswrap-darwin.c 2013-10-30 23:53:45.000000000 +0100
+++ coregrind/m_syswrap/syswrap-darwin.c 2013-10-31 00:41:29.000000000 +0100
@@ -1065,8 +1065,8 @@
F(F_PREALLOCATE);
F(F_SETSIZE);
F(F_RDADVISE);
- F(F_READBOOTSTRAP);
- F(F_WRITEBOOTSTRAP);
+ // F(F_READBOOTSTRAP);
+ // F(F_WRITEBOOTSTRAP);
F(F_LOG2PHYS);
F(F_GETPATH);
F(F_PATHPKG_CHECK);
@@ -1168,15 +1168,15 @@
break;
// struct fbootstraptransfer
- case VKI_F_READBOOTSTRAP:
- case VKI_F_WRITEBOOTSTRAP:
- PRINT("fcntl ( %ld, %s, %#lx )", ARG1, name_for_fcntl(ARG2), ARG3);
- PRE_REG_READ3(long, "fcntl",
- unsigned int, fd, unsigned int, cmd,
- struct fbootstraptransfer *, bootstrap);
- PRE_MEM_READ( "fcntl(F_READ/WRITEBOOTSTRAP, bootstrap)",
- ARG3, sizeof(struct vki_fbootstraptransfer) );
- break;
+ // case VKI_F_READBOOTSTRAP:
+ // case VKI_F_WRITEBOOTSTRAP:
+ // PRINT("fcntl ( %ld, %s, %#lx )", ARG1, name_for_fcntl(ARG2), ARG3);
+ // PRE_REG_READ3(long, "fcntl",
+ // unsigned int, fd, unsigned int, cmd,
+ // struct fbootstraptransfer *, bootstrap);
+ // PRE_MEM_READ( "fcntl(F_READ/WRITEBOOTSTRAP, bootstrap)",
+ // ARG3, sizeof(struct vki_fbootstraptransfer) );
+ // break;
// struct log2phys (out)
case VKI_F_LOG2PHYS:
diff -urN /Library/Caches/Homebrew/valgrind--svn-HEAD/include/vki/vki-darwin.h include/vki/vki-darwin.h
--- /Library/Caches/Homebrew/valgrind--svn-HEAD/include/vki/vki-darwin.h 2013-10-31 00:29:01.000000000 +0100
+++ include/vki/vki-darwin.h 2013-10-31 00:41:44.000000000 +0100
@@ -284,8 +284,8 @@
#define VKI_F_SETSIZE F_SETSIZE
#define VKI_F_RDADVISE F_RDADVISE
#define VKI_F_RDAHEAD F_RDAHEAD
-#define VKI_F_READBOOTSTRAP F_READBOOTSTRAP
-#define VKI_F_WRITEBOOTSTRAP F_WRITEBOOTSTRAP
+// #define VKI_F_READBOOTSTRAP F_READBOOTSTRAP
+// #define VKI_F_WRITEBOOTSTRAP F_WRITEBOOTSTRAP
#define VKI_F_NOCACHE F_NOCACHE
#define VKI_F_LOG2PHYS F_LOG2PHYS
#define VKI_F_GETPATH F_GETPATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment