diff mbox

package/libseccomp: works only on x86

Message ID 1355698594-25590-1-git-send-email-yann.morin.1998@free.fr
State Accepted
Commit 3472e094a18147ab8deefbb8dd47d07c041cc222
Headers show

Commit Message

Yann E. MORIN Dec. 16, 2012, 10:56 p.m. UTC
As it is, the libseccomp code explicitly checks for x86 (32- or 64-bit),
so it can't work on other architectures.

Reported-by: Peter Korsgaard <jacmet@uclibc.org>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
---
 package/libseccomp/Config.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Peter Korsgaard Dec. 17, 2012, 6:26 a.m. UTC | #1
>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 Yann> As it is, the libseccomp code explicitly checks for x86 (32- or 64-bit),
 Yann> so it can't work on other architectures.

Committed, thanks.

It seems we'll need the same for spice:

http://autobuild.buildroot.net/results/36fbda99bcddbce8b66c87ae5ee8d4f9105bd296/build-end.log
diff mbox

Patch

diff --git a/package/libseccomp/Config.in b/package/libseccomp/Config.in
index 1e524d2..9ee1697 100644
--- a/package/libseccomp/Config.in
+++ b/package/libseccomp/Config.in
@@ -1,5 +1,6 @@ 
 config BR2_PACKAGE_LIBSECCOMP
 	bool "libseccomp"
+	depends on BR2_i386 || BR2_x86_64
 	help
 	  High level interface to the Linux Kernel's seccomp filter