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

Unified Diff: native_client_sdk/src/libraries/nacl_io/kernel_intercept.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_intercept.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc b/native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc
index 7d34517adae24cd0ade77786cf69521d264e8a3f..218c76fc10514fae396dc54bca8192f80f189385 100644
--- a/native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc
+++ b/native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc
@@ -221,9 +221,9 @@ int ki_umount(const char* path) {
return s_state.kp->umount(path);
}
-int ki_open(const char* path, int oflag) {
+int ki_open(const char* path, int oflag, mode_t mode) {
ON_NOSYS_RETURN(-1);
- return s_state.kp->open(path, oflag);
+ return s_state.kp->open(path, oflag, mode);
}
int ki_pipe(int pipefds[2]) {

Powered by Google App Engine
This is Rietveld 408576698