diff options
Diffstat (limited to 'src/lib/syscall.c')
-rw-r--r-- | src/lib/syscall.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/lib/syscall.c b/src/lib/syscall.c index b3131ac17..a17f6423a 100644 --- a/src/lib/syscall.c +++ b/src/lib/syscall.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2014-2021 Firejail Authors | 2 | * Copyright (C) 2014-2022 Firejail Authors |
3 | * | 3 | * |
4 | * This file is part of firejail project | 4 | * This file is part of firejail project |
5 | * | 5 | * |
@@ -253,9 +253,6 @@ static const SyscallGroupList sysgroups[] = { | |||
253 | #ifdef SYS_fanotify_init | 253 | #ifdef SYS_fanotify_init |
254 | "fanotify_init," | 254 | "fanotify_init," |
255 | #endif | 255 | #endif |
256 | #ifdef SYS_kcmp | ||
257 | "kcmp," | ||
258 | #endif | ||
259 | #ifdef SYS_add_key | 256 | #ifdef SYS_add_key |
260 | "add_key," | 257 | "add_key," |
261 | #endif | 258 | #endif |
@@ -1681,14 +1678,14 @@ void syscalls_in_list(const char *list, const char *slist, int fd, char **prelis | |||
1681 | sl.postlist = NULL; | 1678 | sl.postlist = NULL; |
1682 | syscall_check_list(list, syscall_in_list, 0, 0, &sl, native); | 1679 | syscall_check_list(list, syscall_in_list, 0, 0, &sl, native); |
1683 | if (!arg_quiet) { | 1680 | if (!arg_quiet) { |
1684 | printf("Seccomp list in: %s,", list); | 1681 | fprintf(stderr, "Seccomp list in: %s,", list); |
1685 | if (sl.slist) | 1682 | if (sl.slist) |
1686 | printf(" check list: %s,", sl.slist); | 1683 | fprintf(stderr, " check list: %s,", sl.slist); |
1687 | if (sl.prelist) | 1684 | if (sl.prelist) |
1688 | printf(" prelist: %s,", sl.prelist); | 1685 | fprintf(stderr, " prelist: %s,", sl.prelist); |
1689 | if (sl.postlist) | 1686 | if (sl.postlist) |
1690 | printf(" postlist: %s", sl.postlist); | 1687 | fprintf(stderr, " postlist: %s", sl.postlist); |
1691 | printf("\n"); | 1688 | fprintf(stderr, "\n"); |
1692 | } | 1689 | } |
1693 | *prelist = sl.prelist; | 1690 | *prelist = sl.prelist; |
1694 | *postlist = sl.postlist; | 1691 | *postlist = sl.postlist; |