package/libselinux: fix the selinuxfs mount point
authorAntoine Tenart <antoine.tenart@bootlin.com>
Tue, 6 Oct 2020 15:44:30 +0000 (17:44 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 6 Oct 2020 21:30:51 +0000 (23:30 +0200)
commit641a3bc4450203c08b3054488fcdd506d750af7d
tree65195ac513c2ab34ca8efda26bff637ca48fa263
parente7ebc7cd0905d7d00d45f756249c1663b6465312
package/libselinux: fix the selinuxfs mount point

For 9 years the recommended mount point for selinuxfs has been
/sys/fs/selinux, as stated in Linux kernel commit 7a627e3b9a2b:

"""
For selinuxfs, this mount point should be in /sys/fs/selinux/
"""

As other projects follow this convention, not doing so result in
potential issues. One of them is the refpolicy not correctly labelling
and supporting the mount point.

Fix this by using /sys/fs/selinux as of now in Buildroot.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Reviewed-by: Matthew Weber <matthew.weber@rockwellcollins.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/libselinux/libselinux.mk