Hello community,

here is the log from the commit of package MozillaFirefox for 
openSUSE:Leap:15.2 checked in at 2020-03-27 16:43:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/MozillaFirefox (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.MozillaFirefox.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "MozillaFirefox"

Fri Mar 27 16:43:01 2020 rev:59 rq:788146 version:68.6.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/MozillaFirefox/MozillaFirefox.changes  
2020-03-17 04:15:32.992973394 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.MozillaFirefox.new.3160/MozillaFirefox.changes    
    2020-03-27 16:43:02.463754143 +0100
@@ -1,0 +2,6 @@
+Fri Mar 20 18:20:58 UTC 2020 - Charles Robertson <[email protected]>
+
+- Added patch: firefox-fips.patch (bsc#1167231)
+  * FIPS: MozillaFirefox: allow /proc/sys/crypto/fips_enabled 
+
+-------------------------------------------------------------------

New:
----
  firefox-fips.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ MozillaFirefox.spec ++++++
--- /var/tmp/diff_new_pack.fIvQiC/_old  2020-03-27 16:43:11.123759231 +0100
+++ /var/tmp/diff_new_pack.fIvQiC/_new  2020-03-27 16:43:11.127759233 +0100
@@ -208,6 +208,7 @@
 # Firefox/browser
 Patch101:       firefox-kde.patch
 Patch102:       firefox-branded-icons.patch
+Patch103:       firefox-fips.patch
 %endif # only_print_mozconfig
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 Requires(post):   coreutils shared-mime-info desktop-file-utils
@@ -348,6 +349,7 @@
 # Firefox
 %patch101 -p1
 %patch102 -p1
+%patch103 -p1
 %endif # only_print_mozconfig
 
 %build


++++++ firefox-fips.patch ++++++
# HG changeset patch
# User [email protected]
# Date 1584727901 -0600
#      Fri, 20 Mar 2020 12:16:42 -0600
# Parent  cd14d9f66b6634f14aff500ceb128da2d7bc9cbe

diff --git a/security/sandbox/linux/Sandbox.cpp 
b/security/sandbox/linux/Sandbox.cpp
--- a/security/sandbox/linux/Sandbox.cpp
+++ b/security/sandbox/linux/Sandbox.cpp
@@ -635,16 +635,17 @@ void SetMediaPluginSandbox(const char* a
     SANDBOX_LOG_ERROR("failed to open plugin file %s: %s", aFilePath,
                       strerror(errno));
     MOZ_CRASH("failed while trying to open the plugin file ");
   }
 
   auto files = new SandboxOpenedFiles();
   files->Add(std::move(plugin));
   files->Add("/dev/urandom", true);
+  files->Add("/proc/sys/crypto/fips_enabled");
   files->Add("/sys/devices/system/cpu/cpu0/tsc_freq_khz");
   files->Add("/sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq");
   files->Add("/proc/cpuinfo");  // Info also available via CPUID instruction.
 #ifdef __i386__
   files->Add("/proc/self/auxv");  // Info also in process's address space.
 #endif
 
   // Finally, start the sandbox.
diff --git a/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp 
b/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp
--- a/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp
+++ b/security/sandbox/linux/broker/SandboxBrokerPolicyFactory.cpp
@@ -207,16 +207,17 @@ SandboxBrokerPolicyFactory::SandboxBroke
   // Bug 1308851: NVIDIA proprietary driver when using WebGL
   policy->AddFilePrefix(rdwr, "/dev", "nvidia");
 
   // Bug 1312678: radeonsi/Intel with DRI when using WebGL
   policy->AddDir(rdwr, "/dev/dri");
 
   // Read permissions
   policy->AddPath(rdonly, "/dev/urandom");
+  policy->AddPath(rdonly, "/proc/sys/crypto/fips_enabled");
   policy->AddPath(rdonly, "/proc/cpuinfo");
   policy->AddPath(rdonly, "/proc/meminfo");
   policy->AddDir(rdonly, "/sys/devices/cpu");
   policy->AddDir(rdonly, "/sys/devices/system/cpu");
   policy->AddDir(rdonly, "/lib");
   policy->AddDir(rdonly, "/lib64");
   policy->AddDir(rdonly, "/usr/lib");
   policy->AddDir(rdonly, "/usr/lib32");

Reply via email to