[Buildroot] [PATCH v2] package/openrc: enable support when libselinux is selected
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Fri Apr 17 20:09:38 UTC 2020
On Thu, 16 Apr 2020 00:21:37 -0300
unixmania at gmail.com wrote:
> From: Adam Duskett <Aduskett at gmail.com>
>
> OpenRC suports SELinux, so there is no reason to forcibly disable it.
>
> Notice this only allows OpenRC to perform the initial policy load and
> set the enforcing mode. In order really use SELinux it's also necessary
> to select refpolicy, which provides a policy, and policycoreutils, which
> provides restorecon and other SELinux utilities.
>
> Signed-off-by: Adam Duskett <Aduskett at gmail.com>
> Signed-off-by: Carlos Santos <unixmania at gmail.com>
> Tested-by: Carlos Santos <unixmania at gmail.com>
> ---
> Tested on QEMU, with ext4fs, selecting refpolicy and policycoreutils.
> Only disabled and permissive modes were used, since the enforcing mode
> currently does not work. See the help text in
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list