summaryrefslogtreecommitdiff
path: root/etc/fstab
diff options
context:
space:
mode:
Diffstat (limited to 'etc/fstab')
-rw-r--r--etc/fstab7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/fstab b/etc/fstab
new file mode 100644
index 0000000..9cdf203
--- /dev/null
+++ b/etc/fstab
@@ -0,0 +1,7 @@
+
+# Restrict shared memory
+tmpfs /dev/shm tmpfs defaults,nodev,nosuid,noexec 0 0
+
+# Restrict /tmp (keep noexec off to allow dev strict directly run out of /tmp)
+tmpfs /tmp tmpfs defaults,nodev,nosuid 0 0
+