firejail: new package
PATCH 1/1 firejail: new package
Firejail Security Sandbox
https://firejail.wordpress.com/
Lightweight application sandboxing system using seccomp and kernel namespaces.
--- package/Config.in | 1 + package/firejail/Config.in | 12 ++++++++++++ package/firejail/firejail.hash | 2 ++ package/firejail/firejail.mk | 24 ++++++++++++++++++++++++ 4 files changed, 39 insertions(+) create mode 100644 package/firejail/Config.in create mode 100644 package/firejail/firejail.hash create mode 100644 package/firejail/firejail.mk
package/Config.in +1 -0
@@ -1710,6 +1710,7 @@ menu "System tools" source "package/efibootmgr/Config.in" source "package/efivar/Config.in" source "package/emlog/Config.in" + source "package/firejail/Config.in" source "package/ftop/Config.in" source "package/getent/Config.in" source "package/htop/Config.in"
package/firejail/Config.in new file +12 -0
@@ -0,0 +1,12 @@ +config BR2_PACKAGE_FIREJAIL + bool "firejail" + help + Firejail is a SUID program that reduces the risk of security + breaches by restricting the running environment of untrusted + applications using Linux namespaces and seccomp-bpf. It + allows a process and all its descendants to have their own + private view of the globally shared kernel resources, such + as the network stack, process table, mount table. + + https://firejail.wordpress.com/ +
package/firejail/firejail.hash new file +2 -0
@@ -0,0 +1,2 @@ +# From http://download.sourceforge.net/firejail/firejail-0.9.42.asc +sha256 4f3bceee973b84fdf13a5d5ab0060d140ecc8e42c19c945e7fb93f0fd8499b47 firejail-0.9.42.tar.xz
package/firejail/firejail.mk new file +24 -0
@@ -0,0 +1,24 @@ +################################################################################ +# +# firejail +# +################################################################################ + +FIREJAIL_VERSION = 0.9.42 +FIREJAIL_SITE = http://download.sourceforge.net/firejail +FIREJAIL_SOURCE = firejail-$(FIREJAIL_VERSION).tar.xz +FIREJAIL_LICENSE = GPLv2 +FIREJAIL_LICENSE_FILES = COPYING +FIREJAIL_CONF_OPTS = \ + --enable-bind \ + --enable-busybox-workaround \ + --enable-file-transfer \ + --enable-network \ + --enable-seccomp \ + --enable-userns + +define FIREJAIL_PERMISSIONS + /usr/bin/firejail f 4755 0 0 - - - - - +endef + +$(eval $(autotools-package))
Signature · 1 line
2.7.3
PATCH 1/1 firejail: new package
Hello,
Thanks for this contribution!
Quoted 7 lines · Chris Frederick
Firejail Security Sandbox
https://firejail.wordpress.com/Lightweight application sandboxing system using seccomp and kernel namespaces.
Signed-off-by Chris Frederick <[email protected]>
This package does not cross-compile properly: building for an ARM target, it produces a host binary (x86-64) in my case:
$ file output/target/usr/bin/firejail output/target/usr/bin/firejail: setuid ELF 64-bit LSB shared object, x86-64 [...]
In addition, it's using fork(), so you need a BR2_USE_MMU dependency, it uses pthread so you need a BR2_TOOLCHAIN_HAS_THREADS dependency.
Also, the license is GPLv2+ apparently, not GPLv2.
Finally, please include in the same patch series a patch updating the DEVELOPERS file for this new package addition.
Thanks a lot!
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com