From: Lennart Poettering Date: Wed, 13 Sep 2017 17:31:43 +0000 (+0200) Subject: seccomp: let's update base-io a bit X-Git-Tag: v235~107^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=648a0ed0d7df52a485bd20085f9427714e5e176c;p=platform%2Fupstream%2Fsystemd.git seccomp: let's update base-io a bit Let's add _llseek which is the syscall name on some archs that on others is simply lseek (due to 64bit vs 32bit off_t confusion). Also, let's sort things alphabetically. --- diff --git a/src/shared/seccomp-util.c b/src/shared/seccomp-util.c index 88e21f6..b4fbb03 100644 --- a/src/shared/seccomp-util.c +++ b/src/shared/seccomp-util.c @@ -298,10 +298,11 @@ const SyscallFilterSet syscall_filter_sets[_SYSCALL_FILTER_SET_MAX] = { .name = "@basic-io", .help = "Basic IO", .value = + "_llseek\0" "close\0" + "dup\0" "dup2\0" "dup3\0" - "dup\0" "lseek\0" "pread64\0" "preadv\0"