diff options
author | 2017-10-13 11:30:25 -0400 | |
---|---|---|
committer | 2017-10-13 11:30:25 -0400 | |
commit | 11466d4430da22ee05eb2a1c13706986e719e5b2 (patch) | |
tree | 27639ce36f432bd4eb1006648f8bb5a357b6ad2e /src/firejail/netfilter.c | |
parent | release allocd mem in private-bin (diff) | |
download | firejail-11466d4430da22ee05eb2a1c13706986e719e5b2.tar.gz firejail-11466d4430da22ee05eb2a1c13706986e719e5b2.tar.zst firejail-11466d4430da22ee05eb2a1c13706986e719e5b2.zip |
enhanced globbing for --blacklist
Diffstat (limited to 'src/firejail/netfilter.c')
-rw-r--r-- | src/firejail/netfilter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/netfilter.c b/src/firejail/netfilter.c index 14b3b54a6..cb0d9d7af 100644 --- a/src/firejail/netfilter.c +++ b/src/firejail/netfilter.c | |||
@@ -45,7 +45,7 @@ static char *client_filter = | |||
45 | 45 | ||
46 | void check_netfilter_file(const char *fname) { | 46 | void check_netfilter_file(const char *fname) { |
47 | EUID_ASSERT(); | 47 | EUID_ASSERT(); |
48 | invalid_filename(fname); | 48 | invalid_filename(fname, 0); // no globbing |
49 | 49 | ||
50 | if (is_dir(fname) || is_link(fname) || strstr(fname, "..") || access(fname, R_OK )) { | 50 | if (is_dir(fname) || is_link(fname) || strstr(fname, "..") || access(fname, R_OK )) { |
51 | fprintf(stderr, "Error: invalid network filter file %s\n", fname); | 51 | fprintf(stderr, "Error: invalid network filter file %s\n", fname); |