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

Unified Diff: libraries/nacl-mounts/pepper/PepperMount.cc

Issue 10556007: changes in memory mount and socket subsystem to port thttpd (Closed) Base URL: http://naclports.googlecode.com/svn/trunk/src/
Patch Set: Created 8 years, 6 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 | « libraries/nacl-mounts/net/newlib_compat.h ('k') | libraries/nacl-mounts/test.nacl/DevTest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: libraries/nacl-mounts/pepper/PepperMount.cc
===================================================================
--- libraries/nacl-mounts/pepper/PepperMount.cc (revision 598)
+++ libraries/nacl-mounts/pepper/PepperMount.cc (working copy)
@@ -177,7 +177,8 @@
memset(buf, 0, sizeof(struct stat));
buf->st_ino = (ino_t)slot;
- buf->st_mode = S_IFREG | 0777;
+ buf->st_mode = S_IFREG | S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH
+ | S_IWOTH;
buf->st_size = q_buf->size;
buf->st_uid = 1001;
buf->st_gid = 1002;
« no previous file with comments | « libraries/nacl-mounts/net/newlib_compat.h ('k') | libraries/nacl-mounts/test.nacl/DevTest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698