summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Tricca <flihp@twobit.us>2015-09-11 22:18:23 -0700
committerJoe MacDonald <joe_macdonald@mentor.com>2015-09-17 15:18:43 -0400
commitbf7baf9d1addde81b99844d79a3e8dacd02850f7 (patch)
treec617c65bd314a1b1637ad106f135d50edd95f1cf
parent977f7a2562356cbde1f7c95cef6bef610db1f8e6 (diff)
downloadmeta-selinux-bf7baf9d1addde81b99844d79a3e8dacd02850f7.tar.gz
libsemanage: Bump version to 2.4.
Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
-rw-r--r--recipes-security/selinux/libsemanage/libsemanage-disable-expand-check-on-policy-load.patch20
-rw-r--r--recipes-security/selinux/libsemanage_2.4.bb (renamed from recipes-security/selinux/libsemanage_2.3.bb)7
2 files changed, 13 insertions, 14 deletions
diff --git a/recipes-security/selinux/libsemanage/libsemanage-disable-expand-check-on-policy-load.patch b/recipes-security/selinux/libsemanage/libsemanage-disable-expand-check-on-policy-load.patch
index 653cfbb..d755464 100644
--- a/recipes-security/selinux/libsemanage/libsemanage-disable-expand-check-on-policy-load.patch
+++ b/recipes-security/selinux/libsemanage/libsemanage-disable-expand-check-on-policy-load.patch
@@ -16,17 +16,15 @@ Signed-off-by: Joe MacDonald <joe@deserted.net>
16 src/semanage.conf | 4 ++++ 16 src/semanage.conf | 4 ++++
17 1 file changed, 4 insertions(+) 17 1 file changed, 4 insertions(+)
18 18
19diff --git a/src/semanage.conf b/src/semanage.conf 19Index: libsemanage-2.4/src/semanage.conf
20index 24e1999..42050a7 100644 20===================================================================
21--- a/src/semanage.conf 21--- libsemanage-2.4.orig/src/semanage.conf
22+++ b/src/semanage.conf 22+++ libsemanage-2.4/src/semanage.conf
23@@ -36,3 +36,6 @@ module-store = direct 23@@ -39,3 +39,7 @@ module-store = direct
24 # version is necessary. 24 # By default, semanage will generate policies for the SELinux target.
25 #policy-version = 19 25 # To build policies for Xen, uncomment the following line.
26 26 #target-platform = xen
27+
27+# Don't check the entire policy hierarchy when inserting / expanding a policy 28+# Don't check the entire policy hierarchy when inserting / expanding a policy
28+# module. This results in a significant speed-up in policy loading. 29+# module. This results in a significant speed-up in policy loading.
29+expand-check=0 30+expand-check=0
30--
311.7.10.4
32
diff --git a/recipes-security/selinux/libsemanage_2.3.bb b/recipes-security/selinux/libsemanage_2.4.bb
index a238e08..2e0dfd5 100644
--- a/recipes-security/selinux/libsemanage_2.3.bb
+++ b/recipes-security/selinux/libsemanage_2.4.bb
@@ -1,10 +1,10 @@
1include selinux_20140506.inc 1include selinux_20150202.inc
2include ${BPN}.inc 2include ${BPN}.inc
3 3
4LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" 4LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
5 5
6SRC_URI[md5sum] = "e564e2b92d18db35707060da29cddab9" 6SRC_URI[md5sum] = "cd551eb1cc5d20652660bda037972f0d"
7SRC_URI[sha256sum] = "03e09e35e611c286e446bef92b6023ef2623815996f5a53394bb02e49a312e4b" 7SRC_URI[sha256sum] = "1a4cace4ef16786531ec075c0e7b2f961e2fee5dc86c5f983a689058899a6484"
8 8
9SRC_URI += "\ 9SRC_URI += "\
10 file://libsemanage-Fix-execve-segfaults-on-Ubuntu.patch \ 10 file://libsemanage-Fix-execve-segfaults-on-Ubuntu.patch \
@@ -15,3 +15,4 @@ SRC_URI += "\
15 file://libsemanage-allow-to-disable-audit-support.patch \ 15 file://libsemanage-allow-to-disable-audit-support.patch \
16 file://libsemanage-disable-expand-check-on-policy-load.patch \ 16 file://libsemanage-disable-expand-check-on-policy-load.patch \
17 " 17 "
18FILES_${PN} += "/usr/libexec"