diff options
author | 2021-01-15 14:42:25 +0100 | |
---|---|---|
committer | 2021-01-15 14:42:25 +0100 | |
commit | 83548cf6851735fa8d39817cfe4256df75efbc52 (patch) | |
tree | b4f9c47f7e2bcb17afc9e325a0018197aaa4115e /src | |
parent | fbuilder: undo variable shadowing (diff) | |
download | firejail-83548cf6851735fa8d39817cfe4256df75efbc52.tar.gz firejail-83548cf6851735fa8d39817cfe4256df75efbc52.tar.zst firejail-83548cf6851735fa8d39817cfe4256df75efbc52.zip |
fbuilder: don't suggest to whitelist strace output file
Diffstat (limited to 'src')
-rw-r--r-- | src/fbuilder/build_fs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fbuilder/build_fs.c b/src/fbuilder/build_fs.c index 1b8231033..0bc4a0ee2 100644 --- a/src/fbuilder/build_fs.c +++ b/src/fbuilder/build_fs.c | |||
@@ -217,6 +217,10 @@ void build_share(const char *fname, FILE *fp) { | |||
217 | //******************************************* | 217 | //******************************************* |
218 | static FileDB *tmp_out = NULL; | 218 | static FileDB *tmp_out = NULL; |
219 | static void tmp_callback(char *ptr) { | 219 | static void tmp_callback(char *ptr) { |
220 | // skip strace file | ||
221 | if (strncmp(ptr, "/tmp/firejail-strace", 20) == 0) | ||
222 | return; | ||
223 | |||
220 | tmp_out = filedb_add(tmp_out, ptr); | 224 | tmp_out = filedb_add(tmp_out, ptr); |
221 | } | 225 | } |
222 | 226 | ||