summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'fs_mgr/fs_mgr.cpp')
-rw-r--r--fs_mgr/fs_mgr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs_mgr/fs_mgr.cpp b/fs_mgr/fs_mgr.cpp
index cc810746f..292541d8f 100644
--- a/fs_mgr/fs_mgr.cpp
+++ b/fs_mgr/fs_mgr.cpp
@@ -1107,8 +1107,8 @@ int fs_mgr_do_tmpfs_mount(const char *n_name)
1107{ 1107{
1108 int ret; 1108 int ret;
1109 1109
1110 ret = mount("tmpfs", n_name, "tmpfs", 1110 ret = mount("tmpfs", n_name, "tmpfs", MS_NOATIME | MS_NOSUID | MS_NODEV | MS_NOEXEC,
1111 MS_NOATIME | MS_NOSUID | MS_NODEV, CRYPTO_TMPFS_OPTIONS); 1111 CRYPTO_TMPFS_OPTIONS);
1112 if (ret < 0) { 1112 if (ret < 0) {
1113 LERROR << "Cannot mount tmpfs filesystem at " << n_name; 1113 LERROR << "Cannot mount tmpfs filesystem at " << n_name;
1114 return -1; 1114 return -1;