From 6c79f08d5be25b66478ea9649d3ccd8de6ab385cb4454eaccbdd544097ec0c04 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Fri, 13 Nov 2020 17:54:46 +0000 Subject: [PATCH] Accepting request 847443 from security:SELinux OBS-URL: https://build.opensuse.org/request/show/847443 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/selinux-policy?expand=0&rev=5 --- fix_corecommand.patch | 11 ++++++++++- selinux-policy.changes | 6 ++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/fix_corecommand.patch b/fix_corecommand.patch index 5593a71..60362f2 100644 --- a/fix_corecommand.patch +++ b/fix_corecommand.patch @@ -45,7 +45,16 @@ Index: fedora-policy/policy/modules/kernel/corecommands.fc /usr/libexec/git-core/git-shell -- gen_context(system_u:object_r:shell_exec_t,s0) /usr/libexec/cockpit-agent -- gen_context(system_u:object_r:shell_exec_t,s0) -@@ -391,6 +411,7 @@ ifdef(`distro_debian',` +@@ -324,6 +344,8 @@ ifdef(`distro_gentoo',` + + /usr/lib/xfce4(/.*)? gen_context(system_u:object_r:bin_t,s0) + ++/usr/lib/build/.* -- gen_context(system_u:object_r:bin_t,s0) ++ + /usr/Brother(/.*)? gen_context(system_u:object_r:bin_t,s0) + /usr/Printer(/.*)? gen_context(system_u:object_r:bin_t,s0) + /usr/Brother/(.*/)?inf/brprintconf.* gen_context(system_u:object_r:bin_t,s0) +@@ -391,6 +413,7 @@ ifdef(`distro_debian',` /usr/lib/gdm3/.* -- gen_context(system_u:object_r:bin_t,s0) /usr/lib/udisks/.* -- gen_context(system_u:object_r:bin_t,s0) ') diff --git a/selinux-policy.changes b/selinux-policy.changes index 90bcaca..0d0a5fa 100644 --- a/selinux-policy.changes +++ b/selinux-policy.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Nov 10 08:52:35 UTC 2020 - Johannes Segitz + +- Updated fix_corecommand.patch to set correct types for the OBS + build tools + ------------------------------------------------------------------- Thu Oct 29 08:47:51 UTC 2020 - Thorsten Kukuk