aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security/selinux/selinux-sandbox_3.2.bb
blob: 2c6a823c4216db70ca25a6b741fef23bb5ff31a6 (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
29
30
SUMMARY = "Run cmd under an SELinux sandbox"
DESCRIPTION = "\
Run application within a tightly confined SELinux domain. The default \
sandbox domain only allows applications the ability to read and write \
stdin, stdout and any other file descriptors handed to it."
SECTION = "base"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://${S}/COPYING;md5=393a5ca445f6965873eca0259a17f833"

require selinux_common.inc

SRC_URI += "file://sandbox-de-bashify.patch"

S = "${WORKDIR}/git/sandbox"

DEPENDS += "libcap-ng libselinux"

RDEPENDS_${PN} += "\
        python3-core \
        python3-math \
        python3-shell \
        python3-unixadmin \
        libselinux-python \
        selinux-python \
"

FILES_${PN} += "\
        ${datadir}/sandbox/sandboxX.sh \
        ${datadir}/sandbox/start \
"