SHA256
1
0
forked from pool/libsemanage
libsemanage/suse_path.patch
Johannes Segitz 3c227b83de Accepting request 408533 from home:jsegitz:branches:security:SELinux
- Without bug number no submit to SLE 12 SP2 is possible, so to make
  sle-changelog-checker happy: bsc#988977

- Added suse_path.patch to fix path to hll compiler

OBS-URL: https://build.opensuse.org/request/show/408533
OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libsemanage?expand=0&rev=55
2016-07-14 14:27:12 +00:00

27 lines
1.2 KiB
Diff

Index: man/man5/semanage.conf.5
===================================================================
--- man/man5/semanage.conf.5.orig 2016-02-23 17:31:41.000000000 +0100
+++ man/man5/semanage.conf.5 2016-07-13 11:42:45.687894644 +0200
@@ -37,7 +37,7 @@ Specify an alternative store_root path t
.TP
.B compiler-directory
-Specify an alternative directory that contains HLL to CIL compilers. The default value is "/usr/libexec/selinux/hll".
+Specify an alternative directory that contains HLL to CIL compilers. The default value is "/usr/lib/selinux/hll".
.TP
.B ignore-module-cache
Index: src/conf-parse.y
===================================================================
--- src/conf-parse.y.orig 2016-02-23 17:31:41.000000000 +0100
+++ src/conf-parse.y 2016-07-13 11:42:45.687894644 +0200
@@ -341,7 +341,7 @@ static int semanage_conf_init(semanage_c
conf->store_path = strdup(basename(selinux_policy_root()));
conf->ignoredirs = NULL;
conf->store_root_path = strdup("/var/lib/selinux");
- conf->compiler_directory_path = strdup("/usr/libexec/selinux/hll");
+ conf->compiler_directory_path = strdup("/usr/lib/selinux/hll");
conf->policyvers = sepol_policy_kern_vers_max();
conf->target_platform = SEPOL_TARGET_SELINUX;
conf->expand_check = 1;