aboutsummaryrefslogtreecommitdiffstats
path: root/src/fseccomp
diff options
context:
space:
mode:
authorLibravatar netblue30 <netblue30@yahoo.com>2018-09-10 09:00:39 -0400
committerLibravatar netblue30 <netblue30@yahoo.com>2018-09-10 09:00:39 -0400
commitf7b22a4764de898eef9ada813baa5c7f4a8f2c07 (patch)
treeaeb02c2cf225c6f7932bac3e0734bdff1ab71b9e /src/fseccomp
parenttesting version 0.9.56-LTS~rc1 (diff)
downloadfirejail-f7b22a4764de898eef9ada813baa5c7f4a8f2c07.tar.gz
firejail-f7b22a4764de898eef9ada813baa5c7f4a8f2c07.tar.zst
firejail-f7b22a4764de898eef9ada813baa5c7f4a8f2c07.zip
cleanup
Diffstat (limited to 'src/fseccomp')
-rw-r--r--src/fseccomp/syscall.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/fseccomp/syscall.c b/src/fseccomp/syscall.c
index bc51d04f6..3b10c4473 100644
--- a/src/fseccomp/syscall.c
+++ b/src/fseccomp/syscall.c
@@ -495,10 +495,7 @@ int syscall_check_list(const char *slist, void (*callback)(int fd, int syscall,
495 } 495 }
496 else { 496 else {
497 syscall_process_name(ptr, &syscall_nr, &error_nr); 497 syscall_process_name(ptr, &syscall_nr, &error_nr);
498 if (syscall_nr == -1) { 498 if (syscall_nr == -1) {;}
499 if (!arg_quiet)
500 fprintf(stderr, "Warning fseccomp: syscall \"%s\" not available on this platform\n", ptr);
501 }
502 else if (callback != NULL) { 499 else if (callback != NULL) {
503 if (error_nr != -1 && fd != 0) { 500 if (error_nr != -1 && fd != 0) {
504 filter_add_errno(fd, syscall_nr, error_nr, ptrarg); 501 filter_add_errno(fd, syscall_nr, error_nr, ptrarg);