internal: Add pread pwrite support in sys

Signed-off-by: Brandon Kim <brandonkim@google.com>
Change-Id: I84c5e7f493afbb0894528f5d0986180b7109e170
diff --git a/tools/test/internal_sys_mock.hpp b/tools/test/internal_sys_mock.hpp
index 06aa023..ce37d91 100644
--- a/tools/test/internal_sys_mock.hpp
+++ b/tools/test/internal_sys_mock.hpp
@@ -18,6 +18,8 @@
 
     MOCK_CONST_METHOD2(open, int(const char*, int));
     MOCK_CONST_METHOD3(read, int(int, void*, std::size_t));
+    MOCK_CONST_METHOD4(pread, int(int, void*, std::size_t, off_t));
+    MOCK_CONST_METHOD4(pwrite, int(int, const void*, std::size_t, off_t));
     MOCK_CONST_METHOD1(close, int(int));
     MOCK_CONST_METHOD6(mmap, void*(void*, std::size_t, int, int, int, off_t));
     MOCK_CONST_METHOD2(munmap, int(void*, std::size_t));