mirror of
git://git.yoctoproject.org/meta-selinux
synced 2026-01-01 13:58:04 +00:00
selinux: update policy-version to 30
Both selinux 2.5 and kernel 4.8 support Max Policy Version 30. Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
parent
b72d0a06a8
commit
fea3e1d19e
|
|
@ -125,7 +125,7 @@ path = ${STAGING_DIR_NATIVE}${sbindir_native}/sefcontext_compile
|
|||
args = \$@
|
||||
[end]
|
||||
|
||||
policy-version = 28
|
||||
policy-version = 30
|
||||
EOF
|
||||
|
||||
# Create policy store and build the policy
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ do_install() {
|
|||
PYLIBDIR='${D}/${libdir}/$(PYLIBVER)'
|
||||
|
||||
# Update "policy-version" for semanage.conf
|
||||
sed -i 's/^#\s*\(policy-version\s*=\).*$/\1 28/' \
|
||||
sed -i 's/^#\s*\(policy-version\s*=\).*$/\1 30/' \
|
||||
${D}/etc/selinux/semanage.conf
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user