diff options
author | 2016-11-03 15:06:57 +0100 | |
---|---|---|
committer | 2016-11-03 15:06:57 +0100 | |
commit | 2aafd9bd3a96b578bf423eb8faba0efe965c52d5 (patch) | |
tree | 6ab4d26a6daad1e3972a86dbdcbe67030d710883 /src/firejail/restrict_users.c | |
parent | Improvements for Zathura profile (diff) | |
parent | removed warning if --quiet is enabled (diff) | |
download | firejail-2aafd9bd3a96b578bf423eb8faba0efe965c52d5.tar.gz firejail-2aafd9bd3a96b578bf423eb8faba0efe965c52d5.tar.zst firejail-2aafd9bd3a96b578bf423eb8faba0efe965c52d5.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'src/firejail/restrict_users.c')
-rw-r--r-- | src/firejail/restrict_users.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/firejail/restrict_users.c b/src/firejail/restrict_users.c index 5ef9524d7..57e84e5cc 100644 --- a/src/firejail/restrict_users.c +++ b/src/firejail/restrict_users.c | |||
@@ -73,7 +73,6 @@ static void sanitize_home(void) { | |||
73 | return; | 73 | return; |
74 | } | 74 | } |
75 | 75 | ||
76 | fs_build_mnt_dir(); | ||
77 | if (mkdir(RUN_WHITELIST_HOME_DIR, 0755) == -1) | 76 | if (mkdir(RUN_WHITELIST_HOME_DIR, 0755) == -1) |
78 | errExit("mkdir"); | 77 | errExit("mkdir"); |
79 | 78 | ||
@@ -127,7 +126,6 @@ static void sanitize_passwd(void) { | |||
127 | 126 | ||
128 | FILE *fpin = NULL; | 127 | FILE *fpin = NULL; |
129 | FILE *fpout = NULL; | 128 | FILE *fpout = NULL; |
130 | fs_build_mnt_dir(); | ||
131 | 129 | ||
132 | // open files | 130 | // open files |
133 | /* coverity[toctou] */ | 131 | /* coverity[toctou] */ |
@@ -261,7 +259,6 @@ static void sanitize_group(void) { | |||
261 | 259 | ||
262 | FILE *fpin = NULL; | 260 | FILE *fpin = NULL; |
263 | FILE *fpout = NULL; | 261 | FILE *fpout = NULL; |
264 | fs_build_mnt_dir(); | ||
265 | 262 | ||
266 | // open files | 263 | // open files |
267 | /* coverity[toctou] */ | 264 | /* coverity[toctou] */ |