aboutsummaryrefslogtreecommitdiff
path: root/linux/include/const.h
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2021-08-15 00:16:45 -0400
committerAndrew Lee <alee14498@protonmail.com>2021-08-15 00:16:45 -0400
commit723428bebe3105ad3c3406e416402d1831b482c4 (patch)
treeff990e306163515973746ddfb261f29ba8765441 /linux/include/const.h
downloadlinux-0.01-distro-723428bebe3105ad3c3406e416402d1831b482c4.tar.gz
linux-0.01-distro-723428bebe3105ad3c3406e416402d1831b482c4.tar.bz2
linux-0.01-distro-723428bebe3105ad3c3406e416402d1831b482c4.zip
Inital commit
Diffstat (limited to 'linux/include/const.h')
-rw-r--r--linux/include/const.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/linux/include/const.h b/linux/include/const.h
new file mode 100644
index 0000000..7828e61
--- /dev/null
+++ b/linux/include/const.h
@@ -0,0 +1,15 @@
+#ifndef _CONST_H
+#define _CONST_H
+
+#define BUFFER_END 0x200000
+
+#define I_TYPE 0170000
+#define I_DIRECTORY 0040000
+#define I_REGULAR 0100000
+#define I_BLOCK_SPECIAL 0060000
+#define I_CHAR_SPECIAL 0020000
+#define I_NAMED_PIPE 0010000
+#define I_SET_UID_BIT 0004000
+#define I_SET_GID_BIT 0002000
+
+#endif