procd: add SELinux support
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 18 Jul 2020 12:52:13 +0000 (07:52 -0500)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 10 Aug 2020 08:54:50 +0000 (09:54 +0100)
commit12178be465df6821a5a7ff469aa10dac2ac332c6
tree7ec1dc158fd73a9d4bdfbec92cc2358e9da37fc8
parent42abe56f1bc0fa20b5f3a35862456d0751c84d51
procd: add SELinux support

This commit adds a patch to procd to support loading the SELinux
policy early at boot time, and adjusts the procd package to use this
SELinux support when libselinux is enabled.

The procd patch has been submitted separately [1]: obviously the
intent is to have it merged in the procd Git repository rather than
have it in OpenWrt itself.

[1] http://lists.infradead.org/pipermail/openwrt-devel/2019-November/025791.html

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[rebase, add commit message]
Signed-off-by: W. Michael Petullo <mike@flyn.org>
[split commit into openwrt.git and procd.git]
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
package/system/procd/Makefile