[Buildroot] [PATCH v4 3/3] refpolicy: add ability to set default state.

Matthew Weber matthew.weber at rockwellcollins.com
Fri May 26 13:17:37 UTC 2017


Adam,

On Sat, May 20, 2017 at 3:41 PM, Adam Duskett <aduskett at gmail.com> wrote:
> SELinux requires a config file in /etc/selinux which controls the state
> of SELinux on the system.
>
> This config file has two options set in it:
> SELINUX which set's the state of selinux on boot.
> SELINUXTYPE which should equal the name of the policy.  In this case, the
> default name is targeted.
>
> This patch adds:
> - A choice menu on Config.in that allows the user to select a default
>   SELinux state.
>
> - A basic config file that will be installed to
>   target/etc/selinux and will set SELINUX= to the selected state.
>
> Signed-off-by: Adam Duskett <Adamduskett at outlook.com>

Acked-by: Matt Weber  <matthew.weber at rockwellcollins.com>



More information about the buildroot mailing list