diff options
Diffstat (limited to 'src/firejail/fs_home.c')
-rw-r--r-- | src/firejail/fs_home.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/firejail/fs_home.c b/src/firejail/fs_home.c index 9e3678c33..0de003e58 100644 --- a/src/firejail/fs_home.c +++ b/src/firejail/fs_home.c | |||
@@ -325,7 +325,7 @@ void fs_private(void) { | |||
325 | // check new private home directory (--private= option) - exit if it fails | 325 | // check new private home directory (--private= option) - exit if it fails |
326 | void fs_check_private_dir(void) { | 326 | void fs_check_private_dir(void) { |
327 | EUID_ASSERT(); | 327 | EUID_ASSERT(); |
328 | invalid_filename(cfg.home_private); | 328 | invalid_filename(cfg.home_private, 0); // no globbing |
329 | 329 | ||
330 | // Expand the home directory | 330 | // Expand the home directory |
331 | char *tmp = expand_home(cfg.home_private, cfg.homedir); | 331 | char *tmp = expand_home(cfg.home_private, cfg.homedir); |
@@ -367,7 +367,7 @@ static char *check_dir_or_file(const char *name) { | |||
367 | assert(name); | 367 | assert(name); |
368 | 368 | ||
369 | // basic checks | 369 | // basic checks |
370 | invalid_filename(name); | 370 | invalid_filename(name, 0); // no globbing |
371 | if (arg_debug) | 371 | if (arg_debug) |
372 | printf("Private home: checking %s\n", name); | 372 | printf("Private home: checking %s\n", name); |
373 | 373 | ||