On Wed, 22 May 2019 13:28:39 +0200 (CEST) Thorsten Glaser wrote: > > (I’m not quite convinced the effort is worth it, but given that > this would be changed upstream, and that there are likely other > users of the same upstream code who’re _not_ using SELinux, this > would be very welcomed by those, so I’m okay with it.)
I'd like to point out that init already has compile-time defines in the code which check for the existence of SELinux (using the variable WITH_SELINUX). If WITH_SELINUX is not defined at compile time, then the SELinux code isn't built into init. So other projects, perhaps Debian Hurd or FreeBSD, can already build init without SELinux features.