Enable wasi rlbox

This commit is contained in:
Jan Horak 2024-03-28 09:00:12 +01:00
parent 45608f2400
commit 60fdd5abb4

View File

@ -33,12 +33,12 @@ ExcludeArch: i686
%else %else
%global enable_replace_malloc 0 %global enable_replace_malloc 0
%endif %endif
+# wasi_sdk is for sandboxing third party c/c++ libs by using rlbox # wasi_sdk is for sandboxing third party c/c++ libs by using rlbox
+%ifarch s390x %ifarch s390x
+%bcond wasi_sdk 0 %bcond wasi_sdk 0
+%else %else
+%bcond wasi_sdk 1 %bcond wasi_sdk 1
+%endif %endif
%if "%{toolchain}" == "clang" %if "%{toolchain}" == "clang"
%global build_with_clang 1 %global build_with_clang 1
@ -184,7 +184,7 @@ ExcludeArch: i686
Summary: Mozilla Firefox Web browser Summary: Mozilla Firefox Web browser
Name: firefox Name: firefox
Version: 124.0.1 Version: 124.0.1
Release: 2%{?pre_tag}%{?dist} Release: 4%{?pre_tag}%{?dist}
URL: https://www.mozilla.org/firefox/ URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+ License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
@ -1247,6 +1247,9 @@ fi
#--------------------------------------------------------------------- #---------------------------------------------------------------------
%changelog %changelog
* Thu Mar 28 2024 Jan Horak <jhorak@redhat.com> - 124.0.1-4
- Enable rlbox sandboxing
* Mon Mar 25 2024 Martin Stransky <stransky@redhat.com>- 124.0-2 * Mon Mar 25 2024 Martin Stransky <stransky@redhat.com>- 124.0-2
- Reverted IM patch - Reverted IM patch