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

Unified Diff: native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc

Issue 565763002: Plumbing though mode parameter to open, since fusefs can make use of it. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 6 years, 3 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
Index: native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc b/native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc
index 271aa6eef060f3cdc3e9e1ea975e88ff246e80ff..be70cc773fd20b1b0c08b76cfbbd6316c6a08e85 100644
--- a/native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc
+++ b/native_client_sdk/src/libraries/nacl_io/kernel_wrap_bionic.cc
@@ -265,7 +265,7 @@ int WRAP(munmap)(void* addr, size_t length) {
}
int WRAP(open)(const char* pathname, int oflag, mode_t cmode, int* newfd) {
- *newfd = ki_open(pathname, oflag);
+ *newfd = ki_open(pathname, oflag, cmode);
Sam Clegg 2014/09/11 23:47:08 Just call this mode.. here and below?
bradn 2014/09/12 06:17:03 Done.
ERRNO_RTN(*newfd);
}

Powered by Google App Engine
This is Rietveld 408576698