diff options
author | smitsohu <smitsohu@gmail.com> | 2019-02-06 16:13:28 +0100 |
---|---|---|
committer | smitsohu <smitsohu@gmail.com> | 2019-02-06 16:13:28 +0100 |
commit | f77127f5b10f3b19c4c152b49018b24ff4d3590a (patch) | |
tree | e43681df9f06fdaac233265034cd30a70a375f40 /src/firejail/profile.c | |
parent | strncmp byte count fixes (diff) | |
parent | fix small memleak (diff) | |
download | firejail-f77127f5b10f3b19c4c152b49018b24ff4d3590a.tar.gz firejail-f77127f5b10f3b19c4c152b49018b24ff4d3590a.tar.zst firejail-f77127f5b10f3b19c4c152b49018b24ff4d3590a.zip |
Merge branch 'master' of https://github.com/netblue30/firejail
Diffstat (limited to 'src/firejail/profile.c')
-rw-r--r-- | src/firejail/profile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c index af7b54596..214275c7d 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c | |||
@@ -241,7 +241,9 @@ error: | |||
241 | // return 1 if the command is to be added to the linked list of profile commands | 241 | // return 1 if the command is to be added to the linked list of profile commands |
242 | // return 0 if the command was already executed inside the function | 242 | // return 0 if the command was already executed inside the function |
243 | int profile_check_line(char *ptr, int lineno, const char *fname) { | 243 | int profile_check_line(char *ptr, int lineno, const char *fname) { |
244 | #ifdef HAVE_WHITELIST | ||
244 | static int whitelist_warning_printed = 0; | 245 | static int whitelist_warning_printed = 0; |
246 | #endif | ||
245 | EUID_ASSERT(); | 247 | EUID_ASSERT(); |
246 | 248 | ||
247 | // check and process conditional profile lines | 249 | // check and process conditional profile lines |