diff options
author | netblue30 <netblue30@yahoo.com> | 2017-08-23 06:58:47 -0400 |
---|---|---|
committer | netblue30 <netblue30@yahoo.com> | 2017-08-23 06:58:47 -0400 |
commit | 79957c9662989782b78bedc540c14a5a424a469e (patch) | |
tree | 2f8b047eee6f1636d8f591be3fbcc1b986c8eaab /src/fseccomp | |
parent | seccomp: fix errno (diff) | |
download | firejail-79957c9662989782b78bedc540c14a5a424a469e.tar.gz firejail-79957c9662989782b78bedc540c14a5a424a469e.tar.zst firejail-79957c9662989782b78bedc540c14a5a424a469e.zip |
cleanup
Diffstat (limited to 'src/fseccomp')
-rw-r--r-- | src/fseccomp/syscall.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/fseccomp/syscall.c b/src/fseccomp/syscall.c index 8afa3f63d..8c18b2d14 100644 --- a/src/fseccomp/syscall.c +++ b/src/fseccomp/syscall.c | |||
@@ -567,8 +567,16 @@ void syscalls_in_list(const char *list, const char *slist, int fd, char **prelis | |||
567 | sl.prelist = NULL; | 567 | sl.prelist = NULL; |
568 | sl.postlist = NULL; | 568 | sl.postlist = NULL; |
569 | syscall_check_list(list, syscall_in_list, 0, 0, &sl); | 569 | syscall_check_list(list, syscall_in_list, 0, 0, &sl); |
570 | if (!arg_quiet) | 570 | if (!arg_quiet) { |
571 | printf("list in: %s, check list: %s prelist: %s, postlist: %s\n", list, sl.slist, sl.prelist, sl.postlist); | 571 | printf("Seccomp list in: %s,", list); |
572 | if (sl.slist) | ||
573 | printf(" check list: %s,", sl.slist); | ||
574 | if (sl.prelist) | ||
575 | printf(" prelist: %s,", sl.prelist); | ||
576 | if (sl.postlist) | ||
577 | printf(" postlist: %s", sl.postlist); | ||
578 | printf("\n"); | ||
579 | } | ||
572 | *prelist = sl.prelist; | 580 | *prelist = sl.prelist; |
573 | *postlist = sl.postlist; | 581 | *postlist = sl.postlist; |
574 | } | 582 | } |