openSUSE Commits
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2007 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2006 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
February 2021
- 1 participants
- 2358 discussions
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-lxml for openSUSE:Factory checked in at 2021-02-01 13:26:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-lxml (Old)
and /work/SRC/openSUSE:Factory/.python-lxml.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-lxml"
Mon Feb 1 13:26:32 2021 rev:82 rq:866353 version:4.6.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-lxml/python-lxml.changes 2020-07-21 15:40:40.955549682 +0200
+++ /work/SRC/openSUSE:Factory/.python-lxml.new.28504/python-lxml.changes 2021-02-01 13:28:23.630120854 +0100
@@ -1,0 +2,21 @@
+Sun Jan 24 10:21:16 UTC 2021 - Dirk M��ller <dmueller(a)suse.com>
+
+- update to 4.6.2:
+* A vulnerability (CVE-2020-27783) was discovered in the HTML Cleaner by Yaniv Nizry,
+ which allowed JavaScript to pass through. The cleaner now removes more sneaky
+ "style" content.
+* A vulnerability was discovered in the HTML Cleaner by Yaniv Nizry, which allowed
+ JavaScript to pass through. The cleaner now removes more sneaky "style" content.
+* GH#310: ``lxml.html.InputGetter`` supports ``__len__()`` to count the number of input fields.
+ Patch by Aidan Woolley.
+* ``lxml.html.InputGetter`` has a new ``.items()`` method to ease processing all input fields.
+* ``lxml.html.InputGetter.keys()`` now returns the field names in document order.
+* GH-309: The API documentation is now generated using ``sphinx-apidoc``.
+* LP#1869455: C14N 2.0 serialisation failed for unprefixed attributes
+ when a default namespace was defined.
+* ``TreeBuilder.close()`` raised ``AssertionError`` in some error cases where it
+ should have raised ``XMLSyntaxError``. It now raises a combined exception to
+ keep up backwards compatibility, while switching to ``XMLSyntaxError`` as an
+ interface.
+
+-------------------------------------------------------------------
Old:
----
lxml-4.5.2.tar.gz
New:
----
lxml-4.6.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-lxml.spec ++++++
--- /var/tmp/diff_new_pack.qeMD6t/_old 2021-02-01 13:28:24.458122142 +0100
+++ /var/tmp/diff_new_pack.qeMD6t/_new 2021-02-01 13:28:24.462122148 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-lxml
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,14 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-lxml
-Version: 4.5.2
+Version: 4.6.2
Release: 0
Summary: Pythonic XML processing library
License: BSD-3-Clause AND GPL-2.0-or-later
Group: Development/Languages/Python
URL: https://lxml.de/
Source0: https://files.pythonhosted.org/packages/source/l/lxml/lxml-%{version}.tar.gz
-Source1: https://lxml.de/lxmldoc-%{version}.pdf
+Source1: https://lxml.de/lxmldoc-4.5.2.pdf
BuildRequires: %{python_module Cython >= 0.29.7}
BuildRequires: %{python_module cssselect >= 0.9.1}
BuildRequires: %{python_module setuptools >= 18.0.1}
++++++ lxml-4.5.2.tar.gz -> lxml-4.6.2.tar.gz ++++++
++++ 368698 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-packaging for openSUSE:Factory checked in at 2021-02-01 13:26:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-packaging (Old)
and /work/SRC/openSUSE:Factory/.python-packaging.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-packaging"
Mon Feb 1 13:26:30 2021 rev:18 rq:857114 version:20.8
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-packaging/python-packaging.changes 2020-06-05 19:59:59.155891303 +0200
+++ /work/SRC/openSUSE:Factory/.python-packaging.new.28504/python-packaging.changes 2021-02-01 13:28:22.374118900 +0100
@@ -1,0 +2,15 @@
+Sun Dec 20 09:37:07 UTC 2020 - Dirk M��ller <dmueller(a)suse.com>
+
+- update to 20.8:
+ * Revert back to setuptools for compatibility purposes for some Linux distros (:issue:`363`)
+ * Do not insert an underscore in wheel tags when the interpreter version number
+ is more than 2 digits (:issue:`372`)
+ * Fix flit configuration, to include LICENSE files (:issue:`357`)
+ * Make `intel` a recognized CPU architecture for the `universal` macOS platform tag (:issue:`361`)
+ * Add some missing type hints to `packaging.requirements` (issue:`350`)
+ * Officially support Python 3.9 (:issue:`343`)
+ * Deprecate the ``LegacyVersion`` and ``LegacySpecifier`` classes (:issue:`321`)
+ * Handle ``OSError`` on non-dynamic executables when attempting to resolve
+ the glibc version string.
+
+-------------------------------------------------------------------
Old:
----
packaging-20.4.tar.gz
New:
----
packaging-20.8.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-packaging.spec ++++++
--- /var/tmp/diff_new_pack.C0Ae74/_old 2021-02-01 13:28:22.866119666 +0100
+++ /var/tmp/diff_new_pack.C0Ae74/_new 2021-02-01 13:28:22.870119672 +0100
@@ -26,7 +26,7 @@
%bcond_with test
%endif
Name: python-packaging%{psuffix}
-Version: 20.4
+Version: 20.8
Release: 0
Summary: Core utilities for Python packages
License: Apache-2.0
++++++ packaging-20.4.tar.gz -> packaging-20.8.tar.gz ++++++
++++ 2051 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package kernel-source for openSUSE:Factory checked in at 2021-02-01 13:26:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kernel-source (Old)
and /work/SRC/openSUSE:Factory/.kernel-source.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kernel-source"
Mon Feb 1 13:26:28 2021 rev:574 rq:868023 version:5.10.12
Changes:
--------
--- /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes 2021-01-22 21:49:36.993618690 +0100
+++ /work/SRC/openSUSE:Factory/.kernel-source.new.28504/dtb-aarch64.changes 2021-02-01 13:28:07.378095569 +0100
@@ -1,0 +2,519 @@
+Sat Jan 30 20:15:49 CET 2021 - jslaby(a)suse.cz
+
+- Linux 5.10.12 (bsc#1012628).
+- gpio: mvebu: fix pwm .get_state period calculation
+ (bsc#1012628).
+- Revert "mm/slub: fix a memory leak in sysfs_slab_add()"
+ (bsc#1012628).
+- futex: Ensure the correct return value from futex_lock_pi()
+ (bsc#1012628).
+- futex: Replace pointless printk in fixup_owner() (bsc#1012628).
+- futex: Provide and use pi_state_update_owner() (bsc#1012628).
+- rtmutex: Remove unused argument from rt_mutex_proxy_unlock()
+ (bsc#1012628).
+- futex: Use pi_state_update_owner() in put_pi_state()
+ (bsc#1012628).
+- futex: Simplify fixup_pi_state_owner() (bsc#1012628).
+- futex: Handle faults correctly for PI futexes (bsc#1012628).
+- HID: wacom: Correct NULL dereference on AES pen proximity
+ (bsc#1012628).
+- HID: multitouch: Apply MT_QUIRK_CONFIDENCE quirk for multi-input
+ devices (bsc#1012628).
+- media: Revert "media: videobuf2: Fix length check for single
+ plane dmabuf queueing" (bsc#1012628).
+- media: v4l2-subdev.h: BIT() is not available in userspace
+ (bsc#1012628).
+- RDMA/vmw_pvrdma: Fix network_hdr_type reported in WC
+ (bsc#1012628).
+- kernel/io_uring: cancel io_uring before task works
+ (bsc#1012628).
+- io_uring: inline io_uring_attempt_task_drop() (bsc#1012628).
+- io_uring: add warn_once for io_uring_flush() (bsc#1012628).
+- io_uring: stop SQPOLL submit on creator's death (bsc#1012628).
+- io_uring: fix null-deref in io_disable_sqo_submit (bsc#1012628).
+- io_uring: do sqo disable on install_fd error (bsc#1012628).
+- io_uring: fix false positive sqo warning on flush (bsc#1012628).
+- io_uring: fix uring_flush in exit_files() warning (bsc#1012628).
+- io_uring: fix skipping disabling sqo on exec (bsc#1012628).
+- io_uring: dont kill fasync under completion_lock (bsc#1012628).
+- io_uring: fix sleeping under spin in __io_clean_op
+ (bsc#1012628).
+- objtool: Don't fail on missing symbol table (bsc#1012628).
+- mm/page_alloc: add a missing mm_page_alloc_zone_locked()
+ tracepoint (bsc#1012628).
+- mm: fix a race on nr_swap_pages (bsc#1012628).
+- tools: Factor HOSTCC, HOSTLD, HOSTAR definitions (bsc#1012628).
+- printk: fix buffer overflow potential for print_text()
+ (bsc#1012628).
+- printk: fix string termination for record_print_text()
+ (bsc#1012628).
+- commit a3c8888
+
+-------------------------------------------------------------------
+Thu Jan 28 11:34:53 CET 2021 - msuchanek(a)suse.de
+
+- floppy: reintroduce O_NDELAY fix (boo#1181018).
+- commit fcfe481
+
+-------------------------------------------------------------------
+Wed Jan 27 13:11:36 CET 2021 - jslaby(a)suse.cz
+
+- Update config files.
+ Only refresh after 5.10.11.
+- commit 90db4e6
+
+-------------------------------------------------------------------
+Wed Jan 27 12:45:02 CET 2021 - jslaby(a)suse.cz
+
+- Linux 5.10.11 (bsc#1012628).
+- scsi: target: tcmu: Fix use-after-free of se_cmd->priv
+ (bsc#1012628).
+- mtd: rawnand: gpmi: fix dst bit offset when extracting raw
+ payload (bsc#1012628).
+- mtd: rawnand: nandsim: Fix the logic when selecting Hamming
+ soft ECC engine (bsc#1012628).
+- i2c: tegra: Wait for config load atomically while in ISR
+ (bsc#1012628).
+- i2c: bpmp-tegra: Ignore unknown I2C_M flags (bsc#1012628).
+- platform/x86: i2c-multi-instantiate: Don't create platform
+ device for INT3515 ACPI nodes (bsc#1012628).
+- platform/x86: ideapad-laptop: Disable touchpad_switch for
+ ELAN0634 (bsc#1012628).
+- ALSA: seq: oss: Fix missing error check in
+ snd_seq_oss_synth_make_info() (bsc#1012628).
+- ALSA: hda/realtek - Limit int mic boost on Acer Aspire E5-575T
+ (bsc#1012628).
+- ALSA: hda/via: Add minimum mute flag (bsc#1012628).
+- crypto: xor - Fix divide error in do_xor_speed() (bsc#1012628).
+- dm crypt: fix copy and paste bug in crypt_alloc_req_aead
+ (bsc#1012628).
+- ACPI: scan: Make acpi_bus_get_device() clear return pointer
+ on error (bsc#1012628).
+- btrfs: don't get an EINTR during drop_snapshot for reloc
+ (bsc#1012628).
+- btrfs: do not double free backref nodes on error (bsc#1012628).
+- btrfs: fix lockdep splat in btrfs_recover_relocation
+ (bsc#1012628).
+- btrfs: don't clear ret in btrfs_start_dirty_block_groups
+ (bsc#1012628).
+- btrfs: send: fix invalid clone operations when cloning from
+ the same file and root (bsc#1012628).
+- fs: fix lazytime expiration handling in
+ __writeback_single_inode() (bsc#1012628).
+- pinctrl: ingenic: Fix JZ4760 support (bsc#1012628).
+- mmc: core: don't initialize block size from ext_csd if not
+ present (bsc#1012628).
+- mmc: sdhci-of-dwcmshc: fix rpmb access (bsc#1012628).
+- mmc: sdhci-xenon: fix 1.8v regulator stabilization
+ (bsc#1012628).
+- mmc: sdhci-brcmstb: Fix mmc timeout errors on S5 suspend
+ (bsc#1012628).
+- dm: avoid filesystem lookup in dm_get_dev_t() (bsc#1012628).
+- dm integrity: fix a crash if "recalculate" used without
+ "internal_hash" (bsc#1012628).
+- dm integrity: conditionally disable "recalculate" feature
+ (bsc#1012628).
+- drm/atomic: put state on error path (bsc#1012628).
+- drm/syncobj: Fix use-after-free (bsc#1012628).
+- drm/amdgpu: remove gpu info firmware of green sardine
+ (bsc#1012628).
+- drm/amd/display: DCN2X Find Secondary Pipe properly in MPO +
+ ODM Case (bsc#1012628).
+- drm/i915/gt: Prevent use of engine->wa_ctx after error
+ (bsc#1012628).
+- drm/i915: Check for rq->hwsp validity after acquiring RCU lock
+ (bsc#1012628).
+- ASoC: Intel: haswell: Add missing pm_ops (bsc#1012628).
+- ASoC: rt711: mutex between calibration and power state changes
+ (bsc#1012628).
+- SUNRPC: Handle TCP socket sends with kernel_sendpage() again
+ (bsc#1012628).
+- HID: multitouch: Enable multi-input for Synaptics
+ pointstick/touchpad device (bsc#1012628).
+- HID: sony: select CONFIG_CRC32 (bsc#1012628).
+- dm integrity: select CRYPTO_SKCIPHER (bsc#1012628).
+- x86/hyperv: Fix kexec panic/hang issues (bsc#1012628).
+- scsi: ufs: Relax the condition of
+ UFSHCI_QUIRK_SKIP_MANUAL_WB_FLUSH_CTRL (bsc#1012628).
+- scsi: ufs: Correct the LUN used in eh_device_reset_handler()
+ callback (bsc#1012628).
+- scsi: qedi: Correct max length of CHAP secret (bsc#1012628).
+- scsi: scsi_debug: Fix memleak in scsi_debug_init()
+ (bsc#1012628).
+- scsi: sd: Suppress spurious errors when WRITE SAME is being
+ disabled (bsc#1012628).
+- riscv: Fix kernel time_init() (bsc#1012628).
+- riscv: Fix sifive serial driver (bsc#1012628).
+- riscv: Enable interrupts during syscalls with M-Mode
+ (bsc#1012628).
+- HID: logitech-dj: add the G602 receiver (bsc#1012628).
+- HID: Ignore battery for Elan touchscreen on ASUS UX550
+ (bsc#1012628).
+- clk: tegra30: Add hda clock default rates to clock driver
+ (bsc#1012628).
+- ALSA: hda/tegra: fix tegra-hda on tegra30 soc (bsc#1012628).
+- riscv: cacheinfo: Fix using smp_processor_id() in preemptible
+ (bsc#1012628).
+- arm64: make atomic helpers __always_inline (bsc#1012628).
+- xen: Fix event channel callback via INTX/GSI (bsc#1012628).
+- x86/xen: Add xen_no_vector_callback option to test PCI INTX
+ delivery (bsc#1012628).
+- x86/xen: Fix xen_hvm_smp_init() when vector callback not
+ available (bsc#1012628).
+- dts: phy: fix missing mdio device and probe failure of
+ vsc8541-01 device (bsc#1012628).
+- dts: phy: add GPIO number and active state used for phy reset
+ (bsc#1012628).
+- riscv: defconfig: enable gpio support for HiFive Unleashed
+ (bsc#1012628).
+- drm/amdgpu/psp: fix psp gfx ctrl cmds (bsc#1012628).
+- drm/amd/display: disable dcn10 pipe split by default
+ (bsc#1012628).
+- HID: logitech-hidpp: Add product ID for MX Ergo in Bluetooth
+ mode (bsc#1012628).
+- drm/amd/display: Fix to be able to stop crc calculation
+ (bsc#1012628).
+- drm/nouveau/bios: fix issue shadowing expansion ROMs
+ (bsc#1012628).
+- drm/nouveau/privring: ack interrupts the same way as RM
+ (bsc#1012628).
+- drm/nouveau/i2c/gm200: increase width of aux semaphore owner
+ fields (bsc#1012628).
+- drm/nouveau/mmu: fix vram heap sizing (bsc#1012628).
+- drm/nouveau/kms/nv50-: fix case where notifier buffer is at
+ offset 0 (bsc#1012628).
+- io_uring: flush timeouts that should already have expired
+ (bsc#1012628).
+- libperf tests: If a test fails return non-zero (bsc#1012628).
+- libperf tests: Fail when failing to get a tracepoint id
+ (bsc#1012628).
+- RISC-V: Set current memblock limit (bsc#1012628).
+- RISC-V: Fix maximum allowed phsyical memory for RV32
+ (bsc#1012628).
+- x86/xen: fix 'nopvspin' build error (bsc#1012628).
+- nfsd: Fixes for nfsd4_encode_read_plus_data() (bsc#1012628).
+- nfsd: Don't set eof on a truncated READ_PLUS (bsc#1012628).
+- gpiolib: cdev: fix frame size warning in gpio_ioctl()
+ (bsc#1012628).
++++ 322 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/kernel-source/dtb-aarch64.changes
++++ and /work/SRC/openSUSE:Factory/.kernel-source.new.28504/dtb-aarch64.changes
dtb-armv6l.changes: same change
dtb-armv7l.changes: same change
dtb-riscv64.changes: same change
kernel-64kb.changes: same change
kernel-debug.changes: same change
kernel-default.changes: same change
kernel-docs.changes: same change
kernel-kvmsmall.changes: same change
kernel-lpae.changes: same change
kernel-obs-build.changes: same change
kernel-obs-qa.changes: same change
kernel-pae.changes: same change
kernel-source.changes: same change
kernel-syms.changes: same change
kernel-vanilla.changes: same change
kernel-zfcpdump.changes: same change
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ dtb-aarch64.spec ++++++
--- /var/tmp/diff_new_pack.V7x1Lc/_old 2021-02-01 13:28:19.838114954 +0100
+++ /var/tmp/diff_new_pack.V7x1Lc/_new 2021-02-01 13:28:19.842114961 +0100
@@ -17,7 +17,7 @@
%define srcversion 5.10
-%define patchversion 5.10.9
+%define patchversion 5.10.12
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
@@ -29,9 +29,9 @@
%(chmod +x %_sourcedir/{guards,apply-patches,check-for-config-changes,group-source-files.pl,split-modules,modversions,kabi.pl,mkspec,compute-PATCHVERSION.sh,arch-symbols,log.sh,try-disable-staging-driver,compress-vmlinux.sh,mkspec-dtb,check-module-license,klp-symbols,splitflist,mergedep,moddep,modflist,kernel-subpackage-build})
Name: dtb-aarch64
-Version: 5.10.9
+Version: 5.10.12
%if 0%{?is_kotd}
-Release: <RELEASE>.gb7732a5
+Release: <RELEASE>.ga3c8888
%else
Release: 0
%endif
dtb-armv6l.spec: same change
dtb-armv7l.spec: same change
dtb-riscv64.spec: same change
++++++ kernel-64kb.spec ++++++
--- /var/tmp/diff_new_pack.V7x1Lc/_old 2021-02-01 13:28:19.946115122 +0100
+++ /var/tmp/diff_new_pack.V7x1Lc/_new 2021-02-01 13:28:19.950115128 +0100
@@ -18,7 +18,7 @@
%define srcversion 5.10
-%define patchversion 5.10.9
+%define patchversion 5.10.12
%define variant %{nil}
%define vanilla_only 0
%define compress_modules xz
@@ -68,9 +68,9 @@
Summary: Kernel with 64kb PAGE_SIZE
License: GPL-2.0
Group: System/Kernel
-Version: 5.10.9
+Version: 5.10.12
%if 0%{?is_kotd}
-Release: <RELEASE>.gb7732a5
+Release: <RELEASE>.ga3c8888
%else
Release: 0
%endif
@@ -179,10 +179,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
-Provides: kernel-%build_flavor-base-srchash-b7732a530a744bcaca615f4d4be29f3438754621
-Provides: kernel-srchash-b7732a530a744bcaca615f4d4be29f3438754621
+Provides: kernel-%build_flavor-base-srchash-a3c888884a63d7ee7325a11835d55562f6785407
+Provides: kernel-srchash-a3c888884a63d7ee7325a11835d55562f6785407
# END COMMON DEPS
-Provides: %name-srchash-b7732a530a744bcaca615f4d4be29f3438754621
+Provides: %name-srchash-a3c888884a63d7ee7325a11835d55562f6785407
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@@ -1176,6 +1176,7 @@
%dir /usr/src/linux-obj
%dir /usr/src/linux-obj/%cpu_arch
%ghost /usr/src/linux-obj/%cpu_arch_flavor
+%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list
%if "%kmp_target_cpu" != "%cpu_arch"
%obj_install_dir/%kmp_target_cpu
/usr/src/linux-obj/%kmp_target_cpu
++++++ kernel-debug.spec ++++++
--- /var/tmp/diff_new_pack.V7x1Lc/_old 2021-02-01 13:28:19.974115166 +0100
+++ /var/tmp/diff_new_pack.V7x1Lc/_new 2021-02-01 13:28:19.978115172 +0100
@@ -18,7 +18,7 @@
%define srcversion 5.10
-%define patchversion 5.10.9
+%define patchversion 5.10.12
%define variant %{nil}
%define vanilla_only 0
%define compress_modules xz
@@ -68,9 +68,9 @@
Summary: A Debug Version of the Kernel
License: GPL-2.0
Group: System/Kernel
-Version: 5.10.9
+Version: 5.10.12
%if 0%{?is_kotd}
-Release: <RELEASE>.gb7732a5
+Release: <RELEASE>.ga3c8888
%else
Release: 0
%endif
@@ -179,10 +179,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
-Provides: kernel-%build_flavor-base-srchash-b7732a530a744bcaca615f4d4be29f3438754621
-Provides: kernel-srchash-b7732a530a744bcaca615f4d4be29f3438754621
+Provides: kernel-%build_flavor-base-srchash-a3c888884a63d7ee7325a11835d55562f6785407
+Provides: kernel-srchash-a3c888884a63d7ee7325a11835d55562f6785407
# END COMMON DEPS
-Provides: %name-srchash-b7732a530a744bcaca615f4d4be29f3438754621
+Provides: %name-srchash-a3c888884a63d7ee7325a11835d55562f6785407
%ifarch ppc64
Provides: kernel-kdump = 2.6.28
Obsoletes: kernel-kdump <= 2.6.28
@@ -1188,6 +1188,7 @@
%dir /usr/src/linux-obj
%dir /usr/src/linux-obj/%cpu_arch
%ghost /usr/src/linux-obj/%cpu_arch_flavor
+%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list
%if "%kmp_target_cpu" != "%cpu_arch"
%obj_install_dir/%kmp_target_cpu
/usr/src/linux-obj/%kmp_target_cpu
++++++ kernel-default.spec ++++++
--- /var/tmp/diff_new_pack.V7x1Lc/_old 2021-02-01 13:28:20.002115210 +0100
+++ /var/tmp/diff_new_pack.V7x1Lc/_new 2021-02-01 13:28:20.002115210 +0100
@@ -18,7 +18,7 @@
%define srcversion 5.10
-%define patchversion 5.10.9
+%define patchversion 5.10.12
%define variant %{nil}
%define vanilla_only 0
%define compress_modules xz
@@ -68,9 +68,9 @@
Summary: The Standard Kernel
License: GPL-2.0
Group: System/Kernel
-Version: 5.10.9
+Version: 5.10.12
%if 0%{?is_kotd}
-Release: <RELEASE>.gb7732a5
+Release: <RELEASE>.ga3c8888
%else
Release: 0
%endif
@@ -179,10 +179,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
-Provides: kernel-%build_flavor-base-srchash-b7732a530a744bcaca615f4d4be29f3438754621
-Provides: kernel-srchash-b7732a530a744bcaca615f4d4be29f3438754621
+Provides: kernel-%build_flavor-base-srchash-a3c888884a63d7ee7325a11835d55562f6785407
+Provides: kernel-srchash-a3c888884a63d7ee7325a11835d55562f6785407
# END COMMON DEPS
-Provides: %name-srchash-b7732a530a744bcaca615f4d4be29f3438754621
+Provides: %name-srchash-a3c888884a63d7ee7325a11835d55562f6785407
%ifarch %ix86
Provides: kernel-smp = 2.6.17
Obsoletes: kernel-smp <= 2.6.17
@@ -1270,6 +1270,7 @@
%dir /usr/src/linux-obj
%dir /usr/src/linux-obj/%cpu_arch
%ghost /usr/src/linux-obj/%cpu_arch_flavor
+%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list
%if "%kmp_target_cpu" != "%cpu_arch"
%obj_install_dir/%kmp_target_cpu
/usr/src/linux-obj/%kmp_target_cpu
++++++ kernel-docs.spec ++++++
--- /var/tmp/diff_new_pack.V7x1Lc/_old 2021-02-01 13:28:20.022115241 +0100
+++ /var/tmp/diff_new_pack.V7x1Lc/_new 2021-02-01 13:28:20.026115247 +0100
@@ -17,7 +17,7 @@
%define srcversion 5.10
-%define patchversion 5.10.9
+%define patchversion 5.10.12
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
@@ -31,9 +31,9 @@
Summary: Kernel Documentation
License: GPL-2.0
Group: Documentation/Man
-Version: 5.10.9
+Version: 5.10.12
%if 0%{?is_kotd}
-Release: <RELEASE>.gb7732a5
+Release: <RELEASE>.ga3c8888
%else
Release: 0
%endif
@@ -63,7 +63,7 @@
%endif
Url: http://www.kernel.org/
Provides: %name = %version-%source_rel
-Provides: %name-srchash-b7732a530a744bcaca615f4d4be29f3438754621
+Provides: %name-srchash-a3c888884a63d7ee7325a11835d55562f6785407
BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
++++++ kernel-kvmsmall.spec ++++++
--- /var/tmp/diff_new_pack.V7x1Lc/_old 2021-02-01 13:28:20.054115291 +0100
+++ /var/tmp/diff_new_pack.V7x1Lc/_new 2021-02-01 13:28:20.058115297 +0100
@@ -18,7 +18,7 @@
%define srcversion 5.10
-%define patchversion 5.10.9
+%define patchversion 5.10.12
%define variant %{nil}
%define vanilla_only 0
%define compress_modules xz
@@ -68,9 +68,9 @@
Summary: The Small Developer Kernel for KVM
License: GPL-2.0
Group: System/Kernel
-Version: 5.10.9
+Version: 5.10.12
%if 0%{?is_kotd}
-Release: <RELEASE>.gb7732a5
+Release: <RELEASE>.ga3c8888
%else
Release: 0
%endif
@@ -179,10 +179,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
-Provides: kernel-%build_flavor-base-srchash-b7732a530a744bcaca615f4d4be29f3438754621
-Provides: kernel-srchash-b7732a530a744bcaca615f4d4be29f3438754621
+Provides: kernel-%build_flavor-base-srchash-a3c888884a63d7ee7325a11835d55562f6785407
+Provides: kernel-srchash-a3c888884a63d7ee7325a11835d55562f6785407
# END COMMON DEPS
-Provides: %name-srchash-b7732a530a744bcaca615f4d4be29f3438754621
+Provides: %name-srchash-a3c888884a63d7ee7325a11835d55562f6785407
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@@ -1184,6 +1184,7 @@
%dir /usr/src/linux-obj
%dir /usr/src/linux-obj/%cpu_arch
%ghost /usr/src/linux-obj/%cpu_arch_flavor
+%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list
%if "%kmp_target_cpu" != "%cpu_arch"
%obj_install_dir/%kmp_target_cpu
/usr/src/linux-obj/%kmp_target_cpu
kernel-lpae.spec: same change
++++++ kernel-obs-build.spec ++++++
--- /var/tmp/diff_new_pack.V7x1Lc/_old 2021-02-01 13:28:20.098115359 +0100
+++ /var/tmp/diff_new_pack.V7x1Lc/_new 2021-02-01 13:28:20.102115365 +0100
@@ -19,7 +19,7 @@
#!BuildIgnore: post-build-checks
-%define patchversion 5.10.9
+%define patchversion 5.10.12
%define variant %{nil}
%define vanilla_only 0
@@ -45,7 +45,7 @@
%endif
%endif
%endif
-BuildRequires: kernel%kernel_flavor-srchash-b7732a530a744bcaca615f4d4be29f3438754621
+BuildRequires: kernel%kernel_flavor-srchash-a3c888884a63d7ee7325a11835d55562f6785407
%if 0%{?rhel_version}
BuildRequires: kernel
@@ -64,9 +64,9 @@
Summary: package kernel and initrd for OBS VM builds
License: GPL-2.0
Group: SLES
-Version: 5.10.9
+Version: 5.10.12
%if 0%{?is_kotd}
-Release: <RELEASE>.gb7732a5
+Release: <RELEASE>.ga3c8888
%else
Release: 0
%endif
++++++ kernel-obs-qa.spec ++++++
--- /var/tmp/diff_new_pack.V7x1Lc/_old 2021-02-01 13:28:20.122115396 +0100
+++ /var/tmp/diff_new_pack.V7x1Lc/_new 2021-02-01 13:28:20.122115396 +0100
@@ -17,7 +17,7 @@
# needsrootforbuild
-%define patchversion 5.10.9
+%define patchversion 5.10.12
%define variant %{nil}
%include %_sourcedir/kernel-spec-macros
@@ -36,9 +36,9 @@
Summary: Basic QA tests for the kernel
License: GPL-2.0
Group: SLES
-Version: 5.10.9
+Version: 5.10.12
%if 0%{?is_kotd}
-Release: <RELEASE>.gb7732a5
+Release: <RELEASE>.ga3c8888
%else
Release: 0
%endif
++++++ kernel-pae.spec ++++++
--- /var/tmp/diff_new_pack.V7x1Lc/_old 2021-02-01 13:28:20.142115427 +0100
+++ /var/tmp/diff_new_pack.V7x1Lc/_new 2021-02-01 13:28:20.146115434 +0100
@@ -18,7 +18,7 @@
%define srcversion 5.10
-%define patchversion 5.10.9
+%define patchversion 5.10.12
%define variant %{nil}
%define vanilla_only 0
%define compress_modules xz
@@ -68,9 +68,9 @@
Summary: Kernel with PAE Support
License: GPL-2.0
Group: System/Kernel
-Version: 5.10.9
+Version: 5.10.12
%if 0%{?is_kotd}
-Release: <RELEASE>.gb7732a5
+Release: <RELEASE>.ga3c8888
%else
Release: 0
%endif
@@ -179,10 +179,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
-Provides: kernel-%build_flavor-base-srchash-b7732a530a744bcaca615f4d4be29f3438754621
-Provides: kernel-srchash-b7732a530a744bcaca615f4d4be29f3438754621
+Provides: kernel-%build_flavor-base-srchash-a3c888884a63d7ee7325a11835d55562f6785407
+Provides: kernel-srchash-a3c888884a63d7ee7325a11835d55562f6785407
# END COMMON DEPS
-Provides: %name-srchash-b7732a530a744bcaca615f4d4be29f3438754621
+Provides: %name-srchash-a3c888884a63d7ee7325a11835d55562f6785407
%ifarch %ix86
Provides: kernel-bigsmp = 2.6.17
Obsoletes: kernel-bigsmp <= 2.6.17
@@ -1226,6 +1226,7 @@
%dir /usr/src/linux-obj
%dir /usr/src/linux-obj/%cpu_arch
%ghost /usr/src/linux-obj/%cpu_arch_flavor
+%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list
%if "%kmp_target_cpu" != "%cpu_arch"
%obj_install_dir/%kmp_target_cpu
/usr/src/linux-obj/%kmp_target_cpu
++++++ kernel-source.spec ++++++
--- /var/tmp/diff_new_pack.V7x1Lc/_old 2021-02-01 13:28:20.166115465 +0100
+++ /var/tmp/diff_new_pack.V7x1Lc/_new 2021-02-01 13:28:20.166115465 +0100
@@ -18,7 +18,7 @@
%define srcversion 5.10
-%define patchversion 5.10.9
+%define patchversion 5.10.12
%define variant %{nil}
%define vanilla_only 0
@@ -30,9 +30,9 @@
Summary: The Linux Kernel Sources
License: GPL-2.0
Group: Development/Sources
-Version: 5.10.9
+Version: 5.10.12
%if 0%{?is_kotd}
-Release: <RELEASE>.gb7732a5
+Release: <RELEASE>.ga3c8888
%else
Release: 0
%endif
@@ -43,7 +43,7 @@
BuildRequires: sed
Requires(post): coreutils sed
Provides: %name = %version-%source_rel
-Provides: %name-srchash-b7732a530a744bcaca615f4d4be29f3438754621
+Provides: %name-srchash-a3c888884a63d7ee7325a11835d55562f6785407
Provides: linux
Provides: multiversion(kernel)
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
++++++ kernel-syms.spec ++++++
--- /var/tmp/diff_new_pack.V7x1Lc/_old 2021-02-01 13:28:20.190115502 +0100
+++ /var/tmp/diff_new_pack.V7x1Lc/_new 2021-02-01 13:28:20.190115502 +0100
@@ -24,10 +24,10 @@
Summary: Kernel Symbol Versions (modversions)
License: GPL-2.0
Group: Development/Sources
-Version: 5.10.9
+Version: 5.10.12
%if %using_buildservice
%if 0%{?is_kotd}
-Release: <RELEASE>.gb7732a5
+Release: <RELEASE>.ga3c8888
%else
Release: 0
%endif
@@ -52,7 +52,7 @@
%endif
Requires: pesign-obs-integration
Provides: %name = %version-%source_rel
-Provides: %name-srchash-b7732a530a744bcaca615f4d4be29f3438754621
+Provides: %name-srchash-a3c888884a63d7ee7325a11835d55562f6785407
Provides: multiversion(kernel)
Source: README.KSYMS
Requires: kernel-devel%variant = %version-%source_rel
++++++ kernel-vanilla.spec ++++++
--- /var/tmp/diff_new_pack.V7x1Lc/_old 2021-02-01 13:28:20.210115533 +0100
+++ /var/tmp/diff_new_pack.V7x1Lc/_new 2021-02-01 13:28:20.214115539 +0100
@@ -18,7 +18,7 @@
%define srcversion 5.10
-%define patchversion 5.10.9
+%define patchversion 5.10.12
%define variant %{nil}
%define vanilla_only 0
%define compress_modules xz
@@ -68,9 +68,9 @@
Summary: The Standard Kernel - without any SUSE patches
License: GPL-2.0
Group: System/Kernel
-Version: 5.10.9
+Version: 5.10.12
%if 0%{?is_kotd}
-Release: <RELEASE>.gb7732a5
+Release: <RELEASE>.ga3c8888
%else
Release: 0
%endif
@@ -179,10 +179,10 @@
Conflicts: libc.so.6()(64bit)
%endif
Provides: kernel = %version-%source_rel
-Provides: kernel-%build_flavor-base-srchash-b7732a530a744bcaca615f4d4be29f3438754621
-Provides: kernel-srchash-b7732a530a744bcaca615f4d4be29f3438754621
+Provides: kernel-%build_flavor-base-srchash-a3c888884a63d7ee7325a11835d55562f6785407
+Provides: kernel-srchash-a3c888884a63d7ee7325a11835d55562f6785407
# END COMMON DEPS
-Provides: %name-srchash-b7732a530a744bcaca615f4d4be29f3438754621
+Provides: %name-srchash-a3c888884a63d7ee7325a11835d55562f6785407
%obsolete_rebuilds %name
Source0: http://www.kernel.org/pub/linux/kernel/v5.x/linux-%srcversion.tar.xz
Source2: source-post.sh
@@ -1170,6 +1170,7 @@
%dir /usr/src/linux-obj
%dir /usr/src/linux-obj/%cpu_arch
%ghost /usr/src/linux-obj/%cpu_arch_flavor
+%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list
%if "%kmp_target_cpu" != "%cpu_arch"
%obj_install_dir/%kmp_target_cpu
/usr/src/linux-obj/%kmp_target_cpu
kernel-zfcpdump.spec: same change
++++++ config.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/arm64/default new/config/arm64/default
--- old/config/arm64/default 2021-01-20 08:26:11.000000000 +0100
+++ new/config/arm64/default 2021-01-27 13:11:36.000000000 +0100
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/arm64 5.10.9 Kernel Configuration
+# Linux/arm64 5.10.11 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="aarch64-suse-linux-gcc (SUSE Linux) 10.2.1 20201202 [revision e563687cf9d3d1278f45aaebd03e0f66531076c9]"
CONFIG_CC_IS_GCC=y
@@ -6747,7 +6747,7 @@
# Display Engine Configuration
#
CONFIG_DRM_AMD_DC=y
-CONFIG_DRM_AMD_DC_DCN=y
+# CONFIG_DRM_AMD_DC_DCN is not set
CONFIG_DRM_AMD_DC_HDCP=y
CONFIG_DRM_AMD_DC_SI=y
# CONFIG_DEBUG_KERNEL_DC is not set
@@ -8080,7 +8080,6 @@
#
# Platform Support
#
-CONFIG_USB_BDC_PCI=m
# CONFIG_USB_AMD5536UDC is not set
# CONFIG_USB_NET2272 is not set
# CONFIG_USB_NET2280 is not set
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv6hl/default new/config/armv6hl/default
--- old/config/armv6hl/default 2021-01-20 08:26:11.000000000 +0100
+++ new/config/armv6hl/default 2021-01-27 13:11:36.000000000 +0100
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/arm 5.10.9 Kernel Configuration
+# Linux/arm 5.10.11 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="arm-suse-linux-gnueabi-gcc (SUSE Linux) 10.2.1 20201202 [revision e563687cf9d3d1278f45aaebd03e0f66531076c9]"
CONFIG_CC_IS_GCC=y
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv7hl/default new/config/armv7hl/default
--- old/config/armv7hl/default 2021-01-20 08:26:11.000000000 +0100
+++ new/config/armv7hl/default 2021-01-27 13:11:36.000000000 +0100
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/arm 5.10.9 Kernel Configuration
+# Linux/arm 5.10.11 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="arm-suse-linux-gnueabi-gcc (SUSE Linux) 10.2.1 20201202 [revision e563687cf9d3d1278f45aaebd03e0f66531076c9]"
CONFIG_CC_IS_GCC=y
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/armv7hl/lpae new/config/armv7hl/lpae
--- old/config/armv7hl/lpae 2021-01-20 08:26:11.000000000 +0100
+++ new/config/armv7hl/lpae 2021-01-27 13:11:36.000000000 +0100
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/arm 5.10.9 Kernel Configuration
+# Linux/arm 5.10.11 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="arm-suse-linux-gnueabi-gcc (SUSE Linux) 10.2.1 20201202 [revision e563687cf9d3d1278f45aaebd03e0f66531076c9]"
CONFIG_CC_IS_GCC=y
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/i386/pae new/config/i386/pae
--- old/config/i386/pae 2021-01-20 08:26:11.000000000 +0100
+++ new/config/i386/pae 2021-01-27 13:11:36.000000000 +0100
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/i386 5.10.9 Kernel Configuration
+# Linux/i386 5.10.11 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc-10 (SUSE Linux) 10.2.1 20201202 [revision e563687cf9d3d1278f45aaebd03e0f66531076c9]"
CONFIG_CC_IS_GCC=y
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/ppc64/default new/config/ppc64/default
--- old/config/ppc64/default 2021-01-20 08:26:11.000000000 +0100
+++ new/config/ppc64/default 2021-01-27 13:11:36.000000000 +0100
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/powerpc 5.10.9 Kernel Configuration
+# Linux/powerpc 5.10.11 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="powerpc64-suse-linux-gcc (SUSE Linux) 10.2.1 20201202 [revision e563687cf9d3d1278f45aaebd03e0f66531076c9]"
CONFIG_CC_IS_GCC=y
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/ppc64le/default new/config/ppc64le/default
--- old/config/ppc64le/default 2021-01-20 08:26:11.000000000 +0100
+++ new/config/ppc64le/default 2021-01-27 13:11:36.000000000 +0100
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/powerpc 5.10.9 Kernel Configuration
+# Linux/powerpc 5.10.11 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="powerpc64le-suse-linux-gcc (SUSE Linux) 10.2.1 20201202 [revision e563687cf9d3d1278f45aaebd03e0f66531076c9]"
CONFIG_CC_IS_GCC=y
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/riscv64/default new/config/riscv64/default
--- old/config/riscv64/default 2021-01-20 08:26:11.000000000 +0100
+++ new/config/riscv64/default 2021-01-27 13:11:36.000000000 +0100
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/riscv 5.10.9 Kernel Configuration
+# Linux/riscv 5.10.11 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="riscv64-suse-linux-gcc (SUSE Linux) 10.2.1 20201202 [revision e563687cf9d3d1278f45aaebd03e0f66531076c9]"
CONFIG_CC_IS_GCC=y
@@ -280,6 +280,7 @@
# CONFIG_CMODEL_MEDLOW is not set
CONFIG_CMODEL_MEDANY=y
CONFIG_MODULE_SECTIONS=y
+# CONFIG_MAXPHYSMEM_1GB is not set
# CONFIG_MAXPHYSMEM_2GB is not set
CONFIG_MAXPHYSMEM_128GB=y
CONFIG_SMP=y
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/s390x/default new/config/s390x/default
--- old/config/s390x/default 2021-01-20 08:26:11.000000000 +0100
+++ new/config/s390x/default 2021-01-27 13:11:36.000000000 +0100
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/s390 5.10.9 Kernel Configuration
+# Linux/s390 5.10.11 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="s390x-suse-linux-gcc (SUSE Linux) 10.2.1 20201202 [revision e563687cf9d3d1278f45aaebd03e0f66531076c9]"
CONFIG_CC_IS_GCC=y
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/s390x/zfcpdump new/config/s390x/zfcpdump
--- old/config/s390x/zfcpdump 2021-01-20 08:26:11.000000000 +0100
+++ new/config/s390x/zfcpdump 2021-01-27 13:11:36.000000000 +0100
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/s390 5.10.9 Kernel Configuration
+# Linux/s390 5.10.11 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="s390x-suse-linux-gcc (SUSE Linux) 10.2.1 20201202 [revision e563687cf9d3d1278f45aaebd03e0f66531076c9]"
CONFIG_CC_IS_GCC=y
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/config/x86_64/default new/config/x86_64/default
--- old/config/x86_64/default 2021-01-20 08:26:11.000000000 +0100
+++ new/config/x86_64/default 2021-01-27 13:11:36.000000000 +0100
@@ -1,6 +1,6 @@
#
# Automatically generated file; DO NOT EDIT.
-# Linux/x86_64 5.10.9 Kernel Configuration
+# Linux/x86_64 5.10.11 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="gcc-10 (SUSE Linux) 10.2.1 20201202 [revision e563687cf9d3d1278f45aaebd03e0f66531076c9]"
CONFIG_CC_IS_GCC=y
++++++ kernel-binary.spec.in ++++++
--- /var/tmp/diff_new_pack.V7x1Lc/_old 2021-02-01 13:28:20.762116392 +0100
+++ /var/tmp/diff_new_pack.V7x1Lc/_new 2021-02-01 13:28:20.762116392 +0100
@@ -1030,6 +1030,7 @@
%dir /usr/src/linux-obj
%dir /usr/src/linux-obj/%cpu_arch
%ghost /usr/src/linux-obj/%cpu_arch_flavor
+%exclude %obj_install_dir/%cpu_arch_flavor/Symbols.list
%if "%kmp_target_cpu" != "%cpu_arch"
%obj_install_dir/%kmp_target_cpu
/usr/src/linux-obj/%kmp_target_cpu
++++++ patches.kernel.org.tar.bz2 ++++++
++++ 22453 lines of diff (skipped)
++++++ patches.suse.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/ALSA-hda-via-Apply-the-workaround-generically-for-Cl.patch new/patches.suse/ALSA-hda-via-Apply-the-workaround-generically-for-Cl.patch
--- old/patches.suse/ALSA-hda-via-Apply-the-workaround-generically-for-Cl.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/ALSA-hda-via-Apply-the-workaround-generically-for-Cl.patch 2021-01-30 20:15:49.000000000 +0100
@@ -0,0 +1,40 @@
+From 4961167bf7482944ca09a6f71263b9e47f949851 Mon Sep 17 00:00:00 2001
+From: Takashi Iwai <tiwai(a)suse.de>
+Date: Tue, 26 Jan 2021 17:56:03 +0100
+Subject: [PATCH] ALSA: hda/via: Apply the workaround generically for Clevo
+ machines
+Git-commit: 4961167bf7482944ca09a6f71263b9e47f949851
+Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
+Patch-mainline: Queued in subsystem maintainer repository
+References: bsc#1181330
+
+We've got another report indicating a similar problem wrt the
+power-saving behavior with VIA codec on Clevo machines. Let's apply
+the existing workaround generically to all Clevo devices with VIA
+codecs to cover all in once.
+
+Buglink: https://bugzilla.opensuse.org/show_bug.cgi?id=1181330
+Cc: <stable(a)vger.kernel.org>
+Link: https://lore.kernel.org/r/20210126165603.11683-1-tiwai@suse.de
+Signed-off-by: Takashi Iwai <tiwai(a)suse.de>
+
+---
+ sound/pci/hda/patch_via.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c
+index 834367dd54e1..a5c1a2c4eae4 100644
+--- a/sound/pci/hda/patch_via.c
++++ b/sound/pci/hda/patch_via.c
+@@ -1043,7 +1043,7 @@ static const struct hda_fixup via_fixups[] = {
+ static const struct snd_pci_quirk vt2002p_fixups[] = {
+ SND_PCI_QUIRK(0x1043, 0x1487, "Asus G75", VIA_FIXUP_ASUS_G75),
+ SND_PCI_QUIRK(0x1043, 0x8532, "Asus X202E", VIA_FIXUP_INTMIC_BOOST),
+- SND_PCI_QUIRK(0x1558, 0x3501, "Clevo W35xSS_370SS", VIA_FIXUP_POWER_SAVE),
++ SND_PCI_QUIRK_VENDOR(0x1558, "Clevo", VIA_FIXUP_POWER_SAVE),
+ {}
+ };
+
+--
+2.26.2
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/drm-gpu-nouveau-dispnv50-Restore-pushing-of-all-data.patch new/patches.suse/drm-gpu-nouveau-dispnv50-Restore-pushing-of-all-data.patch
--- old/patches.suse/drm-gpu-nouveau-dispnv50-Restore-pushing-of-all-data.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/drm-gpu-nouveau-dispnv50-Restore-pushing-of-all-data.patch 2021-01-30 20:15:49.000000000 +0100
@@ -0,0 +1,69 @@
+From 7fcdc2555c9055049c0bc67866012e9dc9b49d89 Mon Sep 17 00:00:00 2001
+From: Bastian Beranek <bastian.beischer(a)rwth-aachen.de>
+Date: Mon, 18 Jan 2021 13:19:32 +0100
+Subject: [PATCH v3] drm/gpu/nouveau/dispnv50: Restore pushing of all data.
+Patch-mainline: Submitted, https://gitlab.freedesktop.org/drm/nouveau/-/issues/14
+References: boo#1181271
+
+Commit f844eb485eb056ad3b67e49f95cbc6c685a73db4 introduced a regression for
+NV50, which lead to visual artifacts, tearing and eventual crashes.
+
+In the changes of f844eb485eb056ad3b67e49f95cbc6c685a73db4 only the first line
+was correctly translated to the new NVIDIA header macros:
+
+- PUSH_NVSQ(push, NV827C, 0x0110, 0,
+- 0x0114, 0);
++ PUSH_MTHD(push, NV827C, SET_PROCESSING,
++ NVDEF(NV827C, SET_PROCESSING, USE_GAIN_OFS, DISABLE));
+
+The lower part ("0x0114, 0") was probably omitted by accident.
+
+This patch restores the push of the missing data and fixes the regression.
+
+Signed-off-by: Bastian Beranek <bastian.beischer(a)rwth-aachen.de>
+Fixes: f844eb485eb056ad3b67e49f95cbc6c685a73db4
+Link: https://gitlab.freedesktop.org/drm/nouveau/-/issues/14
+Acked-by: Takashi Iwai <tiwai(a)suse.de>
+
+---
+ drivers/gpu/drm/nouveau/dispnv50/base507c.c | 6 +++++-
+ drivers/gpu/drm/nouveau/dispnv50/base827c.c | 6 +++++-
+ 2 files changed, 10 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/nouveau/dispnv50/base507c.c b/drivers/gpu/drm/nouveau/dispnv50/base507c.c
+index 302d4e6fc52f..788db043a342 100644
+--- a/drivers/gpu/drm/nouveau/dispnv50/base507c.c
++++ b/drivers/gpu/drm/nouveau/dispnv50/base507c.c
+@@ -88,7 +88,11 @@ base507c_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw)
+ NVVAL(NV507C, SET_CONVERSION, OFS, 0x64));
+ } else {
+ PUSH_MTHD(push, NV507C, SET_PROCESSING,
+- NVDEF(NV507C, SET_PROCESSING, USE_GAIN_OFS, DISABLE));
++ NVDEF(NV507C, SET_PROCESSING, USE_GAIN_OFS, DISABLE),
++
++ SET_CONVERSION,
++ NVVAL(NV507C, SET_CONVERSION, GAIN, 0) |
++ NVVAL(NV507C, SET_CONVERSION, OFS, 0));
+ }
+
+ PUSH_MTHD(push, NV507C, SURFACE_SET_OFFSET(0, 0), asyw->image.offset[0] >> 8);
+diff --git a/drivers/gpu/drm/nouveau/dispnv50/base827c.c b/drivers/gpu/drm/nouveau/dispnv50/base827c.c
+index 18d34096f125..093d4ba6910e 100644
+--- a/drivers/gpu/drm/nouveau/dispnv50/base827c.c
++++ b/drivers/gpu/drm/nouveau/dispnv50/base827c.c
+@@ -49,7 +49,11 @@ base827c_image_set(struct nv50_wndw *wndw, struct nv50_wndw_atom *asyw)
+ NVVAL(NV827C, SET_CONVERSION, OFS, 0x64));
+ } else {
+ PUSH_MTHD(push, NV827C, SET_PROCESSING,
+- NVDEF(NV827C, SET_PROCESSING, USE_GAIN_OFS, DISABLE));
++ NVDEF(NV827C, SET_PROCESSING, USE_GAIN_OFS, DISABLE),
++
++ SET_CONVERSION,
++ NVVAL(NV827C, SET_CONVERSION, GAIN, 0) |
++ NVVAL(NV827C, SET_CONVERSION, OFS, 0));
+ }
+
+ PUSH_MTHD(push, NV827C, SURFACE_SET_OFFSET(0, 0), asyw->image.offset[0] >> 8,
+--
+2.30.0
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/floppy-reintroduce-O_NDELAY-fix.patch new/patches.suse/floppy-reintroduce-O_NDELAY-fix.patch
--- old/patches.suse/floppy-reintroduce-O_NDELAY-fix.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/floppy-reintroduce-O_NDELAY-fix.patch 2021-01-30 20:15:49.000000000 +0100
@@ -0,0 +1,89 @@
+From e32f6163c47efbdbad06258560aa00d1c7e5b699 Mon Sep 17 00:00:00 2001
+From: Jiri Kosina <jkosina(a)suse.cz>
+Date: Fri, 22 Jan 2021 12:13:20 +0100
+Subject: [PATCH] floppy: reintroduce O_NDELAY fix
+
+References: boo#1181018
+Patch-mainline: queued
+Git-repo: https://github.com/evdenis/linux-floppy
+Git-commit: e32f6163c47efbdbad06258560aa00d1c7e5b699
+
+This issue was originally fixed in 09954bad4 ("floppy: refactor open()
+flags handling").
+
+The fix as a side-effect, however, introduce issue for open(O_ACCMODE)
+that is being used for ioctl-only open. I wrote a fix for that, but
+instead of it being merged, full revert of 09954bad4 was performed,
+re-introducing the O_NDELAY / O_NONBLOCK issue, and it strikes again.
+
+This is a forward-port of the original fix to current codebase; the
+original submission had the changelog below:
+
+====
+Commit 09954bad4 ("floppy: refactor open() flags handling"), as a
+side-effect, causes open(/dev/fdX, O_ACCMODE) to fail. It turns out that
+this is being used setfdprm userspace for ioctl-only open().
+
+Reintroduce back the original behavior wrt !(FMODE_READ|FMODE_WRITE)
+modes, while still keeping the original O_NDELAY bug fixed.
+
+Link: https://lore.kernel.org/r/nycvar.YFH.7.76.2101221209060.5622@cbobk.fhfr.pm
+Cc: stable(a)vger.kernel.org
+Reported-by: Wim Osterholt <wim(a)djo.tudelft.nl>
+Tested-by: Wim Osterholt <wim(a)djo.tudelft.nl>
+Reported-and-tested-by: Kurt Garloff <kurt(a)garloff.de>
+Fixes: 09954bad4 ("floppy: refactor open() flags handling")
+Fixes: f2791e7ead ("Revert "floppy: refactor open() flags handling"")
+Signed-off-by: Jiri Kosina <jkosina(a)suse.cz>
+Signed-off-by: Denis Efremov <efremov(a)linux.com>
+Acked-by: Michal Suchanek <msuchanek(a)suse.de>
+---
+ drivers/block/floppy.c | 30 +++++++++++++++---------------
+ 1 file changed, 15 insertions(+), 15 deletions(-)
+
+diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
+index dfe1dfc901cc..0b71292d9d5a 100644
+--- a/drivers/block/floppy.c
++++ b/drivers/block/floppy.c
+@@ -4121,23 +4121,23 @@ static int floppy_open(struct block_device *bdev, fmode_t mode)
+ if (fdc_state[FDC(drive)].rawcmd == 1)
+ fdc_state[FDC(drive)].rawcmd = 2;
+
+- if (!(mode & FMODE_NDELAY)) {
+- if (mode & (FMODE_READ|FMODE_WRITE)) {
+- drive_state[drive].last_checked = 0;
+- clear_bit(FD_OPEN_SHOULD_FAIL_BIT,
+- &drive_state[drive].flags);
+- if (bdev_check_media_change(bdev))
+- floppy_revalidate(bdev->bd_disk);
+- if (test_bit(FD_DISK_CHANGED_BIT, &drive_state[drive].flags))
+- goto out;
+- if (test_bit(FD_OPEN_SHOULD_FAIL_BIT, &drive_state[drive].flags))
+- goto out;
+- }
+- res = -EROFS;
+- if ((mode & FMODE_WRITE) &&
+- !test_bit(FD_DISK_WRITABLE_BIT, &drive_state[drive].flags))
++ if (mode & (FMODE_READ|FMODE_WRITE)) {
++ drive_state[drive].last_checked = 0;
++ clear_bit(FD_OPEN_SHOULD_FAIL_BIT, &drive_state[drive].flags);
++ if (bdev_check_media_change(bdev))
++ floppy_revalidate(bdev->bd_disk);
++ if (test_bit(FD_DISK_CHANGED_BIT, &drive_state[drive].flags))
++ goto out;
++ if (test_bit(FD_OPEN_SHOULD_FAIL_BIT, &drive_state[drive].flags))
+ goto out;
+ }
++
++ res = -EROFS;
++
++ if ((mode & FMODE_WRITE) &&
++ !test_bit(FD_DISK_WRITABLE_BIT, &drive_state[drive].flags))
++ goto out;
++
+ mutex_unlock(&open_lock);
+ mutex_unlock(&floppy_mutex);
+ return 0;
+--
+2.26.2
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/fs-cachefs-Drop-superfluous-readpages-aops-NULL-chec.patch new/patches.suse/fs-cachefs-Drop-superfluous-readpages-aops-NULL-chec.patch
--- old/patches.suse/fs-cachefs-Drop-superfluous-readpages-aops-NULL-chec.patch 2021-01-20 08:26:11.000000000 +0100
+++ new/patches.suse/fs-cachefs-Drop-superfluous-readpages-aops-NULL-chec.patch 1970-01-01 01:00:00.000000000 +0100
@@ -1,45 +0,0 @@
-From: Takashi Iwai <tiwai(a)suse.de>
-Subject: [PATCH] fs/cachefiles: Drop superfluous readpages aops NULL check
-Date: Thu, 27 Aug 2020 16:27:24 +0200
-Message-id: <20200827142724.15032-1-tiwai(a)suse.de>
-Patch-mainline: Submitted, LKML
-References: bsc#1175245
-
-After the recent actions to convert readpages aops to readahead, the
-NULL checks of readpages aops in cachefiles_read_or_alloc_page() may
-hit falsely. More badly, it's an ASSERT() call, and this panics.
-
-Drop the superfluous NULL checks for fixing this regression.
-
-Buglink: https://bugzilla.kernel.org/show_bug.cgi?id=208883
-Buglink: https://bugzilla.opensuse.org/show_bug.cgi?id=1175245
-Cc: <stable(a)vger.kernel.org> # v5.8
-Signed-off-by: Takashi Iwai <tiwai(a)suse.de>
-
----
- fs/cachefiles/rdwr.c | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/fs/cachefiles/rdwr.c b/fs/cachefiles/rdwr.c
-index 3080cda9e824..5b4cee71fa32 100644
---- a/fs/cachefiles/rdwr.c
-+++ b/fs/cachefiles/rdwr.c
-@@ -412,7 +412,6 @@ int cachefiles_read_or_alloc_page(struct fscache_retrieval *op,
-
- inode = d_backing_inode(object->backer);
- ASSERT(S_ISREG(inode->i_mode));
-- ASSERT(inode->i_mapping->a_ops->readpages);
-
- /* calculate the shift required to use bmap */
- shift = PAGE_SHIFT - inode->i_sb->s_blocksize_bits;
-@@ -712,7 +711,6 @@ int cachefiles_read_or_alloc_pages(struct fscache_retrieval *op,
-
- inode = d_backing_inode(object->backer);
- ASSERT(S_ISREG(inode->i_mode));
-- ASSERT(inode->i_mapping->a_ops->readpages);
-
- /* calculate the shift required to use bmap */
- shift = PAGE_SHIFT - inode->i_sb->s_blocksize_bits;
---
-2.16.4
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/iwlwifi-dbg-Don-t-touch-the-tlv-data.patch new/patches.suse/iwlwifi-dbg-Don-t-touch-the-tlv-data.patch
--- old/patches.suse/iwlwifi-dbg-Don-t-touch-the-tlv-data.patch 2021-01-20 08:26:11.000000000 +0100
+++ new/patches.suse/iwlwifi-dbg-Don-t-touch-the-tlv-data.patch 1970-01-01 01:00:00.000000000 +0100
@@ -1,44 +0,0 @@
-From: Takashi Iwai <tiwai(a)suse.de>
-Subject: [PATCH] iwlwifi: dbg: Don't touch the tlv data
-Patch-mainline: Submitted, https://bugzilla.kernel.org/show_bug.cgi?id=210733
-References: bsc#1180344
-
-The commit ba8f6f4ae254 ("iwlwifi: dbg: add dumping special device
-memory") added a termination of name string just to be sure, and this
-seems causing a regression, a GPF triggered at firmware loading.
-Basically we shouldn't modify the firmware data that may be provided
-as read-only.
-
-This patch drops the code that caused the regression and keep the tlv
-data as is.
-
-Fixes: ba8f6f4ae254 ("iwlwifi: dbg: add dumping special device memory")
-BugLink: https://bugzilla.suse.com/show_bug.cgi?id=1180344
-BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=210733
-Signed-off-by: Takashi Iwai <tiwai(a)suse.de>
-
----
- drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c | 7 -------
- 1 file changed, 7 deletions(-)
-
-diff --git a/drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c b/drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c
-index a654147d3cd6..a80a35a7740f 100644
---- a/drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c
-+++ b/drivers/net/wireless/intel/iwlwifi/iwl-dbg-tlv.c
-@@ -180,13 +180,6 @@ static int iwl_dbg_tlv_alloc_region(struct iwl_trans *trans,
- if (le32_to_cpu(tlv->length) < sizeof(*reg))
- return -EINVAL;
-
-- /* For safe using a string from FW make sure we have a
-- * null terminator
-- */
-- reg->name[IWL_FW_INI_MAX_NAME - 1] = 0;
--
-- IWL_DEBUG_FW(trans, "WRT: parsing region: %s\n", reg->name);
--
- if (id >= IWL_FW_INI_MAX_REGION_ID) {
- IWL_ERR(trans, "WRT: Invalid region id %u\n", id);
- return -EINVAL;
---
-2.26.2
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/media-dvb-usb-Fix-memory-leak-at-error-in-dvb_usb_de.patch new/patches.suse/media-dvb-usb-Fix-memory-leak-at-error-in-dvb_usb_de.patch
--- old/patches.suse/media-dvb-usb-Fix-memory-leak-at-error-in-dvb_usb_de.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/media-dvb-usb-Fix-memory-leak-at-error-in-dvb_usb_de.patch 2021-01-30 20:15:49.000000000 +0100
@@ -0,0 +1,59 @@
+From: Takashi Iwai <tiwai(a)suse.de>
+Date: Wed, 20 Jan 2021 11:20:56 +0100
+Subject: [PATCH 1/2] media: dvb-usb: Fix memory leak at error in
+ dvb_usb_device_init()
+Message-Id: <20210120102057.21143-2-tiwai(a)suse.de>
+Patch-mainline: Submitted, linux-media ML
+References: bsc#1181104
+
+dvb_usb_device_init() allocates a dvb_usb_device object, but it
+doesn't release it even when returning an error. The callers don't
+seem caring it as well, hence those memories are leaked.
+
+This patch assures releasing the memory at the error path in
+dvb_usb_device_init(). Also it makes sure that USB intfdata is reset
+and don't return the bogus pointer to the caller at the error path,
+too.
+
+Cc: <stable(a)vger.kernel.org>
+Signed-off-by: Takashi Iwai <tiwai(a)suse.de>
+
+---
+ drivers/media/usb/dvb-usb/dvb-usb-init.c | 18 ++++++++++++------
+ 1 file changed, 12 insertions(+), 6 deletions(-)
+
+diff --git a/drivers/media/usb/dvb-usb/dvb-usb-init.c b/drivers/media/usb/dvb-usb/dvb-usb-init.c
+index c1a7634e27b4..5befec87f26a 100644
+--- a/drivers/media/usb/dvb-usb/dvb-usb-init.c
++++ b/drivers/media/usb/dvb-usb/dvb-usb-init.c
+@@ -281,15 +281,21 @@ int dvb_usb_device_init(struct usb_interface *intf,
+
+ usb_set_intfdata(intf, d);
+
+- if (du != NULL)
++ ret = dvb_usb_init(d, adapter_nums);
++ if (ret) {
++ info("%s error while loading driver (%d)", desc->name, ret);
++ goto error;
++ }
++
++ if (du)
+ *du = d;
+
+- ret = dvb_usb_init(d, adapter_nums);
++ info("%s successfully initialized and connected.", desc->name);
++ return 0;
+
+- if (ret == 0)
+- info("%s successfully initialized and connected.", desc->name);
+- else
+- info("%s error while loading driver (%d)", desc->name, ret);
++ error:
++ usb_set_intfdata(intf, NULL);
++ kfree(d);
+ return ret;
+ }
+ EXPORT_SYMBOL(dvb_usb_device_init);
+--
+2.26.2
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/media-dvb-usb-Fix-use-after-free-access.patch new/patches.suse/media-dvb-usb-Fix-use-after-free-access.patch
--- old/patches.suse/media-dvb-usb-Fix-use-after-free-access.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/media-dvb-usb-Fix-use-after-free-access.patch 2021-01-30 20:15:49.000000000 +0100
@@ -0,0 +1,75 @@
+From: Takashi Iwai <tiwai(a)suse.de>
+Date: Wed, 20 Jan 2021 10:14:23 +0100
+Subject: [PATCH 2/2] media: dvb-usb: Fix use-after-free access
+Message-Id: <20210120102057.21143-3-tiwai(a)suse.de>
+Patch-mainline: Submitted, linux-media ML
+References: bsc#1181104
+
+dvb_usb_device_init() copies the properties to the own data, so that
+the callers can release the original properties later (as done in the
+commit 299c7007e936 "media: dw2102: Fix memleak on sequence of
+probes"). However, it also stores dev->desc pointer that is a
+reference to the original properties data. Since dev->desc is
+referred later, it may result in use-after-free, in the worst case,
+leading to a kernel Oops as reported.
+
+This patch addresses the problem by allocating and copying the
+properties at first, then get the desc from the copied properties.
+
+Reported-and-tested-by: Stefan Seyfried <seife+kernel(a)b1-systems.com>
+Buglink: http://bugzilla.opensuse.org/show_bug.cgi?id=1181104
+Cc: <stable(a)vger.kernel.org>
+Signed-off-by: Takashi Iwai <tiwai(a)suse.de>
+
+---
+ drivers/media/usb/dvb-usb/dvb-usb-init.c | 23 +++++++++++++----------
+ 1 file changed, 13 insertions(+), 10 deletions(-)
+
+diff --git a/drivers/media/usb/dvb-usb/dvb-usb-init.c b/drivers/media/usb/dvb-usb/dvb-usb-init.c
+index 5befec87f26a..07ff9b4d2f34 100644
+--- a/drivers/media/usb/dvb-usb/dvb-usb-init.c
++++ b/drivers/media/usb/dvb-usb/dvb-usb-init.c
+@@ -255,27 +255,30 @@ int dvb_usb_device_init(struct usb_interface *intf,
+ if (du != NULL)
+ *du = NULL;
+
+- if ((desc = dvb_usb_find_device(udev, props, &cold)) == NULL) {
++ d = kzalloc(sizeof(struct dvb_usb_device), GFP_KERNEL);
++ if (!d) {
++ err("no memory for 'struct dvb_usb_device'");
++ return -ENOMEM;
++ }
++
++ memcpy(&d->props, props, sizeof(struct dvb_usb_device_properties));
++
++ desc = dvb_usb_find_device(udev, &d->props, &cold);
++ if (!desc) {
+ deb_err("something went very wrong, device was not found in current device list - let's see what comes next.\n");
+- return -ENODEV;
++ ret = -ENODEV;
++ goto error;
+ }
+
+ if (cold) {
+ info("found a '%s' in cold state, will try to load a firmware", desc->name);
+ ret = dvb_usb_download_firmware(udev, props);
+ if (!props->no_reconnect || ret != 0)
+- return ret;
++ goto error;
+ }
+
+ info("found a '%s' in warm state.", desc->name);
+- d = kzalloc(sizeof(struct dvb_usb_device), GFP_KERNEL);
+- if (d == NULL) {
+- err("no memory for 'struct dvb_usb_device'");
+- return -ENOMEM;
+- }
+-
+ d->udev = udev;
+- memcpy(&d->props, props, sizeof(struct dvb_usb_device_properties));
+ d->desc = desc;
+ d->owner = owner;
+
+--
+2.26.2
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/patches.suse/media-pwc-Fix-the-URB-buffer-allocation.patch new/patches.suse/media-pwc-Fix-the-URB-buffer-allocation.patch
--- old/patches.suse/media-pwc-Fix-the-URB-buffer-allocation.patch 1970-01-01 01:00:00.000000000 +0100
+++ new/patches.suse/media-pwc-Fix-the-URB-buffer-allocation.patch 2021-01-30 20:15:49.000000000 +0100
@@ -0,0 +1,51 @@
+From: Takashi Iwai <tiwai(a)suse.de>
+Subject: [PATCH] media: pwc: Fix the URB buffer allocation
+Date: Thu, 21 Jan 2021 21:28:55 +0100
+Message-id: <20210121202855.17400-1-tiwai(a)suse.de>
+Patch-mainline: Submitted, linux-media ML
+References: bsc#1181133
+
+The URB buffer allocation of pwc driver involves with the
+dma_map_single(), and it needs to pass the right device. Currently it
+passes usb_device.dev, but it's no real device that manages the DMA.
+Since the passed device has no DMA mask set up, now the pwc driver
+hits the WARN_ON_ONCE() check in dma_map_page_attrs() (that was
+introduced in 5.10), resulting in an error at URB allocations.
+Eventually this ended up with the black output.
+
+This patch fixes the bug by passing the proper device, the bus
+controller, to make the URB allocation and map working again.
+
+Buglink: https://bugzilla.suse.com/show_bug.cgi?id=1181133
+Cc: <stable(a)vger.kernel.org>
+Signed-off-by: Takashi Iwai <tiwai(a)suse.de>
+
+---
+ drivers/media/usb/pwc/pwc-if.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/drivers/media/usb/pwc/pwc-if.c b/drivers/media/usb/pwc/pwc-if.c
+index 61869636ec61..d771160bb168 100644
+--- a/drivers/media/usb/pwc/pwc-if.c
++++ b/drivers/media/usb/pwc/pwc-if.c
+@@ -461,7 +461,7 @@ static int pwc_isoc_init(struct pwc_device *pdev)
+ urb->pipe = usb_rcvisocpipe(udev, pdev->vendpoint);
+ urb->transfer_flags = URB_ISO_ASAP | URB_NO_TRANSFER_DMA_MAP;
+ urb->transfer_buffer_length = ISO_BUFFER_SIZE;
+- urb->transfer_buffer = pwc_alloc_urb_buffer(&udev->dev,
++ urb->transfer_buffer = pwc_alloc_urb_buffer(udev->bus->controller,
+ urb->transfer_buffer_length,
+ &urb->transfer_dma);
+ if (urb->transfer_buffer == NULL) {
+@@ -524,7 +524,7 @@ static void pwc_iso_free(struct pwc_device *pdev)
+ if (urb) {
+ PWC_DEBUG_MEMORY("Freeing URB\n");
+ if (urb->transfer_buffer)
+- pwc_free_urb_buffer(&urb->dev->dev,
++ pwc_free_urb_buffer(urb->dev->bus->controller,
+ urb->transfer_buffer_length,
+ urb->transfer_buffer,
+ urb->transfer_dma);
+--
+2.26.2
+
++++++ series.conf ++++++
--- /var/tmp/diff_new_pack.V7x1Lc/_old 2021-02-01 13:28:21.898118159 +0100
+++ /var/tmp/diff_new_pack.V7x1Lc/_new 2021-02-01 13:28:21.898118159 +0100
@@ -1290,6 +1290,288 @@
patches.kernel.org/5.10.9-151-netfilter-conntrack-fix-reading-nf_conntrack_…
patches.kernel.org/5.10.9-152-netfilter-nf_nat-Fix-memleak-in-nf_nat_init.p…
patches.kernel.org/5.10.9-153-Linux-5.10.9.patch
+ patches.kernel.org/5.10.10-001-Revert-kconfig-remove-kvmconfig-and-xenconfi…
+ patches.kernel.org/5.10.10-002-bpf-Fix-selftest-compilation-on-clang-11.pat…
+ patches.kernel.org/5.10.10-003-x86-hyperv-Initialize-clockevents-after-LAPI…
+ patches.kernel.org/5.10.10-004-drm-amdgpu-display-drop-DCN-support-for-aarc…
+ patches.kernel.org/5.10.10-005-bpf-Fix-signed_-sub-add32-_overflows-type-ha…
+ patches.kernel.org/5.10.10-006-X.509-Fix-crash-caused-by-NULL-pointer.patch
+ patches.kernel.org/5.10.10-007-nfsd4-readdirplus-shouldn-t-return-parent-of…
+ patches.kernel.org/5.10.10-008-bpf-Don-t-leak-memory-in-bpf-getsockopt-when…
+ patches.kernel.org/5.10.10-009-bpf-Support-PTR_TO_MEM-_OR_NULL-register-spi…
+ patches.kernel.org/5.10.10-010-bpf-Fix-helper-bpf_map_peek_elem_proto-point…
+ patches.kernel.org/5.10.10-011-net-ipa-modem-add-missing-SET_NETDEV_DEV-for…
+ patches.kernel.org/5.10.10-012-net-fix-use-after-free-when-UDP-GRO-with-sha…
+ patches.kernel.org/5.10.10-013-udp-Prevent-reuseport_select_sock-from-readi…
+ patches.kernel.org/5.10.10-014-netxen_nic-fix-MSI-MSI-x-interrupts.patch
+ patches.kernel.org/5.10.10-015-net-ipv6-Validate-GSO-SKB-before-finish-IPv6…
+ patches.kernel.org/5.10.10-016-tipc-fix-NULL-deref-in-tipc_link_xmit.patch
+ patches.kernel.org/5.10.10-017-mlxsw-core-Add-validation-of-transceiver-tem…
+ patches.kernel.org/5.10.10-018-mlxsw-core-Increase-critical-threshold-for-A…
+ patches.kernel.org/5.10.10-019-net-mvpp2-Remove-Pause-and-Asym_Pause-suppor…
+ patches.kernel.org/5.10.10-020-rndis_host-set-proper-input-size-for-OID_GEN…
+ patches.kernel.org/5.10.10-021-esp-avoid-unneeded-kmap_atomic-call.patch
+ patches.kernel.org/5.10.10-022-net-dcb-Validate-netlink-message-in-DCB-hand…
+ patches.kernel.org/5.10.10-023-net-dcb-Accept-RTM_GETDCB-messages-carrying-…
+ patches.kernel.org/5.10.10-024-rxrpc-Call-state-should-be-read-with-READ_ON…
+ patches.kernel.org/5.10.10-025-i40e-fix-potential-NULL-pointer-dereferencin…
+ patches.kernel.org/5.10.10-026-net-stmmac-Fixed-mtu-channged-by-cache-align…
+ patches.kernel.org/5.10.10-027-net-sit-unregister_netdevice-on-newlink-s-er…
+ patches.kernel.org/5.10.10-028-net-stmmac-fix-taprio-schedule-configuration…
+ patches.kernel.org/5.10.10-029-net-stmmac-fix-taprio-configuration-when-bas…
+ patches.kernel.org/5.10.10-030-net-avoid-32-x-truesize-under-estimation-for…
+ patches.kernel.org/5.10.10-031-dt-bindings-net-renesas-etheravb-RZ-G2H-need…
+ patches.kernel.org/5.10.10-032-net-phy-smsc-fix-clk-error-handling.patch
+ patches.kernel.org/5.10.10-033-net-dsa-clear-devlink-port-type-before-unreg…
+ patches.kernel.org/5.10.10-034-rxrpc-Fix-handling-of-an-unsupported-token-t…
+ patches.kernel.org/5.10.10-035-net-stmmac-use-__napi_schedule-for-PREEMPT_R…
+ patches.kernel.org/5.10.10-036-can-mcp251xfd-mcp251xfd_handle_rxif_one-fix-…
+ patches.kernel.org/5.10.10-037-drm-panel-otm8009a-allow-using-non-continuou…
+ patches.kernel.org/5.10.10-038-mac80211-do-not-drop-tx-nulldata-packets-on-…
+ patches.kernel.org/5.10.10-039-mac80211-check-if-atf-has-been-disabled-in-_…
+ patches.kernel.org/5.10.10-040-net-dsa-unbind-all-switches-from-tree-when-D…
+ patches.kernel.org/5.10.10-041-cxgb4-chtls-Fix-tid-stuck-due-to-wrong-updat…
+ patches.kernel.org/5.10.10-042-spi-fsl-Fix-driver-breakage-when-SPI_CS_HIGH…
+ patches.kernel.org/5.10.10-043-spi-cadence-cache-reference-clock-rate-durin…
+ patches.kernel.org/5.10.10-044-Linux-5.10.10.patch
+ patches.kernel.org/5.10.11-001-scsi-target-tcmu-Fix-use-after-free-of-se_cm…
+ patches.kernel.org/5.10.11-002-mtd-rawnand-gpmi-fix-dst-bit-offset-when-ext…
+ patches.kernel.org/5.10.11-003-mtd-rawnand-nandsim-Fix-the-logic-when-selec…
+ patches.kernel.org/5.10.11-004-i2c-tegra-Wait-for-config-load-atomically-wh…
+ patches.kernel.org/5.10.11-005-i2c-bpmp-tegra-Ignore-unknown-I2C_M-flags.pa…
+ patches.kernel.org/5.10.11-006-platform-x86-i2c-multi-instantiate-Don-t-cre…
+ patches.kernel.org/5.10.11-007-platform-x86-ideapad-laptop-Disable-touchpad…
+ patches.kernel.org/5.10.11-008-ALSA-seq-oss-Fix-missing-error-check-in-snd_…
+ patches.kernel.org/5.10.11-009-ALSA-hda-realtek-Limit-int-mic-boost-on-Acer…
+ patches.kernel.org/5.10.11-010-ALSA-hda-via-Add-minimum-mute-flag.patch
+ patches.kernel.org/5.10.11-011-crypto-xor-Fix-divide-error-in-do_xor_speed.…
+ patches.kernel.org/5.10.11-012-dm-crypt-fix-copy-and-paste-bug-in-crypt_all…
+ patches.kernel.org/5.10.11-013-ACPI-scan-Make-acpi_bus_get_device-clear-ret…
+ patches.kernel.org/5.10.11-014-btrfs-don-t-get-an-EINTR-during-drop_snapsho…
+ patches.kernel.org/5.10.11-015-btrfs-do-not-double-free-backref-nodes-on-er…
+ patches.kernel.org/5.10.11-016-btrfs-fix-lockdep-splat-in-btrfs_recover_rel…
+ patches.kernel.org/5.10.11-017-btrfs-don-t-clear-ret-in-btrfs_start_dirty_b…
+ patches.kernel.org/5.10.11-018-btrfs-send-fix-invalid-clone-operations-when…
+ patches.kernel.org/5.10.11-019-fs-fix-lazytime-expiration-handling-in-__wri…
+ patches.kernel.org/5.10.11-020-pinctrl-ingenic-Fix-JZ4760-support.patch
+ patches.kernel.org/5.10.11-021-mmc-core-don-t-initialize-block-size-from-ex…
+ patches.kernel.org/5.10.11-022-mmc-sdhci-of-dwcmshc-fix-rpmb-access.patch
+ patches.kernel.org/5.10.11-023-mmc-sdhci-xenon-fix-1.8v-regulator-stabiliza…
+ patches.kernel.org/5.10.11-024-mmc-sdhci-brcmstb-Fix-mmc-timeout-errors-on-…
+ patches.kernel.org/5.10.11-025-dm-avoid-filesystem-lookup-in-dm_get_dev_t.p…
+ patches.kernel.org/5.10.11-026-dm-integrity-fix-a-crash-if-recalculate-used…
+ patches.kernel.org/5.10.11-027-dm-integrity-conditionally-disable-recalcula…
+ patches.kernel.org/5.10.11-028-drm-atomic-put-state-on-error-path.patch
+ patches.kernel.org/5.10.11-029-drm-syncobj-Fix-use-after-free.patch
+ patches.kernel.org/5.10.11-030-drm-amdgpu-remove-gpu-info-firmware-of-green…
+ patches.kernel.org/5.10.11-031-drm-amd-display-DCN2X-Find-Secondary-Pipe-pr…
+ patches.kernel.org/5.10.11-032-drm-i915-gt-Prevent-use-of-engine-wa_ctx-aft…
+ patches.kernel.org/5.10.11-033-drm-i915-Check-for-rq-hwsp-validity-after-ac…
+ patches.kernel.org/5.10.11-034-ASoC-Intel-haswell-Add-missing-pm_ops.patch
+ patches.kernel.org/5.10.11-035-ASoC-rt711-mutex-between-calibration-and-pow…
+ patches.kernel.org/5.10.11-036-SUNRPC-Handle-TCP-socket-sends-with-kernel_s…
+ patches.kernel.org/5.10.11-037-HID-multitouch-Enable-multi-input-for-Synapt…
+ patches.kernel.org/5.10.11-038-HID-sony-select-CONFIG_CRC32.patch
+ patches.kernel.org/5.10.11-039-dm-integrity-select-CRYPTO_SKCIPHER.patch
+ patches.kernel.org/5.10.11-040-x86-hyperv-Fix-kexec-panic-hang-issues.patch
+ patches.kernel.org/5.10.11-041-scsi-ufs-Relax-the-condition-of-UFSHCI_QUIRK…
+ patches.kernel.org/5.10.11-042-scsi-ufs-Correct-the-LUN-used-in-eh_device_r…
+ patches.kernel.org/5.10.11-043-scsi-qedi-Correct-max-length-of-CHAP-secret.…
+ patches.kernel.org/5.10.11-044-scsi-scsi_debug-Fix-memleak-in-scsi_debug_in…
+ patches.kernel.org/5.10.11-045-scsi-sd-Suppress-spurious-errors-when-WRITE-…
+ patches.kernel.org/5.10.11-046-riscv-Fix-kernel-time_init.patch
+ patches.kernel.org/5.10.11-047-riscv-Fix-sifive-serial-driver.patch
+ patches.kernel.org/5.10.11-048-riscv-Enable-interrupts-during-syscalls-with…
+ patches.kernel.org/5.10.11-049-HID-logitech-dj-add-the-G602-receiver.patch
+ patches.kernel.org/5.10.11-050-HID-Ignore-battery-for-Elan-touchscreen-on-A…
+ patches.kernel.org/5.10.11-051-clk-tegra30-Add-hda-clock-default-rates-to-c…
+ patches.kernel.org/5.10.11-052-ALSA-hda-tegra-fix-tegra-hda-on-tegra30-soc.…
+ patches.kernel.org/5.10.11-053-riscv-cacheinfo-Fix-using-smp_processor_id-i…
+ patches.kernel.org/5.10.11-054-arm64-make-atomic-helpers-__always_inline.pa…
+ patches.kernel.org/5.10.11-055-xen-Fix-event-channel-callback-via-INTX-GSI.…
+ patches.kernel.org/5.10.11-056-x86-xen-Add-xen_no_vector_callback-option-to…
+ patches.kernel.org/5.10.11-057-x86-xen-Fix-xen_hvm_smp_init-when-vector-cal…
+ patches.kernel.org/5.10.11-058-dts-phy-fix-missing-mdio-device-and-probe-fa…
+ patches.kernel.org/5.10.11-059-dts-phy-add-GPIO-number-and-active-state-use…
+ patches.kernel.org/5.10.11-060-riscv-defconfig-enable-gpio-support-for-HiFi…
+ patches.kernel.org/5.10.11-061-drm-amdgpu-psp-fix-psp-gfx-ctrl-cmds.patch
+ patches.kernel.org/5.10.11-062-drm-amd-display-disable-dcn10-pipe-split-by-…
+ patches.kernel.org/5.10.11-063-HID-logitech-hidpp-Add-product-ID-for-MX-Erg…
+ patches.kernel.org/5.10.11-064-drm-amd-display-Fix-to-be-able-to-stop-crc-c…
+ patches.kernel.org/5.10.11-065-drm-nouveau-bios-fix-issue-shadowing-expansi…
+ patches.kernel.org/5.10.11-066-drm-nouveau-privring-ack-interrupts-the-same…
+ patches.kernel.org/5.10.11-067-drm-nouveau-i2c-gm200-increase-width-of-aux-…
+ patches.kernel.org/5.10.11-068-drm-nouveau-mmu-fix-vram-heap-sizing.patch
+ patches.kernel.org/5.10.11-069-drm-nouveau-kms-nv50-fix-case-where-notifier…
+ patches.kernel.org/5.10.11-070-io_uring-flush-timeouts-that-should-already-…
+ patches.kernel.org/5.10.11-071-libperf-tests-If-a-test-fails-return-non-zer…
+ patches.kernel.org/5.10.11-072-libperf-tests-Fail-when-failing-to-get-a-tra…
+ patches.kernel.org/5.10.11-073-RISC-V-Set-current-memblock-limit.patch
+ patches.kernel.org/5.10.11-074-RISC-V-Fix-maximum-allowed-phsyical-memory-f…
+ patches.kernel.org/5.10.11-075-x86-xen-fix-nopvspin-build-error.patch
+ patches.kernel.org/5.10.11-076-nfsd-Fixes-for-nfsd4_encode_read_plus_data.p…
+ patches.kernel.org/5.10.11-077-nfsd-Don-t-set-eof-on-a-truncated-READ_PLUS.…
+ patches.kernel.org/5.10.11-078-gpiolib-cdev-fix-frame-size-warning-in-gpio_…
+ patches.kernel.org/5.10.11-079-pinctrl-aspeed-g6-Fix-PWMG0-pinctrl-setting.…
+ patches.kernel.org/5.10.11-080-pinctrl-mediatek-Fix-fallback-call-path.patch
+ patches.kernel.org/5.10.11-081-RDMA-ucma-Do-not-miss-ctx-destruction-steps-…
+ patches.kernel.org/5.10.11-082-btrfs-print-the-actual-offset-in-btrfs_root_…
+ patches.kernel.org/5.10.11-083-scsi-megaraid_sas-Fix-MEGASAS_IOC_FIRMWARE-r…
+ patches.kernel.org/5.10.11-084-scsi-ufs-ufshcd-pltfrm-depends-on-HAS_IOMEM.…
+ patches.kernel.org/5.10.11-085-scsi-ufs-Fix-tm-request-when-non-fatal-error…
+ patches.kernel.org/5.10.11-086-crypto-omap-sham-Fix-link-error-without-cryp…
+ patches.kernel.org/5.10.11-087-bpf-Prevent-double-bpf_prog_put-call-from-bp…
+ patches.kernel.org/5.10.11-088-powerpc-Use-the-common-INIT_DATA_SECTION-mac…
+ patches.kernel.org/5.10.11-089-powerpc-Fix-alignment-bug-within-the-init-se…
+ patches.kernel.org/5.10.11-090-arm64-entry-remove-redundant-IRQ-flag-tracin…
+ patches.kernel.org/5.10.11-091-bpf-Reject-too-big-ctx_size_in-for-raw_tp-te…
+ patches.kernel.org/5.10.11-092-drm-amdkfd-Fix-out-of-bounds-read-in-kdf_cre…
+ patches.kernel.org/5.10.11-093-RDMA-umem-Avoid-undefined-behavior-of-roundd…
+ patches.kernel.org/5.10.11-094-RDMA-cma-Fix-error-flow-in-default_roce_mode…
+ patches.kernel.org/5.10.11-095-printk-ringbuffer-fix-line-counting.patch
+ patches.kernel.org/5.10.11-096-printk-fix-kmsg_dump_get_buffer-length-calul…
+ patches.kernel.org/5.10.11-097-iov_iter-fix-the-uaccess-area-in-copy_compat…
+ patches.kernel.org/5.10.11-098-i2c-octeon-check-correct-size-of-maximum-REC…
+ patches.kernel.org/5.10.11-099-drm-vc4-Unify-PCM-card-s-driver_name.patch
+ patches.kernel.org/5.10.11-100-platform-x86-intel-vbtn-Drop-HP-Stream-x360-…
+ patches.kernel.org/5.10.11-101-platform-x86-hp-wmi-Don-t-log-a-warning-on-H…
+ patches.kernel.org/5.10.11-102-gpio-sifive-select-IRQ_DOMAIN_HIERARCHY-rath…
+ patches.kernel.org/5.10.11-103-ALSA-hda-Balance-runtime-system-PM-if-direct…
+ patches.kernel.org/5.10.11-104-xsk-Clear-pool-even-for-inactive-queues.patch
+ patches.kernel.org/5.10.11-105-selftests-net-fib_tests-remove-duplicate-log…
+ patches.kernel.org/5.10.11-106-can-dev-can_restart-fix-use-after-free-bug.p…
+ patches.kernel.org/5.10.11-107-can-vxcan-vxcan_xmit-fix-use-after-free-bug.…
+ patches.kernel.org/5.10.11-108-can-peak_usb-fix-use-after-free-bugs.patch
+ patches.kernel.org/5.10.11-109-perf-evlist-Fix-id-index-for-heterogeneous-s…
+ patches.kernel.org/5.10.11-110-i2c-sprd-depend-on-COMMON_CLK-to-fix-compile…
+ patches.kernel.org/5.10.11-111-iio-common-st_sensors-fix-possible-infinite-…
+ patches.kernel.org/5.10.11-112-iio-ad5504-Fix-setting-power-down-state.patch
+ patches.kernel.org/5.10.11-113-drivers-iio-temperature-Add-delay-after-the-…
+ patches.kernel.org/5.10.11-114-iio-adc-ti_am335x_adc-remove-omitted-iio_kfi…
+ patches.kernel.org/5.10.11-115-counter-ti-eqep-remove-floor.patch
+ patches.kernel.org/5.10.11-116-powerpc-64s-fix-scv-entry-fallback-flush-vs-…
+ patches.kernel.org/5.10.11-117-cifs-do-not-fail-__smb_send_rqst-if-non-fata…
+ patches.kernel.org/5.10.11-118-irqchip-mips-cpu-Set-IPI-domain-parent-chip.…
+ patches.kernel.org/5.10.11-119-x86-fpu-Add-kernel_fpu_begin_mask-to-selecti…
+ patches.kernel.org/5.10.11-120-x86-topology-Make-__max_die_per_package-avai…
+ patches.kernel.org/5.10.11-121-x86-mmx-Use-KFPU_387-for-MMX-string-operatio…
+ patches.kernel.org/5.10.11-122-x86-setup-don-t-remove-E820_TYPE_RAM-for-pfn…
+ patches.kernel.org/5.10.11-123-proc_sysctl-fix-oops-caused-by-incorrect-com…
+ patches.kernel.org/5.10.11-124-mm-memcg-slab-optimize-objcg-stock-draining.…
+ patches.kernel.org/5.10.11-125-mm-memcg-fix-memcg-file_dirty-numa-stat.patch
+ patches.kernel.org/5.10.11-126-mm-fix-numa-stats-for-thp-migration.patch
+ patches.kernel.org/5.10.11-127-io_uring-iopoll-requests-should-also-wake-ta…
+ patches.kernel.org/5.10.11-128-io_uring-fix-SQPOLL-IORING_OP_CLOSE-cancelat…
+ patches.kernel.org/5.10.11-129-io_uring-fix-short-read-retries-for-non-reg-…
+ patches.kernel.org/5.10.11-130-intel_th-pci-Add-Alder-Lake-P-support.patch
+ patches.kernel.org/5.10.11-131-stm-class-Fix-module-init-return-on-allocati…
+ patches.kernel.org/5.10.11-132-serial-mvebu-uart-fix-tx-lost-characters-at-…
+ patches.kernel.org/5.10.11-133-ehci-fix-EHCI-host-controller-initialization…
+ patches.kernel.org/5.10.11-134-USB-ehci-fix-an-interrupt-calltrace-error.pa…
+ patches.kernel.org/5.10.11-135-usb-gadget-aspeed-fix-stop-dma-register-sett…
+ patches.kernel.org/5.10.11-136-USB-gadget-dummy-hcd-Fix-errors-in-port-rese…
+ patches.kernel.org/5.10.11-137-usb-udc-core-Use-lock-when-write-to-soft_con…
+ patches.kernel.org/5.10.11-138-usb-bdc-Make-bdc-pci-driver-depend-on-BROKEN…
+ patches.kernel.org/5.10.11-139-usb-cdns3-imx-fix-writing-read-only-memory-i…
+ patches.kernel.org/5.10.11-140-usb-cdns3-imx-fix-can-t-create-core-device-t…
+ patches.kernel.org/5.10.11-141-xhci-make-sure-TRB-is-fully-written-before-g…
+ patches.kernel.org/5.10.11-142-xhci-tegra-Delay-for-disabling-LFPS-detector…
+ patches.kernel.org/5.10.11-143-drivers-core-Free-dma_range_map-when-driver-…
+ patches.kernel.org/5.10.11-144-driver-core-Fix-device-link-device-name-coll…
+ patches.kernel.org/5.10.11-145-driver-core-Extend-device_is_dependent.patch
+ patches.kernel.org/5.10.11-146-drm-i915-s-intel_dp_sink_dpms-intel_dp_set_p…
+ patches.kernel.org/5.10.11-147-drm-i915-Only-enable-DFP-4-4-4-4-2-0-convers…
+ patches.kernel.org/5.10.11-148-x86-entry-Fix-noinstr-fail.patch
+ patches.kernel.org/5.10.11-149-x86-cpu-amd-Set-__max_die_per_package-on-AMD…
+ patches.kernel.org/5.10.11-150-cls_flower-call-nla_ok-before-nla_next.patch
+ patches.kernel.org/5.10.11-151-netfilter-rpfilter-mask-ecn-bits-before-fib-…
+ patches.kernel.org/5.10.11-152-tools-gpio-fix-llu-warning-in-gpio-event-mon…
+ patches.kernel.org/5.10.11-153-tools-gpio-fix-llu-warning-in-gpio-watch.c.p…
+ patches.kernel.org/5.10.11-154-drm-i915-hdcp-Update-CP-property-in-update_p…
+ patches.kernel.org/5.10.11-155-sh-dma-fix-kconfig-dependency-for-G2_DMA.pat…
+ patches.kernel.org/5.10.11-156-sh-Remove-unused-HAVE_COPY_THREAD_TLS-macro.…
+ patches.kernel.org/5.10.11-157-locking-lockdep-Cure-noinstr-fail.patch
+ patches.kernel.org/5.10.11-158-ASoC-SOF-Intel-fix-page-fault-at-probe-if-i9…
+ patches.kernel.org/5.10.11-159-octeontx2-af-Fix-missing-check-bugs-in-rvu_c…
+ patches.kernel.org/5.10.11-160-net-dsa-mv88e6xxx-also-read-STU-state-in-mv8…
+ patches.kernel.org/5.10.11-161-selftests-powerpc-Fix-exit-status-of-pkey-te…
+ patches.kernel.org/5.10.11-162-sh_eth-Fix-power-down-vs.-is_opened-flag-ord…
+ patches.kernel.org/5.10.11-163-nvme-pci-refactor-nvme_unmap_data.patch
+ patches.kernel.org/5.10.11-164-nvme-pci-fix-error-unwind-in-nvme_map_data.p…
+ patches.kernel.org/5.10.11-165-cachefiles-Drop-superfluous-readpages-aops-N…
+ patches.kernel.org/5.10.11-166-lightnvm-fix-memory-leak-when-submit-fails.p…
+ patches.kernel.org/5.10.11-167-skbuff-back-tiny-skbs-with-kmalloc-in-__netd…
+ patches.kernel.org/5.10.11-168-kasan-fix-unaligned-address-is-unhandled-in-…
+ patches.kernel.org/5.10.11-169-kasan-fix-incorrect-arguments-passing-in-kas…
+ patches.kernel.org/5.10.11-170-tcp-fix-TCP-socket-rehash-stats-mis-accounti…
+ patches.kernel.org/5.10.11-171-net_sched-gen_estimator-support-large-ewma-l…
+ patches.kernel.org/5.10.11-172-udp-mask-TOS-bits-in-udp_v4_early_demux.patch
+ patches.kernel.org/5.10.11-173-ipv6-create-multicast-route-with-RTPROT_KERN…
+ patches.kernel.org/5.10.11-174-net_sched-avoid-shift-out-of-bounds-in-tcind…
+ patches.kernel.org/5.10.11-175-net_sched-reject-silly-cell_log-in-qdisc_get…
+ patches.kernel.org/5.10.11-176-ipv6-set-multicast-flag-on-the-multicast-rou…
+ patches.kernel.org/5.10.11-177-net-mscc-ocelot-allow-offloading-of-bridge-o…
+ patches.kernel.org/5.10.11-178-net-Disable-NETIF_F_HW_TLS_RX-when-RXCSUM-is…
+ patches.kernel.org/5.10.11-179-net-dsa-b53-fix-an-off-by-one-in-checking-vl…
+ patches.kernel.org/5.10.11-180-tcp-do-not-mess-with-cloned-skbs-in-tcp_add_…
+ patches.kernel.org/5.10.11-181-tcp-fix-TCP_USER_TIMEOUT-with-zero-window.pa…
+ patches.kernel.org/5.10.11-182-net-mscc-ocelot-Fix-multicast-to-the-CPU-por…
+ patches.kernel.org/5.10.11-183-net-core-devlink-use-right-genl-user_ptr-whe…
+ patches.kernel.org/5.10.11-184-pinctrl-qcom-Allow-SoCs-to-specify-a-GPIO-fu…
+ patches.kernel.org/5.10.11-185-pinctrl-qcom-No-need-to-read-modify-write-th…
+ patches.kernel.org/5.10.11-186-pinctrl-qcom-Properly-clear-intr_ack_high-in…
+ patches.kernel.org/5.10.11-187-pinctrl-qcom-Don-t-clear-pending-interrupts-…
+ patches.kernel.org/5.10.11-188-x86-sev-Fix-nonistr-violation.patch
+ patches.kernel.org/5.10.11-189-tty-implement-write_iter.patch
+ patches.kernel.org/5.10.11-190-tty-fix-up-hung_up_tty_write-conversion.patch
+ patches.kernel.org/5.10.11-191-net-systemport-free-dev-before-on-error-path…
+ patches.kernel.org/5.10.11-192-x86-sev-es-Handle-string-port-IO-to-kernel-m…
+ patches.kernel.org/5.10.11-193-tcp-Fix-potential-use-after-free-due-to-doub…
+ patches.kernel.org/5.10.11-194-ASoC-SOF-Intel-hda-Avoid-checking-jack-on-sy…
+ patches.kernel.org/5.10.11-195-drm-i915-hdcp-Get-conn-while-content_type-ch…
+ patches.kernel.org/5.10.11-196-bpf-Local-storage-helpers-should-check-nulln…
+ patches.kernel.org/5.10.11-197-kernfs-implement-read_iter.patch
+ patches.kernel.org/5.10.11-198-kernfs-implement-write_iter.patch
+ patches.kernel.org/5.10.11-199-kernfs-wire-up-splice_read-and-splice_write.…
+ patches.kernel.org/5.10.11-200-interconnect-imx8mq-Use-icc_sync_state.patch
+ patches.kernel.org/5.10.11-201-fs-pipe-allow-sendfile-to-pipe-again.patch
+ patches.kernel.org/5.10.11-202-Commit-9bb48c82aced-tty-implement-write_iter…
+ patches.kernel.org/5.10.11-203-mm-fix-initialization-of-struct-page-for-hol…
+ patches.kernel.org/5.10.11-204-Revert-mm-fix-initialization-of-struct-page-…
+ patches.kernel.org/5.10.11-205-Linux-5.10.11.patch
+ patches.kernel.org/5.10.12-001-gpio-mvebu-fix-pwm-.get_state-period-calcula…
+ patches.kernel.org/5.10.12-002-Revert-mm-slub-fix-a-memory-leak-in-sysfs_sl…
+ patches.kernel.org/5.10.12-003-futex-Ensure-the-correct-return-value-from-f…
+ patches.kernel.org/5.10.12-004-futex-Replace-pointless-printk-in-fixup_owne…
+ patches.kernel.org/5.10.12-005-futex-Provide-and-use-pi_state_update_owner.…
+ patches.kernel.org/5.10.12-006-rtmutex-Remove-unused-argument-from-rt_mutex…
+ patches.kernel.org/5.10.12-007-futex-Use-pi_state_update_owner-in-put_pi_st…
+ patches.kernel.org/5.10.12-008-futex-Simplify-fixup_pi_state_owner.patch
+ patches.kernel.org/5.10.12-009-futex-Handle-faults-correctly-for-PI-futexes…
+ patches.kernel.org/5.10.12-010-HID-wacom-Correct-NULL-dereference-on-AES-pe…
+ patches.kernel.org/5.10.12-011-HID-multitouch-Apply-MT_QUIRK_CONFIDENCE-qui…
+ patches.kernel.org/5.10.12-012-media-Revert-media-videobuf2-Fix-length-chec…
+ patches.kernel.org/5.10.12-013-media-v4l2-subdev.h-BIT-is-not-available-in-…
+ patches.kernel.org/5.10.12-014-RDMA-vmw_pvrdma-Fix-network_hdr_type-reporte…
+ patches.kernel.org/5.10.12-015-iwlwifi-dbg-Don-t-touch-the-tlv-data.patch
+ patches.kernel.org/5.10.12-016-kernel-io_uring-cancel-io_uring-before-task-…
+ patches.kernel.org/5.10.12-017-io_uring-inline-io_uring_attempt_task_drop.p…
+ patches.kernel.org/5.10.12-018-io_uring-add-warn_once-for-io_uring_flush.pa…
+ patches.kernel.org/5.10.12-019-io_uring-stop-SQPOLL-submit-on-creator-s-dea…
+ patches.kernel.org/5.10.12-020-io_uring-fix-null-deref-in-io_disable_sqo_su…
+ patches.kernel.org/5.10.12-021-io_uring-do-sqo-disable-on-install_fd-error.…
+ patches.kernel.org/5.10.12-022-io_uring-fix-false-positive-sqo-warning-on-f…
+ patches.kernel.org/5.10.12-023-io_uring-fix-uring_flush-in-exit_files-warni…
+ patches.kernel.org/5.10.12-024-io_uring-fix-skipping-disabling-sqo-on-exec.…
+ patches.kernel.org/5.10.12-025-io_uring-dont-kill-fasync-under-completion_l…
+ patches.kernel.org/5.10.12-026-io_uring-fix-sleeping-under-spin-in-__io_cle…
+ patches.kernel.org/5.10.12-027-objtool-Don-t-fail-on-missing-symbol-table.p…
+ patches.kernel.org/5.10.12-028-mm-page_alloc-add-a-missing-mm_page_alloc_zo…
+ patches.kernel.org/5.10.12-029-mm-fix-a-race-on-nr_swap_pages.patch
+ patches.kernel.org/5.10.12-030-tools-Factor-HOSTCC-HOSTLD-HOSTAR-definition…
+ patches.kernel.org/5.10.12-031-printk-fix-buffer-overflow-potential-for-pri…
+ patches.kernel.org/5.10.12-032-printk-fix-string-termination-for-record_pri…
+ patches.kernel.org/5.10.12-033-Linux-5.10.12.patch
########################################################
# Build fixes that apply to the vanilla kernel too.
@@ -1314,6 +1596,7 @@
# to area specific sections below.
########################################################
patches.suse/drm-docs-Fix-todo.rst.patch
+ patches.suse/ALSA-hda-via-Apply-the-workaround-generically-for-Cl.patch
########################################################
# kbuild/module infrastructure fixes
@@ -1378,7 +1661,6 @@
# other
patches.suse/pstore_disable_efi_backend_by_default.patch
- patches.suse/fs-cachefs-Drop-superfluous-readpages-aops-NULL-chec.patch
########################################################
# Block layer
@@ -1391,7 +1673,6 @@
# Networking core
########################################################
patches.suse/Revert-netfilter-conntrack-remove-helper-hook-again.patch
- patches.suse/iwlwifi-dbg-Don-t-touch-the-tlv-data.patch
########################################################
# Security
@@ -1424,12 +1705,14 @@
# DRM / Graphics
########################################################
patches.suse/drm-bail-out-of-nouveau_channel_new-if-channel-init-.patch
+ patches.suse/drm-gpu-nouveau-dispnv50-Restore-pushing-of-all-data.patch
########################################################
# Storage
########################################################
patches.suse/scsi-retry-alua-transition-in-progress
patches.suse/megaraid-mbox-fix-SG_IO
+ patches.suse/floppy-reintroduce-O_NDELAY-fix.patch
########################################################
# Networking drivers (wired)
@@ -1474,6 +1757,11 @@
patches.suse/0002-regulator-mt6358-Add-OF-match-table.patch
patches.suse/0003-regulator-mt6323-Add-OF-match-table.patch
+ patches.suse/media-dvb-usb-Fix-memory-leak-at-error-in-dvb_usb_de.patch
+ patches.suse/media-dvb-usb-Fix-use-after-free-access.patch
+
+ patches.suse/media-pwc-Fix-the-URB-buffer-allocation.patch
+
########################################################
# Debugging
########################################################
++++++ source-timestamp ++++++
--- /var/tmp/diff_new_pack.V7x1Lc/_old 2021-02-01 13:28:21.942118228 +0100
+++ /var/tmp/diff_new_pack.V7x1Lc/_new 2021-02-01 13:28:21.942118228 +0100
@@ -1,3 +1,3 @@
-2021-01-20 07:26:11 +0000
-GIT Revision: b7732a530a744bcaca615f4d4be29f3438754621
+2021-01-30 19:15:49 +0000
+GIT Revision: a3c888884a63d7ee7325a11835d55562f6785407
GIT Branch: stable
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package kmod for openSUSE:Factory checked in at 2021-02-01 13:26:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kmod (Old)
and /work/SRC/openSUSE:Factory/.kmod.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kmod"
Mon Feb 1 13:26:26 2021 rev:59 rq:868043 version:28
Changes:
--------
--- /work/SRC/openSUSE:Factory/kmod/kmod.changes 2021-01-18 11:30:40.644438563 +0100
+++ /work/SRC/openSUSE:Factory/.kmod.new.28504/kmod.changes 2021-02-01 13:28:04.178090590 +0100
@@ -1,0 +2,24 @@
+Fri Jan 29 11:54:30 UTC 2021 - Dominique Leuenberger <dimstar(a)opensuse.org>
+
+- Supplement bash-completion subpackage against the main package
+ and bash-completion.
+- Also require the main package plus bash-completion: the
+ completion package is useless without either of the two.
+
+-------------------------------------------------------------------
+Thu Jan 28 12:05:17 UTC 2021 - Michal Suchanek <msuchanek(a)suse.com>
+
+- Update to v28
+ * Add Zstandard to the supported compression formats using libzstd
+ (tests only - cannot be disabled in tests)
+ * Ignore ill-formed kernel command line, e.g. with "ivrs_acpihid[00:14.5]=AMD0020:0"
+ option in it
+ * Fix some memory leaks
+ * Fix 0-length builtin.alias.bin: it needs at least the index header
+
+-------------------------------------------------------------------
+Thu Jan 28 11:03:09 UTC 2021 - Petr Vorel <pvorel(a)suse.cz>
+
+- Backport upstream fix 0001-Fix-modinfo-F-always-shows-name-for-built-ins.patch
+
+-------------------------------------------------------------------
Old:
----
kmod-27.tar.sign
kmod-27.tar.xz
New:
----
0001-Fix-modinfo-F-always-shows-name-for-built-ins.patch
kmod-28.tar.sign
kmod-28.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kmod-testsuite.spec ++++++
--- /var/tmp/diff_new_pack.3g3y3b/_old 2021-02-01 13:28:04.806091567 +0100
+++ /var/tmp/diff_new_pack.3g3y3b/_new 2021-02-01 13:28:04.806091567 +0100
@@ -18,7 +18,7 @@
Name: kmod-testsuite
%define lname libkmod2
-Version: 27
+Version: 28
Release: 0
Summary: Testsuite of the kmod package
License: LGPL-2.1-or-later AND GPL-2.0-or-later
@@ -37,6 +37,7 @@
Patch6: 0012-modprobe-print-unsupported-status.patch
Patch7: usr-lib-modprobe.patch
Patch8: no-stylesheet-download.patch
+Patch9: 0001-Fix-modinfo-F-always-shows-name-for-built-ins.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: docbook5-xsl-stylesheets
@@ -46,7 +47,9 @@
BuildRequires: libxslt-tools
BuildRequires: pkgconfig >= 0.21
BuildRequires: xz
+BuildRequires: zstd
BuildRequires: pkgconfig(liblzma) >= 4.99
+BuildRequires: pkgconfig(libzstd) >= 1.4.4
BuildRequires: pkgconfig(zlib)
Requires: suse-module-tools
%if !0%{?is_opensuse}
@@ -71,6 +74,7 @@
%configure \
--with-xz \
--with-zlib \
+ --with-zstd \
--with-openssl \
--includedir="%_includedir/kmod" \
--with-rootlibdir="%_libdir" \
++++++ kmod.spec ++++++
--- /var/tmp/diff_new_pack.3g3y3b/_old 2021-02-01 13:28:04.826091598 +0100
+++ /var/tmp/diff_new_pack.3g3y3b/_new 2021-02-01 13:28:04.830091605 +0100
@@ -18,7 +18,7 @@
Name: kmod
%define lname libkmod2
-Version: 27
+Version: 28
Release: 0
Summary: Utilities to load modules into the kernel
License: LGPL-2.1-or-later AND GPL-2.0-or-later
@@ -37,6 +37,7 @@
Patch6: 0012-modprobe-print-unsupported-status.patch
Patch7: usr-lib-modprobe.patch
Patch8: no-stylesheet-download.patch
+Patch9: 0001-Fix-modinfo-F-always-shows-name-for-built-ins.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: docbook5-xsl-stylesheets
@@ -69,6 +70,9 @@
License: LGPL-2.1-or-later AND GPL-2.0-or-later
Group: System/Shells
BuildArch: noarch
+Requires: %{name}
+Requires: bash-completion
+Supplements: (%{name} and bash-completion)
%description bash-completion
Contains bash completion support for kmod utilities.
++++++ 0001-Fix-modinfo-F-always-shows-name-for-built-ins.patch ++++++
From fa67110f896cdef67f42cbc2206ae2a8524acee6 Mon Sep 17 00:00:00 2001
From: Marco d'Itri <md(a)linux.it>
Date: Thu, 7 Jan 2021 20:17:48 -0800
Subject: [PATCH] Fix "modinfo -F always shows name for built-ins"
Bug reported by Ben Hutchings <ben(a)decadent.org.uk>:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=970871
Now that the kernel provides module information for potentially
modular code that's actually built-in, it's possible to query these
built-ins with "modinfo -F". However, this doesn't work quite right:
$ modinfo -Flicense e1000e
GPL v2
$ modinfo -Flicense bitrev
name: bitrev
GPL
---
tools/modinfo.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Index: kmod-27/tools/modinfo.c
===================================================================
--- kmod-27.orig/tools/modinfo.c
+++ kmod-27/tools/modinfo.c
@@ -178,7 +178,11 @@ static int modinfo_do(struct kmod_module
is_builtin = (filename == NULL);
if (is_builtin) {
- printf("%-16s%s%c", "name:", kmod_module_get_name(mod), separator);
+ if (field == NULL)
+ printf("%-16s%s%c", "name:",
+ kmod_module_get_name(mod), separator);
+ else if (field != NULL && streq(field, "name"))
+ printf("%s%c", kmod_module_get_name(mod), separator);
filename = "(builtin)";
}
++++++ 0010-modprobe-Implement-allow-unsupported-modules.patch ++++++
--- /var/tmp/diff_new_pack.3g3y3b/_old 2021-02-01 13:28:04.862091654 +0100
+++ /var/tmp/diff_new_pack.3g3y3b/_new 2021-02-01 13:28:04.862091654 +0100
@@ -14,12 +14,11 @@
create mode 100644 libkmod/libkmod-unsupported.c
create mode 100644 libkmod/libkmod-unsupported.h
-Index: kmod-27/Makefile.am
-===================================================================
---- kmod-27.orig/Makefile.am
-+++ kmod-27/Makefile.am
-@@ -93,7 +93,9 @@ libkmod_libkmod_la_LIBADD = \
- ${liblzma_LIBS} ${zlib_LIBS} ${libcrypto_LIBS}
+diff -u kmod-28.orig/Makefile.am kmod-28/Makefile.am
+--- kmod-28.orig/Makefile.am 2021-01-07 19:29:12.972438665 +0100
++++ kmod-28/Makefile.am 2021-01-28 12:59:16.613421834 +0100
+@@ -108,7 +108,9 @@
+ ${libzstd_LIBS} ${liblzma_LIBS} ${zlib_LIBS} ${libcrypto_LIBS}
noinst_LTLIBRARIES += libkmod/libkmod-internal.la
-libkmod_libkmod_internal_la_SOURCES = $(libkmod_libkmod_la_SOURCES)
++++++ kmod-27.tar.xz -> kmod-28.tar.xz ++++++
++++ 3941 lines of diff (skipped)
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package libreoffice for openSUSE:Factory checked in at 2021-02-01 13:26:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libreoffice (Old)
and /work/SRC/openSUSE:Factory/.libreoffice.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libreoffice"
Mon Feb 1 13:26:03 2021 rev:221 rq:867658 version:7.0.4.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/libreoffice/libreoffice.changes 2021-01-27 18:56:16.972252172 +0100
+++ /work/SRC/openSUSE:Factory/.libreoffice.new.28504/libreoffice.changes 2021-02-01 13:27:58.558081846 +0100
@@ -0,0 +1,15 @@
+-------------------------------------------------------------------
+Thu Jan 28 21:17:13 UTC 2021 - Andras Timar <andras.timar(a)collabora.com>
+
+- Fix bsc#1177955 - LO-L3: SmartArt: text wrongly aligned, background boxes not quite right,...
+ * bsc1177955.diff
+
+-------------------------------------------------------------------
+Sat Jan 23 22:55:19 UTC 2021 - Andras Timar <andras.timar(a)collabora.com>
+
+- Update to 7.0.4
+ * .4 bugfix release of 7.0 series
+- Removed patch:
+ * icu68.patch
+ + integrated upstream
+
Old:
----
icu68.patch
libreoffice-7.0.3.1.tar.xz
libreoffice-7.0.3.1.tar.xz.asc
libreoffice-help-7.0.3.1.tar.xz
libreoffice-help-7.0.3.1.tar.xz.asc
libreoffice-translations-7.0.3.1.tar.xz
libreoffice-translations-7.0.3.1.tar.xz.asc
pdfium-4137.tar.bz2
New:
----
bsc1177955.diff
libreoffice-7.0.4.2.tar.xz
libreoffice-7.0.4.2.tar.xz.asc
libreoffice-help-7.0.4.2.tar.xz
libreoffice-help-7.0.4.2.tar.xz.asc
libreoffice-translations-7.0.4.2.tar.xz
libreoffice-translations-7.0.4.2.tar.xz.asc
pdfium-4306.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libreoffice.spec ++++++
--- /var/tmp/diff_new_pack.wHMMkI/_old 2021-02-01 13:28:03.230089115 +0100
+++ /var/tmp/diff_new_pack.wHMMkI/_new 2021-02-01 13:28:03.230089115 +0100
@@ -46,7 +46,7 @@
%bcond_with system_gpgme
%endif
Name: libreoffice
-Version: 7.0.3.1
+Version: 7.0.4.2
Release: 0
Summary: A Free Office Suite (Framework)
License: LGPL-3.0-or-later AND MPL-2.0+
@@ -87,7 +87,7 @@
Source2006: https://dev-www.libreoffice.org/extern/8249374c274932a21846fa7629c2aa9b-off…
Source2007: https://dev-www.libreoffice.org/extern/odfvalidator-0.9.0-RC2-SNAPSHOT-jar-…
# PDFium is bundled everywhere
-Source2008: %{external_url}/pdfium-4137.tar.bz2
+Source2008: %{external_url}/pdfium-4306.tar.bz2
# Single C file with patches from LO
Source2009: %{external_url}/dtoa-20180411.tgz
# Skia is part of chromium and bundled everywhere as by google only way is monorepo way
@@ -103,12 +103,12 @@
# LO-L3: Shadow effect(s) for table completely missing - part 1 and 2
Patch5: bsc1178944.diff
Patch6: bsc1178943.diff
-# Fix build with ICU 68
-Patch7: icu68.patch
# Bug 1178807 - LO-L3: Text box from PowerPoint renders vertically instead of horizontally
Patch8: bsc1178807.diff
# Bug 1179025 - LO-L3: LibreOffice crashes opening a PPTX
Patch9: bsc1179025.diff
+# Bug 1177955 - LO-L3: SmartArt: text wrongly aligned, background boxes not quite right,...
+Patch10: bsc1177955.diff
# try to save space by using hardlinks
Patch990: install-with-hardlinks.diff
# save time by relying on rpm check rather than doing stupid find+grep
@@ -969,9 +969,9 @@
%patch4 -p1
%patch5 -p1
%patch6 -p1
-%patch7 -p1
%patch8 -p1
%patch9 -p1
+%patch10 -p1
%patch990 -p1
%patch991 -p1
++++++ bsc1177955.diff ++++++
From e80fb99133a8edf4c0b03319c7296889b0e52d54 Mon Sep 17 00:00:00 2001
From: Miklos Vajna <vmiklos(a)collabora.com>
Date: Wed, 20 Jan 2021 11:15:34 +0100
Subject: [PATCH] bsc1177955.diff
This is a combination of 2 commits.
This is the 1st commit message:
loplugin:flatten
(cherry picked from commit 2d582244680e7f6dec6e4a466e276f93ccb01dc9)
This is the commit message #2:
oox smartart: composite algo: handle right constraint when left+width is given
The bugdoc had this constraint:
<dgm:constr type="l" for="ch" forName="text" refType="r" refFor="ch" refForName="img"/>
While img has no "r", it has:
<dgm:constr type="w" for="ch" forName="img" refType="w" refFor="ch" refForName="box" fact="0.2"/>
<dgm:constr type="l" for="ch" forName="img" refType="h" refFor="ch" refForName="box" fact="0.1"/>
Which is enough to fix the x position of the text to not overlap with
img.
(cherry picked from commit 1359e8c566970fcef860f7ba7f54a07d8e6e0513)
Change-Id: I80db290bd1695884ffb7b1eabaffa09462e8883d
---
.../drawingml/diagram/diagramlayoutatoms.cxx | 78 ++++++++++++++-----
1 file changed, 60 insertions(+), 18 deletions(-)
diff --git a/oox/source/drawingml/diagram/diagramlayoutatoms.cxx b/oox/source/drawingml/diagram/diagramlayoutatoms.cxx
index 24acaf176491..3492ccefaa1a 100644
--- a/oox/source/drawingml/diagram/diagramlayoutatoms.cxx
+++ b/oox/source/drawingml/diagram/diagramlayoutatoms.cxx
@@ -452,6 +452,37 @@ sal_Int32 AlgAtom::getVerticalShapesCount(const ShapePtr& rShape)
namespace
{
+/**
+ * Decides if a certain reference type (e.g. "right") can be inferred from the available properties
+ * in rMap (e.g. left and width). Returns true if rValue is written to.
+ */
+bool InferFromLayoutProperty(const LayoutProperty& rMap, sal_Int32 nRefType, sal_Int32& rValue)
+{
+ switch (nRefType)
+ {
+ case XML_r:
+ {
+ auto it = rMap.find(XML_l);
+ if (it == rMap.end())
+ {
+ return false;
+ }
+ sal_Int32 nLeft = it->second;
+ it = rMap.find(XML_w);
+ if (it == rMap.end())
+ {
+ return false;
+ }
+ rValue = nLeft + it->second;
+ return true;
+ }
+ default:
+ break;
+ }
+
+ return false;
+}
+
/**
* Apply rConstraint to the rProperties shared layout state.
*
@@ -468,26 +499,37 @@ void ApplyConstraintToLayout(const Constraint& rConstraint, LayoutPropertyMap& r
}
const LayoutPropertyMap::const_iterator aRef = rProperties.find(rConstraint.msRefForName);
- if (aRef != rProperties.end())
+ if (aRef == rProperties.end())
+ return;
+
+ const LayoutProperty::const_iterator aRefType = aRef->second.find(rConstraint.mnRefType);
+ sal_Int32 nInferredValue = 0;
+ if (aRefType != aRef->second.end())
+ {
+ // Reference is found directly.
+ rProperties[rConstraint.msForName][rConstraint.mnType]
+ = aRefType->second * rConstraint.mfFactor;
+ }
+ else if (InferFromLayoutProperty(aRef->second, rConstraint.mnRefType, nInferredValue))
+ {
+ // Reference can be inferred.
+ rProperties[rConstraint.msForName][rConstraint.mnType]
+ = nInferredValue * rConstraint.mfFactor;
+ }
+ else
{
- const LayoutProperty::const_iterator aRefType = aRef->second.find(rConstraint.mnRefType);
- if (aRefType != aRef->second.end())
- rProperties[rConstraint.msForName][rConstraint.mnType]
- = aRefType->second * rConstraint.mfFactor;
+ // Reference not found, assume a fixed value.
+ // Values are never in EMU, while oox::drawingml::Shape position and size are always in
+ // EMU.
+ double fUnitFactor = 0;
+ if (isFontUnit(rConstraint.mnRefType))
+ // Points -> EMU.
+ fUnitFactor = EMU_PER_PT;
else
- {
- // Values are never in EMU, while oox::drawingml::Shape position and size are always in
- // EMU.
- double fUnitFactor = 0;
- if (isFontUnit(rConstraint.mnRefType))
- // Points -> EMU.
- fUnitFactor = EMU_PER_PT;
- else
- // Millimeters -> EMU.
- fUnitFactor = EMU_PER_HMM * 100;
- rProperties[rConstraint.msForName][rConstraint.mnType]
- = rConstraint.mfValue * fUnitFactor;
- }
+ // Millimeters -> EMU.
+ fUnitFactor = EMU_PER_HMM * 100;
+ rProperties[rConstraint.msForName][rConstraint.mnType]
+ = rConstraint.mfValue * fUnitFactor;
}
}
--
2.26.2
++++++ libreoffice-7.0.3.1.tar.xz -> libreoffice-7.0.4.2.tar.xz ++++++
/work/SRC/openSUSE:Factory/libreoffice/libreoffice-7.0.3.1.tar.xz /work/SRC/openSUSE:Factory/.libreoffice.new.28504/libreoffice-7.0.4.2.tar.xz differ: char 25, line 1
++++++ libreoffice-help-7.0.3.1.tar.xz -> libreoffice-help-7.0.4.2.tar.xz ++++++
/work/SRC/openSUSE:Factory/libreoffice/libreoffice-help-7.0.3.1.tar.xz /work/SRC/openSUSE:Factory/.libreoffice.new.28504/libreoffice-help-7.0.4.2.tar.xz differ: char 26, line 1
++++++ libreoffice-translations-7.0.3.1.tar.xz -> libreoffice-translations-7.0.4.2.tar.xz ++++++
/work/SRC/openSUSE:Factory/libreoffice/libreoffice-translations-7.0.3.1.tar.xz /work/SRC/openSUSE:Factory/.libreoffice.new.28504/libreoffice-translations-7.0.4.2.tar.xz differ: char 25, line 1
++++++ pdfium-4137.tar.bz2 -> pdfium-4306.tar.bz2 ++++++
/work/SRC/openSUSE:Factory/libreoffice/pdfium-4137.tar.bz2 /work/SRC/openSUSE:Factory/.libreoffice.new.28504/pdfium-4306.tar.bz2 differ: char 11, line 1
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package gimp for openSUSE:Factory checked in at 2021-02-01 13:26:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gimp (Old)
and /work/SRC/openSUSE:Factory/.gimp.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gimp"
Mon Feb 1 13:26:02 2021 rev:124 rq:867528 version:2.10.22
Changes:
--------
--- /work/SRC/openSUSE:Factory/gimp/gimp.changes 2021-01-08 17:34:20.109128782 +0100
+++ /work/SRC/openSUSE:Factory/.gimp.new.28504/gimp.changes 2021-02-01 13:26:10.557913816 +0100
@@ -1,0 +2,8 @@
+Mon Jan 25 08:33:24 UTC 2021 - Stefan Br��ns <stefan.bruens(a)rwth-aachen.de>
+
+- Make graphviz/dot only required for runtime debugging an
+ optional dependency, fixes bsc#1180614:
+ * 0001-app-make-gegl-introspect-an-optional-operation-depen.patch
+- Cleanup spec file, remove Leap 42.x parts
+
+-------------------------------------------------------------------
New:
----
0001-app-make-gegl-introspect-an-optional-operation-depen.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gimp.spec ++++++
--- /var/tmp/diff_new_pack.qWiLqe/_old 2021-02-01 13:26:11.317914999 +0100
+++ /var/tmp/diff_new_pack.qWiLqe/_new 2021-02-01 13:26:11.321915005 +0100
@@ -1,7 +1,7 @@
#
# spec file for package gimp
#
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -44,17 +44,14 @@
Source99: baselibs.conf
# PATCH-FIX-UPSTREAM git diff GIMP_2_10_22..gimp-2-10 -- plug-ins/common/file-heif.c > libheif-avif-only.patch mrueckert(a)suse.de -- only offer the fileformats that our current libheif actually supports
Patch: libheif-avif-only.patch
+# PATCH-FIX-UPSTREAM Make graphviz/dot dependency optional -- https://github.com/GNOME/gimp/commit/2cae9b9acf9da98c4c9990819ffbd5aabe2301…
+Patch1: 0001-app-make-gegl-introspect-an-optional-operation-depen.patch
BuildRequires: aalib-devel
BuildRequires: alsa-devel >= 1.0.0
BuildRequires: fdupes
BuildRequires: fontconfig-devel >= 2.12.4
-%if 0%{?suse_version} < 1500
-BuildRequires: gcc7
-BuildRequires: gcc7-c++
-%else
BuildRequires: gcc-c++
-%endif
BuildRequires: gdk-pixbuf-loader-rsvg
# For some odd reason build needs gegl executable.
BuildRequires: gegl
@@ -221,6 +218,7 @@
%prep
%setup -q
%patch -p1
+%patch1 -p1
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
@@ -246,10 +244,6 @@
fi
%build
-%if 0%{?suse_version} < 1500
-test -x "$(type -p %{_bindir}/gcc-7)" && export CC="%{_bindir}/gcc-7"
-test -x "$(type -p %{_bindir}/g++-7)" && export CXX="%{_bindir}/g++-7"
-%endif
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export CFLAGS="%{optflags} -fno-strict-aliasing"
@@ -257,17 +251,15 @@
%configure \
--disable-silent-rules \
--disable-static\
-%if 0%{?suse_version} >= 1330
--without-webkit\
--with-lcms=lcms2\
-%endif
%{!?with_python_plugin:--disable-python} \
--libexecdir=%{_libexecdir}\
--enable-default-binary\
--disable-check-update\
--enable-mp
-make %{?_smp_mflags}
+%make_build
%install
%make_install
@@ -300,18 +292,6 @@
%fdupes %{buildroot}%{_libdir}/gimp/2.0/python/
%fdupes %{buildroot}%{_datadir}/gimp/2.0/
-%if 0%{?suse_version} < 1500
-%post
-%desktop_database_post
-%icon_theme_cache_post
-%endif
-
-%if 0%{?suse_version} < 1500
-%postun
-%desktop_database_postun
-%icon_theme_cache_postun
-%endif
-
%post -n libgimp-2_0-0 -p /sbin/ldconfig
%postun -n libgimp-2_0-0 -p /sbin/ldconfig
%post -n libgimpui-2_0-0 -p /sbin/ldconfig
++++++ 0001-app-make-gegl-introspect-an-optional-operation-depen.patch ++++++
From aa135ac1f814bf6197b2951ec0796547907a08ed Mon Sep 17 00:00:00 2001
From: Jehan <jehan(a)girinstud.io>
Date: Mon, 14 Dec 2020 19:53:38 +0100
Subject: [PATCH] app: make "gegl:introspect" an optional operation dependency.
Check at runtime for the operation availability and set the "Show Image
Graph" action active depending on this check.
This goes with discussions to make this operation optional with a
runtime check for the tool `dot`.
See: https://gitlab.gnome.org/GNOME/gegl/-/merge_requests/84
---
app/actions/debug-actions.c | 6 ++++++
app/sanity.c | 1 -
2 files changed, 6 insertions(+), 1 deletion(-)
diff --git a/app/actions/debug-actions.c b/app/actions/debug-actions.c
index 98a2f07..70ceb0d 100644
--- a/app/actions/debug-actions.c
+++ b/app/actions/debug-actions.c
@@ -98,4 +98,10 @@ void
debug_actions_update (GimpActionGroup *group,
gpointer data)
{
+#define SET_SENSITIVE(action,condition) \
+ gimp_action_group_set_action_sensitive (group, action, (condition) != 0)
+
+ SET_SENSITIVE ("debug-show-image-graph", gegl_has_operation ("gegl:introspect"));
+
+#undef SET_SENSITIVE
}
diff --git a/app/sanity.c b/app/sanity.c
index 0ad044a..81120bb 100644
--- a/app/sanity.c
+++ b/app/sanity.c
@@ -650,7 +650,6 @@ sanity_check_gegl_ops (void)
"gegl:hue-chroma",
"gegl:illusion",
"gegl:image-gradient",
- "gegl:introspect",
"gegl:invert-gamma",
"gegl:invert-linear",
"gegl:lens-blur",
--
2.30.0
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sqlparse for openSUSE:Factory checked in at 2021-02-01 13:26:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sqlparse (Old)
and /work/SRC/openSUSE:Factory/.python-sqlparse.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sqlparse"
Mon Feb 1 13:26:00 2021 rev:12 rq:867445 version:0.4.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sqlparse/python-sqlparse.changes 2020-11-29 12:19:02.621432669 +0100
+++ /work/SRC/openSUSE:Factory/.python-sqlparse.new.28504/python-sqlparse.changes 2021-02-01 13:26:09.585912304 +0100
@@ -1,0 +2,6 @@
+Thu Jan 28 08:27:49 UTC 2021 - Antonio Larrosa <alarrosa(a)suse.com>
+
+- Disable building a python2 flavor so we can build the package
+ for Leap/SLE.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sqlparse.spec ++++++
--- /var/tmp/diff_new_pack.3WYQ55/_old 2021-02-01 13:26:10.093913094 +0100
+++ /var/tmp/diff_new_pack.3WYQ55/_new 2021-02-01 13:26:10.097913101 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-sqlparse
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,6 +17,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
Name: python-sqlparse
Version: 0.4.1
Release: 0
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package ovmf for openSUSE:Factory checked in at 2021-02-01 13:25:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ovmf (Old)
and /work/SRC/openSUSE:Factory/.ovmf.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ovmf"
Mon Feb 1 13:25:58 2021 rev:57 rq:867412 version:202011
Changes:
--------
--- /work/SRC/openSUSE:Factory/ovmf/ovmf.changes 2021-01-18 11:26:14.380401789 +0100
+++ /work/SRC/openSUSE:Factory/.ovmf.new.28504/ovmf.changes 2021-02-01 13:26:07.917909709 +0100
@@ -1,0 +2,13 @@
+Thu Jan 28 07:56:37 UTC 2021 - Gary Ching-Pang Lin <glin(a)suse.com>
+
+- Add ovmf-jscSLE-16075-SEV-ES-use-physical-address.patch as the
+ follow-up patch for SEV-ES to fix the flash writing
+ (jsc#SLE-16075)
+- Update 50-xen-hvm-x86_64.json to add "nvram-template" and change
+ the firmware file to ovmf-x86_64-ms-4m.bin
+ (bsc#1180050, bsc#1181264)
+- Refresh ovmf-bsc1180079-amd-sev-es-mitigation.patch
+ + Use "git format-patch --no-renames" to generate the patch to
+ avoid confusing quilt with the renamed files
+
+-------------------------------------------------------------------
New:
----
ovmf-jscSLE-16075-SEV-ES-use-physical-address.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ovmf.spec ++++++
--- /var/tmp/diff_new_pack.HXFsOl/_old 2021-02-01 13:26:09.185911682 +0100
+++ /var/tmp/diff_new_pack.HXFsOl/_new 2021-02-01 13:26:09.189911688 +0100
@@ -53,6 +53,7 @@
Patch4: %{name}-disable-ia32-firmware-piepic.patch
Patch5: %{name}-set-fixed-enroll-time.patch
Patch6: %{name}-bsc1180079-amd-sev-es-mitigation.patch
+Patch7: %{name}-jscSLE-16075-SEV-ES-use-physical-address.patch
BuildRequires: bc
BuildRequires: cross-arm-binutils
BuildRequires: cross-arm-gcc%{gcc_version}
@@ -170,6 +171,7 @@
%patch4 -p1
%patch5 -p1
%patch6 -p1
+%patch7 -p1
# add openssl
pushd CryptoPkg/Library/OpensslLib/openssl
++++++ descriptors.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/descriptors/50-xen-hvm-x86_64.json new/descriptors/50-xen-hvm-x86_64.json
--- old/descriptors/50-xen-hvm-x86_64.json 2021-01-11 09:49:32.705887365 +0100
+++ new/descriptors/50-xen-hvm-x86_64.json 2021-01-28 08:48:20.032736806 +0100
@@ -6,7 +6,11 @@
"mapping": {
"device": "flash",
"executable": {
- "filename": "@DATADIR@/ovmf-x86_64-4m.bin",
+ "filename": "@DATADIR@/ovmf-x86_64-ms-4m.bin",
+ "format": "raw"
+ },
+ "nvram-template": {
+ "filename": "@DATADIR@/ovmf-x86_64-ms-4m-vars.bin",
"format": "raw"
}
},
++++++ ovmf-bsc1180079-amd-sev-es-mitigation.patch ++++++
++++ 2520 lines (skipped)
++++ between /work/SRC/openSUSE:Factory/ovmf/ovmf-bsc1180079-amd-sev-es-mitigation.patch
++++ and /work/SRC/openSUSE:Factory/.ovmf.new.28504/ovmf-bsc1180079-amd-sev-es-mitigation.patch
++++++ ovmf-jscSLE-16075-SEV-ES-use-physical-address.patch ++++++
From 3d750c55d1f11ed9cef88698c7caff7495d1450f Mon Sep 17 00:00:00 2001
From: Tom Lendacky <thomas.lendacky(a)amd.com>
Date: Sat, 23 Jan 2021 07:57:44 -0600
Subject: [PATCH 1/1] OvmfPkg/QemuFlashFvbServicesRuntimeDxe: Use physical
address with SEV-ES
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3183
Under SEV-ES, a write to the flash device is done using a direct VMGEXIT
to perform an MMIO write. The address provided to the MMIO write must be
the physical address of the MMIO write destitnation. During boot, OVMF
runs with an identity mapped pagetable structure so that VA == PA and the
VMGEXIT MMIO write destination is just the virtual address of the flash
area address being written.
However, when the UEFI SetVirtualAddressMap() API is invoked, an identity
mapped pagetable structure may not be in place and using the virtual
address for the flash area address is no longer valid. This results in
writes to the flash not being performed successfully. This can be seen
by attempting to change the boot order under Linux. The update will
appear to be performed, based on the output of the command. But rebooting
the guest will show that the new boot order has not been set.
To remedy this, save the value of the flash base physical address before
converting the address as part of SetVirtualAddressMap(). The physical
address can then be calculated by obtaining the offset of the MMIO target
virtual address relative to the flash base virtual address and adding that
to the original flash base physical address. The resulting value produces
a successful MMIO write during runtime services.
Fixes: 437eb3f7a8db7681afe0e6064d3a8edb12abb766
Cc: Jordan Justen <jordan.l.justen(a)intel.com>
Cc: Laszlo Ersek <lersek(a)redhat.com>
Cc: Ard Biesheuvel <ardb+tianocore(a)kernel.org>
Signed-off-by: Tom Lendacky <thomas.lendacky(a)amd.com>
Message-Id: <84a5f9161541db5aa3b57c96b737afbcb4b6189d.1611410263.git.thomas.lendacky(a)amd.com>
[lersek(a)redhat.com: SetVitualAddressMap() -> SetVirtualAddressMap() typo
fix, in both the commit message and the code comment]
Reviewed-by: Laszlo Ersek <lersek(a)redhat.com>
(cherry picked from commit 3a3501862f73095059bb05cc28147c8e899488f2)
---
.../QemuFlashDxe.c | 20 ++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/QemuFlashDxe.c b/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/QemuFlashDxe.c
index 1b0742967f71..63daa0b55b49 100644
--- a/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/QemuFlashDxe.c
+++ b/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/QemuFlashDxe.c
@@ -16,11 +16,17 @@
#include "QemuFlash.h"
+STATIC EFI_PHYSICAL_ADDRESS mSevEsFlashPhysBase;
+
VOID
QemuFlashConvertPointers (
VOID
)
{
+ if (MemEncryptSevEsIsEnabled ()) {
+ mSevEsFlashPhysBase = (UINTN) mFlashBase;
+ }
+
EfiConvertPointer (0x0, (VOID **) &mFlashBase);
}
@@ -52,11 +58,23 @@ QemuFlashPtrWrite (
if (MemEncryptSevEsIsEnabled ()) {
MSR_SEV_ES_GHCB_REGISTER Msr;
GHCB *Ghcb;
+ EFI_PHYSICAL_ADDRESS PhysAddr;
BOOLEAN InterruptState;
Msr.GhcbPhysicalAddress = AsmReadMsr64 (MSR_SEV_ES_GHCB);
Ghcb = Msr.Ghcb;
+ //
+ // The MMIO write needs to be to the physical address of the flash pointer.
+ // Since this service is available as part of the EFI runtime services,
+ // account for a non-identity mapped VA after SetVirtualAddressMap().
+ //
+ if (mSevEsFlashPhysBase == 0) {
+ PhysAddr = (UINTN) Ptr;
+ } else {
+ PhysAddr = mSevEsFlashPhysBase + (Ptr - mFlashBase);
+ }
+
//
// Writing to flash is emulated by the hypervisor through the use of write
// protection. This won't work for an SEV-ES guest because the write won't
@@ -68,7 +86,7 @@ QemuFlashPtrWrite (
Ghcb->SharedBuffer[0] = Value;
Ghcb->SaveArea.SwScratch = (UINT64) (UINTN) Ghcb->SharedBuffer;
VmgSetOffsetValid (Ghcb, GhcbSwScratch);
- VmgExit (Ghcb, SVM_EXIT_MMIO_WRITE, (UINT64) (UINTN) Ptr, 1);
+ VmgExit (Ghcb, SVM_EXIT_MMIO_WRITE, PhysAddr, 1);
VmgDone (Ghcb, InterruptState);
} else {
*Ptr = Value;
--
2.29.2
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package tpm2-0-tss for openSUSE:Factory checked in at 2021-02-01 13:25:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/tpm2-0-tss (Old)
and /work/SRC/openSUSE:Factory/.tpm2-0-tss.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tpm2-0-tss"
Mon Feb 1 13:25:56 2021 rev:25 rq:867410 version:3.0.3
Changes:
--------
--- /work/SRC/openSUSE:Factory/tpm2-0-tss/tpm2-0-tss.changes 2020-10-28 09:58:47.723162099 +0100
+++ /work/SRC/openSUSE:Factory/.tpm2-0-tss.new.28504/tpm2-0-tss.changes 2021-02-01 13:26:06.133906933 +0100
@@ -1,0 +2,25 @@
+Thu Jan 28 09:18:58 UTC 2021 - Matthias Gerstner <matthias.gerstner(a)suse.com>
+
+- update to 3.0.3:
+ - changes in 3.0.3:
+ * Fix Regression in Fapi_List
+ * Fix memory leak in policy calculation
+ - changes in 3.0.2:
+ * FAPI: Fix setting of the system flag of NV objects
+ * This will let NV object metadata be created system-wide always instead of
+ * locally in the user. Existing metadata will remain in the user directory.
+ * It can be moved to the corresponding systemstore manually if needed.
+ * FAPI: Fix policy searching, when a policyRef was provided
+ * FAPI: Accept EK-Certs without CRL dist point
+ * FAPI: Fix return codes of Fapi_List
+ * FAPI: Fix memleak in policy execution
+ * FAPI: Fix coverity NULL-pointer check
+ * FAPI: Set the written flag of NV objects in FAPI PolicyNV commands
+ * FAPI: Fix deleting of policy files.
+ * FAPI: Fix wrong file loading during object search.
+ * Fapi: Fix memory leak
+ * Fapi: Fix potential NULL-Dereference
+ * Fapi: Remove superfluous NULL check
+ * Fix a memory leak in async keystore load.
+
+-------------------------------------------------------------------
Old:
----
tpm2-tss-3.0.1.tar.gz
New:
----
tpm2-tss-3.0.3.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ tpm2-0-tss.spec ++++++
--- /var/tmp/diff_new_pack.7KMblM/_old 2021-02-01 13:26:07.253908676 +0100
+++ /var/tmp/diff_new_pack.7KMblM/_new 2021-02-01 13:26:07.257908682 +0100
@@ -1,7 +1,7 @@
#
# spec file for package tpm2-0-tss
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: tpm2-0-tss
-Version: 3.0.1
+Version: 3.0.3
Release: 0
Summary: Intel's TCG Software Stack access libraries for TPM 2.0 chips
License: BSD-2-Clause
@@ -268,12 +268,12 @@
%{_tmpfilesdir}/tpm2-tss-fapi.conf
# this would fix "tmpfile-not-in-filelist" warnings but when adding these
# entries then it complains about "directories not owned by a package:" for
-# /run/tpm2-0-tss & friends. When adding them as %ghost, too, then Leap15.1
+# /run/tpm2-0-tss & friends. When adding them as %%ghost, too, then Leap15.1
# complains about "found conflict of libtss2-fapi1-3.0.1-lp152.103.1.x86_64
# with libtss2-fapi1-3.0.1-lp152.103.1.x86_64". Thus leave it be for the
# moment, some insane circle of errors is involved here.
-#%%ghost %{_sharedstatedir}/%{name}/system/keystore
-#%%ghost %{_rundir}/%{name}/eventlog
+# %%ghost %%{_sharedstatedir}/%%{name}/system/keystore
+# %%ghost %%{_rundir}/%%{name}/eventlog
%files -n libtss2-tcti-cmd0
%defattr(-,root,root)
++++++ _service ++++++
--- /var/tmp/diff_new_pack.7KMblM/_old 2021-02-01 13:26:07.285908726 +0100
+++ /var/tmp/diff_new_pack.7KMblM/_new 2021-02-01 13:26:07.285908726 +0100
@@ -2,7 +2,7 @@
<service name="tar_scm" mode="disabled">
<param name="url">https://github.com/intel/tpm2-tss.git</param>
<param name="scm">git</param>
- <param name="revision">2.3.3</param>
+ <param name="revision">3.0.3</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">disable</param>
</service>
++++++ tpm2-tss-3.0.1.tar.gz -> tpm2-tss-3.0.3.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/AUTHORS new/tpm2-tss-3.0.3/AUTHORS
--- old/tpm2-tss-3.0.1/AUTHORS 2020-09-23 17:46:34.000000000 +0200
+++ new/tpm2-tss-3.0.3/AUTHORS 2020-11-25 15:11:20.000000000 +0100
@@ -48,6 +48,7 @@
Safayet N Ahmed <Safayet.Ahmed(a)ge.com>
Michael Eckel <michael.eckel(a)sit.fraunhofer.de>
Juergen Repp <repp(a)pc-repp.sit.fraunhofer.de>
+John Andersen <johnandersenpdx(a)gmail.com>
Johannes Holland <joh.ho(a)gmx.de>
Joe Richey <joerichey(a)google.com>
Jerry Snitselaar <jsnitsel(a)redhat.com>
@@ -65,6 +66,7 @@
Seunghun Han <kkamagui(a)gmail.com>
Safayet Ahmed <Safayet.Ahmed(a)ge.com>
root <will.c.arthur(a)intel.com>
+Roman Kagan <rvkagan(a)gmail.com>
Richard Yoo <ryoo(a)google.com>
Michael Nix <mchl.nix(a)googlemail.com>
Matthias Gerstner <matthias.gerstner(a)suse.de>
@@ -78,7 +80,6 @@
lakshminarayanand <Lakshmi_Narayanan_Du(a)dell.com>
Julian Trzeciak <juliantrzeciak(a)gmail.com>
joselacour11(a)hotmail.com <joselacour11(a)hotmail.com>
-John Andersen <johnandersenpdx(a)gmail.com>
Jia Zhang <zhang.jia(a)linux.alibaba.com>
Imran Desai <imran.desai(a)intel.com>
genofire <geno+dev(a)fireorbit.de>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/CHANGELOG.md new/tpm2-tss-3.0.3/CHANGELOG.md
--- old/tpm2-tss-3.0.1/CHANGELOG.md 2020-09-23 17:45:47.000000000 +0200
+++ new/tpm2-tss-3.0.3/CHANGELOG.md 2020-11-25 15:10:56.000000000 +0100
@@ -3,6 +3,30 @@
The format is based on [Keep a Changelog](http://keepachangelog.com/)
+## [3.0.3] - 2020-11-25
+### Changed or Fixed
+- Fix Regression in Fapi_List
+- Fix memory leak in policy calculation
+
+## [3.0.2] - 2020-11-20
+### Changed or Fixed
+- FAPI: Fix setting of the system flag of NV objects
+ This will let NV object metadata be created system-wide always instead of
+ locally in the user. Existing metadata will remain in the user directory.
+ It can be moved to the corresponding systemstore manually if needed.
+- FAPI: Fix policy searching, when a policyRef was provided
+- FAPI: Accept EK-Certs without CRL dist point
+- FAPI: Fix return codes of Fapi_List
+- FAPI: Fix memleak in policy execution
+- FAPI: Fix coverity NULL-pointer check
+- FAPI: Set the written flag of NV objects in FAPI PolicyNV commands
+- FAPI: Fix deleting of policy files.
+- FAPI: Fix wrong file loading during object search.
+- Fapi: Fix memory leak
+- Fapi: Fix potential NULL-Dereference
+- Fapi: Remove superfluous NULL check
+- Fix a memory leak in async keystore load.
+
## [3.0.1] - 2020-09-23
### Changed or Fixed
- Fix CVE-2020-24455 FAPI PolicyPCR not instatiating correctly
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/Makefile.in new/tpm2-tss-3.0.3/Makefile.in
--- old/tpm2-tss-3.0.1/Makefile.in 2020-09-23 17:47:04.000000000 +0200
+++ new/tpm2-tss-3.0.3/Makefile.in 2020-11-25 15:11:13.000000000 +0100
@@ -20,7 +20,7 @@
# All rights reserved.
# aminclude_static.am generated automatically by Autoconf
-# from AX_AM_MACROS_STATIC on Mi 23. Sep 17:47:02 CEST 2020
+# from AX_AM_MACROS_STATIC on Wed Nov 25 15:11:12 CET 2020
# SPDX-License-Identifier: BSD-2-Clause
# Copyright (c) 2015 - 2018 Intel Corporation
@@ -23909,8 +23909,8 @@
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
-@AUTOCONF_CODE_COVERAGE_2019_01_06_FALSE@distclean-local:
@AUTOCONF_CODE_COVERAGE_2019_01_06_FALSE@clean-local:
+@AUTOCONF_CODE_COVERAGE_2019_01_06_FALSE@distclean-local:
check-valgrind: check-valgrind-am
check-valgrind-am: check-valgrind-local
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/aminclude_static.am new/tpm2-tss-3.0.3/aminclude_static.am
--- old/tpm2-tss-3.0.1/aminclude_static.am 2020-09-23 17:47:02.000000000 +0200
+++ new/tpm2-tss-3.0.3/aminclude_static.am 2020-11-25 15:11:12.000000000 +0100
@@ -1,4 +1,4 @@
# aminclude_static.am generated automatically by Autoconf
-# from AX_AM_MACROS_STATIC on Mi 23. Sep 17:47:02 CEST 2020
+# from AX_AM_MACROS_STATIC on Wed Nov 25 15:11:12 CET 2020
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/configure new/tpm2-tss-3.0.3/configure
--- old/tpm2-tss-3.0.1/configure 2020-09-23 17:46:28.000000000 +0200
+++ new/tpm2-tss-3.0.3/configure 2020-11-25 15:11:11.000000000 +0100
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for tpm2-tss 3.0.1.
+# Generated by GNU Autoconf 2.69 for tpm2-tss 3.0.3.
#
# Report bugs to <https://github.com/tpm2-software/tpm2-tss/issues>.
#
@@ -590,8 +590,8 @@
# Identity of this package.
PACKAGE_NAME='tpm2-tss'
PACKAGE_TARNAME='tpm2-tss'
-PACKAGE_VERSION='3.0.1'
-PACKAGE_STRING='tpm2-tss 3.0.1'
+PACKAGE_VERSION='3.0.3'
+PACKAGE_STRING='tpm2-tss 3.0.3'
PACKAGE_BUGREPORT='https://github.com/tpm2-software/tpm2-tss/issues'
PACKAGE_URL='https://github.com/tpm2-software/tpm2-tss'
@@ -1556,7 +1556,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures tpm2-tss 3.0.1 to adapt to many kinds of systems.
+\`configure' configures tpm2-tss 3.0.3 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1627,7 +1627,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of tpm2-tss 3.0.1:";;
+ short | recursive ) echo "Configuration of tpm2-tss 3.0.3:";;
esac
cat <<\_ACEOF
@@ -1835,7 +1835,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-tpm2-tss configure 3.0.1
+tpm2-tss configure 3.0.3
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2371,7 +2371,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by tpm2-tss $as_me 3.0.1, which was
+It was created by tpm2-tss $as_me 3.0.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -3235,7 +3235,7 @@
# Define the identity of the package.
PACKAGE='tpm2-tss'
- VERSION='3.0.1'
+ VERSION='3.0.3'
cat >>confdefs.h <<_ACEOF
@@ -23329,7 +23329,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by tpm2-tss $as_me 3.0.1, which was
+This file was extended by tpm2-tss $as_me 3.0.3, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -23396,7 +23396,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-tpm2-tss config.status 3.0.1
+tpm2-tss config.status 3.0.3
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/configure.ac new/tpm2-tss-3.0.3/configure.ac
--- old/tpm2-tss-3.0.1/configure.ac 2020-09-23 17:45:29.000000000 +0200
+++ new/tpm2-tss-3.0.3/configure.ac 2020-11-25 15:10:56.000000000 +0100
@@ -4,7 +4,7 @@
# All rights reserved.
AC_INIT([tpm2-tss],
- [3.0.1],
+ [3.0.3],
[https://github.com/tpm2-software/tpm2-tss/issues]
[],
[https://github.com/tpm2-software/tpm2-tss]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/lib/tss2-esys.pc.in new/tpm2-tss-3.0.3/lib/tss2-esys.pc.in
--- old/tpm2-tss-3.0.1/lib/tss2-esys.pc.in 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/lib/tss2-esys.pc.in 2020-11-25 15:10:25.000000000 +0100
@@ -8,6 +8,6 @@
URL: https://github.com/tpm2-software/tpm2-tss
Version: @VERSION@
Requires.private: tss2-mu tss2-sys
-Cflags: -I${includedir} -I${includedir}/tss
+Cflags: -I${includedir} -I${includedir}/tss2
Libs: -ltss2-esys -L${libdir}
Libs.private: @LIBADD_DL@ @LIBSOCKET_LDFLAGS@ @TSS2_ESYS_LDFLAGS_CRYPTO@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/lib/tss2-fapi.pc.in new/tpm2-tss-3.0.3/lib/tss2-fapi.pc.in
--- old/tpm2-tss-3.0.1/lib/tss2-fapi.pc.in 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/lib/tss2-fapi.pc.in 2020-11-25 15:10:25.000000000 +0100
@@ -8,5 +8,5 @@
URL: https://github.com/tpm2-software/tpm2-tss
Version: @VERSION@
Requires.private: tss2-mu tss2-esys tss2-tctildr libcurl libcrypto json-c
-Cflags: -I${includedir} -I${includedir}/tss
+Cflags: -I${includedir} -I${includedir}/tss2
Libs: -ltss2-fapi -L${libdir}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/lib/tss2-mu.pc.in new/tpm2-tss-3.0.3/lib/tss2-mu.pc.in
--- old/tpm2-tss-3.0.1/lib/tss2-mu.pc.in 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/lib/tss2-mu.pc.in 2020-11-25 15:10:25.000000000 +0100
@@ -7,5 +7,5 @@
Description: TPM2 type marshaling and unmarshaling library.
URL: https://github.com/tpm2-software/tpm2-tss
Version: @VERSION@
-Cflags: -I${includedir} -I${includedir}/tss
+Cflags: -I${includedir} -I${includedir}/tss2
Libs: -ltss2-mu -L${libdir}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/lib/tss2-rc.pc.in new/tpm2-tss-3.0.3/lib/tss2-rc.pc.in
--- old/tpm2-tss-3.0.1/lib/tss2-rc.pc.in 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/lib/tss2-rc.pc.in 2020-11-25 15:10:25.000000000 +0100
@@ -7,5 +7,5 @@
Description: TPM2 error decoding library.
URL: https://github.com/tpm2-software/tpm2-tss
Version: @VERSION@
-Cflags: -I${includedir} -I${includedir}/tss
+Cflags: -I${includedir} -I${includedir}/tss2
Libs: -ltss2-rc -L${libdir}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/lib/tss2-sys.pc.in new/tpm2-tss-3.0.3/lib/tss2-sys.pc.in
--- old/tpm2-tss-3.0.1/lib/tss2-sys.pc.in 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/lib/tss2-sys.pc.in 2020-11-25 15:10:25.000000000 +0100
@@ -8,6 +8,6 @@
URL: https://github.com/tpm2-software/tpm2-tss
Version: @VERSION@
Requires.private: tss2-mu
-Cflags: -I${includedir} -I${includedir}/tss
+Cflags: -I${includedir} -I${includedir}/tss2
Libs: -ltss2-sys -L${libdir}
Libs.private: @LIBSOCKET_LDFLAGS@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/lib/tss2-tcti-cmd.pc.in new/tpm2-tss-3.0.3/lib/tss2-tcti-cmd.pc.in
--- old/tpm2-tss-3.0.1/lib/tss2-tcti-cmd.pc.in 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/lib/tss2-tcti-cmd.pc.in 2020-11-25 15:10:25.000000000 +0100
@@ -7,5 +7,5 @@
Description: TCTI library for communicating with a subproccess that can communicate with the TPM.
URL: https://github.com/tpm2-software/tpm2-tss
Version: @VERSION@
-Cflags: -I${includedir} -I${includedir}/tss
+Cflags: -I${includedir} -I${includedir}/tss2
Libs: -ltss2-tcti-cmd -L${libdir}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/lib/tss2-tcti-device.pc.in new/tpm2-tss-3.0.3/lib/tss2-tcti-device.pc.in
--- old/tpm2-tss-3.0.1/lib/tss2-tcti-device.pc.in 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/lib/tss2-tcti-device.pc.in 2020-11-25 15:10:25.000000000 +0100
@@ -8,5 +8,5 @@
URL: https://github.com/tpm2-software/tpm2-tss
Version: @VERSION@
Requires.private: tss2-mu
-Cflags: -I${includedir} -I${includedir}/tss
+Cflags: -I${includedir} -I${includedir}/tss2
Libs: -ltss2-tcti-device -L${libdir}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/lib/tss2-tcti-mssim.pc.in new/tpm2-tss-3.0.3/lib/tss2-tcti-mssim.pc.in
--- old/tpm2-tss-3.0.1/lib/tss2-tcti-mssim.pc.in 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/lib/tss2-tcti-mssim.pc.in 2020-11-25 15:10:25.000000000 +0100
@@ -8,5 +8,5 @@
URL: https://github.com/tpm2-software/tpm2-tss
Version: @VERSION@
Requires.private: tss2-mu
-Cflags: -I${includedir} -I${includedir}/tss
+Cflags: -I${includedir} -I${includedir}/tss2
Libs: -ltss2-tcti-mssim -L${libdir}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/lib/tss2-tcti-swtpm.pc.in new/tpm2-tss-3.0.3/lib/tss2-tcti-swtpm.pc.in
--- old/tpm2-tss-3.0.1/lib/tss2-tcti-swtpm.pc.in 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/lib/tss2-tcti-swtpm.pc.in 2020-11-25 15:10:25.000000000 +0100
@@ -8,5 +8,5 @@
URL: https://github.com/tpm2-software/tpm2-tss
Version: @VERSION@
Requires.private: tss2-mu
-Cflags: -I${includedir} -I${includedir}/tss
+Cflags: -I${includedir} -I${includedir}/tss2
Libs: -ltss2-tcti-swtpm -L${libdir}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/lib/tss2-tctildr.pc.in new/tpm2-tss-3.0.3/lib/tss2-tctildr.pc.in
--- old/tpm2-tss-3.0.1/lib/tss2-tctildr.pc.in 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/lib/tss2-tctildr.pc.in 2020-11-25 15:10:25.000000000 +0100
@@ -7,5 +7,5 @@
Description: Library to simplify management of TCTIs.
URL: https://github.com/tpm2-software/tpm2-tss
Version: @VERSION@
-Cflags: -I@includedir@ -I${includedir}/tss
+Cflags: -I@includedir@ -I${includedir}/tss2
Libs: -ltss2-tctildr -L@libdir@
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/man/man7/tss2-tcti-swtpm.7 new/tpm2-tss-3.0.3/man/man7/tss2-tcti-swtpm.7
--- old/tpm2-tss-3.0.1/man/man7/tss2-tcti-swtpm.7 2020-09-23 17:47:08.000000000 +0200
+++ new/tpm2-tss-3.0.3/man/man7/tss2-tcti-swtpm.7 2020-11-25 15:11:20.000000000 +0100
@@ -25,7 +25,7 @@
.BR tcti-tabrmd (7),
.BR tpm2-abrmd (8)
.SH COLOPHON
-This page is part of release 3.0.1 of Open Source implementation of the
+This page is part of release 3.0.3 of Open Source implementation of the
TCG TPM2 Software Stack (TSS2). A description of the project, information
about reporting bugs, and the latest version of this page can be found at
\%https://github.com/tpm2-software/tpm2-tss/.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/api/Fapi_CreateNv.c new/tpm2-tss-3.0.3/src/tss2-fapi/api/Fapi_CreateNv.c
--- old/tpm2-tss-3.0.1/src/tss2-fapi/api/Fapi_CreateNv.c 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/api/Fapi_CreateNv.c 2020-11-25 15:10:25.000000000 +0100
@@ -442,6 +442,9 @@
else
miscNv->with_auth = TPM2_NO;
+ /* NV objects will always be stored in the system store */
+ nvCmd->nv_object.system = TPM2_YES;
+
/* Perform esys serialization if necessary */
r = ifapi_esys_serialize_object(context->esys, &nvCmd->nv_object);
goto_if_error(r, "Prepare serialization", error_cleanup);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/api/Fapi_Delete.c new/tpm2-tss-3.0.3/src/tss2-fapi/api/Fapi_Delete.c
--- old/tpm2-tss-3.0.1/src/tss2-fapi/api/Fapi_Delete.c 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/api/Fapi_Delete.c 2020-11-25 15:10:25.000000000 +0100
@@ -391,6 +391,13 @@
&command->numPaths);
goto_if_error(r, "get entities.", error_cleanup);
+ /* Check whether a path for exactly one policy was passed. */
+ if (command->numPaths == 0 && ifapi_path_type_p(path, IFAPI_POLICY_PATH)) {
+ command->numPaths = 1;
+ command->pathlist = calloc(1, sizeof(char *));
+ strdup_check(command->pathlist[0], path, r, error_cleanup);
+ }
+
command->path_idx = command->numPaths;
if (command->numPaths == 0) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/api/Fapi_Import.c new/tpm2-tss-3.0.3/src/tss2-fapi/api/Fapi_Import.c
--- old/tpm2-tss-3.0.1/src/tss2-fapi/api/Fapi_Import.c 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/api/Fapi_Import.c 2020-11-25 15:10:25.000000000 +0100
@@ -622,9 +622,8 @@
ifapi_cleanup_ifapi_object(&command->object);
if (command->private) {
SAFE_FREE(command->private);
- if (newObject)
- /* Private buffer was already freed. */
- newObject->misc.key.private.buffer = NULL;
+ /* Private buffer was already freed. */
+ newObject->misc.key.private.buffer = NULL;
}
ifapi_cleanup_ifapi_object(&context->createPrimary.pkey_object);
if (context->loadKey.key_object){
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/api/Fapi_List.c new/tpm2-tss-3.0.3/src/tss2-fapi/api/Fapi_List.c
--- old/tpm2-tss-3.0.1/src/tss2-fapi/api/Fapi_List.c 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/api/Fapi_List.c 2020-11-25 15:10:25.000000000 +0100
@@ -169,6 +169,7 @@
char **pathList)
{
LOG_TRACE("called for context:%p", context);
+ bool provision_check_ok;
TSS2_RC r = TSS2_RC_SUCCESS;
size_t sizePathList = 0;
@@ -188,7 +189,7 @@
goto_if_error(r, "get entities.", cleanup);
if (numPaths == 0)
- goto cleanup;
+ goto check_provisioning;
/* Determine size of char string to be returnded */
for (size_t i = 0; i < numPaths; i++)
@@ -208,25 +209,35 @@
strcat(*pathList, IFAPI_LIST_DELIM);
}
- LOG_TRACE("finished");
-
-cleanup:
- /* Cleanup any intermediate results and state stored in the context. */
- SAFE_FREE(command->searchPath);
+ check_provisioning:
if (numPaths == 0 && (r == TSS2_RC_SUCCESS)) {
- if (command->searchPath && strcmp(command->searchPath,"/") !=0) {
- LOG_ERROR("Path not found: %s", command->searchPath);
+ if (command->searchPath && (strcmp(command->searchPath,"/") == 0
+ || strcmp(command->searchPath,"") == 0)) {
+ LOG_WARNING("Path not found: %s", command->searchPath);
r = TSS2_FAPI_RC_NOT_PROVISIONED;
} else {
- LOG_ERROR("FAPI not provisioned.");
- r = TSS2_FAPI_RC_NOT_PROVISIONED;
+ r = ifapi_check_provisioned(&context->keystore, command->searchPath, &provision_check_ok);
+ goto_if_error(r, "Provisioning check.", cleanup);
+
+ if (provision_check_ok) {
+ LOG_WARNING("Path not found: %s", command->searchPath);
+ r = TSS2_FAPI_RC_PATH_NOT_FOUND;
+ } else {
+ LOG_WARNING("Profile of path not provisioned: %s", command->searchPath);
+ r = TSS2_FAPI_RC_NOT_PROVISIONED;
+ }
}
}
+ LOG_TRACE("finished");
+
+cleanup:
+ /* Cleanup any intermediate results and state stored in the context. */
if (numPaths > 0) {
for (size_t i = 0; i < numPaths; i++){
SAFE_FREE(pathArray[i]);
}
}
+ SAFE_FREE(command->searchPath);
SAFE_FREE(pathArray);
return r;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/api/Fapi_NvExtend.c new/tpm2-tss-3.0.3/src/tss2-fapi/api/Fapi_NvExtend.c
--- old/tpm2-tss-3.0.1/src/tss2-fapi/api/Fapi_NvExtend.c 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/api/Fapi_NvExtend.c 2020-11-25 15:10:25.000000000 +0100
@@ -427,6 +427,9 @@
JSON_C_TO_STRING_PRETTY),
r, error_cleanup);
+ /* Set written bit in keystore */
+ context->nv_cmd.nv_object.misc.nv.public.nvPublic.attributes |= TPMA_NV_WRITTEN;
+
/* Perform esys serialization if necessary */
r = ifapi_esys_serialize_object(context->esys, &command->nv_object);
goto_if_error(r, "Prepare serialization", error_cleanup);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/api/Fapi_NvIncrement.c new/tpm2-tss-3.0.3/src/tss2-fapi/api/Fapi_NvIncrement.c
--- old/tpm2-tss-3.0.1/src/tss2-fapi/api/Fapi_NvIncrement.c 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/api/Fapi_NvIncrement.c 2020-11-25 15:10:25.000000000 +0100
@@ -307,6 +307,9 @@
return_try_again(r);
goto_if_error_reset_state(r, "FAPI NV_Increment_Finish", error_cleanup);
+ /* Set written bit in keystore */
+ context->nv_cmd.nv_object.misc.nv.public.nvPublic.attributes |= TPMA_NV_WRITTEN;
+
/* Perform esys serialization if necessary */
r = ifapi_esys_serialize_object(context->esys, &command->nv_object);
goto_if_error(r, "Prepare serialization", error_cleanup);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/api/Fapi_NvSetBits.c new/tpm2-tss-3.0.3/src/tss2-fapi/api/Fapi_NvSetBits.c
--- old/tpm2-tss-3.0.1/src/tss2-fapi/api/Fapi_NvSetBits.c 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/api/Fapi_NvSetBits.c 2020-11-25 15:10:25.000000000 +0100
@@ -317,6 +317,9 @@
return_try_again(r);
goto_if_error_reset_state(r, "FAPI NV_SetBits_Finish", error_cleanup);
+ /* Set written bit in keystore */
+ context->nv_cmd.nv_object.misc.nv.public.nvPublic.attributes |= TPMA_NV_WRITTEN;
+
/* Serialize the ESYS object for updating the metadata in the keystore. */
r = ifapi_esys_serialize_object(context->esys, object);
goto_if_error(r, "Prepare serialization", error_cleanup);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/api/Fapi_Provision.c new/tpm2-tss-3.0.3/src/tss2-fapi/api/Fapi_Provision.c
--- old/tpm2-tss-3.0.1/src/tss2-fapi/api/Fapi_Provision.c 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/api/Fapi_Provision.c 2020-11-25 15:10:25.000000000 +0100
@@ -374,6 +374,11 @@
statecase(context->state, PROVISION_READ_HIERARCHY);
path = command->pathlist[command->path_idx];
+ if (path == NULL) {
+ goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE, "Wrong path.",
+ error_cleanup);
+ }
+
r = ifapi_keystore_load_finish(&context->keystore, &context->io,
&command->hierarchies[command->path_idx]);
return_try_again(r);
@@ -381,6 +386,11 @@
/* Search for slash followed by hierarchy after profile */
path = strchr(&path[1], '/');
+ if (path == NULL) {
+ goto_error(r, TSS2_FAPI_RC_GENERAL_FAILURE,
+ "Wrong path.",
+ error_cleanup);
+ }
/* Use the first appropriate hierarchy for provisioning. The first found
hierarchy will be copied into the provisioning context.*/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/fapi_crypto.c new/tpm2-tss-3.0.3/src/tss2-fapi/fapi_crypto.c
--- old/tpm2-tss-3.0.1/src/tss2-fapi/fapi_crypto.c 2020-07-20 14:47:05.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/fapi_crypto.c 2020-11-25 14:00:15.000000000 +0100
@@ -1640,6 +1640,11 @@
}
}
+ /* No CRL dist point in the cert is legitimate */
+ if (url == NULL) {
+ goto cleanup;
+ }
+
curl_rc = ifapi_get_curl_buffer(url, &crl_buffer, &crl_buffer_size);
if (curl_rc != 0) {
goto_error(r, TSS2_FAPI_RC_NO_CERT, "Get crl.", cleanup);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/fapi_util.c new/tpm2-tss-3.0.3/src/tss2-fapi/fapi_util.c
--- old/tpm2-tss-3.0.1/src/tss2-fapi/fapi_util.c 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/fapi_util.c 2020-11-25 15:10:25.000000000 +0100
@@ -3390,6 +3390,9 @@
r = ifapi_get_name(&outPublic->publicArea, &object->misc.key.name);
goto_if_error(r, "Get key name", error_cleanup);
+ SAFE_FREE(outPrivate);
+ SAFE_FREE(outPublic);
+
if (object->misc.key.public.publicArea.type == TPM2_ALG_RSA)
object->misc.key.signing_scheme = context->cmd.Key_Create.profile->rsa_signing_scheme;
else
@@ -3402,10 +3405,16 @@
r = ifapi_authorize_object(context, &context->loadKey.auth_object, &auth_session);
FAPI_SYNC(r, "Authorize key.", error_cleanup);
+ TPM2B_PRIVATE private;
+ private.size = object->misc.key.private.size;
+ memcpy(&private.buffer[0], &object->misc.key.private.buffer[0],
+ private.size);
+
r = Esys_Load_Async(context->esys, context->loadKey.handle,
auth_session,
ESYS_TR_NONE, ESYS_TR_NONE,
- outPrivate, outPublic);
+ &private,
+ &object->misc.key.public);
goto_if_error(r, "Load key.", error_cleanup);
}
@@ -3489,9 +3498,6 @@
fallthrough;
statecase(context->cmd.Key_Create.state, KEY_CREATE_WRITE_PREPARE);
- SAFE_FREE(outPrivate);
- SAFE_FREE(outPublic);
-
if (template->persistent_handle) {
/* Compute the serialization, which will be used for the
reconstruction of the key object. */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_keystore.c new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_keystore.c
--- old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_keystore.c 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_keystore.c 2020-11-25 15:10:25.000000000 +0100
@@ -61,8 +61,7 @@
* @retval TSS2_FAPI_RC_MEMORY: If memory for the path list could not be allocated.
* @retval TSS2_FAPI_RC_BAD_VALUE If no explicit path can be derived from the
* implicit path.
- * @retval TSS2_FAPI_RC_PATH_NOT_FOUND if a FAPI object path was not found
- * during authorization.
+ * @retval TSS2_FAPI_RC_BAD_PATH if no valid key path could be created.
*/
static TSS2_RC
initialize_explicit_key_path(
@@ -119,7 +118,7 @@
hierarchy = "HS";
} else {
LOG_ERROR("Hierarchy cannot be determined.");
- r = TSS2_FAPI_RC_PATH_NOT_FOUND;
+ r = TSS2_FAPI_RC_BAD_PATH;
goto error;
}
/* Add the used hierarchy to the linked list. */
@@ -129,7 +128,7 @@
goto error;
}
if (list_node == NULL) {
- goto_error(r, TSS2_FAPI_RC_PATH_NOT_FOUND, "Explicit path can't be determined.",
+ goto_error(r, TSS2_FAPI_RC_BAD_PATH, "Explicit path can't be determined.",
error);
}
@@ -141,21 +140,21 @@
}
if (hierarchy && strcmp(hierarchy, "HS") == 0 && strcmp(list_node->str, "EK") == 0) {
- LOG_ERROR("Key EK cannot be create in the storage hierarchy.");
- r = TSS2_FAPI_RC_PATH_NOT_FOUND;
+ LOG_ERROR("Key EK cannot be created in the storage hierarchy.");
+ r = TSS2_FAPI_RC_BAD_PATH;
goto error;
}
if (hierarchy && strcmp(hierarchy, "HE") == 0 && strcmp(list_node->str, "SRK") == 0) {
LOG_ERROR("Key EK cannot be create in the endorsement hierarchy.");
- r = TSS2_FAPI_RC_PATH_NOT_FOUND;
+ r = TSS2_FAPI_RC_BAD_PATH;
goto error;
}
if (hierarchy && strcmp(hierarchy, "HN") == 0 &&
(strcmp(list_node->str, "SRK") == 0 || strcmp(list_node->str, "EK") == 0)) {
LOG_ERROR("Key EK and SRK cannot be created in NULL hierarchy.");
- r = TSS2_FAPI_RC_PATH_NOT_FOUND;
+ r = TSS2_FAPI_RC_BAD_PATH;
goto error;
}
@@ -511,6 +510,7 @@
{
TSS2_RC r;
char *directory = NULL;
+ bool provision_check_ok;
/* First expand path in user directory */
r = expand_path(keystore, rel_path, &directory);
@@ -533,16 +533,26 @@
goto cleanup;
}
+ /* Check whether provisioning was made for the path profile. */
+ r = ifapi_check_provisioned(keystore, rel_path, &provision_check_ok);
+ goto_if_error(r, "Provisioning check.", cleanup);
+
+ if (!provision_check_ok) {
+ goto_error(r, TSS2_FAPI_RC_NOT_PROVISIONED,
+ "FAPI not provisioned for path: %s.",
+ cleanup, rel_path);
+ }
+
/* Check type of object which does not exist. */
if (ifapi_path_type_p(rel_path, IFAPI_NV_PATH)) {
/* NV directory does not exist. */
goto_error(r, TSS2_FAPI_RC_PATH_NOT_FOUND,
- "FAPI not provisioned. File %s does not exist.",
+ "File %s does not exist.",
cleanup, rel_path);
} else if (ifapi_hierarchy_path_p(rel_path)) {
/* Hierarchy which should be created during provisioning could not be loaded. */
- goto_error(r, TSS2_FAPI_RC_NOT_PROVISIONED,
- "FAPI not provisioned. Hierarchy file %s does not exist.",
+ goto_error(r, TSS2_FAPI_RC_PATH_NOT_FOUND,
+ "Hierarchy file %s does not exist.",
cleanup, rel_path);
} else {
/* Object file for key does not exist in keystore */
@@ -603,6 +613,7 @@
return r;
error_cleanup:
+ SAFE_FREE(abs_path);
SAFE_FREE(keystore->rel_path);
return r;
}
@@ -1183,6 +1194,11 @@
path = keystore->key_search.pathlist[path_idx];
LOG_TRACE("Check file: %s %zu", path, keystore->key_search.path_idx);
+ /* Skip policy files. */
+ if (ifapi_path_type_p(path, IFAPI_POLICY_PATH)) {
+ return TSS2_FAPI_RC_TRY_AGAIN;
+ }
+
r = ifapi_keystore_load_async(keystore, io, path);
return_if_error2(r, "Could not open: %s", path);
@@ -1764,3 +1780,65 @@
}
}
}
+
+/** Check whether profile directory exists for a fapi path.
+ *
+ * It will be checked whether a profile directory exists for a path which starts
+ * with a profile name after fapi pathname expansion.
+ *
+ * @param[in] keystore The key directories and default profile.
+ * @param[in] rel_path The relative path to be checked.
+ * @param[out] ok The boolean value whether the check ok.
+ * @retval TSS2_RC_SUCCESS if the check could be made.
+ * @retval TSS2_FAPI_RC_MEMORY: if memory could not be allocated to compute
+ * the absolute paths.
+ */
+TSS2_RC
+ifapi_check_provisioned(
+ IFAPI_KEYSTORE *keystore,
+ const char *rel_path,
+ bool *ok)
+{
+ TSS2_RC r = TSS2_RC_SUCCESS;
+ char *directory = NULL;
+ char *profile_dir = NULL;
+ char *end_profile;
+
+ *ok = false;
+
+ /* First expand path in user directory */
+ r = expand_path(keystore, rel_path, &directory);
+ goto_if_error(r, "Expand path", cleanup);
+
+ /* Check whether the path starts with a profile. */
+ if (directory && (strncmp(directory, "P_", 2) != 0 || strncmp(directory, "/P_", 2) != 0)) {
+ end_profile = strchr(&directory[1], '/');
+ if (end_profile) {
+ end_profile[0] = '\0';
+ }
+ /* Compute user path of the profile. */
+ r = ifapi_asprintf(&profile_dir, "%s/%s", keystore->userdir, directory);
+ goto_if_error2(r, "Profile path could not be created.", cleanup);
+
+ if (ifapi_io_path_exists(profile_dir)) {
+ *ok = true;
+ goto cleanup;
+ }
+ /* Compute system path of the profile. */
+ SAFE_FREE(profile_dir);
+ r = ifapi_asprintf(&profile_dir, "%s/%s", keystore->systemdir, directory);
+ goto_if_error2(r, "Profile path could not be created.", cleanup);
+
+ if (ifapi_io_path_exists(profile_dir)) {
+ *ok = true;
+ goto cleanup;
+ }
+ } else {
+ /* No check needed because no profile found in the path. */
+ *ok = true;
+ }
+ cleanup:
+ SAFE_FREE(profile_dir);
+ SAFE_FREE(directory);
+ return r;
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_keystore.h new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_keystore.h
--- old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_keystore.h 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_keystore.h 2020-11-25 15:10:25.000000000 +0100
@@ -280,4 +280,10 @@
ifapi_cleanup_ifapi_object(
IFAPI_OBJECT *object);
+TSS2_RC
+ifapi_check_provisioned(
+ IFAPI_KEYSTORE *keystore,
+ const char *rel_path,
+ bool *ok);
+
#endif /* IFAPI_KEYSTORE_H */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_policy.c new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_policy.c
--- old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_policy.c 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_policy.c 2020-11-25 15:10:25.000000000 +0100
@@ -116,6 +116,8 @@
r = ifapi_policyeval_instantiate_finish(&context->policy.eval_ctx);
FAPI_SYNC(r, "Instantiate policy.", cleanup);
ifapi_free_node_list(context->policy.eval_ctx.policy_elements);
+ context->policy.eval_ctx.policy_elements = NULL;
+
if (!(*hash_size = ifapi_hash_get_digest_size(hash_alg))) {
goto_error(r, TSS2_FAPI_RC_BAD_VALUE,
"Unsupported hash algorithm (%" PRIu16 ")", cleanup,
@@ -151,6 +153,8 @@
statecasedefault(context->policy.state);
}
cleanup:
+ ifapi_free_node_list(context->policy.eval_ctx.policy_elements);
+ context->policy.eval_ctx.policy_elements = NULL;
context->policy.state = POLICY_INIT;
return r;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_policy_calculate.c new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_policy_calculate.c
--- old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_policy_calculate.c 2020-03-11 12:36:05.000000000 +0100
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_policy_calculate.c 2020-11-23 11:02:14.000000000 +0100
@@ -1065,6 +1065,10 @@
memset(&nv_name, 0, sizeof(TPM2B_NAME));
+ /* Written flag has to be set for policy calculation, because during
+ policy execution it will be set. */
+ policy->nvPublic.nvPublic.attributes |= TPMA_NV_WRITTEN;
+
/* Compute NV name from public info */
r = ifapi_nv_get_name(&policy->nvPublic, &nv_name);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_policy_callbacks.c new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_policy_callbacks.c
--- old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_policy_callbacks.c 2020-09-22 14:16:50.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_policy_callbacks.c 2020-11-25 15:10:25.000000000 +0100
@@ -712,6 +712,27 @@
return TSS2_RC_SUCCESS;
}
+static bool
+cmp_policy_ref(TPM2B_NONCE *ref1, TPM2B_NONCE *ref2)
+{
+ if ((!ref1 || !ref1->size) && (!ref2 || !ref2->size)) {
+ return true;
+ }
+ if (!ref1 || !ref1->size || !ref2 || !ref2->size) {
+ return false;
+ }
+
+ if (ref1->size != ref2->size) {
+ return false;
+ }
+
+ if (memcmp(&ref1->buffer[0], &ref2->buffer[0], ref1->size) != 0) {
+ return false;
+ }
+
+ return true;
+}
+
/** Check whether public data of key is assigned to policy.
*
* It will be checked whether policy was authorized by abort key with public
@@ -719,26 +740,29 @@
*
* @param[in] policy The policy to be checked.
* @param[in] publicVoid The public information of the key.
- * @param[in] nameAlgVoid Not used for this compare function.
+ * @param[in] policyReferenceVoid The policy reverence to be compared.
* @param[out] equal Switch whether check was successful.
*/
static TSS2_RC
equal_policy_authorization(
TPMS_POLICY *policy,
void *publicVoid,
- void *nameAlgVoid,
+ void *policyRefVoid,
bool *equal)
{
TPMT_PUBLIC *public = publicVoid;
- (void)nameAlgVoid;
+ TPM2B_NONCE *policyRef = policyRefVoid;
size_t i;
TPML_POLICYAUTHORIZATIONS *authorizations = policy->policyAuthorizations;
*equal = false;
+
if (authorizations) {
for (i = 0; i < authorizations->count; i++) {
- if (ifapi_TPMT_PUBLIC_cmp
- (public, &authorizations->authorizations[i].key)) {
+ /* Check public information if key and policyRef */
+ if (ifapi_TPMT_PUBLIC_cmp(public, &authorizations->authorizations[i].key) &&
+ cmp_policy_ref(policyRef,
+ &authorizations->authorizations[i].policyRef)) {
*equal = true;
return TSS2_RC_SUCCESS;
}
@@ -1005,6 +1029,7 @@
for (i = 0; i < policy->policyAuthorizations->count; i++) {
if (ifapi_TPMT_PUBLIC_cmp(public,
&policy->policyAuthorizations->authorizations[i].key)) {
+ /* The public info was already stored in the policy. */
*signature = policy->policyAuthorizations->authorizations[i].signature;
return TSS2_RC_SUCCESS;
}
@@ -1075,6 +1100,7 @@
TPMT_PUBLIC *key_public,
TPMI_ALG_HASH hash_alg,
TPM2B_DIGEST *digest,
+ TPM2B_NONCE *policyRef,
TPMT_SIGNATURE *signature,
void *userdata)
{
@@ -1113,7 +1139,7 @@
statecase(cb_ctx->cb_state, POL_CB_SEARCH_POLICY)
r = search_policy(fapi_ctx,
equal_policy_authorization, true,
- key_public, NULL,
+ key_public, policyRef,
¤t_policy->policy_list);
FAPI_SYNC(r, "Search policy", cleanup);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_policy_callbacks.h new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_policy_callbacks.h
--- old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_policy_callbacks.h 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_policy_callbacks.h 2020-11-25 15:10:25.000000000 +0100
@@ -93,6 +93,7 @@
TPMT_PUBLIC *key_public,
TPMI_ALG_HASH hash_alg,
TPM2B_DIGEST *digest,
+ TPM2B_NONCE *policyRef,
TPMT_SIGNATURE *signature,
void *userdata);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_policy_execute.c new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_policy_execute.c
--- old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_policy_execute.c 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_policy_execute.c 2020-11-25 15:10:25.000000000 +0100
@@ -524,6 +524,7 @@
statecasedefault(current_policy->state);
}
cleanup:
+ SAFE_FREE(current_policy->nonceTPM);
SAFE_FREE(current_policy->pem_key);
SAFE_FREE(signature_ossl);
SAFE_FREE(current_policy->buffer);
@@ -608,6 +609,7 @@
/* Execute authorized policy. */
ifapi_policyeval_EXEC_CB *cb = ¤t_policy->callbacks;
r = cb->cbauthpol(&policy->keyPublic, hash_alg, &policy->approvedPolicy,
+ &policy->policyRef,
&policy->signature, cb->cbauthpol_userdata);
return_try_again(r);
goto_if_error(r, "Execute authorized policy.", cleanup);
@@ -888,7 +890,7 @@
r = Esys_PolicySecret_Finish(esys_ctx, NULL,
NULL);
return_try_again(r);
- goto_if_error(r, "FAPI PolicyAuthorizeNV_Finish", cleanup);
+ goto_if_error(r, "FAPI PolicyAuthorizeNV_Finish", error_cleanup);
break;
statecasedefault(current_policy->state);
@@ -896,6 +898,10 @@
cleanup:
return r;
+
+ error_cleanup:
+ SAFE_FREE(current_policy->nonceTPM);
+ return r;
}
/** Execute a policy depending on the TPM timers.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_policy_execute.h new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_policy_execute.h
--- old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_policy_execute.h 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_policy_execute.h 2020-11-25 15:10:25.000000000 +0100
@@ -77,6 +77,7 @@
TPMT_PUBLIC *key_public,
TPMI_ALG_HASH hash_alg,
TPM2B_DIGEST *digest,
+ TPM2B_NONCE *policyRef,
TPMT_SIGNATURE *signature,
void *userdata);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_policy_instantiate.c new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_policy_instantiate.c
--- old/tpm2-tss-3.0.1/src/tss2-fapi/ifapi_policy_instantiate.c 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/src/tss2-fapi/ifapi_policy_instantiate.c 2020-11-25 15:10:25.000000000 +0100
@@ -35,6 +35,10 @@
TSS2_RC r = TSS2_RC_SUCCESS;
size_t i, j;
+ if (!policy) {
+ return_error(TSS2_FAPI_RC_GENERAL_FAILURE, "Bad policy pointer");
+ }
+
for (i = 0; i < policy->count; i++) {
if (policy->elements[i].type == POLICYOR) {
/* Policy with sub policies */
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/test/integration/fapi-check-wrong-paths.int.c new/tpm2-tss-3.0.3/test/integration/fapi-check-wrong-paths.int.c
--- old/tpm2-tss-3.0.1/test/integration/fapi-check-wrong-paths.int.c 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/test/integration/fapi-check-wrong-paths.int.c 2020-11-25 15:10:25.000000000 +0100
@@ -53,7 +53,7 @@
goto error;
}
- if (r != TSS2_FAPI_RC_PATH_NOT_FOUND) {
+ if (r != TSS2_FAPI_RC_BAD_PATH) {
goto_if_error(r, "Wrong return code", error);
}
@@ -64,7 +64,7 @@
goto error;
}
- if (r != TSS2_FAPI_RC_PATH_NOT_FOUND) {
+ if (r != TSS2_FAPI_RC_BAD_PATH) {
goto_if_error(r, "Wrong return code", error);
}
@@ -75,7 +75,7 @@
goto error;
}
- if (r != TSS2_FAPI_RC_PATH_NOT_FOUND) {
+ if (r != TSS2_FAPI_RC_BAD_PATH) {
goto_if_error(r, "Error Fapi_CreateKey", error);
}
@@ -86,7 +86,7 @@
goto error;
}
- if (r != TSS2_FAPI_RC_PATH_NOT_FOUND) {
+ if (r != TSS2_FAPI_RC_BAD_PATH) {
goto_if_error(r, "Error Fapi_CreateNv", error);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tpm2-tss-3.0.1/test/integration/fapi-get-random.int.c new/tpm2-tss-3.0.3/test/integration/fapi-get-random.int.c
--- old/tpm2-tss-3.0.1/test/integration/fapi-get-random.int.c 2020-09-22 14:16:18.000000000 +0200
+++ new/tpm2-tss-3.0.3/test/integration/fapi-get-random.int.c 2020-11-25 15:10:25.000000000 +0100
@@ -42,6 +42,7 @@
size_t bytesRequested = sizeof(TPMU_HA) + 10;
uint8_t *randomBytes = NULL;
+
r = Fapi_Provision(context, NULL, NULL, NULL);
goto_if_error(r, "Error Fapi_Provision", error);
1
0
Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package bazel3.4 for openSUSE:Factory checked in at 2021-02-01 13:25:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bazel3.4 (Old)
and /work/SRC/openSUSE:Factory/.bazel3.4.new.28504 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bazel3.4"
Mon Feb 1 13:25:43 2021 rev:2 rq:867312 version:3.4.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/bazel3.4/bazel3.4.changes 2020-09-29 19:00:25.945673563 +0200
+++ /work/SRC/openSUSE:Factory/.bazel3.4.new.28504/bazel3.4.changes 2021-02-01 13:26:04.049903691 +0100
@@ -1,0 +2,5 @@
+Wed Jan 27 10:58:59 UTC 2021 - Guillaume GARDET <guillaume.gardet(a)opensuse.org>
+
+- Do not build on %arm - boo#1178564
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ bazel3.4.spec ++++++
--- /var/tmp/diff_new_pack.Gwl2K4/_old 2021-02-01 13:26:05.845906485 +0100
+++ /var/tmp/diff_new_pack.Gwl2K4/_new 2021-02-01 13:26:05.845906485 +0100
@@ -53,7 +53,7 @@
Requires(postun): update-alternatives
Requires: %{openjdktouse}
Provides: bazel = %{version}
-ExcludeArch: %ix86
+ExcludeArch: %ix86 %arm
%description
Tool for the automation of building and testing of software. It supports Java,
1
0