diff options
author | Anthony Pesch <inolen@gmail.com> | 2013-07-12 20:31:09 -0700 |
---|---|---|
committer | Anthony Pesch <inolen@gmail.com> | 2013-08-05 12:37:19 -0700 |
commit | a9fb60ebd640597ec710217c69aad0e5c87884b3 (patch) | |
tree | 0715350794ae832a7a9e838dddcc035e2ba7b18f /src/settings.js | |
parent | 710c8868a5789916c0a2f1dcddd55fe6245a7f98 (diff) |
initial VFS work
Diffstat (limited to 'src/settings.js')
-rw-r--r-- | src/settings.js | 35 |
1 files changed, 31 insertions, 4 deletions
diff --git a/src/settings.js b/src/settings.js index 87ab820d..b35f9b24 100644 --- a/src/settings.js +++ b/src/settings.js @@ -880,9 +880,9 @@ var C_DEFINES = { 'S_IRGRP': '0000040', 'S_IROTH': '0000004', 'S_IRUSR': '0000400', - 'S_IRWXG': '0000040', - 'S_IRWXO': '0000004', - 'S_IRWXU': '0000400', + 'S_IRWXG': '0000070', + 'S_IRWXO': '0000007', + 'S_IRWXU': '0000700', 'S_ISGID': '0002000', 'S_ISUID': '0004000', 'S_ISVTX': '0001000', @@ -1297,6 +1297,33 @@ var C_DEFINES = { '___int8_t_defined': '1', '___int_least16_t_defined': '1', '___int_least32_t_defined': '1', - '___int_least8_t_defined': '1' + '___int_least8_t_defined': '1', + 'FMODE_READ': '0x1', + 'FMODE_WRITE': '0x2', + 'FMODE_LSEEK': '0x4', + 'FMODE_PREAD': '0x8', + 'FMODE_PWRITE': '0x10', + 'FMODE_EXEC': '0x20', + 'FMODE_NDELAY': '0x40', + 'FMODE_EXCL': '0x80', + 'FMODE_NOCMTIME': '0x800', + 'FMODE_RANDOM': '0x1000', + 'FMODE_UNSIGNED_OFFSET': '0x2000', + 'FMODE_PATH': '0x4000', + 'FMODE_NONOTIFY': '0x1000000', + 'S_IRWXUGO': '511', + 'S_IALLUGO': '4095', + 'S_IRUGO': '292', + 'S_IWUGO': '146', + 'S_IXUGO': '73', + 'LOOKUP_FOLLOW': '0x0001', + 'LOOKUP_DIRECTORY': '0x0002', + 'LOOKUP_PARENT': '0x0010', + 'MAP_SHARED': '0x01', + 'MAP_PRIVATE': '0x02', + 'MAP_TYPE': '0x0f', + 'MAP_FIXED': '0x100', + 'MAP_ANONYMOUS': '0x10', + 'O_NOFOLLOW': '0200000' }; |