xref: /OK3568_Linux_fs/buildroot/package/libseccomp/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
2*4882a593Smuzhiyun	bool
3*4882a593Smuzhiyun	default y if BR2_aarch64
4*4882a593Smuzhiyun	default y if BR2_arm || BR2_armeb
5*4882a593Smuzhiyun	default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
6*4882a593Smuzhiyun	default y if BR2_i386 || BR2_x86_64
7*4882a593Smuzhiyun	default y if BR2_powerpc64 || BR2_powerpc
8*4882a593Smuzhiyun
9*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBSECCOMP
10*4882a593Smuzhiyun	bool "libseccomp"
11*4882a593Smuzhiyun	depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
12*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
13*4882a593Smuzhiyun	help
14*4882a593Smuzhiyun	  High level interface to the Linux Kernel's seccomp filter
15*4882a593Smuzhiyun
16*4882a593Smuzhiyun	  The libseccomp library provides an easy to use, platform
17*4882a593Smuzhiyun	  independent, interface to the Linux Kernel's syscall filtering
18*4882a593Smuzhiyun	  mechanism: seccomp. The libseccomp API is designed to abstract
19*4882a593Smuzhiyun	  away the underlying BPF based syscall filter language and
20*4882a593Smuzhiyun	  present a more conventional function-call based filtering
21*4882a593Smuzhiyun	  interface that should be familiar to, and easily adopted by
22*4882a593Smuzhiyun	  application developers.
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun	  https://github.com/seccomp/libseccomp
25*4882a593Smuzhiyun
26*4882a593Smuzhiyuncomment "libseccomp needs a toolchain w/ headers >= 3.12"
27*4882a593Smuzhiyun	depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
28*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
29