SHA256
1
0
forked from pool/tboot

- update to new upstream release 1.9.8:

- Skip tboot launch error index read/write when ignore prev err option is true
        - s3-fix: fix a stack overflow caused by enlarged tb_hash_t union
        - S3 fix: revert the mis-changed type casting in changeset 522:8e881a07c059
        - S3-fix: Adding option save_vtd=true to opt-in the vtd table restore
- rebased patches to match new upstream version

OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=85
This commit is contained in:
2018-10-24 08:50:05 +00:00
committed by Git OBS Bridge
parent 455f7d802f
commit f76889e9c2
7 changed files with 30 additions and 20 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7cfd83e37e3c010a92d6bbf0fe3697736c6cb7397395699642f50b2e3eb2ebab
size 662668

3
tboot-1.9.8.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00309530c7f1245271926e873b73185bd6fa7a1470d345277c65e56de87bc019
size 663292

View File

@@ -1,7 +1,7 @@
Index: tboot-1.9.6/tboot/20_linux_tboot
Index: tboot-1.9.8/tboot/20_linux_tboot
===================================================================
--- tboot-1.9.6.orig/tboot/20_linux_tboot
+++ tboot-1.9.6/tboot/20_linux_tboot
--- tboot-1.9.8.orig/tboot/20_linux_tboot
+++ tboot-1.9.8/tboot/20_linux_tboot
@@ -72,7 +72,7 @@ CLASS="--class gnu-linux --class gnu --c
if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
OS=GNU/Linux
@@ -11,10 +11,10 @@ Index: tboot-1.9.6/tboot/20_linux_tboot
CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr '[A-Z]' '[a-z]' | cut -d' ' -f1) ${CLASS}"
fi
Index: tboot-1.9.6/tboot/20_linux_xen_tboot
Index: tboot-1.9.8/tboot/20_linux_xen_tboot
===================================================================
--- tboot-1.9.6.orig/tboot/20_linux_xen_tboot
+++ tboot-1.9.6/tboot/20_linux_xen_tboot
--- tboot-1.9.8.orig/tboot/20_linux_xen_tboot
+++ tboot-1.9.8/tboot/20_linux_xen_tboot
@@ -63,7 +63,7 @@ CLASS="--class gnu-linux --class gnu --c
if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then
OS=GNU/Linux

View File

@@ -23,10 +23,10 @@ v3:
References: bnc#865815
Porting to tboot in order to fix duplicated xen entries
Index: tboot-1.9.7/tboot/20_linux_tboot
Index: tboot-1.9.8/tboot/20_linux_tboot
===================================================================
--- tboot-1.9.7.orig/tboot/20_linux_tboot
+++ tboot-1.9.7/tboot/20_linux_tboot
--- tboot-1.9.8.orig/tboot/20_linux_tboot
+++ tboot-1.9.8/tboot/20_linux_tboot
@@ -225,6 +225,49 @@ while [ "x${tboot_list}" != "x" ] && [ "
break
fi
@@ -77,10 +77,10 @@ Index: tboot-1.9.7/tboot/20_linux_tboot
if test -n "${initrd}" ; then
echo "Found initrd image: ${dirname}/${initrd}" >&2
else
Index: tboot-1.9.7/tboot/20_linux_xen_tboot
Index: tboot-1.9.8/tboot/20_linux_xen_tboot
===================================================================
--- tboot-1.9.7.orig/tboot/20_linux_xen_tboot
+++ tboot-1.9.7/tboot/20_linux_xen_tboot
--- tboot-1.9.8.orig/tboot/20_linux_xen_tboot
+++ tboot-1.9.8/tboot/20_linux_xen_tboot
@@ -52,6 +52,12 @@ fi
export TEXTDOMAIN=grub
export TEXTDOMAINDIR=${prefix}/share/locale

View File

@@ -4,13 +4,13 @@ Subject: fix xen submenu name to show tboot version
References: bnc#865815
Patch-Mainline: no
Index: tboot-1.9.7/tboot/20_linux_xen_tboot
Index: tboot-1.9.8/tboot/20_linux_xen_tboot
===================================================================
--- tboot-1.9.7.orig/tboot/20_linux_xen_tboot
+++ tboot-1.9.7/tboot/20_linux_xen_tboot
--- tboot-1.9.8.orig/tboot/20_linux_xen_tboot
+++ tboot-1.9.8/tboot/20_linux_xen_tboot
@@ -232,7 +232,7 @@ while [ "x${xen_list}" != "x" ] ; do
rel_tboot_dirname=`make_system_path_relative_to_its_root $tboot_dirname`
tboot_version="1.9.7"
tboot_version="1.9.8"
list="${linux_list}"
- echo "submenu \"Xen ${xen_version}\" \"Tboot ${tboot_version}\"{"
+ echo "submenu \"Xen ${xen_version} with Tboot ${tboot_version}\"{"

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Oct 24 08:44:04 UTC 2018 - matthias.gerstner@suse.com
- update to new upstream release 1.9.8:
- Skip tboot launch error index read/write when ignore prev err option is true
- s3-fix: fix a stack overflow caused by enlarged tb_hash_t union
- S3 fix: revert the mis-changed type casting in changeset 522:8e881a07c059
- S3-fix: Adding option save_vtd=true to opt-in the vtd table restore
- rebased patches to match new upstream version
-------------------------------------------------------------------
Fri Sep 7 08:30:20 UTC 2018 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -17,7 +17,7 @@
Name: tboot
%define ver 1.9.7
%define ver 1.9.8
Version: 20170711_%{ver}
Release: 0
Summary: Program for performing a verified launch using Intel TXT