diff options
-rw-r--r-- | src/include/tce/vfs.h | 10 | ||||
-rw-r--r-- | src/kernel/vfs/node.h | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/include/tce/vfs.h b/src/include/tce/vfs.h index 4425a18..8af3514 100644 --- a/src/include/tce/vfs.h +++ b/src/include/tce/vfs.h @@ -27,11 +27,11 @@ typedef struct _file_info { #define LM_OUTPUT_TO 4 // file type flags -#define FT_FILE 0x00000101 -#define FT_DIR 0x00000102 -#define FT_SYMLINK 0x00000104 -#define FT_DEV 0x00000108 -#define FT_TERMINAL 0x00000110 +#define FT_FILE 0x00000100 +#define FT_DIR 0x00000200 +#define FT_SYMLINK 0x00000400 +#define FT_DEV 0x00000800 +#define FT_TERMINAL 0x00001000 // device types #define DT_BLOCK 1 diff --git a/src/kernel/vfs/node.h b/src/kernel/vfs/node.h index c3b1585..2ebf93b 100644 --- a/src/kernel/vfs/node.h +++ b/src/kernel/vfs/node.h @@ -12,10 +12,10 @@ class vt; class node { public: node* parent; - int type, dev_type; - int mode, uid, gid; + uint32_t type, dev_type; + uint32_t mode, uid, gid; - node(node* p, int t) : parent(p), type(t) {} + node(node* p, uint32_t t) : parent(p), type(t) {} virtual ~node() {} virtual int open(process *proc, int mode); |