aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorLibravatar smitsohu <smitsohu@gmail.com>2019-03-02 17:59:32 +0100
committerLibravatar smitsohu <smitsohu@gmail.com>2019-03-02 17:59:32 +0100
commit10726a0601e0622b21e8f94ca033b0745ed49229 (patch)
tree90064b2647119ef09e040e5699e7ade2c0e266ec /test
parentprofile.c: errout with too many dns args (diff)
downloadfirejail-10726a0601e0622b21e8f94ca033b0745ed49229.tar.gz
firejail-10726a0601e0622b21e8f94ca033b0745ed49229.tar.zst
firejail-10726a0601e0622b21e8f94ca033b0745ed49229.zip
more cleanup: remove MS_REC from tmpfs mounts
Diffstat (limited to 'test')
-rw-r--r--test/filters/syscall_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/filters/syscall_test.c b/test/filters/syscall_test.c
index 6952c751c..2005f2109 100644
--- a/test/filters/syscall_test.c
+++ b/test/filters/syscall_test.c
@@ -69,7 +69,7 @@ int main(int argc, char **argv) {
69 } 69 }
70 else if (strcmp(argv[1], "mount") == 0) { 70 else if (strcmp(argv[1], "mount") == 0) {
71 printf("before mount\n"); 71 printf("before mount\n");
72 if (mount("tmpfs", "/tmp", "tmpfs", MS_NOSUID | MS_STRICTATIME | MS_REC, "mode=755,gid=0") < 0) { 72 if (mount("tmpfs", "/tmp", "tmpfs", MS_NOSUID | MS_STRICTATIME, "mode=755,gid=0") < 0) {
73 perror("mount"); 73 perror("mount");
74 } 74 }
75 printf("after mount\n"); 75 printf("after mount\n");