projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b6720e5
)
Change defualt fs permissions
author
charles
<charles>
Fri, 18 Sep 2009 00:46:11 +0000
(
00:46
+0000)
committer
charles
<charles>
Fri, 18 Sep 2009 00:46:11 +0000
(
00:46
+0000)
yportenv.h
patch
|
blob
|
history
diff --git
a/yportenv.h
b/yportenv.h
index 28e205bbd8cb2c4c3d1603aa119d92822e9d210b..4a8b7f76c6a997f5702c1786ec43e114c688f993 100644
(file)
--- a/
yportenv.h
+++ b/
yportenv.h
@@
-74,8
+74,8
@@
/* KR - added for use in scan so processes aren't blocked indefinitely. */
#define YYIELD() schedule()
/* KR - added for use in scan so processes aren't blocked indefinitely. */
#define YYIELD() schedule()
-#define YAFFS_ROOT_MODE 0
666
-#define YAFFS_LOSTNFOUND_MODE 0
666
+#define YAFFS_ROOT_MODE 0
755
+#define YAFFS_LOSTNFOUND_MODE 0
700
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2, 5, 0))
#define Y_CURRENT_TIME CURRENT_TIME.tv_sec
#if (LINUX_VERSION_CODE > KERNEL_VERSION(2, 5, 0))
#define Y_CURRENT_TIME CURRENT_TIME.tv_sec
@@
-146,8
+146,8
@@
#define YAFFS_LOSTNFOUND_PREFIX "obj"
/* #define YPRINTF(x) printf x */
#define YAFFS_LOSTNFOUND_PREFIX "obj"
/* #define YPRINTF(x) printf x */
-#define YAFFS_ROOT_MODE
0666
-#define YAFFS_LOSTNFOUND_MODE 0
666
+#define YAFFS_ROOT_MODE
0755
+#define YAFFS_LOSTNFOUND_MODE 0
700
#define yaffs_SumCompare(x, y) ((x) == (y))
#define yaffs_strcmp(a, b) strcmp(a, b)
#define yaffs_SumCompare(x, y) ((x) == (y))
#define yaffs_strcmp(a, b) strcmp(a, b)