summaryrefslogtreecommitdiffstats
path: root/package/libseccomp/Config.in
blob: d3b4bb8192d2ac7720724dad55099b564bc83c76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
config BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
	bool
	default y if BR2_aarch64
	default y if BR2_arm || BR2_armeb
	default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
	default y if BR2_i386 || BR2_x86_64
	default y if BR2_powerpc64 || BR2_powerpc

config BR2_PACKAGE_LIBSECCOMP
	bool "libseccomp"
	depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
	help
	  High level interface to the Linux Kernel's seccomp filter

	  The libseccomp library provides an easy to use, platform
	  independent, interface to the Linux Kernel's syscall filtering
	  mechanism: seccomp. The libseccomp API is designed to abstract
	  away the underlying BPF based syscall filter language and
	  present a more conventional function-call based filtering
	  interface that should be familiar to, and easily adopted by
	  application developers.

	  https://github.com/seccomp/libseccomp

comment "libseccomp needs a toolchain w/ headers >= 3.12"
	depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
OpenPOWER on IntegriCloud