From 669b310a6676f2247165e492b673d2e5bcb06f89 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Mon, 23 Oct 2017 02:17:31 +0200 Subject: seccomp: Conditionalize statx() whitelisting statx was introduced in 4.11, so it fails to build in stretch if we just unconditionally use it. --- methods/aptmethod.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'methods/aptmethod.h') diff --git a/methods/aptmethod.h b/methods/aptmethod.h index ea75f4848..5616ad824 100644 --- a/methods/aptmethod.h +++ b/methods/aptmethod.h @@ -199,7 +199,9 @@ protected: ALLOW(stat64); ALLOW(statfs); ALLOW(statfs64); +#ifdef __NR_statx ALLOW(statx); +#endif ALLOW(sync); ALLOW(syscall); ALLOW(time); -- cgit v1.2.3-70-g09d2