From 4e1a2cd537b5b910937499c544043ddac291843e Mon Sep 17 00:00:00 2001 From: aszlig Date: Wed, 16 Nov 2016 17:27:20 +0100 Subject: [PATCH] seccomp: Forge return values for *chown32 These syscalls are only available in 32bit architectures, but libseccomp should handle them correctly even if we're on native architectures that do not have these syscalls. Signed-off-by: aszlig --- src/libstore/build.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libstore/build.cc b/src/libstore/build.cc index 6fc6220e0..b411b7de7 100644 --- a/src/libstore/build.cc +++ b/src/libstore/build.cc @@ -1654,6 +1654,10 @@ void setupSeccomp(void) { } #endif + FORCE_SUCCESS(chown32); + FORCE_SUCCESS(fchown32); + FORCE_SUCCESS(lchown32); + FORCE_SUCCESS(chown); FORCE_SUCCESS(fchown); FORCE_SUCCESS(fchownat);