summaryrefslogtreecommitdiffhomepage
path: root/src/nxt_fs.h
diff options
context:
space:
mode:
authorTiago Natel de Moura <t.nateldemoura@f5.com>2020-08-20 15:44:29 +0100
committerTiago Natel de Moura <t.nateldemoura@f5.com>2020-08-20 15:44:29 +0100
commit4ad8c5b8989d2772a2f68f9386bf31036e39ccdd (patch)
tree01b252fdf653970537cdd07ca939a5e79c5a53f6 /src/nxt_fs.h
parenta8a7eeb1fc7aada17d0d8fe8e15d325525986937 (diff)
downloadunit-4ad8c5b8989d2772a2f68f9386bf31036e39ccdd.tar.gz
unit-4ad8c5b8989d2772a2f68f9386bf31036e39ccdd.tar.bz2
Isolation: mount tmpfs by default.
Diffstat (limited to 'src/nxt_fs.h')
-rw-r--r--src/nxt_fs.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/nxt_fs.h b/src/nxt_fs.h
index 85c78b27..9f3266d8 100644
--- a/src/nxt_fs.h
+++ b/src/nxt_fs.h
@@ -18,6 +18,30 @@
#define NXT_MS_REC 0
#endif
+#ifdef MS_NOSUID
+#define NXT_MS_NOSUID MS_NOSUID
+#else
+#define NXT_MS_NOSUID 0
+#endif
+
+#ifdef MS_NOEXEC
+#define NXT_MS_NOEXEC MS_NOEXEC
+#else
+#define NXT_MS_NOEXEC 0
+#endif
+
+#ifdef MS_RELATIME
+#define NXT_MS_RELATIME MS_RELATIME
+#else
+#define NXT_MS_RELATIME 0
+#endif
+
+#ifdef MS_NODEV
+#define NXT_MS_NODEV MS_NODEV
+#else
+#define NXT_MS_NODEV 0
+#endif
+
typedef struct {
u_char *src;