aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/sandbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/firejail/sandbox.c')
-rw-r--r--src/firejail/sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/sandbox.c b/src/firejail/sandbox.c
index 841d57c89..f91e5ab7c 100644
--- a/src/firejail/sandbox.c
+++ b/src/firejail/sandbox.c
@@ -1116,7 +1116,7 @@ int sandbox(void* sandbox_arg) {
1116 (void) rv; 1116 (void) rv;
1117 } 1117 }
1118 // make seccomp filters read-only 1118 // make seccomp filters read-only
1119 fs_rdonly(RUN_SECCOMP_DIR); 1119 fs_remount(RUN_SECCOMP_DIR, MOUNT_READONLY, 0);
1120#endif 1120#endif
1121 1121
1122 // set capabilities 1122 // set capabilities