Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(189)

Unified Diff: src/trusted/service_runtime/linux/nacl_bootstrap.c

Issue 2164993002: Update linux-syscall-support to 3f6478ac95edf86cd3da300c2c0d34a438f5dbeb (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Remove bogus slash Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « buildbot/buildbot_standard.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/trusted/service_runtime/linux/nacl_bootstrap.c
diff --git a/src/trusted/service_runtime/linux/nacl_bootstrap.c b/src/trusted/service_runtime/linux/nacl_bootstrap.c
index 1d5cda1994120b628cb72a5e501ab0bc794e4f21..3394efdc69d4f9c906140134d0e4cafc5e7a7a22 100644
--- a/src/trusted/service_runtime/linux/nacl_bootstrap.c
+++ b/src/trusted/service_runtime/linux/nacl_bootstrap.c
@@ -178,11 +178,7 @@ static void my_pread(const char *file, const char *fail_message,
static uintptr_t my_mmap_simple(uintptr_t address, size_t size,
int prot, int flags, int fd, uintptr_t pos) {
-#if defined(__NR_mmap2)
- void *result = sys_mmap2((void *) address, size, prot, flags, fd, pos >> 12);
-#else
void *result = sys_mmap((void *) address, size, prot, flags, fd, pos);
-#endif
return (uintptr_t) result;
}
« no previous file with comments | « buildbot/buildbot_standard.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698