aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/firejail/fs_dev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/firejail/fs_dev.c b/src/firejail/fs_dev.c
index 00edc5f88..3950ea2fd 100644
--- a/src/firejail/fs_dev.c
+++ b/src/firejail/fs_dev.c
@@ -244,6 +244,8 @@ void fs_private_dev(void){
244 errExit("mounting /dev/log"); 244 errExit("mounting /dev/log");
245 fs_logger("clone /dev/log"); 245 fs_logger("clone /dev/log");
246 } 246 }
247 if (mount(RUN_RO_FILE, RUN_DEVLOG_FILE, "none", MS_BIND, "mode=400,gid=0") < 0)
248 errExit("blacklisting " RUN_DEVLOG_FILE);
247 } 249 }
248 250
249 // bring forward the current /dev/shm directory if necessary 251 // bring forward the current /dev/shm directory if necessary