Compare commits

...

195 Commits

Author SHA1 Message Date
Richard Purdie
a28c145aa4 patchelf: Fix corrupted file mode patch
The recent patchelf upgrades corrupted the file permissions patch we
carry as upstream inserted an early exit to the funciton.

This showed up as corrupted file modes when testing a new uninative tarball
containing this patchelf.

Rework and tweak the patch to fix this.

(From OE-Core rev: bcdba091d99f9a3ae67c0ba17fcf27329698a0c0)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-11 13:45:20 +00:00
Matthias Klein
6c9e94f318 boost: add json lib
Add the json lib which provides containers and algorithms
that implement JavaScript Object Notation, or simply "JSON",
a lightweight data-interchange format.

(From OE-Core rev: f4dbdb9774eb61a71289fe91b017b4caf9c34b16)

Signed-off-by: Matthias Klein <matthias@extraklein.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
Alexander Kanavin
29b2b08fd3 sstate: fix up additional debugging when fetch fails occur
This should print the actual stack trace, for real :)

(From OE-Core rev: 9fbc7d6a2b2388e70a76cb97285e2f60bdc79624)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
Markus Volk
cecad01191 seatd: build systemd backend if DISTRO_FEATURE systemd is set
Add libsystemd dependency if we have systemd in DISTRO_FEATURES.
This is needed to build the systemd backend. Projects that use seatd
to hook into logind (e.g. wlroots) fail to properly login without it.

(From OE-Core rev: c659e7468686b8f6995cdc01dd0dbe0e84946bf6)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
Luna Gräfje
0fde83cf97 tune-cortexa72: Fix a misspelt override in PACKAGE_EXTRA_ARCHS
Without this, the string "${PACKAGE_EXTRA_ARCHS:tune-armv8-crc}" will
show up in some bash tasks (notably opkg-arch-config.do_compile which is
how I found out about this) which will break things (besides obviously
not doing the intended thing of expanding to a list of architectures)

(From OE-Core rev: c5142f867aaa3fb6fc134781e2e54ce10eabd530)

Signed-off-by: Luna Gräfje <luna.graefje@orbitalsystems.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
3fb9966b4f screen: upgrade 4.8.0 -> 4.9.0
CVE-2021-26937.patch
removed since it is included in 4.9.0

Changelog:
=========
* Hardstatus option for used encoding (escape string '%e')
* OpenBSD uses native openpty() from its utils.h
* Fixes:
  - fix combining char handling that could lead to a segfault
  - CVE-2021-26937: possible denial of service via a crafted UTF-8 character sequence (bug #60030)
  - make screen exit code be 0 when checking --help
  - session names limit is 80 symbols (bug #61534)
  - option -X ignores specified user in multiuser env (bug #37437)
  - a lot of reformations/fixes/cleanups (man page and source code)

(From OE-Core rev: 8247097d2313ceb73bab1621d61b8aa3fb59095e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
c811b9f1e2 python3-pyelftools: upgrade 0.27 -> 0.28
Changelog:
=========
  - Added a method for returning the index of a section by name (#331)
  - Allow filtering by section types in iter_sections (#345)
  - Support Android compressed rel/rela sections (#357)
  - Initial support for PPC64LE (#360)
  - Initial DWARF v5 support (#363 with several follow-ups)
  - Fixed parsing for structures containing uids or gids in core
    dumps (#354)
  - Allow filtering by segment types in iter_segments (#375)
  - Add support for .note.gnu.property (#386)
  - Update readelf tests to work with more recent version of
    readelf (#387)
  - Add support for note GNU_PROPERTY_X86_FEATURE_1_AND (#388)

(From OE-Core rev: 5957eacc2d1b2a4a1731e9f518a1f76c9a450f51)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
3978b4f519 python3-pip: upgrade 22.0.2 -> 22.0.3
Changelog:
=========
Features
-------
Print the exception via rich.traceback, when running with --debug. (#10791)

Bug Fixes
---------
Only calculate topological installation order, for packages that are going to
be installed/upgraded.

This fixes an AssertionError that occured when determining installation order,
for a very specific combination of upgrading-already-installed-package + change
of dependencies + fetching some packages from a package index. This combination
was especially common in Read the Docs' builds. (#10851)

Use html.parser by default, instead of falling back to html5lib when
--use-deprecated=html5lib is not passed. (#10869)

Improved Documentation
----------------------
Clarify that using per-requirement overrides disables the usage of wheels. (#9674)

(From OE-Core rev: 72874df0a76869c21a28908597a6ea04213d1aeb)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
0b7d43b5d9 python3-pytest: upgrade 6.2.5 -> 7.0.0
License-Update: year from "2004-2020" changed to "2004".

(From OE-Core rev: 5f995c013a98b340989231611702c469dd774405)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
8960b39bb1 python3-pycryptodome: upgrade 3.14.0 -> 3.14.1
Changelog:
=========
GH#595: Fixed memory leak for GMP integers.

(From OE-Core rev: bf8dd261cc1f40525beacacc93d7de08c220ae92)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
63f18599a1 python3-magic: upgrade 0.4.24 -> 0.4.25
Changelog:
=========
  - Support os.PathLike values in Magic.from_file and magic.from_file
  - Handle some versions of libmagic that return mime string without charset
  - Fix tests for file 5.41
  - Include typing stub in package

(From OE-Core rev: ddf1cf89925ef8cb31a68041e97168959ca9b619)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
3872c13296 findutils: upgrade 4.8.0 -> 4.9.0
(From OE-Core rev: 389502162f63215a77dd58c4971f61fad13ea125)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
6ffba8f155 harfbuzz: upgrade 3.3.1 -> 3.3.2
Changelog:
=========
Revert splitting of pair positioning values introduced in 3.3.0 as it proved problematic

(From OE-Core rev: 8993285b02a1763b5e182850b19bbc140ca3906a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
7aab974f7f gdbm: upgrade 1.22 -> 1.23
refresh ptest.patch

(From OE-Core rev: 38d0c34b6a1b44fcc41099936b534202111c3ef7)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
6939cb68fc man-db: upgrade 2.9.4 -> 2.10.0
License-Update:
==============
 COPYING : "GNU Library" changed to "GNU Lesser"
         format changed
 COPYING.LIB : "51 Franklin St" changed to "51 Franklin Street"
               format changed

(From OE-Core rev: 68e7e1d332f9e0f777882e3a6b41b9d958340e7b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
e940763c71 libxkbcommon: upgrade 1.3.1 -> 1.4.0
Changelog:
=========
- Add `enable-tools` option to Meson build (on by default) to allow disabling
  the `xkbcli` tools.
- In `xkbcli list`, fix "YAML Norway problem" in output.
- In libxkbregistry, variants now inherit iso639, iso3166 and brief from parent
  layout if omitted.
- In libxkbregistry, don't call `xmlCleanupParser()` - it's not supposed to
  be called by libraries.
- In libxkbregistry, skip over invalid ISO-639 or ISO-3166 entries.

(From OE-Core rev: b5f516be42c7166eb1ac10b07ce05e95477c73f0)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
322904224c lzip: upgrade 1.22 -> 1.23
Changelog:
=========
* Decompression time has been reduced by 5-12% depending on the file.
* main.cc (getnum): Show option name and valid range if error.
* Improve several descriptions in manual, '--help', and man page.
* lzip.texi: Change GNU Texinfo category to 'Compression'.

(From OE-Core rev: 7fd35357985fbe9575b2e2e51b4ebbd8e291265b)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
7f1f176494 libxcrypt: upgrade 4.4.27 -> 4.4.28
Changelog:
=========
Add glibc-on-or1k (OpenRISC 1000) entry to libcrypt.minver.
This was added in GNU libc 2.35.

(From OE-Core rev: 63a37426109911ad629454cae1b66a2e34c4a43e)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
wangmy
7e2d184140 libmodulemd: upgrade 2.13.0 -> 2.14.0
Changelog:
=========
Enhancements:
-------------
New functions for stripping XMD from an index
(modulemd_module_index_clear_xmds()), from a module
(modulemd_module_clear_xmds()), and from a version 2 module stream
(modulemd_module_stream_v2_clear_xmd()). This enables you to prevent from leaking
private build options to output modulemd-v2 documents.
Interpret an invalid buildorder 18446744073709551615 as -1 if the library
is built with a new build boolean accept_overflowed_buildorder set to true.
Document module version, buildorder, and epoch limits in the specifications.
Also clarify that an epoch number at RPM artifacts is mandatory.
Document that modulemd_module_get_defaults can return NULL
Improve a documentation for modulemd_module_set_defaults() and
modulemd_module_index_upgrade_defaults() functions.
Improve modulemd-validator(1) manual page.
Drop a build dependency on help2man tool.

Fixes:
------
Fix a crash when updating an index with an invalid subdocument and a NULL
error parameter.
Fix clobbering module defaults on a modulemd_module_set_defaults() error.
Fix modulemd_module_index_upgrade_defaults() to actually use the requested
version.
Reject duplicate contexts in modulemd-packager-v3 documents.
Report an error if modulemd-validator tool is invoked with both --version
option and an unknown option.
Fix an undefined behaviour when comparing integers of different signs.
Fix DNF examples in a documentation.
Actually execute modulemd-obsoletes Python tests.
Fix deprecation warnings in tests with glib2-2.69.0.
Fix deprecation warnings in Python tests and make the test compatible with

(From OE-Core rev: 6b2697be1d595a080cffb1d32a4ac385b8a9a63f)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:08 +00:00
Bruce Ashfield
bffc5a1a3a lttng-modules: update devupstream to latest 2.13
This includes the following commits since the last update:

    7584cfc0 fix: net: socket: rename SKB_DROP_REASON_SOCKET_FILTER (v5.17)
    6e9d0d57 fix: net: skb: introduce kfree_skb_reason() (v5.17)
    98b7729a fix: random: rather than entropy_store abstraction, use global (v5.17)
    c8f96e77 fix: btrfs: pass fs_info to trace_btrfs_transaction_commit (v5.17)
    afc4fe89 fix: mm: compaction: fix the migration stats in trace_mm_compaction_migratepages() (v5.17)
    4b1945d3 fix: block: remove the ->rq_disk field in struct request (v5.17)
    a88ee460 fix: block: remove GENHD_FL_SUPPRESS_PARTITION_INFO (v5.17)
    babc49c6 Copyright ownership transfer
    8c0aec7e Version 2.13.1
    533556cd fix: mm: move kvmalloc-related functions to slab.h (v5.16)
    2f0087ab fix: block: don't call blk_status_to_errno in blk_update_request (v5.16)
    9b092ff2 fix: KVM: MMU: change tracepoints arguments to kvm_page_fault (v5.16)
    036297af fix: KVM: x86: Get exit_reason as part of kvm_x86_ops.get_exit_info (v5.16)
    a029f2a3 fix: isystem: delete global -isystem compile option (v5.16)
    d82de6f3 fix: block: move block-related definitions out of fs.h (v5.16)
    4fabf854 Fix: syscall tracing: missing trigger actions
    38b35aff Warn on event registration/unregistration failure
    e26f740b fix: implicit-int error in EXPORT_SYMBOL_GPL
    c570be0d fix: Revert "Makefile: Enable -Wimplicit-fallthrough for Clang" (v5.15)

(From OE-Core rev: d8ceaf9c97984f51a0526dbcc05ee2635f03b0c7)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Bruce Ashfield
3251babcd6 linux-yocto/5.10: update to v5.10.96
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    f255ac9e8776 Linux 5.10.96
    b43e9d2f6fc7 mtd: rawnand: mpc5121: Remove unused variable in ads5121_select_chip()
    b63e120189fd block: Fix wrong offset in bio_truncate()
    0b4e82403c84 fsnotify: invalidate dcache before IN_DELETE event
    8bae6db29c7f usr/include/Makefile: add linux/nfc.h to the compile-test coverage
    f36554de7897 dt-bindings: can: tcan4x5x: fix mram-cfg RX FIFO config
    446ff1fc37c7 net: bridge: vlan: fix memory leak in __allowed_ingress
    bc58a5bb9e6c ipv4: remove sparse error in ip_neigh_gw4()
    ebc5b8e471e5 ipv4: tcp: send zero IPID in SYNACK messages
    58f72918f942 ipv4: raw: lock the socket in raw_bind()
    9ffc94a81b0f net: bridge: vlan: fix single net device option dumping
    869f1704f1c2 Revert "ipv6: Honor all IPv6 PIO Valid Lifetime values"
    699eef4ed910 net: hns3: handle empty unknown interrupt for VF
    c9c81b393c74 net: cpsw: Properly initialise struct page_pool_params
    729e54636b3e yam: fix a memory leak in yam_siocdevprivate()
    93a6e920d8cc drm/msm/dpu: invalid parameter check in dpu_setup_dspp_pcc
    0b7d8db87d0b drm/msm/hdmi: Fix missing put_device() call in msm_hdmi_get_phy
    d1d4616d3e75 video: hyperv_fb: Fix validation of screen resolution
    0a60d04abc62 ibmvnic: don't spin in tasklet
    55258b505996 ibmvnic: init ->running_cap_crqs early
    b469cf91fb63 ipv4: fix ip option filtering for locally generated fragments
    9b4444197252 net: ipv4: Fix the warning for dereference
    2f56c4845df9 net: ipv4: Move ip_options_fragment() out of loop
    55402a461872 powerpc/perf: Fix power_pmu_disable to call clear_pmi_irq_pending only if PMI is pending
    0bdbf93ee253 hwmon: (lm90) Mark alert as broken for MAX6654
    c534287a57dc efi/libstub: arm64: Fix image check alignment at entry
    3572205b194c rxrpc: Adjust retransmission backoff
    5067f5699de7 octeontx2-pf: Forward error codes to VF
    bd024e36f681 phylib: fix potential use-after-free
    a839a79f4d6b net: phy: broadcom: hook up soft_reset for BCM54616S
    57b2f3632b2f sched/pelt: Relax the sync of util_sum with util_avg
    91b04e83c710 perf: Fix perf_event_read_local() time
    cffed7e631b5 kernel: delete repeated words in comments
    1af995c98b81 netfilter: conntrack: don't increment invalid counter on NF_REPEAT
    129c71829d7f powerpc64/bpf: Limit 'ldbrx' to processors compliant with ISA v2.06
    7a32824f7a9c NFS: Ensure the server has an up to date ctime before renaming
    666f6ab882ea NFS: Ensure the server has an up to date ctime before hardlinking
    4cd0ef621509 ipv6: annotate accesses to fn->fn_sernum
    79c0b5287ded drm/msm/dsi: invalid parameter check in msm_dsi_phy_enable
    3ab44a408bba drm/msm/dsi: Fix missing put_device() call in dsi_get_phy
    82c310d04b0f drm/msm: Fix wrong size calculation
    f57a99c9a55c net-procfs: show net devices bound packet types
    87880e3803ce NFSv4: nfs_atomic_open() can race when looking up a non-regular file
    ce8c552b88ca NFSv4: Handle case where the lookup of a directory fails
    b48a05cee2c0 hwmon: (lm90) Reduce maximum conversion rate for G781
    b26fed25e67b ipv4: avoid using shared IP generator for connected sockets
    283aa5a5afbc ping: fix the sk_bound_dev_if match in ping_lookup
    7bcb0c19abf4 hwmon: (lm90) Mark alert as broken for MAX6680
    925cbd596aa2 hwmon: (lm90) Mark alert as broken for MAX6646/6647/6649
    db044d97460e net: fix information leakage in /proc/net/ptype
    feb770cc00a8 ipv6_tunnel: Rate limit warning messages
    00849de10f79 scsi: bnx2fc: Flush destroy_work queue before calling bnx2fc_interface_put()
    fcaf94c49a84 rpmsg: char: Fix race between the release of rpmsg_eptdev and cdev
    1dbb206730f3 rpmsg: char: Fix race between the release of rpmsg_ctrldev and cdev
    20f667582189 usb: roles: fix include/linux/usb/role.h compile issue
    6aeff8a7c742 i40e: fix unsigned stat widths
    d2ed5997a94b i40e: Fix for failed to init adminq while VF reset
    768eb705e638 i40e: Fix queues reservation for XDP
    39896710f732 i40e: Fix issue when maximum queues is exceeded
    9068bcb2195b i40e: Increase delay to 1 s after global EMP reset
    b4c9b6afa3a7 powerpc/32: Fix boot failure with GCC latent entropy plugin
    50f5d0a8bd0e powerpc/32s: Fix kasan_init_region() for KASAN
    5d3af1dfdf0f powerpc/32s: Allocate one 256k IBAT instead of two consecutives 128k IBATs
    08f090bb9b69 x86/MCE/AMD: Allow thresholding interface updates after init
    791e5d5daa2c sched/membarrier: Fix membarrier-rseq fence command missing from query bitmask
    afbde455ebf4 ocfs2: fix a deadlock when commit trans
    97f75e7d4c30 jbd2: export jbd2_journal_[grab|put]_journal_head
    3921d081c9c3 ucsi_ccg: Check DEV_INT bit only when starting CCG4
    598a884c772c usb: typec: tcpm: Do not disconnect while receiving VBUS off
    e3b131e30e61 USB: core: Fix hang in usb_kill_urb by adding memory barriers
    3ca928c82427 usb: gadget: f_sourcesink: Fix isoc transfer for USB_SPEED_SUPER_PLUS
    053274bc6baa usb: common: ulpi: Fix crash in ulpi_match()
    20c51a4c5220 usb: xhci-plat: fix crash when suspend if remote wake enable
    38d1bf67a310 usb-storage: Add unusual-devs entry for VL817 USB-SATA bridge
    e0fcae7bd72b tty: Add support for Brainboxes UC cards.
    7079283d32a2 tty: n_gsm: fix SW flow control encoding/handling
    2683b0d5d7d5 serial: stm32: fix software flow control transfer
    4628b26df51c serial: 8250: of: Fix mapped region size when using reg-offset property
    94b23988c305 netfilter: nft_payload: do not update layer 4 checksum when mangling fragments
    bf0d4ae5c6c2 arm64: errata: Fix exec handling in erratum 1418040 workaround
    e92cac1dd803 KVM: x86: Update vCPU's runtime CPUID on write to MSR_IA32_XSS
    6b55af102b39 drm/etnaviv: relax submit size limits
    7a32d17fb73a perf/x86/intel/uncore: Fix CAS_COUNT_WRITE issue for ICX
    a2c8e1d9e41b Revert "KVM: SVM: avoid infinite loop on NPF from bad address"
    abae88fb37bf fsnotify: fix fsnotify hooks in pseudo filesystems
    6ceac38e9b0c ceph: set pool_ns in new inode layout for async creates
    e7be12ca7d39 ceph: properly put ceph_string reference after async create attempt
    39986696fef5 tracing: Don't inc err_log entry count if entry allocation fails
    d71b06aa9950 tracing/histogram: Fix a potential memory leak for kstrdup()
    561a22d44acc PM: wakeup: simplify the output logic of pm_show_wakelocks()
    b0f1cc093bc2 efi: runtime: avoid EFIv2 runtime services on Apple x86 machines
    de7cc8bcca90 udf: Fix NULL ptr deref when converting from inline format
    0a3cfd258923 udf: Restore i_lenAlloc when inode expansion fails
    f08801252d26 scsi: zfcp: Fix failed recovery on gone remote port with non-NPIV FCP devices
    ff6bdc205fd0 bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()
    6520fedfcebb s390/hypfs: include z/VM guests with access control group set
    c10e0627c71c s390/module: fix loading modules with a lot of relocations
    ba7c71a777c1 net: stmmac: skip only stmmac_ptp_register when resume from suspend
    11191406f2f1 net: sfp: ignore disabled SFP node
    e651772adced media: venus: core: Drop second v4l2 device unregister
    83d5196b65d1 Bluetooth: refactor malicious adv data check
    77656fde3c01 Linux 5.10.95
    ae2b20f27732 drm/vmwgfx: Fix stale file descriptors on failed usercopy
    11ba2c6dfb90 select: Fix indefinitely sleeping task in poll_schedule_timeout()
    a447d7f786ec KVM: x86/mmu: Fix write-protection of PTs mapped by the TDP MMU
    12d3389b7af6 rcu: Tighten rcu_advance_cbs_nowake() checks
    4d63363c88e3 bnx2x: Invalidate fastpath HSI version for VFs
    fdcfabd0952d bnx2x: Utilize firmware 7.13.21.0
    6a6acf927895 drm/i915: Flush TLBs before releasing backing store
    c525532e4f87 Linux 5.10.94
    c76c132444df scripts: sphinx-pre-install: Fix ctex support on Debian
    133cef0b6154 scripts: sphinx-pre-install: add required ctex dependency
    15ce9329a532 ath10k: Fix the MTU size on QCA9377 SDIO
    25b1a6d33039 mtd: nand: bbt: Fix corner case in bad block table handling
    8104e589fa4a lib/test_meminit: destroy cache in kmem_cache_alloc_bulk() test
    629250370052 mm/hmm.c: allow VM_MIXEDMAP to work with hmm_range_fault
    33bb7f027b06 lib82596: Fix IRQ check in sni_82596_probe
    078b5a4498e0 scripts/dtc: dtx_diff: remove broken example from help text
    21513c461557 dt-bindings: watchdog: Require samsung,syscon-phandle for Exynos7
    23bcf3615be7 dt-bindings: display: meson-vpu: Add missing amlogic,canvas property
    66467cc87a35 dt-bindings: display: meson-dw-hdmi: add missing sound-name-prefix property
    4496e4a427a0 net: mscc: ocelot: fix using match before it is set
    ee64479c9ce6 net: sfp: fix high power modules without diagnostic monitoring
    819e76bc572e net: ethernet: mtk_eth_soc: fix error checking in mtk_mac_config()
    4691c9f047a8 bcmgenet: add WOL IRQ check
    6973b38b9dba net_sched: restore "mpu xxx" handling
    20949c381646 net: bonding: fix bond_xmit_broadcast return value error bug
    799730d182d1 arm64: dts: qcom: msm8996: drop not documented adreno properties
    f6d4c0e017ec devlink: Remove misleading internal_flags from health reporter dump
    2e51a761b7ab perf probe: Fix ppc64 'perf probe add events failed' case
    59b44f77601d dmaengine: at_xdmac: Fix at_xdmac_lld struct definition
    0078f053714d dmaengine: at_xdmac: Fix lld view setting
    7ab120636d4e dmaengine: at_xdmac: Fix concurrency over xfers_list
    b5b27c5e3315 dmaengine: at_xdmac: Print debug message after realeasing the lock
    c536b351a75f dmaengine: at_xdmac: Start transfer for cyclic channels in issue_pending
    cd22e22e8eac dmaengine: at_xdmac: Don't start transactions at tx_submit level
    68a83051c8b1 perf script: Fix hex dump character output
    7b9d40e9f60d libcxgb: Don't accidentally set RTO_ONLINK in cxgb_find_route()
    cd5c24d2230f gre: Don't accidentally set RTO_ONLINK in gre_fill_metadata_dst()
    7f2ca96bd266 xfrm: Don't accidentally set RTO_ONLINK in decode_session4()
    2b1415c60b2e netns: add schedule point in ops_exit_list()
    edc09548ffc5 inet: frags: annotate races around fqdir->dead and fqdir->high_thresh
    69e7e979ed66 taskstats: Cleanup the use of task->exit_code
    56daa21414e9 virtio_ring: mark ring unused on error
    0c4ebcb00d88 vdpa/mlx5: Fix wrong configuration of virtio_version_1_0
    c736ec01a2fc rtc: pxa: fix null pointer dereference
    8b8ff4c793ee HID: vivaldi: fix handling devices not using numbered reports
    d7544cf6939c net: axienet: increase default TX ring size to 128
    557829d42d1f net: axienet: fix for TX busy handling
    41831d496772 net: axienet: fix number of TX ring slots for available check
    6301f3566aef net: axienet: Fix TX ring slot available check
    7a3d3d7f6d7b net: axienet: limit minimum TX ring size
    2f548489d64d net: axienet: add missing memory barriers
    bcc5d57e6091 net: axienet: reset core on initialization prior to MDIO access
    46c0ccaff285 net: axienet: Wait for PhyRstCmplt after core reset
    34942a228aec net: axienet: increase reset timeout
    a66b9bccf732 net/smc: Fix hung_task when removing SMC-R devices
    51b52cf35485 clk: si5341: Fix clock HW provider cleanup
    fe40f7aef387 clk: Emit a stern warning with writable debugfs enabled
    38221afa03af af_unix: annote lockless accesses to unix_tot_inflight & gc_in_progress
    a49e402f2309 f2fs: fix to reserve space for IO align feature
    39ad0581176d f2fs: compress: fix potential deadlock of compress file
    e1840365ed4f parisc: pdc_stable: Fix memory leak in pdcs_register_pathentries
    d806eb5f4e23 net/fsl: xgmac_mdio: Fix incorrect iounmap when removing module
    38c798384b90 net/fsl: xgmac_mdio: Add workaround for erratum A-009885
    734f4b0f831e ipv4: avoid quadratic behavior in netns dismantle
    86f0587f7432 ipv4: update fib_info_cnt under spinlock protection
    10e99ae9b5da perf evsel: Override attr->sample_period for non-libpfm4 events
    58fa3e900255 xdp: check prog type before updating BPF link
    38ee417f59c8 bpftool: Remove inclusion of utilities.mak from Makefiles
    2bcab471a26f block: Fix fsync always failed if once failed
    5e59f885353e powerpc/fsl/dts: Enable WA for erratum A-009885 on fman3l MDIO buses
    19aaef651948 powerpc/cell: Fix clang -Wimplicit-fallthrough warning
    4cb7aba1e086 Revert "net/mlx5: Add retry mechanism to the command entry index allocation"
    78cf5f63a3a9 dmaengine: stm32-mdma: fix STM32_MDMA_CTBR_TSEL_MASK
    16ad0aa917c9 RDMA/rxe: Fix a typo in opcode name
    885860717c29 RDMA/hns: Modify the mapping attribute of doorbell to device
    57cd8597c3ef dmaengine: uniphier-xdmac: Fix type of address variables
    4fe77b7cd272 scsi: core: Show SCMD_LAST in text form
    b30240911da4 Bluetooth: hci_sync: Fix not setting adv set duration
    55698d11c8da Documentation: fix firewire.rst ABI file path error
    5d38cbf66dd7 Documentation: refer to config RANDOMIZE_BASE for kernel address-space randomization
    abecf9d74836 Documentation: ACPI: Fix data node reference documentation
    d1e85fcd73b5 Documentation: dmaengine: Correctly describe dmatest with channel unset
    f6736bd81db4 media: correct MEDIA_TEST_SUPPORT help text
    55b10b88ac86 drm/vc4: hdmi: Make sure the device is powered with CEC
    81ac08a800b0 media: rcar-csi2: Optimize the selection PHTW register
    0baa3729d2eb can: mcp251xfd: mcp251xfd_tef_obj_read(): fix typo in error message
    f62bf6ee4fa3 firmware: Update Kconfig help text for Google firmware
    12224c0d19f3 of: base: Improve argument length mismatch error
    7bb99c7e13f8 drm/radeon: fix error handling in radeon_driver_open_kms
    0ca7ec6db20c ext4: don't use the orphan list when migrating an inode
    679fb065326b ext4: fix null-ptr-deref in '__ext4_journal_ensure_credits'
    d60e9daba29e ext4: destroy ext4_fc_dentry_cachep kmemcache on module removal
    f26b24b4c115 ext4: fast commit may miss tracking unwritten range during ftruncate
    04b562730677 ext4: use ext4_ext_remove_space() for fast commit replay delete range
    53998b3f6dcd ext4: Fix BUG_ON in ext4_bread when write quota data
    da364ab35892 ext4: set csum seed in tmp inode while migrating to extents
    e4221629d5e1 ext4: fix fast commit may miss tracking range for FALLOC_FL_ZERO_RANGE
    720508dd118d ext4: initialize err_blk before calling __ext4_get_inode_loc
    f9ed0ea0a9fc ext4: fix a possible ABBA deadlock due to busy PA
    115b762b48ab ext4: make sure quota gets properly shutdown on error
    762e4c33e9e5 ext4: make sure to reset inode lockdep class when quota enabling fails
    f8c3ec2e21b9 btrfs: respect the max size in the header when activating swap file
    e7764bccae77 btrfs: check the root node for uptodate before returning it
    09e0ef287e93 btrfs: fix deadlock between quota enable and other quota operations
    56f974d583fc xfrm: fix policy lookup for ipv6 gre packets
    84166c1177f3 PCI: pci-bridge-emul: Set PCI_STATUS_CAP_LIST for PCIe device
    7aeeb9fe9ca0 PCI: pci-bridge-emul: Correctly set PCIe capabilities
    af1d0acdaca7 PCI: pci-bridge-emul: Fix definitions of reserved bits
    0f2ae6691e73 PCI: pci-bridge-emul: Properly mark reserved PCIe bits in PCI config space
    2a0d437d8a76 PCI: pci-bridge-emul: Make expansion ROM Base Address register read-only
    def2825b09ec PCI: pciehp: Use down_read/write_nested(reset_lock) to fix lockdep errors
    6cbe8f8deb62 PCI: xgene: Fix IB window setup
    e09f47e77b6e powerpc/64s/radix: Fix huge vmap false positive
    eb44b1386af5 parisc: Fix lpa and lpa_user defines
    9b78ee2341d4 drm/bridge: analogix_dp: Make PSR-exit block less
    8cbbf4a6f1ac drm/nouveau/kms/nv04: use vzalloc for nv04_display
    605583fcccb5 drm/etnaviv: limit submit sizes
    6c1e3d8b1bff device property: Fix fwnode_graph_devcon_match() fwnode leak
    ecb71f7bd584 s390/mm: fix 2KB pgtable release race
    798754ba48b7 iwlwifi: mvm: Increase the scan timeout guard to 30 seconds
    c524f4cfb3e5 tracing/kprobes: 'nmissed' not showed correctly for kretprobe
    b72075e395b3 cputime, cpuacct: Include guest time in user time in cpuacct.stat
    13518f058fde serial: Fix incorrect rs485 polarity on uart open
    9668cf9e4af0 fuse: Pass correct lend value to filemap_write_and_wait_range()
    9fbaddd783fd xen/gntdev: fix unmap notification order
    67b078d996f7 spi: uniphier: Fix a bug that doesn't point to private data correctly
    05026c4e94c9 tpm: fix NPE on probe for missing device
    76006d33f1c8 ubifs: Error path in ubifs_remount_rw() seems to wrongly free write buffers
    4f0762ac32b5 crypto: caam - replace this_cpu_ptr with raw_cpu_ptr
    9e6ff2d5725b crypto: stm32/crc32 - Fix kernel BUG triggered in probe()
    2031e0246e45 crypto: omap-aes - Fix broken pm_runtime_and_get() usage
    43e94431c313 rpmsg: core: Clean up resources on announce_create failure.
    082ff9e12b4a phy: mediatek: Fix missing check in mtk_mipi_tx_probe
    ff08cf1e34a1 ASoC: mediatek: mt8183: fix device_node leak
    f28672eef4a9 ASoC: mediatek: mt8173: fix device_node leak
    0df51040089d scsi: sr: Don't use GFP_DMA
    de9a936b04c5 MIPS: Octeon: Fix build errors using clang
    da7df943e254 i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters
    f09f7ccb28bb irqchip/gic-v4: Disable redistributors' view of the VPE table at boot time
    bc2d961d821b MIPS: OCTEON: add put_device() after of_find_device_by_node()
    ce34b03a71b6 udf: Fix error handling in udf_new_inode()
    15be042e7fd9 powerpc/fadump: Fix inaccurate CPU state info in vmcore generated with panic
    f2e658d9bda2 powerpc: handle kdump appropriately with crash_kexec_post_notifiers option
    044164b4198e selftests/powerpc/spectre_v2: Return skip code when miss_percent is high
    21125e011620 powerpc/40x: Map 32Mbytes of memory at startup
    c330442f46ea MIPS: Loongson64: Use three arguments for slti
    af8d07735083 ALSA: seq: Set upper limit of processed events
    297210783a7a scsi: lpfc: Trigger SLI4 firmware dump before doing driver cleanup
    dfde7afed711 dm: fix alloc_dax error handling in alloc_dev
    2e2086f49e08 nvmem: core: set size for sysfs bin file
    4a273a94bda8 w1: Misuse of get_user()/put_user() reported by sparse
    87e91d6c6a5e KVM: PPC: Book3S: Suppress failed alloc warning in H_COPY_TOFROM_GUEST
    23bb3f01ceb5 KVM: PPC: Book3S: Suppress warnings when allocating too big memory slots
    03c1595a181c powerpc/powermac: Add missing lockdep_register_key()
    df29c01b9fbe clk: meson: gxbb: Fix the SDM_EN bit for MPLL0 on GXBB
    30d35a1abd9e i2c: mpc: Correct I2C reset procedure
    4b25aad655c9 powerpc/smp: Move setup_profiling_timer() under CONFIG_PROFILING
    25714ad6bf5e i2c: i801: Don't silently correct invalid transfer size
    75e2cfa5fae9 powerpc/watchdog: Fix missed watchdog reset due to memory ordering race
    a83639521a4f powerpc/btext: add missing of_node_put
    fc10d8f00a89 powerpc/cell: add missing of_node_put
    297ff7d5f157 powerpc/powernv: add missing of_node_put
    c83ba875d7be powerpc/6xx: add missing of_node_put
    d240b08d8ac4 x86/kbuild: Enable CONFIG_KALLSYMS_ALL=y in the defconfigs
    3681e9f3f0f7 parisc: Avoid calling faulthandler_disabled() twice
    f2a27dd7a2de random: do not throw away excess input to crng_fast_load
    f8fdebfb4b37 serial: core: Keep mctrl register state and cached copy in sync
    a03fd1b19891 serial: pl010: Drop CR register reset on set_termios
    40ac33892630 regulator: qcom_smd: Align probe function with rpmh-regulator
    3dc751213fe9 net: gemini: allow any RGMII interface mode
    1063de897563 net: phy: marvell: configure RGMII delays for 88E1118
    00580670b98b mlxsw: pci: Avoid flow control for EMAD packets
    eaf8cffcf5d5 dm space map common: add bounds check to sm_ll_lookup_bitmap()
    5850bef8e955 dm btree: add a defensive bounds check to insert_at()
    754b663ea916 mac80211: allow non-standard VHT MCS-10/11
    e8da60b3a629 net: mdio: Demote probed message to debug print
    6b22c9824ddb btrfs: remove BUG_ON(!eie) in find_parent_nodes
    623c65bc7336 btrfs: remove BUG_ON() in find_parent_nodes()
    44cbd2a16a07 ACPI: battery: Add the ThinkPad "Not Charging" quirk
    7b6dc07c6e69 amdgpu/pm: Make sysfs pm attributes as read-only for VFs
    516e332d6fce drm/amdgpu: fixup bad vram size on gmc v8
    ee88ff140de2 ACPICA: Hardware: Do not flush CPU cache when entering S4 and S5
    8544074762e2 ACPICA: Fix wrong interpretation of PCC address
    e70be176961d ACPICA: Executer: Fix the REFCLASS_REFOF case in acpi_ex_opcode_1A_0T_1R()
    8ea9216d20b7 ACPICA: Utilities: Avoid deleting the same object twice in a row
    fcfd8282c5d2 ACPICA: actypes.h: Expand the ACPI_ACCESS_ definitions
    e3a51d6c90a8 jffs2: GC deadlock reading a page that is used in jffs2_write_begin()
    e35cb5b122fc drm/etnaviv: consider completed fence seqno in hang check
    a0b13335a342 xfrm: rate limit SA mapping change message to user space
    0b7beb2fea8f Bluetooth: vhci: Set HCI_QUIRK_VALID_LE_STATES
    6ac117edac18 ath11k: Fix napi related hang
    756a7188b277 um: registers: Rename function names to avoid conflicts and build problems
    d817d10f7a00 iwlwifi: pcie: make sure prph_info is set when treating wakeup IRQ
    f266e1c5bf88 iwlwifi: mvm: Fix calculation of frame length
    6e44b600543c iwlwifi: remove module loading failure message
    febab6b60d61 iwlwifi: fix leaks/bad data after failed firmware load
    81d2e96ababb PM: AVS: qcom-cpr: Use div64_ul instead of do_div
    c0a1d844e3e7 rtw88: 8822c: update rx settings to prevent potential hw deadlock
    3ef25f3122c0 ath9k: Fix out-of-bound memcpy in ath9k_hif_usb_rx_stream
    e10de3105547 usb: hub: Add delay for SuperSpeed hub resume to let links transit to U0
    282286c632a2 cpufreq: Fix initialization of min and max frequency QoS requests
    37b25de3af10 PM: runtime: Add safety net to supplier device release
    5dfc6fa0b8c2 arm64: tegra: Adjust length of CCPLEX cluster MMIO region
    b68c56a149e4 arm64: dts: ls1028a-qds: move rtc node to the correct i2c bus
    b6f7f0ad5af5 audit: ensure userspace is penalized the same as the kernel when under pressure
    5d54ed155031 mmc: core: Fixup storing of OCR for MMC_QUIRK_NONSTD_SDIO
    51a5156bb779 media: saa7146: hexium_gemini: Fix a NULL pointer dereference in hexium_attach()
    f6bc6b178ce1 media: igorplugusb: receiver overflow should be reported
    d698e024be2e HID: quirks: Allow inverting the absolute X/Y values
    59f03633463f bpf: Do not WARN in bpf_warn_invalid_xdp_action()
    0e8805f73b69 net: bonding: debug: avoid printing debug logs when bond is not notifying peers
    8c72de32ff13 x86/mce: Mark mce_read_aux() noinstr
    1ad3e60f1fec x86/mce: Mark mce_end() noinstr
    f21ca973b43f x86/mce: Mark mce_panic() noinstr
    de360d944386 x86/mce: Allow instrumentation during task work queueing
    af371e0abb6c ath11k: Avoid false DEADLOCK warning reported by lockdep
    aec69e2f33b4 selftests/ftrace: make kprobe profile testcase description unique
    07ecabf15ad3 gpio: aspeed: Convert aspeed_gpio.lock to raw_spinlock
    7e09f9d15e43 net: phy: prefer 1000baseT over 1000baseKX
    443133330a5d net-sysfs: update the queue counts in the unregistration path
    58b4c1ce8328 ath10k: Fix tx hanging
    fcba0bce3357 ath11k: avoid deadlock by change ieee80211_queue_work for regd_update_work
    93a108d466f8 iwlwifi: mvm: avoid clearing a just saved session protection id
    ec01e0fe2184 iwlwifi: mvm: synchronize with FW after multicast commands
    c1976a424807 thunderbolt: Runtime PM activate both ends of the device link
    830e5d1b4344 media: m920x: don't use stack on USB reads
    c33f0f22bfea media: saa7146: hexium_orion: Fix a NULL pointer dereference in hexium_attach()
    526b6c9b4521 media: rcar-vin: Update format alignment constraints
    74e60c1dce06 media: uvcvideo: Increase UVC_CTRL_CONTROL_TIMEOUT to 5 seconds.
    d0e3ab637de1 drm: rcar-du: Fix CRTC timings when CMM is used
    e61aa46d0f27 x86/mm: Flush global TLB when switching to trampoline page-table
    0946fdd9290a floppy: Add max size check for user space request
    409d45bcd381 usb: uhci: add aspeed ast2600 uhci support
    d0aec428c072 arm64: dts: ti: j7200-main: Fix 'dtbs_check' serdes_ln_ctrl node
    fcb45ac39f90 ACPI / x86: Add not-present quirk for the PCI0.SDHB.BRC1 device on the GPD win
    b8b2e74a8751 ACPI / x86: Allow specifying acpi_device_override_status() quirks by path
    cda755506df4 ACPI: Change acpi_device_always_present() into acpi_device_override_status()
    b029625063c1 ACPI / x86: Drop PWM2 device on Lenovo Yoga Book from always present table
    cf3b1a160dc2 media: venus: avoid calling core_clk_setrate() concurrently during concurrent video sessions
    adbe14867277 ath11k: Avoid NULL ptr access during mgmt tx cleanup
    ab523ea096ef rsi: Fix out-of-bounds read in rsi_read_pkt()
    752587675068 rsi: Fix use-after-free in rsi_rx_done_handler()
    6036500fdf77 mwifiex: Fix skb_over_panic in mwifiex_usb_recv()
    8a6371d84c5f crypto: jitter - consider 32 LSB for APT
    240cf5d3cb5e HSI: core: Fix return freed object in hsi_new_client
    f4295b7dca87 gpiolib: acpi: Do not set the IRQ type if the IRQ is already in use
    f0653cd4da66 tty: serial: imx: disable UCR4_OREN in .stop_rx() instead of .shutdown()
    b8d10f601f22 drm/bridge: megachips: Ensure both bridges are probed before registration
    43fc9e267e2e mlxsw: pci: Add shutdown method in PCI driver
    b2e921fa9219 soc: ti: pruss: fix referenced node in error message
    07fbbc4dc79d drm/amdgpu/display: set vblank_disable_immediate for DC
    019fe9723a83 drm/amd/display: check top_pipe_to_program pointer
    3c3c0b6c4ae9 ARM: imx: rename DEBUG_IMX21_IMX27_UART to DEBUG_IMX27_UART
    f54d8cd831be EDAC/synopsys: Use the quirk for version instead of ddr version
    0b85d73fdbc8 media: b2c2: Add missing check in flexcop_pci_isr:
    c978d39a8b14 HID: apple: Do not reset quirks when the Fn key is not found
    2df002e3276b drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L
    5aa57672c66c usb: gadget: f_fs: Use stream_open() for endpoint files
    129e8faaee97 ath11k: Fix crash caused by uninitialized TX ring
    e8b271f2aadd media: atomisp: handle errors at sh_css_create_isp_params()
    ebe9c978d9e7 batman-adv: allow netlink usage in unprivileged containers
    ff452db96163 ARM: shmobile: rcar-gen2: Add missing of_node_put()
    ff2138d6c2a3 media: atomisp-ov2680: Fix ov2680_set_fmt() clobbering the exposure
    51ef6582a218 media: atomisp: set per-device's default mode
    ac08140677c0 media: atomisp: fix try_fmt logic
    518e059789f6 drm/nouveau/pmu/gm200-: avoid touching PMU outside of DEVINIT/PREOS/ACR
    e3ba02b043f2 drm/bridge: dw-hdmi: handle ELD when DRM_BRIDGE_ATTACH_NO_CONNECTOR
    2f13f10fddf4 ar5523: Fix null-ptr-deref with unexpected WDCMSG_TARGET_START reply
    a9d2ccfc7d2c selftests/bpf: Fix bpf_object leak in skb_ctx selftest
    b207356933f4 drm/lima: fix warning when CONFIG_DEBUG_SG=y & CONFIG_DMA_API_DEBUG=y
    db1e878373bf fs: dlm: filter user dlm messages for kernel locks
    f9c9a46efd94 Bluetooth: Fix debugfs entry leak in hci_register_dev()
    852d7d436fd1 ARM: dts: omap3-n900: Fix lp5523 for multi color
    b5793aff11d7 of: base: Fix phandle argument length mismatch error message
    e16e836d510c clk: bm1880: remove kfrees on static allocations
    36d46e21c9c4 ASoC: fsl_asrc: refine the check of available clock divider
    5a6864e2e6ab RDMA/cxgb4: Set queue pair state when being queried
    80524c8cdf29 ASoC: fsl_mqs: fix MODULE_ALIAS
    74988d017dd1 powerpc/xive: Add missing null check after calling kmalloc
    588e0b81ce38 mips: bcm63xx: add support for clk_set_parent()
    e3de89d010c0 mips: lantiq: add support for clk_set_parent()
    8f8468a089b0 arm64: tegra: Remove non existent Tegra194 reset
    702902fc7fb0 arm64: tegra: Fix Tegra194 HDA {clock,reset}-names ordering
    24b047d72c77 counter: stm32-lptimer-cnt: remove iio counter abi
    a39460610452 misc: lattice-ecp3-config: Fix task hung when firmware load failed
    696a50abbc7c ASoC: samsung: idma: Check of ioremap return value
    d491a2c2cf96 ASoC: mediatek: Check for error clk pointer
    c73ccdd62d21 phy: uniphier-usb3ss: fix unintended writing zeros to PHY register
    d781f4cd8c71 scsi: block: pm: Always set request queue runtime active in blk_post_runtime_resume()
    6e2a16954459 iommu/iova: Fix race between FQ timeout and teardown
    57bc8985753c ASoC: Intel: catpt: Test dmaengine_submit() result before moving on
    676049a3d2c6 iommu/amd: Restore GA log/tail pointer on host resume
    c2bd7c31de1a iommu/amd: Remove iommu_init_ga()
    62ea255f2bde dmaengine: pxa/mmp: stop referencing config->slave_id
    0be9ae1e532e mips: fix Kconfig reference to PHYS_ADDR_T_64BIT
    88d78b25db1f mips: add SYS_HAS_CPU_MIPS64_R5 config for MIPS Release 5 support
    51b8e814bcef clk: stm32: Fix ltdc's clock turn off by clk_disable_unused() after system enter shell
    dff359e04260 of: unittest: 64 bit dma address test requires arch support
    918105df78b7 of: unittest: fix warning on PowerPC frame size warning
    0e04518b1dd9 ASoC: rt5663: Handle device_property_read_u32_array error codes
    7c0d9c815ce8 RDMA/cma: Let cma_resolve_ib_dev() continue search even after empty entry
    2432d325f946 RDMA/core: Let ib_find_gid() continue search even after empty entry
    d77916df161b powerpc/powermac: Add additional missing lockdep_register_key()
    8b3783e517f6 PCI/MSI: Fix pci_irq_vector()/pci_irq_get_affinity()
    7be2a0bcaf8e RDMA/qedr: Fix reporting max_{send/recv}_wr attrs
    e19469468b7b scsi: ufs: Fix race conditions related to driver data
    ed43b2e048fe iommu/io-pgtable-arm: Fix table descriptor paddr formatting
    e9e4d1fb4590 openrisc: Add clone3 ABI wrapper
    551a785c26f6 binder: fix handling of error during copy
    88ddf033a5e4 char/mwave: Adjust io port register size
    8937aee4c0fa ALSA: usb-audio: Drop superfluous '0' in Presonus Studio 1810c's ID
    bcd533417fd0 ALSA: oss: fix compile error when OSS_DEBUG is enabled
    fd99aeb97845 clocksource: Avoid accidental unstable marking of clocksources
    cacc6c30e3eb clocksource: Reduce clocksource-skew threshold
    86ad478c99d2 powerpc/32s: Fix shift-out-of-bounds in KASAN init
    ef798cd035f3 powerpc/perf: Fix PMU callbacks to clear pending PMI before resetting an overflown PMC
    58014442a9e8 powerpc/irq: Add helper to set regs->softe
    c9ffa84a3bd1 powerpc/perf: move perf irq/nmi handling details into traps.c
    a0758b3be46d powerpc/perf: MMCR0 control for PMU registers under PMCC=00
    f4df6db5b0b8 powerpc/64s: Convert some cpu_setup() and cpu_restore() functions to C
    a9c9d2ff6423 dt-bindings: thermal: Fix definition of cooling-maps contribution property
    2bd8d937957f ASoC: uniphier: drop selecting non-existing SND_SOC_UNIPHIER_AIO_DMA
    5a821af769bb powerpc/prom_init: Fix improper check of prom_getprop()
    9ca761ef946d clk: imx8mn: Fix imx8mn_clko1_sels
    999528d8a749 scsi: pm80xx: Update WARN_ON check in pm8001_mpi_build_cmd()
    c5f414d69ac9 RDMA/hns: Validate the pkey index
    04a032ea2498 RDMA/bnxt_re: Scan the whole bitmap when checking if "disabling RCFW with pending cmd-bit"
    84cd5c029d48 ALSA: hda: Add missing rwsem around snd_ctl_remove() calls
    180e9d7384c6 ALSA: PCM: Add missing rwsem around snd_ctl_remove() calls
    49d76154ba8d ALSA: jack: Add missing rwsem around snd_ctl_remove() calls
    f871cd8ee0f0 ext4: avoid trim error on fs with small groups
    99590e820feb net: mcs7830: handle usb read errors properly
    2b948524ae65 iwlwifi: mvm: Use div_s64 instead of do_div in iwl_mvm_ftm_rtt_smoothing()
    04ce9e2aeda7 pcmcia: fix setting of kthread task states
    5064bfe046b0 can: xilinx_can: xcan_probe(): check for error irq
    b6dd1577bc92 can: softing: softing_startstop(): fix set but not used variable warning
    b9ac866c23bb tpm_tis: Fix an error handling path in 'tpm_tis_core_init()'
    fb46223c9f94 tpm: add request_locality before write TPM_INT_ENABLE
    20edf903a3a5 can: mcp251xfd: add missing newline to printed strings
    d71fca5d0167 regmap: Call regmap_debugfs_exit() prior to _init()
    838acddcdf75 netrom: fix api breakage in nr_setsockopt()
    0d04479857bc ax25: uninitialized variable in ax25_setsockopt()
    27e9910c4516 spi: spi-meson-spifc: Add missing pm_runtime_disable() in meson_spifc_probe
    9d6350cf8e5a Bluetooth: L2CAP: uninitialized variables in l2cap_sock_setsockopt()
    9defd7d4c084 lib/mpi: Add the return value check of kcalloc()
    e801f81cee3c net/mlx5: Set command entry semaphore up once got index free
    d2b9ce705d79 Revert "net/mlx5e: Block offload of outer header csum for UDP tunnels"
    67e1a449a165 net/mlx5e: Don't block routes with nexthop objects in SW
    cc40fa05c0a6 net/mlx5e: Fix page DMA map/unmap attributes
    b3dda01d1d47 debugfs: lockdown: Allow reading debugfs files that are not world readable
    b9b5da3e187e HID: hid-uclogic-params: Invalid parameter check in uclogic_params_frame_init_v1_buttonpad
    541c3a044b46 HID: hid-uclogic-params: Invalid parameter check in uclogic_params_huion_init
    c47f842e0c3c HID: hid-uclogic-params: Invalid parameter check in uclogic_params_get_str_desc
    cf5ad827ee69 HID: hid-uclogic-params: Invalid parameter check in uclogic_params_init
    94177fcecc35 usb: dwc3: qcom: Fix NULL vs IS_ERR checking in dwc3_qcom_probe
    4579954bf4cc Bluetooth: hci_qca: Fix NULL vs IS_ERR_OR_NULL check in qca_serdev_probe
    f6bf3d66393b Bluetooth: hci_bcm: Check for error irq
    f5e4f68d57d6 fsl/fman: Check for null pointer after calling devm_ioremap
    60aca6fdc167 staging: greybus: audio: Check null pointer
    a1068bfee47a rocker: fix a sleeping in atomic bug
    2db344725e17 ppp: ensure minimum packet size in ppp_write()
    45643b1b6ce1 netfilter: nft_set_pipapo: allocate pcpu scratch maps on clone
    8772700a9f1e bpf: Fix SO_RCVBUF/SO_SNDBUF handling in _bpf_setsockopt().
    342332fb0be6 bpf: Don't promote bogus looking registers after null check.
    0036c78c492a netfilter: ipt_CLUSTERIP: fix refcount leak in clusterip_tg_check()
    2e718389b986 power: reset: mt6397: Check for null res pointer
    4210c35fe81b pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in nonstatic_find_mem_region()
    2dee347f356d pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in __nonstatic_find_io_region()
    0f03132191ba ACPI: scan: Create platform device for BCM4752 and LNV4752 ACPI nodes
    595e1ec55b30 x86/mce/inject: Avoid out-of-bounds write when setting flags
    df1268181928 hwmon: (mr75203) fix wrong power-up delay value
    aea5302d9ddc x86/boot/compressed: Move CLANG_FLAGS to beginning of KBUILD_CFLAGS
    70eec71f32eb Bluetooth: hci_qca: Stop IBS timer during BT OFF
    1d4e722b62d2 software node: fix wrong node passed to find nargs_prop
    f8f3c1720d77 backlight: qcom-wled: Respect enabled-strings in set_brightness
    de79bcbfaf4d backlight: qcom-wled: Use cpu_to_le16 macro to perform conversion
    c79f9b8d8e26 backlight: qcom-wled: Override default length with qcom,enabled-strings
    bf4daf6153c9 backlight: qcom-wled: Fix off-by-one maximum with default num_strings
    09aed85e8c98 backlight: qcom-wled: Pass number of elements to read to read_u32_array
    f4ed4fc504fd backlight: qcom-wled: Validate enabled string indices in DT
    e668ac6506d3 bpftool: Enable line buffering for stdout
    009bb7ee1577 Bluetooth: L2CAP: Fix using wrong mode
    1a2241ad400b um: virtio_uml: Fix time-travel external time propagation
    8411722e5652 um: fix ndelay/udelay defines
    b2b1b490bd29 selinux: fix potential memleak in selinux_add_opt()
    3253cf091464 mmc: meson-mx-sdio: add IRQ check
    decb2099549d mmc: meson-mx-sdhc: add IRQ check
    bdc6c9fc5f78 iwlwifi: mvm: test roc running status bits before removing the sta
    a750fcd604a6 iwlwifi: mvm: fix 32-bit build in FTM
    86b0122d2682 ARM: dts: armada-38x: Add generic compatible to UART nodes
    1f5428e43806 arm64: dts: marvell: cn9130: enable CP0 GPIO controllers
    874b97e86278 arm64: dts: marvell: cn9130: add GPIO and SPI aliases
    407ef1db4036 usb: ftdi-elan: fix memory leak on device disconnect
    2a65da5a1ea3 ARM: 9159/1: decompressor: Avoid UNPREDICTABLE NOP encoding
    47dd693c94bf xfrm: state and policy should fail if XFRMA_IF_ID 0
    db369047e3b3 xfrm: interface with if_id 0 should return error
    37441ddadc1e media: hantro: Fix probe func error path
    3849ec830bf7 drm/tegra: vic: Fix DMA API misuse
    b230114bc57a drm/bridge: ti-sn65dsi86: Set max register for regmap
    db97fc2c4425 drm/msm/dpu: fix safe status debugfs file
    3580055d1fca arm64: dts: qcom: ipq6018: Fix gpio-ranges property
    6f20a5a98a90 arm64: dts: qcom: c630: Fix soundcard setup
    394ee480aa3e ath11k: Fix a NULL pointer dereference in ath11k_mac_op_hw_scan()
    f6e4a6cbdb6f media: coda/imx-vdoa: Handle dma_set_coherent_mask error codes
    1a8869de328a media: msi001: fix possible null-ptr-deref in msi001_probe()
    a79327bb0191 media: dw2102: Fix use after free
    958a8819d414 ARM: dts: gemini: NAS4220-B: fis-index-block with 128 KiB sectors
    3e51460638a6 ath11k: Fix deleting uninitialized kernel timer during fragment cache flush
    b35263f000a5 crypto: stm32 - Revert broken pm_runtime_resume_and_get changes
    1f5b81874f27 crypto: stm32/cryp - fix bugs and crash in tests
    1f6151b0774b crypto: stm32/cryp - fix lrw chaining mode
    2bd40e3a3aa2 crypto: stm32/cryp - fix double pm exit
    533af1621d1c crypto: stm32/cryp - check early input data
    5deb24e50372 crypto: stm32/cryp - fix xts and race condition in crypto_engine requests
    e9e0dd5da8ca crypto: stm32/cryp - fix CTR counter carry
    c40b1bc851e0 crypto: stm32 - Fix last sparse warning in stm32_cryp_check_ctr_counter
    93033bbbdc25 selftests: harness: avoid false negatives if test has no ASSERTs
    f568fd97d751 selftests: clone3: clone3: add case CLONE3_ARGS_NO_TEST
    d21b47c60737 x86/uaccess: Move variable into switch case statement
    3e801ea43c4b xfrm: fix a small bug in xfrm_sa_len()
    b87034d7a2a8 mwifiex: Fix possible ABBA deadlock
    0836f9404017 rcu/exp: Mark current CPU as exp-QS in IPI loop second pass
    027165c491e4 drm/msm/dp: displayPort driver need algorithm rational
    268f35245650 sched/rt: Try to restart rt period timer when rt runtime exceeded
    bb0579ab5077 wireless: iwlwifi: Fix a double free in iwl_txq_dyn_alloc_dma
    b4b911b1648c media: si2157: Fix "warm" tuner state detection
    7009a5fbc589 media: saa7146: mxb: Fix a NULL pointer dereference in mxb_attach()
    df79d2bf95e0 media: dib8000: Fix a memleak in dib8000_init()
    f0cb43a2c674 arm64: clear_page() shouldn't use DC ZVA when DCZID_EL0.DZP == 1
    88ed31aab481 arm64: lib: Annotate {clear, copy}_page() as position-independent
    69e402a98541 bpf: Remove config check to enable bpf support for branch records
    924886fa2246 bpf: Disallow BPF_LOG_KERNEL log level for bpf(BPF_BTF_LOAD)
    218d952160f7 bpf: Adjust BTF log size limit.
    b77ef5b4ead6 sched/fair: Fix per-CPU kthread and wakee stacking for asym CPU capacity
    d7d5b3bc5263 sched/fair: Fix detection of per-CPU kthreads waking a task
    ec121517ac8d Bluetooth: btmtksdio: fix resume failure
    2a7edcb3ef72 staging: rtl8192e: rtllib_module: fix error handle case in alloc_rtllib()
    49f5cd2b7c41 staging: rtl8192e: return error code from rtllib_softmac_init()
    04fdd426cef2 floppy: Fix hang in watchdog when disk is ejected
    45bbe008013f serial: amba-pl011: do not request memory region twice
    8409d2394cca tty: serial: uartlite: allow 64 bit address
    a001a15ab374 arm64: dts: ti: k3-j7200: Correct the d-cache-sets info
    75919207c16a arm64: dts: ti: k3-j721e: Fix the L2 cache sets
    2dcfa3c76596 arm64: dts: ti: k3-j7200: Fix the L2 cache sets
    f277978d6c46 drm/radeon/radeon_kms: Fix a NULL pointer dereference in radeon_driver_open_kms()
    3ca1b3b82fe7 drm/amdgpu: Fix a NULL pointer dereference in amdgpu_connector_lcd_native_mode()
    96e05d2d9370 thermal/drivers/imx8mm: Enable ADC when enabling monitor
    ef72449e2d79 ACPI: EC: Rework flushing of EC work while suspended to idle
    c0acd5a09796 cgroup: Trace event cgroup id fields should be u64
    e7e178e26418 arm64: dts: qcom: msm8916: fix MMC controller aliases
    894d91c6334b netfilter: bridge: add support for pppoe filtering
    13f64bbe4255 thermal/drivers/imx: Implement runtime PM support
    c3a59f34e87c media: venus: core: Fix a resource leak in the error handling path of 'venus_probe()'
    50c4244906d6 media: venus: core: Fix a potential NULL pointer dereference in an error handling path
    eeefa2eae8fc media: venus: core, venc, vdec: Fix probe dependency error
    53f65afc260f media: venus: pm_helpers: Control core power domain manually
    89f518b153d1 media: coda: fix CODA960 JPEG encoder buffer overflow
    1da628d351a9 media: mtk-vcodec: call v4l2_m2m_ctx_release first when file is released
    2028fb832da6 media: si470x-i2c: fix possible memory leak in si470x_i2c_probe()
    e8d78f924f02 media: imx-pxp: Initialize the spinlock prior to using it
    621e8ce75d66 media: rcar-csi2: Correct the selection of hsfreqrange
    ad52b9890b83 mfd: atmel-flexcom: Use .resume_noirq
    46d6a2311409 mfd: atmel-flexcom: Remove #ifdef CONFIG_PM_SLEEP
    f93c9aa1d36f tty: serial: atmel: Call dma_async_issue_pending()
    755a6c873b9c tty: serial: atmel: Check return code of dmaengine_submit()
    bd85b2e77aa9 arm64: dts: ti: k3-j721e: correct cache-sets info
    32e9947e6639 ath11k: Use host CE parameters for CE interrupts configuration
    6a49acfacab5 crypto: qat - fix undetected PFVF timeout in ACK loop
    475ac5c5653f crypto: qat - make pfvf send message direction agnostic
    ee1c74c3c9c2 crypto: qat - remove unnecessary collision prevention step in PFVF
    472f76835200 crypto: qat - fix spelling mistake: "messge" -> "message"
    ae766527e6b7 ARM: dts: stm32: fix dtbs_check warning on ili9341 dts binding on stm32f429 disco
    eab4204588a0 mtd: hyperbus: rpc-if: fix bug in rpcif_hb_remove
    867d4ace48da crypto: qce - fix uaf on qce_skcipher_register_one
    e19b3c1b5768 crypto: qce - fix uaf on qce_ahash_register_one
    5de640f59f99 media: dmxdev: fix UAF when dvb_register_device() fails
    1d64e2bd2222 arm64: dts: renesas: cat875: Add rx/tx delays
    a33eef23a658 drm/vboxvideo: fix a NULL vs IS_ERR() check
    43220a61e7b8 fs: dlm: fix build with CONFIG_IPV6 disabled
    0d7c5d10e7db tee: fix put order in teedev_close_context()
    097e601eb887 ath11k: reset RSN/WPA present state for open BSS
    fa51addd391d ath11k: clear the keys properly via DISABLE_KEY
    df94b37e902b ath11k: Fix ETSI regd with weather radar overlap
    ffc9019bd991 Bluetooth: stop proccessing malicious adv data
    3273541fed60 memory: renesas-rpc-if: Return error in case devm_ioremap_resource() fails
    55917db35976 fs: dlm: don't call kernel_getpeername() in error_report()
    98923ebb034b fs: dlm: use sk->sk_socket instead of con->sock
    6edd1bd8e3d8 arm64: dts: meson-gxbb-wetek: fix missing GPIO binding
    eb1f75fa2458 arm64: dts: meson-gxbb-wetek: fix HDMI in early boot
    6f012f2c445b arm64: dts: amlogic: Fix SPI NOR flash node name for ODROID N2/N2+
    96d710b1c6ff arm64: dts: amlogic: meson-g12: Fix GPU operating point table node name
    0b57480ed51a media: aspeed: Update signal status immediately to ensure sane hw state
    0ff0ae69d27c media: em28xx: fix memory leak in em28xx_init_dev
    b441d9428735 media: aspeed: fix mode-detect always time out at 2nd run
    8d132d9dd8ba media: atomisp: fix uninitialized bug in gmin_get_pmic_id_and_addr()
    fc2b95e7aeae media: atomisp: fix enum formats logic
    6e5353238c55 media: atomisp: add NULL check for asd obtained from atomisp_video_pipe
    6cbabad304c4 media: staging: media: atomisp: pci: Balance braces around conditional statements in file atomisp_cmd.c
    22b0b68f7d9f media: atomisp: fix ifdefs in sh_css.c
    0bf5e8af6eb6 media: atomisp: fix inverted error check for ia_css_mipi_is_source_port_valid()
    3cb3e66f583c media: atomisp: do not use err var when checking port validity for ISP2400
    08e43223fb4e media: atomisp: fix inverted logic in buffers_needed()
    fb370f6dc7d5 media: atomisp: fix punit_ddr_dvfs_enable() argument for mrfld_power up case
    1daacf9bb69a media: atomisp: add missing media_device_cleanup() in atomisp_unregister_entities()
    e1da9301cf54 media: videobuf2: Fix the size printk format
    90807ab437e8 mtd: hyperbus: rpc-if: Check return value of rpcif_sw_init()
    9bfed11dcf59 ath11k: Send PPDU_STATS_CFG with proper pdev mask to firmware
    2fe056d9791a wcn36xx: fix RX BD rate mapping for 5GHz legacy rates
    22406ed4e389 wcn36xx: populate band before determining rate on RX
    92fea7bd5af3 wcn36xx: Put DXE block into reset before freeing memory
    0d53c47f6ab5 wcn36xx: Release DMA channel descriptor allocations
    1850195a852d wcn36xx: Fix DMA channel enable/disable cycle
    38a7842889f5 wcn36xx: Indicate beacon not connection loss on MISSED_BEACON_IND
    fcb267bb9577 wcn36xx: ensure pairing of init_scan/finish_scan and start_scan/end_scan
    e53ff4dd7095 drm/vc4: hdmi: Set a default HSM rate
    b9c2343373f6 clk: bcm-2835: Remove rounding up the dividers
    836dd37fe2bb clk: bcm-2835: Pick the closest clock rate
    88f1b613c37f Bluetooth: cmtp: fix possible panic when cmtp_init_sockets() fails
    9ddfa1c19191 drm/rockchip: dsi: Reconfigure hardware on resume()
    58904ed18628 drm/rockchip: dsi: Disable PLL clock on bind error
    6215cde02085 drm/rockchip: dsi: Hold pm-runtime across bind/unbind
    8ccaafa1caf0 drm/rockchip: dsi: Fix unbalanced clock on probe error
    9bc19022aa08 drm/panel: innolux-p079zca: Delete panel on attach() failure
    b01b7b868479 drm/panel: kingdisplay-kd097d04: Delete panel on attach() failure
    0499c863a8db drm: fix null-ptr-deref in drm_dev_init_release()
    7798757013ec drm/bridge: display-connector: fix an uninitialized pointer in probe()
    cb5813b0e591 Bluetooth: L2CAP: Fix not initializing sk_peer_pid
    ed0b1fd3ec6e drm/ttm: Put BO in its memory manager's lru list
    7b9fa915a58d shmem: fix a race between shmem_unused_huge_shrink and shmem_evict_inode
    6c6f86bb618b mm/page_alloc.c: do not warn allocation failure on zone DMA if no managed pages
    e04b1dfe15ce dma/pool: create dma atomic pool only if dma zone has managed pages
    d2e572411738 mm_zone: add function to check if managed dma zone exists
    2142a7e9bd1f PCI: Add function 1 DMA alias quirk for Marvell 88SE9125 SATA controller
    45c74f4f54db dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled()
    191a24ceae75 gpu: host1x: Add back arm_iommu_detach_device()
    068067453690 iommu/io-pgtable-arm-v7s: Add error handle for page table allocation failure
    3dae11f8e381 lkdtm: Fix content of section containing lkdtm_rodata_do_nothing()
    e4a2c924a17e iio: adc: ti-adc081c: Partial revert of removal of ACPI IDs
    256302cb2f86 can: softing_cs: softingcs_probe(): fix memleak on registration failure
    aa57725e2d2a media: cec-pin: fix interrupt en/disable handling
    2e566cacc321 media: stk1160: fix control-message timeouts
    1a0ca711dff6 media: pvrusb2: fix control-message timeouts
    2dbf430ead59 media: redrat3: fix control-message timeouts
    6e9c120bf956 media: dib0700: fix undefined behavior in tuner shutdown
    5e98ac260de6 media: s2255: fix control-message timeouts
    09b0b918a69b media: cpia2: fix control-message timeouts
    d90833106c09 media: em28xx: fix control-message timeouts
    2182575c83f9 media: mceusb: fix control-message timeouts
    460525acc953 media: flexcop-usb: fix control-message timeouts
    7cac8a562427 media: v4l2-ioctl.c: readbuffers depends on V4L2_CAP_READWRITE
    1da0b1cd4212 rtc: cmos: take rtc_lock while reading from CMOS
    14f6cfe0d790 tools/nolibc: fix incorrect truncation of exit code
    5e258640ba54 tools/nolibc: i386: fix initial stack alignment
    06f7528d641b tools/nolibc: x86-64: Fix startup code bug
    98259dd54e8e x86/gpu: Reserve stolen memory for first integrated Intel GPU
    e2a17dcad56e mtd: rawnand: davinci: Rewrite function description
    8933138a6660 mtd: rawnand: davinci: Avoid duplicated page read
    677764634b42 mtd: rawnand: davinci: Don't calculate ECC when reading page
    a8a607b0049d mtd: Fixed breaking list in __mtd_del_partition.
    ff10cd7bb295 mtd: rawnand: gpmi: Remove explicit default gpmi clock setting for i.MX6
    538a5e208e7d mtd: rawnand: gpmi: Add ERR007117 protection for nfc_apply_timings
    777a700ccfa6 nfc: llcp: fix NULL error pointer dereference on sendmsg() after failed bind()
    08283b076f4e f2fs: fix to do sanity check in is_alive()
    57cfc965e375 HID: wacom: Avoid using stale array indicies to read contact count
    7fd22c99bbed HID: wacom: Ignore the confidence flag when a touch is removed
    9a4800e0f6a5 HID: wacom: Reset expected and received contact counts at the same time
    c2e39d5df028 HID: uhid: Fix worker destroying device without any protection
    aa1346113c75 KVM: VMX: switch blocked_vcpu_on_cpu_lock to raw spinlock

(From OE-Core rev: 9bebdb447d39b9bca340f087bff6a008f199f34b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Bruce Ashfield
27be0fa131 linux-yocto/5.15: update to v5.15.19
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    47cccb1eb2fe Linux 5.15.19
    a9739362c7b5 mtd: rawnand: mpc5121: Remove unused variable in ads5121_select_chip()
    4633a79ff8bc block: Fix wrong offset in bio_truncate()
    3d7b7272ce9d fsnotify: invalidate dcache before IN_DELETE event
    e8421a9d7bb3 usr/include/Makefile: add linux/nfc.h to the compile-test coverage
    c571505aa0fc usb: dwc3: xilinx: fix uninitialized return value
    442414e8c474 psi: fix "defined but not used" warnings when CONFIG_PROC_FS=n
    949c4c188955 psi: fix "no previous prototype" warnings when CONFIG_CGROUPS=n
    fd26531855e6 perf/core: Fix cgroup event list management
    cba7bdc04720 dt-bindings: can: tcan4x5x: fix mram-cfg RX FIFO config
    e905e1b65ce9 irqchip/realtek-rtl: Fix off-by-one in routing
    f67594cbf3c8 irqchip/realtek-rtl: Map control data to virq
    bcea886771c3 Bluetooth: refactor malicious adv data check
    c5e216e880fa net: bridge: vlan: fix memory leak in __allowed_ingress
    8861857ccc9d ipv4: remove sparse error in ip_neigh_gw4()
    d887a33724ec ipv4: tcp: send zero IPID in SYNACK messages
    4d0bd948ee86 ipv4: raw: lock the socket in raw_bind()
    2387357199a0 net: bridge: vlan: fix single net device option dumping
    e406345f8a26 Revert "ipv6: Honor all IPv6 PIO Valid Lifetime values"
    1ac025f24b89 gve: Fix GFP flags when allocing pages
    35b092d3b57f ceph: put the requests/sessions when it fails to alloc memory
    0536379e9d9d KVM: selftests: Don't skip L2's VMCALL in SMM test for SVM guest
    9b6be5b1a053 Revert "drm/ast: Support 1600x900 with 108MHz PCLK"
    1714199af7ec sch_htb: Fail on unsupported parameters when offload is requested
    3e662ceb3e6d net: hns3: handle empty unknown interrupt for VF
    925181ea76b5 net: cpsw: Properly initialise struct page_pool_params
    0690c3943ed0 yam: fix a memory leak in yam_siocdevprivate()
    4d5c2dfbc120 drm/msm/a6xx: Add missing suspend_count increment
    8f069f6dde51 drm/msm/dpu: invalid parameter check in dpu_setup_dspp_pcc
    13bd31390cae drm/msm/hdmi: Fix missing put_device() call in msm_hdmi_get_phy
    03a91f9fa93b can: tcan4x5x: regmap: fix max register value
    d0a56e4ebc6b video: hyperv_fb: Fix validation of screen resolution
    38f0bdd548fd net/smc: Transitional solution for clcsock race issue
    fdcdc94b3d35 ibmvnic: don't spin in tasklet
    d4435164be13 ibmvnic: init ->running_cap_crqs early
    aa6ae2341a8f ibmvnic: Allow extra failures before disabling
    9ae4cd5de2a5 ipv4: fix ip option filtering for locally generated fragments
    28aaed966e76 powerpc/perf: Fix power_pmu_disable to call clear_pmi_irq_pending only if PMI is pending
    b9dc12e481c0 hwmon: (adt7470) Prevent divide by zero in adt7470_fan_write()
    774a6ef81458 hwmon: (lm90) Fix sysfs and udev notifications
    f4a61d7989d5 hwmon: (lm90) Mark alert as broken for MAX6654
    ccdf90878b8b hwmon: (lm90) Re-enable interrupts after alert clears
    da20522eba44 Drivers: hv: balloon: account for vmbus packet header in max_pkt_size
    82cc3382e34e io_uring: fix bug in slow unregistering of nodes
    fa005a5c5d4d efi/libstub: arm64: Fix image check alignment at entry
    42ff00c23b16 rxrpc: Adjust retransmission backoff
    437b6b3bd88c octeontx2-pf: Forward error codes to VF
    689620df2080 octeontx2-af: cn10k: Do not enable RPM loopback for LPC interfaces
    35dd0b7e5a13 octeontx2-af: Increase link credit restore polling timeout
    f13bf41cbe2d octeontx2-af: verify CQ context updates
    4070cf004da3 octeontx2-pf: cn10k: Ensure valid pointers are freed to aura
    a332a1050ac6 octeontx2-af: Retry until RVU block reset complete
    b578044bf4de octeontx2-af: Fix LBK backpressure id count
    77c5abff9330 octeontx2-af: Do not fixup all VF action entries
    aefaccd19379 phylib: fix potential use-after-free
    82688a07cc02 net: stmmac: dwmac-visconti: Fix clock configuration for RMII mode
    27e249cafa4f net: stmmac: dwmac-visconti: Fix bit definitions for ETHER_CLK_SEL
    36c7e4f4a3ec net: phy: broadcom: hook up soft_reset for BCM54616S
    58e81159b4f7 sched/pelt: Relax the sync of util_sum with util_avg
    767060539ac4 perf: Fix perf_event_read_local() time
    498e6604a3ae powerpc/64s: Mask SRR0 before checking against the masked NIP
    3dc90add0ca9 netfilter: conntrack: don't increment invalid counter on NF_REPEAT
    3bfbc00587dc powerpc64/bpf: Limit 'ldbrx' to processors compliant with ISA v2.06
    d66377ed9a20 SUNRPC: Don't dereference xprt->snd_task if it's a cookie
    8ea839e3a59e SUNRPC: Use BIT() macro in rpc_show_xprt_state()
    19d4d09c2f16 KVM: arm64: pkvm: Use the mm_ops indirection for cache maintenance
    ee062665fbae NFS: Ensure the server has an up to date ctime before renaming
    7a784c2eaae8 NFS: Ensure the server has an up to date ctime before hardlinking
    fe36a67e82c8 ipv6: annotate accesses to fn->fn_sernum
    56480fb10b97 drm/msm/dsi: invalid parameter check in msm_dsi_phy_enable
    0069c2331be0 drm/msm/dsi: Fix missing put_device() call in dsi_get_phy
    971754f4681c drm/msm: Fix wrong size calculation
    d70d2aa49ace net-procfs: show net devices bound packet types
    d7396948cf38 NFSv4: nfs_atomic_open() can race when looking up a non-regular file
    4c36ca387af4 NFSv4: Handle case where the lookup of a directory fails
    72edb228b420 hwmon: (lm90) Reduce maximum conversion rate for G781
    dee686cbfdd1 ipv4: avoid using shared IP generator for connected sockets
    eeb0c916b0f8 ping: fix the sk_bound_dev_if match in ping_lookup
    4d647a2b6074 hwmon: (lm90) Mark alert as broken for MAX6680
    38cfdc0ef474 hwmon: (lm90) Mark alert as broken for MAX6646/6647/6649
    e43669c77cb3 net: fix information leakage in /proc/net/ptype
    1515e72aae80 ARM: 9170/1: fix panic when kasan and kprobe are enabled
    88e32f7b37a0 ipv6_tunnel: Rate limit warning messages
    b11e34f7bab2 scsi: bnx2fc: Flush destroy_work queue before calling bnx2fc_interface_put()
    9c2ece4852a6 scsi: elx: efct: Don't use GFP_KERNEL under spin lock
    daf9ac79e75b rpmsg: char: Fix race between the release of rpmsg_eptdev and cdev
    85aba11a8ea9 rpmsg: char: Fix race between the release of rpmsg_ctrldev and cdev
    a1f7aa8d60bf usb: roles: fix include/linux/usb/role.h compile issue
    d22045c80283 i40e: fix unsigned stat widths
    d49582860d33 i40e: Fix for failed to init adminq while VF reset
    00eddb0e4ea1 i40e: Fix queues reservation for XDP
    98b70add7576 i40e: Fix issue when maximum queues is exceeded
    d12f5a7c48a9 i40e: Increase delay to 1 s after global EMP reset
    c894d2f9fd53 powerpc/32: Fix boot failure with GCC latent entropy plugin
    db37befafa53 powerpc/32s: Fix kasan_init_region() for KASAN
    569c81c077eb powerpc/32s: Allocate one 256k IBAT instead of two consecutives 128k IBATs
    190753f63fc0 x86/cpu: Add Xeon Icelake-D to list of CPUs that support PPIN
    98ccfec9eae6 x86/MCE/AMD: Allow thresholding interface updates after init
    74e88eceb0af PCI/sysfs: Find shadow ROM before static attribute initialization
    cef9335c465d sched/membarrier: Fix membarrier-rseq fence command missing from query bitmask
    61296272db59 ocfs2: fix a deadlock when commit trans
    9f71d68fa813 jbd2: export jbd2_journal_[grab|put]_journal_head
    4ca8a0bc8354 mm, kasan: use compare-exchange operation to set KASAN page tag
    28b346571edd ucsi_ccg: Check DEV_INT bit only when starting CCG4
    3cdaeb85ed1e usb: typec: tcpm: Do not disconnect when receiving VSAFE0V
    6b71fad7c868 usb: typec: tcpm: Do not disconnect while receiving VBUS off
    a1399fe6d3ba usb: typec: tcpci: don't touch CC line if it's Vconn source
    9340226388c6 USB: core: Fix hang in usb_kill_urb by adding memory barriers
    1cd3a86107f6 usb: dwc3: xilinx: Fix error handling when getting USB3 PHY
    72d338bc467f usb: dwc3: xilinx: Skip resets and USB3 register settings for USB2.0 mode
    897d462d4d15 usb: cdnsp: Fix segmentation fault in cdns_lost_power function
    279804632560 usb: gadget: f_sourcesink: Fix isoc transfer for USB_SPEED_SUPER_PLUS
    42865e5544da usb: common: ulpi: Fix crash in ulpi_match()
    d5755832a1e4 usb: xhci-plat: fix crash when suspend if remote wake enable
    a93284827cb2 usb-storage: Add unusual-devs entry for VL817 USB-SATA bridge
    209a523dea93 kbuild: remove include/linux/cyclades.h from header file check
    fa5180351abe tty: Add support for Brainboxes UC cards.
    b51afdc797fe tty: Partially revert the removal of the Cyclades public API
    ff79be505ad8 tty: n_gsm: fix SW flow control encoding/handling
    775fcd69038a serial: stm32: fix software flow control transfer
    f79903783db1 serial: 8250: of: Fix mapped region size when using reg-offset property
    f0cb78064e1c serial: pl011: Fix incorrect rs485 RTS polarity on set_mctrl
    965bc27251f0 dm: properly fix redundant bio-based IO accounting
    4cca3e3ef21d block: add bio_start_io_acct_time() to control start_time
    86125006d88d dm: revert partial fix for redundant bio-based IO accounting
    c0af639c1adc KVM: PPC: Book3S HV Nested: Fix nested HFSCR being clobbered with multiple vCPUs
    e668b527a259 KVM: x86: Sync the states size with the XCR0/IA32_XSS at, any time
    096779d44087 KVM: x86: Update vCPU's runtime CPUID on write to MSR_IA32_XSS
    5afeafcc59bb KVM: x86: Keep MSR_IA32_XSS unchanged for INIT
    e302786233e6 KVM: x86: Forcibly leave nested virt when SMM state is toggled
    6f3e157e21b2 KVM: x86: nSVM: skip eax alignment check for non-SVM instructions
    575656560897 KVM: SVM: Don't intercept #GP for SEV guests
    3470722fac22 KVM: SVM: Never reject emulation due to SMAP errata for !SEV guests
    54b3439c8e70 KVM: LAPIC: Also cancel preemption timer during SET_LAPIC
    548f20b39ec9 drm/amd/display: Fix FP start/end for dcn30_internal_validate_bw.
    73740f948252 drm/atomic: Add the crtc to affected crtc only if uapi.enable = true
    473aed10d16d drm/etnaviv: relax submit size limits
    b7bfc2c6cdd2 perf/x86/intel: Add a quirk for the calculation of the number of counters on Alder Lake
    1b4abcd997ad perf/x86/intel/uncore: Fix CAS_COUNT_WRITE issue for ICX
    b8140d7733e0 powerpc/audit: Fix syscall_get_arch()
    d3e4c61e143e psi: Fix uaf issue when psi trigger is destroyed while being polled
    b17cb93dda1d Revert "KVM: SVM: avoid infinite loop on NPF from bad address"
    e6023ab8c729 fsnotify: fix fsnotify hooks in pseudo filesystems
    2aac1eda4638 ceph: set pool_ns in new inode layout for async creates
    36d433ae3242 ceph: properly put ceph_string reference after async create attempt
    4e5dcbedd48d tracing: Don't inc err_log entry count if entry allocation fails
    e33fa4a46ee2 tracing/histogram: Fix a potential memory leak for kstrdup()
    fb9b60bbda55 PM: wakeup: simplify the output logic of pm_show_wakelocks()
    3df524489788 efi: runtime: avoid EFIv2 runtime services on Apple x86 machines
    cbf96c58e28b udf: Fix NULL ptr deref when converting from inline format
    2ea17d25be51 udf: Restore i_lenAlloc when inode expansion fails
    172aa3b81182 scsi: zfcp: Fix failed recovery on gone remote port with non-NPIV FCP devices
    348a8501e602 ucount: Make get_ucount a safe get_user replacement
    2dc0a8e0129f powerpc/bpf: Update ldimm64 instructions during extra pass
    2f262cadff57 powerpc32/bpf: Fix codegen for bpf-to-bpf calls
    0bcd484587b3 bpf: Guard against accessing NULL pt_regs in bpf_get_task_stack()
    cfd2a7f8deaa s390/nmi: handle vector validity failures for KVM guests
    c058e1ae9dd5 s390/nmi: handle guarded storage validity failures for KVM guests
    4abcb06fdcb2 s390/hypfs: include z/VM guests with access control group set
    2025d5cb381e s390/module: fix loading modules with a lot of relocations
    a3aa4850b37b KVM: arm64: Use shadow SPSR_EL1 when injecting exceptions on !VHE
    d9505958e1ee ARM: 9180/1: Thumb2: align ALT_UP() sections in modules sufficiently
    cbab3cac94c6 ARM: 9179/1: uaccess: avoid alignment faults in copy_[from|to]_kernel_nofault
    e826ab185717 net: stmmac: skip only stmmac_ptp_register when resume from suspend
    9ef5a86d447a net: stmmac: configure PTP clock source prior to PTP initialization
    30705f1f012c net: sfp: ignore disabled SFP node
    5e32b05c3861 can: m_can: m_can_fifo_{read,write}: don't read or write from/to FIFO if length is 0
    9c43548a7fb8 Linux 5.15.18
    6066977961fc drm/vmwgfx: Fix stale file descriptors on failed usercopy
    9c82ce593626 arm64/bpf: Remove 128MB limit for BPF JIT programs
    7b6577cf9fe4 drm/amdgpu: Use correct VIEWPORT_DIMENSION for DCN2
    145407e54fd1 select: Fix indefinitely sleeping task in poll_schedule_timeout()
    c3156dbd5082 rcu: Tighten rcu_advance_cbs_nowake() checks
    6ebe994b54a6 memcg: better bounds on the memcg stats updates
    6c8076660d9c memcg: unify memcg stat flushing
    7182935bd5ae memcg: flush stats only if updated
    2691be41fede bnx2x: Invalidate fastpath HSI version for VFs
    66e1791cbeed bnx2x: Utilize firmware 7.13.21.0
    b168b1a0397e io_uring: fix not released cached task refs
    f71c91ed1d4b drm/amd/display: reset dcn31 SMU mailbox on failures
    8a17a077e7e9 drm/i915: Flush TLBs before releasing backing store
    e8a2995c6076 Linux 5.15.17
    4ea9b8ed6459 scripts: sphinx-pre-install: Fix ctex support on Debian
    21c9a4d2cdd4 scripts: sphinx-pre-install: add required ctex dependency
    ffd8fd2faf47 lib/test_meminit: destroy cache in kmem_cache_alloc_bulk() test
    8d8f479e08a3 bonding: Fix extraction of ports from the packet headers
    52b66f818916 mm/hmm.c: allow VM_MIXEDMAP to work with hmm_range_fault
    42de0446a142 lib82596: Fix IRQ check in sni_82596_probe
    8d1e3f319160 scripts/dtc: dtx_diff: remove broken example from help text
    46210f505189 sch_api: Don't skip qdisc attach on ingress
    814527dbc101 dt-bindings: watchdog: Require samsung,syscon-phandle for Exynos7
    34aa30c8ff90 dt-bindings: display: meson-vpu: Add missing amlogic,canvas property
    3f219ebc9f63 dt-bindings: display: meson-dw-hdmi: add missing sound-name-prefix property
    e829e487f193 net: mscc: ocelot: fix using match before it is set
    f864b6130498 net: phy: micrel: use kszphy_suspend()/kszphy_resume for irq aware devices
    ed27539e5a4b net: cpsw: avoid alignment faults by taking NET_IP_ALIGN into account
    d1a29a4e334b net: sfp: fix high power modules without diagnostic monitoring
    a2faa4a27262 net: ocelot: Fix the call to switchdev_bridge_port_offload
    f8df88d6d10c net: ethernet: mtk_eth_soc: fix error checking in mtk_mac_config()
    c2d55304dba8 net: wwan: Fix MRU mismatch issue which may lead to data connection lost
    5715614a9da8 bcmgenet: add WOL IRQ check
    784ea1478f4d net: mscc: ocelot: don't let phylink re-enable TX PAUSE on the NPI port
    b4e6455d7ffc net_sched: restore "mpu xxx" handling
    75a09b8d0208 net: ipa: fix atomic update in ipa_endpoint_replenish()
    f1d206181f19 net: bonding: fix bond_xmit_broadcast return value error bug
    62009fa50c1a net: fix sock_timestamping_bind_phc() to release device
    55d613f5d4c2 arm64: dts: qcom: msm8996: drop not documented adreno properties
    795ad139ed91 devlink: Remove misleading internal_flags from health reporter dump
    228a7024ed8a perf probe: Fix ppc64 'perf probe add events failed' case
    115b85125624 perf tools: Drop requirement for libstdc++.so for libopencsd check
    e73f737a6e71 dmaengine: at_xdmac: Fix at_xdmac_lld struct definition
    b81e898073c2 dmaengine: at_xdmac: Fix lld view setting
    fb8f0e827af2 dmaengine: at_xdmac: Fix concurrency over xfers_list
    5a8547fc3c21 dmaengine: at_xdmac: Print debug message after realeasing the lock
    da1875fd4c25 dmaengine: at_xdmac: Start transfer for cyclic channels in issue_pending
    45e0d5185031 dmaengine: at_xdmac: Don't start transactions at tx_submit level
    e127c17af30e perf script: Fix hex dump character output
    48a46df6d542 libcxgb: Don't accidentally set RTO_ONLINK in cxgb_find_route()
    09c0535c768d gre: Don't accidentally set RTO_ONLINK in gre_fill_metadata_dst()
    63bc14d6e261 vdpa/mlx5: Restore cur_num_vqs in case of failure in change_num_qps()
    786e608e97b9 xfrm: Don't accidentally set RTO_ONLINK in decode_session4()
    6dc6e9f9d94d iwlwifi: fix Bz NMI behaviour
    31428796ca4b netns: add schedule point in ops_exit_list()
    958cbb139ec4 inet: frags: annotate races around fqdir->dead and fqdir->high_thresh
    0288b85d750e taskstats: Cleanup the use of task->exit_code
    be82a92c46bc virtio_ring: mark ring unused on error
    0d3334c47a2e vdpa/mlx5: Fix wrong configuration of virtio_version_1_0
    087d45cd0f1a rtc: pxa: fix null pointer dereference
    4c979e88b658 HID: vivaldi: fix handling devices not using numbered reports
    b81f33f1fc38 um: gitignore: Add kernel/capflags.c
    fe17064738ad bitops: protect find_first_{,zero}_bit properly
    6ad2daa516de net: axienet: increase default TX ring size to 128
    4928dd5990ea net: axienet: fix for TX busy handling
    a530eb5ac606 net: axienet: fix number of TX ring slots for available check
    6342bde86b5a net: axienet: Fix TX ring slot available check
    b9d67f0a6dc0 net: axienet: limit minimum TX ring size
    e8893b1f8899 net: axienet: add missing memory barriers
    07a6ec97c1ef net: axienet: reset core on initialization prior to MDIO access
    9b7f3e6adc15 net: axienet: Wait for PhyRstCmplt after core reset
    712224b86247 net: axienet: increase reset timeout
    25b1d0df9483 net/smc: Fix hung_task when removing SMC-R devices
    405d639ac411 gpio: idt3243x: Fix IRQ check in idt_gpio_probe
    4928241698e1 gpio: mpc8xxx: Fix IRQ check in mpc8xxx_probe
    e7525b3b9eda pinctrl/rockchip: fix gpio device creation
    8fc3bd2c347b clk: si5341: Fix clock HW provider cleanup
    4919c0737806 clk: Emit a stern warning with writable debugfs enabled
    3872d146f2b0 af_unix: annote lockless accesses to unix_tot_inflight & gc_in_progress
    cb697a36f415 crypto: octeontx2 - uninitialized variable in kvf_limits_store()
    2d7d3b6da85e f2fs: fix to check available space of CP area correctly in update_ckpt_flags()
    0789b9b34922 f2fs: fix to reserve space for IO align feature
    56dabe87c4aa f2fs: compress: fix potential deadlock of compress file
    b653ee5c4136 f2fs: fix to avoid panic in is_alive() if metadata is inconsistent
    92804f969524 f2fs: fix remove page failed in invalidate compress pages
    28e36db0617c drm/vmwgfx: Remove unused compile options
    f468282f3de0 drm/vmwgfx: Remove explicit transparent hugepages support
    42b777c6aef9 riscv: dts: microchip: mpfs: Drop empty chosen node
    fc1d427d15aa parisc: pdc_stable: Fix memory leak in pdcs_register_pathentries
    911b5ba7c54f net/fsl: xgmac_mdio: Fix incorrect iounmap when removing module
    fa456d92c4b7 net/fsl: xgmac_mdio: Add workaround for erratum A-009885
    0cba6beb9645 mlx5: Don't accidentally set RTO_ONLINK before mlx5e_route_lookup_ipv4_get()
    6c923b0f74ae ipv4: avoid quadratic behavior in netns dismantle
    4bcc304e4255 ipv4: update fib_info_cnt under spinlock protection
    c2a957a6f252 perf evsel: Override attr->sample_period for non-libpfm4 events
    95429d6b64b1 bpf: Mark PTR_TO_FUNC register initially with zero offset
    20ceec871b66 bpf: Fix mount source show for bpffs
    b87b59633e35 xdp: check prog type before updating BPF link
    b46b0ef69d07 bpftool: Fix indent in option lists in the documentation
    220ee6f3b460 bpftool: Remove inclusion of utilities.mak from Makefiles
    adb344f551d6 drm/vc4: crtc: Copy assigned channel to the CRTC
    d26a90d362d9 drm/vc4: Fix non-blocking commit getting stuck forever
    d2cbb24cf66e drm/vc4: crtc: Drop feed_txp from state
    b157f4bf1fc6 block: Fix fsync always failed if once failed
    269fbc268633 block: fix async_depth sysfs interface for mq-deadline
    1e95e6dab0d1 powerpc/fsl/dts: Enable WA for erratum A-009885 on fman3l MDIO buses
    696733774b2f powerpc/cell: Fix clang -Wimplicit-fallthrough warning
    3feb292a03d1 Revert "net/mlx5: Add retry mechanism to the command entry index allocation"
    b8b4a083ab94 dmaengine: stm32-mdma: fix STM32_MDMA_CTBR_TSEL_MASK
    7de812fc6be4 RDMA/rxe: Fix a typo in opcode name
    779ff1e23450 RDMA/hns: Modify the mapping attribute of doorbell to device
    dcb7718a8073 dmaengine: idxd: fix wq settings post wq disable
    d87eb22b94f6 dmaengine: uniphier-xdmac: Fix type of address variables
    60390c2242d6 RDMA/cma: Remove open coding of overflow checking for private_data_len
    0dc4db8abccf scsi: ufs: ufs-mediatek: Fix error checking in ufs_mtk_init_va09_pwr_ctrl()
    46f6dda2a6fc scsi: core: Show SCMD_LAST in text form
    53b2ad98d2bb Bluetooth: hci_sync: Fix not setting adv set duration
    7055782bc722 net: usb: Correct reset handling of smsc95xx
    a15a5eabae41 Bluetooth: btusb: Return error code when getting patch status failed
    9e2d8d9c0e33 Documentation: fix firewire.rst ABI file path error
    b791ffcb23c9 Documentation: refer to config RANDOMIZE_BASE for kernel address-space randomization
    63e9fdd76cca Documentation, arch: Remove leftovers from CIFS_WEAK_PW_HASH
    2644d43268da Documentation, arch: Remove leftovers from raw device
    6bcac3149e94 Documentation: ACPI: Fix data node reference documentation
    d4aa8cd70b3f Documentation: dmaengine: Correctly describe dmatest with channel unset
    1d4f0d707d35 Documentation: coresight: Fix documentation issue
    aceb8d70f7aa media: correct MEDIA_TEST_SUPPORT help text
    fbe1e801bc1f drm/vc4: hdmi: Make sure the device is powered with CEC
    31a5bdbe4a68 media: rcar-csi2: Optimize the selection PHTW register
    c8e0c2cf2dd4 can: mcp251xfd: mcp251xfd_tef_obj_read(): fix typo in error message
    1844b8ae85ac firmware: Update Kconfig help text for Google firmware
    3252ca8b6673 of: base: Improve argument length mismatch error
    f22f67b43775 drm/radeon: fix error handling in radeon_driver_open_kms
    16c436fa4f74 ath11k: qmi: avoid error messages when dma allocation fails
    cb77c81d3479 tracing/osnoise: Properly unhook events if start_per_cpu_kthreads() fails
    0d99b0a7c329 ext4: don't use the orphan list when migrating an inode
    e58742f46afc ext4: fix an use-after-free issue about data=journal writeback mode
    0a3624bfdc00 ext4: fix null-ptr-deref in '__ext4_journal_ensure_credits'
    c857769622f3 ext4: destroy ext4_fc_dentry_cachep kmemcache on module removal
    95fb4c496a7a ext4: fast commit may miss tracking unwritten range during ftruncate
    82034851e93b ext4: use ext4_ext_remove_space() for fast commit replay delete range
    efbb6fcced2d ext4: Fix BUG_ON in ext4_bread when write quota data
    fd86fd7119fb ext4: set csum seed in tmp inode while migrating to extents
    50bc43bc1ce0 ext4: fix fast commit may miss tracking range for FALLOC_FL_ZERO_RANGE
    85cc4554eea8 ext4: initialize err_blk before calling __ext4_get_inode_loc
    2d221d9b17fa ext4: fix a possible ABBA deadlock due to busy PA
    bca8a2bfbdd0 ext4: make sure quota gets properly shutdown on error
    8ffe9ad9f5ef ext4: make sure to reset inode lockdep class when quota enabling fails
    5237c93d58c3 btrfs: respect the max size in the header when activating swap file
    724d9fa55cbe btrfs: check the root node for uptodate before returning it
    ef383621b125 btrfs: fix deadlock between quota enable and other quota operations
    9c1154f395cb xfrm: fix dflt policy check when there is no policy configured
    491c3ae9fbb6 xfrm: fix policy lookup for ipv6 gre packets
    9473abe5b5bf PCI: pci-bridge-emul: Set PCI_STATUS_CAP_LIST for PCIe device
    d4e0d674b42d PCI: pci-bridge-emul: Correctly set PCIe capabilities
    9624d1eb4d1f PCI: pci-bridge-emul: Fix definitions of reserved bits
    b1445d865b05 PCI: pci-bridge-emul: Properly mark reserved PCIe bits in PCI config space
    15cf508331ef PCI: pci-bridge-emul: Make expansion ROM Base Address register read-only
    c2451a37174c PCI: pciehp: Use down_read/write_nested(reset_lock) to fix lockdep errors
    0a04b6a0f7f4 PCI: xgene: Fix IB window setup
    077fe9d86560 drm/i915/display/ehl: Update voltage swing table
    c3a9e0e701df drm/amdgpu: don't do resets on APUs which don't support it
    99d41076c260 scsi: lpfc: Fix lpfc_force_rscn ndlp kref imbalance
    56fc6cb5d59a powerpc/64s/radix: Fix huge vmap false positive
    46df3013a5c2 parisc: Fix lpa and lpa_user defines
    95df03b471d9 drm/bridge: analogix_dp: Make PSR-exit block less
    d2a6d606e6d3 drm/nouveau/kms/nv04: use vzalloc for nv04_display
    3bf997ec299c drm/amd/display: Fix the uninitialized variable in enable_stream_features()
    2de6ce583651 drm/etnaviv: limit submit sizes
    a04da77f444a drm/tegra: submit: Add missing pm_runtime_mark_last_busy()
    b8902d5ab431 device property: Fix fwnode_graph_devcon_match() fwnode leak
    9d2867101704 s390/mm: fix 2KB pgtable release race
    b5498bbba0d3 iwlwifi: mvm: Increase the scan timeout guard to 30 seconds
    9e87229ff651 remoteproc: imx_rproc: Fix a resource leak in the remove function
    74c0c6483b63 tracing: Have syscall trace events use trace_event_buffer_lock_reserve()
    40022b3682d5 tracing/kprobes: 'nmissed' not showed correctly for kretprobe
    95c7ba00353f sched/cpuacct: Fix user/system in shown cpuacct.usage*
    b48450843f57 cputime, cpuacct: Include guest time in user time in cpuacct.stat
    6f52d2531f30 serial: Fix incorrect rs485 polarity on uart open
    3ec632bc0a4a fuse: Pass correct lend value to filemap_write_and_wait_range()
    2884aac07874 HID: magicmouse: Fix an error handling path in magicmouse_probe()
    00e3d58f50a8 md: Move alloc/free acct bioset in to personality
    c77edcd242b4 xen/gntdev: fix unmap notification order
    0d9b780cb385 spi: uniphier: Fix a bug that doesn't point to private data correctly
    e53802534cd2 mfd: tps65910: Set PWR_OFF bit during driver probe
    e6b11d8fc548 tpm: fix NPE on probe for missing device
    c90732a58cd1 tpm: fix potential NULL pointer access in tpm_del_char_device
    277c60c9e9eb ubifs: Error path in ubifs_remount_rw() seems to wrongly free write buffers
    d6b6324c3c17 crypto: caam - replace this_cpu_ptr with raw_cpu_ptr
    5c91102702f7 crypto: stm32/crc32 - Fix kernel BUG triggered in probe()
    7f429ce71edb crypto: omap-aes - Fix broken pm_runtime_and_get() usage
    8b6d58859e8f ifcvf/vDPA: fix misuse virtio-net device config size for blk dev
    e2b53845a939 rpmsg: core: Clean up resources on announce_create failure.
    591a1e2ef0f1 udp6: Use Segment Routing Header for dest address if present
    af58dbc08ea3 icmp: ICMPV6: Examine invoking packet for Segment Route Headers.
    85b3b307471e seg6: export get_srh() for ICMP handling
    bcb86df40f96 mailbox: change mailbox-mpfs compatible string
    d543ba3a61d7 phy: mediatek: Fix missing check in mtk_mipi_tx_probe
    5895474d2182 habanalabs: skip read fw errors if dynamic descriptor invalid
    8f23743e1978 ASoC: mediatek: mt8183: fix device_node leak
    61274c00d8e8 ASoC: mediatek: mt8173: fix device_node leak
    ab23ed0a7c8c phy: phy-mtk-tphy: add support efuse setting
    286c6f7b28fa ASoC: mediatek: mt8192-mt6359: fix device_node leak
    5b03322abb61 scsi: mpi3mr: Fixes around reply request queues
    f325446b5a18 scsi: sr: Don't use GFP_DMA
    6af33b200b7f MIPS: Octeon: Fix build errors using clang
    843fff4287a5 selftests/powerpc: Add a test of sigreturning to the kernel
    845a5a4a8fd9 i2c: designware-pci: Fix to change data types of hcnt and lcnt parameters
    23606176a3b4 irqchip/gic-v4: Disable redistributors' view of the VPE table at boot time
    e8ffc355c7d6 MIPS: OCTEON: add put_device() after of_find_device_by_node()
    9de7569942cc udf: Fix error handling in udf_new_inode()
    625be247e812 powerpc/fadump: Fix inaccurate CPU state info in vmcore generated with panic
    953cacfaf36a powerpc: handle kdump appropriately with crash_kexec_post_notifiers option
    6a0a06c9b193 selftests/powerpc/spectre_v2: Return skip code when miss_percent is high
    e7dd8ba6fc84 powerpc/40x: Map 32Mbytes of memory at startup
    7e6c8ff5c21c MIPS: Loongson64: Use three arguments for slti
    8774f9824c2c ALSA: seq: Set upper limit of processed events
    b693e737e080 scsi: lpfc: Trigger SLI4 firmware dump before doing driver cleanup
    5b91e80b631c scsi: lpfc: Fix leaked lpfc_dmabuf mbox allocations with NPIV
    ef9e3ecacb75 scsi: ufs: Fix a kernel crash during shutdown
    d90d496a999e interconnect: qcom: rpm: Prevent integer overflow in rate
    efd507bed1b4 dm: fix alloc_dax error handling in alloc_dev
    78d56d075464 nvmem: core: set size for sysfs bin file
    fea0e4b49dd2 w1: Misuse of get_user()/put_user() reported by sparse
    d58837197d20 KVM: PPC: Book3S: Suppress failed alloc warning in H_COPY_TOFROM_GUEST
    a0a4d7a23d18 KVM: PPC: Book3S: Suppress warnings when allocating too big memory slots
    9170beaeffe4 powerpc/powermac: Add missing lockdep_register_key()
    af0e9677f6e6 clk: meson: gxbb: Fix the SDM_EN bit for MPLL0 on GXBB
    95abac60d96d i2c: mpc: Correct I2C reset procedure
    f374976a7e4d powerpc/smp: Move setup_profiling_timer() under CONFIG_PROFILING
    be9313f755a7 i2c: i801: Don't silently correct invalid transfer size
    b8526a5003d6 ASoC: imx-hdmi: add put_device() after of_find_device_by_node()
    52ce10c1878c powerpc/watchdog: Fix missed watchdog reset due to memory ordering race
    aa8c27014529 powerpc/btext: add missing of_node_put
    efe379f92d5f powerpc/cell: add missing of_node_put
    179ecdf5c089 powerpc/powernv: add missing of_node_put
    5203c7027fdd powerpc/6xx: add missing of_node_put
    992a9eafb1ec x86/kbuild: Enable CONFIG_KALLSYMS_ALL=y in the defconfigs
    67de7d5ae29b can: flexcan: add more quirks to describe RX path capabilities
    cf0649500913 can: flexcan: rename RX modes
    e719eeb50885 can: flexcan: allow to change quirks at runtime
    b9d50e591133 parisc: Avoid calling faulthandler_disabled() twice
    4e2e5a033e93 net/mlx5e: Unblock setting vid 0 for VF in case PF isn't eswitch manager
    d24e3a126b2e net/mlx5: Update log_max_qp value to FW max capability
    8c751aac0b64 random: do not throw away excess input to crng_fast_load
    0e7d8e930aba serial: core: Keep mctrl register state and cached copy in sync
    5b452507d5e7 serial: pl011: Drop CR register reset on set_termios
    9201e1dd5aee serial: pl010: Drop CR register reset on set_termios
    7828830235cb regulator: qcom_smd: Align probe function with rpmh-regulator
    59caf131b18c net: gemini: allow any RGMII interface mode
    00bf5ce4bf9a net: phy: marvell: configure RGMII delays for 88E1118
    5b2fd3370e7f mlxsw: pci: Avoid flow control for EMAD packets
    0415b84eee93 bpf/selftests: Fix namespace mount setup in tc_redirect
    1674124a8855 dm space map common: add bounds check to sm_ll_lookup_bitmap()
    b5aee20b5316 dm btree: add a defensive bounds check to insert_at()
    3c3417b013cf mac80211: allow non-standard VHT MCS-10/11
    2d1c1df9c899 net: mdio: Demote probed message to debug print
    a3fdfe36c36a btrfs: remove BUG_ON(!eie) in find_parent_nodes
    b667d77ca70c btrfs: remove BUG_ON() in find_parent_nodes()
    d70ce75d1d28 ACPI: CPPC: Check present CPUs for determining _CPC is valid
    dd7c1a930252 ACPI: battery: Add the ThinkPad "Not Charging" quirk
    e4066c05d332 amdgpu/pm: Make sysfs pm attributes as read-only for VFs
    493b87970061 drm/amdgpu: fixup bad vram size on gmc v8
    1ee70b4c5406 mmc: mtk-sd: Use readl_poll_timeout instead of open-coded polling
    dcedcbe17739 ACPICA: Hardware: Do not flush CPU cache when entering S4 and S5
    a4c7a12027f2 ACPICA: Fix wrong interpretation of PCC address
    2718d4a8d632 ACPICA: Executer: Fix the REFCLASS_REFOF case in acpi_ex_opcode_1A_0T_1R()
    3c3b033d170d ACPICA: Utilities: Avoid deleting the same object twice in a row
    78cc8a75303f ACPICA: actypes.h: Expand the ACPI_ACCESS_ definitions
    8c641409536d jffs2: GC deadlock reading a page that is used in jffs2_write_begin()
    46241ec22925 drm/etnaviv: consider completed fence seqno in hang check
    2b68b42a5d05 xfrm: rate limit SA mapping change message to user space
    74f1c807c679 Bluetooth: vhci: Set HCI_QUIRK_VALID_LE_STATES
    e6e03a16eba4 Bluetooth: btintel: Add missing quirks and msft ext for legacy bootloader
    0863e7e0ceb5 ath11k: Fix napi related hang
    617a9e6da974 um: registers: Rename function names to avoid conflicts and build problems
    f75868e020a1 block: check minor range in device_add_disk()
    892805138cb4 mmc: sdhci-pci-gli: GL9755: Support for CD/WP inversion on OF platforms
    0c3f9c13796e iwlwifi: pcie: make sure prph_info is set when treating wakeup IRQ
    ec53a638c18e iwlwifi: mvm: fix AUX ROC removal
    abce9e05089e iwlwifi: mvm: Fix calculation of frame length
    58d53fe49a5d iwlwifi: remove module loading failure message
    e23f075d7798 iwlwifi: fix leaks/bad data after failed firmware load
    73a32ee6daef PM: AVS: qcom-cpr: Use div64_ul instead of do_div
    9a9669e75735 rtw88: 8822c: update rx settings to prevent potential hw deadlock
    38d8d8a88274 ath9k: Fix out-of-bound memcpy in ath9k_hif_usb_rx_stream
    735aefae7b68 ath9k_htc: fix NULL pointer dereference at ath9k_htc_tx_get_packet()
    6eedec710840 ath9k_htc: fix NULL pointer dereference at ath9k_htc_rxep()
    243ab93501e6 mt76: mt7615: improve wmm index allocation
    9d39145c49d0 mt76: do not pass the received frame with decryption error
    3a1ef2b12338 mt76: mt7615: fix possible deadlock while mt7615_register_ext_phy()
    a09dc6c4638f usb: hub: Add delay for SuperSpeed hub resume to let links transit to U0
    79235edc66cb cpufreq: Fix initialization of min and max frequency QoS requests
    fddbdd20c8e0 PM: runtime: Add safety net to supplier device release
    4586d164c319 crypto: hisilicon/hpre - fix memory leak in hpre_curve25519_src_init()
    c0713b3017a8 crypto: ccp - Move SEV_INIT retry for corrupted data
    a8186a100978 arm64: tegra: Adjust length of CCPLEX cluster MMIO region
    77e5d1974a1b arm64: dts: ls1028a-qds: move rtc node to the correct i2c bus
    d978295bb551 audit: ensure userspace is penalized the same as the kernel when under pressure
    305f07b93d34 drm/amd/amdgpu: fix gmc bo pin count leak in SRIOV
    8662d0c6a368 drm/amd/amdgpu: fix psp tmr bo pin count leak in SRIOV
    29d6a92af56d mmc: core: Fixup storing of OCR for MMC_QUIRK_NONSTD_SDIO
    384a5e27a44f mmc: tmio: reinit card irqs in reset routine
    c3d14b3585b7 media: saa7146: hexium_gemini: Fix a NULL pointer dereference in hexium_attach()
    84155d2b0606 media: rockchip: rkisp1: use device name for debugfs subdir name
    87d0b8170234 media: igorplugusb: receiver overflow should be reported
    26d516434d1c HID: i2c-hid-of: Expose the touchscreen-inverted properties
    bc13af2535e5 HID: quirks: Allow inverting the absolute X/Y values
    4a635b9d5ba5 drm/amdkfd: Fix error handling in svm_range_add
    684815ff760b bpf: Do not WARN in bpf_warn_invalid_xdp_action()
    451ee28aed9d kunit: Don't crash if no parameters are generated
    584d9e3e7459 net: bonding: debug: avoid printing debug logs when bond is not notifying peers
    0f962554d016 x86/mce: Mark mce_read_aux() noinstr
    b26d3a8f826d x86/mce: Mark mce_end() noinstr
    f166c0b3ac1c x86/mce: Mark mce_panic() noinstr
    f2bde2aeb1ae x86/mce: Allow instrumentation during task work queueing
    3903e6279530 ARM: dts: qcom: sdx55: fix IPA interconnect definitions
    f6d165a8fa04 ath11k: Avoid false DEADLOCK warning reported by lockdep
    271842c326bb selftests/ftrace: make kprobe profile testcase description unique
    8bb1290e9050 gpio: aspeed-sgpio: Convert aspeed_sgpio.lock to raw_spinlock
    d9332eab2338 gpio: aspeed: Convert aspeed_gpio.lock to raw_spinlock
    3c2a24aa3412 net: phy: prefer 1000baseT over 1000baseKX
    0abd3f9903fa net-sysfs: update the queue counts in the unregistration path
    f7bae4d4595d ath10k: Fix tx hanging
    21b07b470a40 ath11k: avoid deadlock by change ieee80211_queue_work for regd_update_work
    bcf404b305f4 rcutorture: Avoid soft lockup during cpu stall
    d63ddcee9ff3 iwlwifi: mvm: avoid clearing a just saved session protection id
    59b49457fbd8 iwlwifi: mvm: synchronize with FW after multicast commands
    b52954c7798e arm64: dts: renesas: Fix thermal bindings
    2f804823b5b7 thunderbolt: Runtime PM activate both ends of the device link
    0c044e39d52a media: m920x: don't use stack on USB reads
    6aaff2d7c9d5 media: atomisp: fix "variable dereferenced before check 'asd'"
    a2e962b2d8b0 media: saa7146: hexium_orion: Fix a NULL pointer dereference in hexium_attach()
    d747b4831d5f media: rcar-vin: Update format alignment constraints
    1c9bbda87cdc media: uvcvideo: Increase UVC_CTRL_CONTROL_TIMEOUT to 5 seconds.
    4d6a98ce80f6 drm: rcar-du: Fix CRTC timings when CMM is used
    30bd6733ef96 x86/mm: Flush global TLB when switching to trampoline page-table
    1b4422befeba floppy: Add max size check for user space request
    eeefb3436d42 usb: uhci: add aspeed ast2600 uhci support
    750f28d69b99 arm64: dts: ti: j721e-main: Fix 'dtbs_check' in serdes_ln_ctrl node
    e785275d780e arm64: dts: ti: j7200-main: Fix 'dtbs_check' serdes_ln_ctrl node
    94168f47f9b1 ACPI / x86: Add not-present quirk for the PCI0.SDHB.BRC1 device on the GPD win
    10f2c10c0e20 ACPI / x86: Allow specifying acpi_device_override_status() quirks by path
    91f918b7885f ACPI: Change acpi_device_always_present() into acpi_device_override_status()
    1fd897834b77 ACPI / x86: Drop PWM2 device on Lenovo Yoga Book from always present table
    2518f943a18e drm/vmwgfx: Introduce a new placement for MOB page tables
    ff74a49da07b drm/vmwgfx: Release ttm memory if probe fails
    f168858f6096 regulator: da9121: Prevent current limit change when enabled
    34b1e259b1f5 media: venus: avoid calling core_clk_setrate() concurrently during concurrent video sessions
    371a75dfaadb ath11k: Avoid NULL ptr access during mgmt tx cleanup
    dbba81756c1b rsi: Fix out-of-bounds read in rsi_read_pkt()
    bac512a0f3fe rsi: Fix use-after-free in rsi_rx_done_handler()
    b2762757f4e4 mwifiex: Fix skb_over_panic in mwifiex_usb_recv()
    bed51dafd544 crypto: jitter - consider 32 LSB for APT
    0c3df095fab6 HSI: core: Fix return freed object in hsi_new_client
    8c124608bf46 gpiolib: acpi: Do not set the IRQ type if the IRQ is already in use
    c6d9c77a19d0 tty: serial: imx: disable UCR4_OREN in .stop_rx() instead of .shutdown()
    93306292b776 mxser: keep only !tty test in ISR
    405856460d3e drm/bridge: megachips: Ensure both bridges are probed before registration
    58d33532664c drm/amd/display: add else to avoid double destroy clk_mgr
    ae93accee317 mlxsw: pci: Add shutdown method in PCI driver
    b019927f1c4a soc: ti: pruss: fix referenced node in error message
    f94cf1cb1796 drm/amdgpu/display: set vblank_disable_immediate for DC
    1fffa8ffd62f drm/amd/display: check top_pipe_to_program pointer
    5e0f1c68da1e ARM: imx: rename DEBUG_IMX21_IMX27_UART to DEBUG_IMX27_UART
    b16e928b6a30 soc: imx: gpcv2: Synchronously suspend MIX domains
    f573eda00b39 arm64: dts: qcom: sm8350: Shorten camera-thermal-bottom name
    c41c4bc61db2 EDAC/synopsys: Use the quirk for version instead of ddr version
    342aa207c9da ethernet: renesas: Use div64_ul instead of do_div
    a111f8e113c7 libbpf: Accommodate DWARF/compiler bug with duplicated structs
    299951bd1ef9 media: b2c2: Add missing check in flexcop_pci_isr:
    3396b7cf1478 HID: apple: Do not reset quirks when the Fn key is not found
    e6ad399596bd HID: magicmouse: Report battery level over USB
    c350fcc74035 drm: panel-orientation-quirks: Add quirk for the Lenovo Yoga Book X91F/L
    d168123f1388 psi: Fix PSI_MEM_FULL state when tasks are in memstall and doing reclaim
    07888a4fbcf2 usb: gadget: f_fs: Use stream_open() for endpoint files
    7171e60715a6 USB: ehci_brcm_hub_control: Improve port index sanitizing
    432acc8ad244 usb: dwc3: meson-g12a: fix shared reset control use
    79a3d8f1882d ath11k: Fix crash caused by uninitialized TX ring
    f1d85deaf343 media: atomisp: handle errors at sh_css_create_isp_params()
    bab93d536617 batman-adv: allow netlink usage in unprivileged containers
    5a47ca7f7894 ARM: shmobile: rcar-gen2: Add missing of_node_put()
    75272f75eddf media: atomisp: check before deference asd variable
    8335807ce313 media: atomisp-ov2680: Fix ov2680_set_fmt() clobbering the exposure
    f04b8bdddf7a media: atomisp: set per-device's default mode
    d4c0cb23e5b3 media: atomisp: fix try_fmt logic
    7be59e8a6660 drm/nouveau/pmu/gm200-: avoid touching PMU outside of DEVINIT/PREOS/ACR
    0dedaf16ca43 drm/bridge: dw-hdmi: handle ELD when DRM_BRIDGE_ATTACH_NO_CONNECTOR
    fbcd1e9f8a43 ar5523: Fix null-ptr-deref with unexpected WDCMSG_TARGET_START reply
    1f1161c9bb47 selftests/bpf: Fix bpf_object leak in skb_ctx selftest
    57d3ec1106fc selftests/bpf: Destroy XDP link correctly
    7ffd2af8085c selftests/bpf: Fix memory leaks in btf_type_c_dump() helper
    9c46c1f1d2ac drm/lima: fix warning when CONFIG_DEBUG_SG=y & CONFIG_DMA_API_DEBUG=y
    5dc41e6caecc fs: dlm: filter user dlm messages for kernel locks
    41966cae91f1 Bluetooth: Fix removing adv when processing cmd complete
    57347363de0b drm/panel: Delete panel on mipi_dsi_attach() failure
    493c7d56ac22 Bluetooth: Fix memory leak of hci device
    d86db46b5cf5 Bluetooth: Fix debugfs entry leak in hci_register_dev()
    b03b18f0d1e9 leds: lp55xx: initialise output direction from dts
    bc8c07fcb492 ARM: dts: omap3-n900: Fix lp5523 for multi color
    55f8559ba8d3 mailbox: fix gce_num of mt8192 driver data
    38e9447399ff MIPS: compressed: Fix build with ZSTD compression
    925b35b54583 MIPS: boot/compressed/: add __ashldi3 to target for ZSTD compression
    c19b9b755482 of/fdt: Don't worry about non-memory region overlap for no-map
    dc4e2dbe6171 of: base: Fix phandle argument length mismatch error message
    91dcfc658d38 clk: bm1880: remove kfrees on static allocations
    8f5e866cbb97 ASoC: fsl_asrc: refine the check of available clock divider
    0cd1ef3f7b89 ASoC: imx-card: improve the sound quality for low rate
    edc07df0df20 ASoC: imx-card: Fix mclk calculation issue for akcodec
    6bedc3b3d130 ASoC: imx-card: Need special setting for ak4497 on i.MX8MQ
    35816546936d clk: qcom: gcc-sc7280: Mark gcc_cfg_noc_lpass_clk always enabled
    60037a56e08b RDMA/cxgb4: Set queue pair state when being queried
    32faa4c17a56 ALSA: hda/cs8409: Fix Jack detection after resume
    b624b5b2fe02 ALSA: hda/cs8409: Increase delay during jack detection
    65b517f4e0c6 ASoC: fsl_mqs: fix MODULE_ALIAS
    ef9893bb73e7 powerpc/xive: Add missing null check after calling kmalloc
    f1750bf32690 mips: bcm63xx: add support for clk_set_parent()
    b88fea46621d mips: lantiq: add support for clk_set_parent()
    a92e8b510fb4 arm64: tegra: Remove non existent Tegra194 reset
    78926da03360 ASoC: mediatek: mt8195: correct pcmif BE dai control flow
    1cf0a19e33ad misc: lattice-ecp3-config: Fix task hung when firmware load failed
    a17f93a1f0a5 ASoC: samsung: idma: Check of ioremap return value
    8b5d69613b12 phy: cadence: Sierra: Fix to get correct parent for mux clocks
    fca58a434425 powerpc/64s: Use EMIT_WARN_ENTRY for SRR debug warnings
    5bb2d955e81b powerpc/64s: Mask NIP before checking against SRR0
    38accfd85e41 ASoC: mediatek: Check for error clk pointer
    799b2c6cd7b6 phy: uniphier-usb3ss: fix unintended writing zeros to PHY register
    af8cab36bfb8 scsi: block: pm: Always set request queue runtime active in blk_post_runtime_resume()
    e421973fbe6e efi: apply memblock cap after memblock_add()
    77d37071811b of: fdt: Aggregate the processing of "linux,usable-memory-range"
    073d9a2237b1 ASoC: mediatek: mt8195: correct default value
    ef0af09d4113 iommu/iova: Fix race between FQ timeout and teardown
    56c3b7238594 ASoC: Intel: catpt: Test dmaengine_submit() result before moving on
    9bc6d3abccbf iommu/amd: Remove useless irq affinity notifier
    7e7e12092a66 iommu/amd: X2apic mode: mask/unmask interrupts on suspend/resume
    88c62a000be5 iommu/amd: X2apic mode: setup the INTX registers on mask/unmask
    0210cbc1efa3 iommu/amd: X2apic mode: re-enable after resume
    fd77922c94e4 iommu/amd: Restore GA log/tail pointer on host resume
    86bcde384570 dmaengine: pxa/mmp: stop referencing config->slave_id
    b1f659597761 mips: fix Kconfig reference to PHYS_ADDR_T_64BIT
    f345281019b2 mips: add SYS_HAS_CPU_MIPS64_R5 config for MIPS Release 5 support
    cfb6756aea7e clk: stm32: Fix ltdc's clock turn off by clk_disable_unused() after system enter shell
    e7962a878b38 of: unittest: 64 bit dma address test requires arch support
    d00393b2c354 of: unittest: fix warning on PowerPC frame size warning
    e91edc3b443c ASoC: rt5663: Handle device_property_read_u32_array error codes
    45f4e3c75877 RDMA/cma: Let cma_resolve_ib_dev() continue search even after empty entry
    8d76d0e4880d RDMA/core: Let ib_find_gid() continue search even after empty entry
    b77f233986b3 iommu/arm-smmu-qcom: Fix TTBR0 read
    2b78e026b455 powerpc/powermac: Add additional missing lockdep_register_key()
    db3e0d59f1c8 PCI/MSI: Fix pci_irq_vector()/pci_irq_get_affinity()
    1526f0ae4949 RDMA/qedr: Fix reporting max_{send/recv}_wr attrs
    f10876654e82 scsi: ufs: Fix race conditions related to driver data
    c9f350ade563 scsi: core: Fix scsi_device_max_queue_depth()
    3db62f98b49f iommu/io-pgtable-arm: Fix table descriptor paddr formatting
    004d84063fa2 iommu: Extend mutex lock scope in iommu_probe_device()
    37fb3dec665c openrisc: Add clone3 ABI wrapper
    7a9ad4aceb02 binder: avoid potential data leakage when copying txn
    f9848823d4e8 binder: fix handling of error during copy
    695ca3e0e24b char/mwave: Adjust io port register size
    356b4ed3ea70 misc: at25: Make driver OF independent again
    ee22462a419b ALSA: usb-audio: Drop superfluous '0' in Presonus Studio 1810c's ID
    6f90ccd96226 ALSA: oss: fix compile error when OSS_DEBUG is enabled
    cf9b8de20168 clocksource: Avoid accidental unstable marking of clocksources
    e3e6b74fad2d powerpc/32s: Fix shift-out-of-bounds in KASAN init
    2d17ab8874bc powerpc/modules: Don't WARN on first module allocation attempt
    fadcafa39592 powerpc/perf: Fix PMU callbacks to clear pending PMI before resetting an overflown PMC
    c15d1468f339 dt-bindings: thermal: Fix definition of cooling-maps contribution property
    9de9858d7bf0 ALSA: hda: Make proper use of timecounter
    a2e525d61801 RDMA/rtrs-clt: Fix the initial value of min_latency
    278df2c08602 ASoC: codecs: wcd938x: add SND_SOC_WCD938_SDW to codec list instead
    dc2400567312 ASoC: uniphier: drop selecting non-existing SND_SOC_UNIPHIER_AIO_DMA
    49a237c73a78 powerpc/prom_init: Fix improper check of prom_getprop()
    e459a89df303 clk: imx8mn: Fix imx8mn_clko1_sels
    6b0335e66b51 clk: renesas: rzg2l: propagate return value of_genpd_add_provider_simple()
    02beeed3928f clk: renesas: rzg2l: Check return value of pm_genpd_init()
    a0b4447677dd scsi: pm80xx: Update WARN_ON check in pm8001_mpi_build_cmd()
    4a1723367f5e RDMA/hns: Validate the pkey index
    8fe8161c50f4 RDMA/bnxt_re: Scan the whole bitmap when checking if "disabling RCFW with pending cmd-bit"
    ec085da3437b ALSA: hda: Fix potential deadlock at codec unbinding
    1b378f59bc86 ALSA: hda: Add missing rwsem around snd_ctl_remove() calls
    9b9f32c0c744 ALSA: PCM: Add missing rwsem around snd_ctl_remove() calls
    19eebde28fc6 ALSA: jack: Add missing rwsem around snd_ctl_remove() calls
    03c2fbca8973 ASoC: Intel: sof_sdw: fix jack detection on HP Spectre x360 convertible
    4846b55a2cd9 ext4: avoid trim error on fs with small groups
    0d3bbe7eb15e net: mcs7830: handle usb read errors properly
    86971970aeed bnxt_en: use firmware provided max timeout for messages
    e685851f0456 bnxt_en: move coredump functions into dedicated file
    a2037e7e4d02 bnxt_en: Refactor coredump functions
    57214d92a69f iwlwifi: mvm: Use div_s64 instead of do_div in iwl_mvm_ftm_rtt_smoothing()
    cf2ce93a7afa net: openvswitch: Fix ct_state nat flags for conns arriving from tc
    e7b33ff6439a net: openvswitch: Fix matching zone id for invalid conns arriving from tc
    a006c8482463 net/sched: flow_dissector: Fix matching on zone id for invalid conns
    3a4ecdfc0cf4 pcmcia: fix setting of kthread task states
    4a71828b2738 can: rcar_canfd: rcar_canfd_channel_probe(): make sure we free CAN network device
    61970e8b5d78 can: xilinx_can: xcan_probe(): check for error irq
    b8609cb64101 can: softing: softing_startstop(): fix set but not used variable warning
    deb81894f56e tpm_tis: Fix an error handling path in 'tpm_tis_core_init()'
    ea1fd8364c9f tpm: add request_locality before write TPM_INT_ENABLE
    8609525ee0ee can: mcp251xfd: add missing newline to printed strings
    f5b7e80e25c4 net: mscc: ocelot: fix incorrect balancing with down LAG ports
    5aff6ae24b39 regmap: Call regmap_debugfs_exit() prior to _init()
    af5dcf968ebe netrom: fix api breakage in nr_setsockopt()
    7b9986a0425a ax25: uninitialized variable in ax25_setsockopt()
    c48c7678739d octeontx2-af: Increment ptp refcount before use
    aac0b364904f spi: spi-meson-spifc: Add missing pm_runtime_disable() in meson_spifc_probe
    e1652f70e896 mptcp: fix a DSS option writing error
    72aba03ba836 mptcp: fix opt size when sending DSS + MP_FAIL
    c310df0eabe5 mptcp: fix per socket endpoint accounting
    abe4b2c214ea Bluetooth: L2CAP: uninitialized variables in l2cap_sock_setsockopt()
    b918c668d295 lib/mpi: Add the return value check of kcalloc()
    d73d81447c66 net/mlx5: Set command entry semaphore up once got index free
    266e6a36546f net/mlx5e: Sync VXLAN udp ports during uplink representor profile change
    fbe5f19824ba net/mlx5: Fix access to sf_dev_table on allocation failure
    7c1f9797e1b5 net/mlx5e: Fix matching on modified inner ip_ecn bits
    46a8a5a42984 Revert "net/mlx5e: Block offload of outer header csum for GRE tunnel"
    a8176f18ab5f Revert "net/mlx5e: Block offload of outer header csum for UDP tunnels"
    44008999815b net/mlx5e: Don't block routes with nexthop objects in SW
    360cbb1c3ec7 net/mlx5e: Fix wrong usage of fib_info_nh when routes with nexthop objects are used
    423bf4c1ea8a net/mlx5e: Fix page DMA map/unmap attributes
    6d818695065d x86, sched: Fix undefined reference to init_freq_invariance_cppc() build error
    f7e2f374799f serial: stm32: move tx dma terminate DMA to shutdown
    8209b0b395aa serial: liteuart: fix MODULE_ALIAS
    71db96193317 drivers/firmware: Add missing platform_device_put() in sysfb_create_simplefb
    1850a403bd0b debugfs: lockdown: Allow reading debugfs files that are not world readable
    0fc97f944245 HID: hid-uclogic-params: Invalid parameter check in uclogic_params_frame_init_v1_buttonpad
    fc8a47ed624b HID: hid-uclogic-params: Invalid parameter check in uclogic_params_huion_init
    964e6a78cb1d HID: hid-uclogic-params: Invalid parameter check in uclogic_params_get_str_desc
    621aade97324 HID: hid-uclogic-params: Invalid parameter check in uclogic_params_init
    78e8660e9d90 usb: gadget: u_audio: Subdevice 0 for capture ctls
    e3e610612234 usb: dwc2: gadget: initialize max_speed from params
    85a75d45f715 usb: dwc2: do not gate off the hardware if it does not support clock gating
    5157828d3975 usb: dwc3: qcom: Fix NULL vs IS_ERR checking in dwc3_qcom_probe
    db7d1a2e0609 net/smc: Reset conn->lgr when link group registration fails
    9186e6ba52af Bluetooth: hci_qca: Fix NULL vs IS_ERR_OR_NULL check in qca_serdev_probe
    ede559376794 Bluetooth: hci_bcm: Check for error irq
    3983254b43c2 fsl/fman: Check for null pointer after calling devm_ioremap
    c154574b84a5 staging: greybus: audio: Check null pointer
    4a308769df64 rocker: fix a sleeping in atomic bug
    5f54a0355802 ppp: ensure minimum packet size in ppp_write()
    ff53c861e97e net: fix SOF_TIMESTAMPING_BIND_PHC to work with multiple sockets
    29a0827b7491 netfilter: nft_set_pipapo: allocate pcpu scratch maps on clone
    500193142a20 netfilter: nft_payload: do not update layer 4 checksum when mangling fragments
    2db60bb56405 bpf: Fix SO_RCVBUF/SO_SNDBUF handling in _bpf_setsockopt().
    2fbd46695272 bpf: Fix verifier support for validation of async callbacks
    a65df848dbe0 bpf: Don't promote bogus looking registers after null check.
    073f7fb020b5 bpf, sockmap: Fix double bpf_prog_put on error case in map_link
    f26349213d97 bpf, sockmap: Fix return codes from tcp_bpf_recvmsg_parser()
    a1c2d9a513e5 netfilter: ipt_CLUSTERIP: fix refcount leak in clusterip_tg_check()
    21bdddc9648b net: dsa: fix incorrect function pointer check for MRP ring roles
    6dab20da69f9 net: ethernet: mtk_eth_soc: fix return values and refactor MDIO ops
    10f849d3e563 net/xfrm: IPsec tunnel mode fix inner_ipproto setting in sec_path
    4849eca4fc6f power: reset: mt6397: Check for null res pointer
    a3b31433147b pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in nonstatic_find_mem_region()
    7756cb45dbfe pcmcia: rsrc_nonstatic: Fix a NULL pointer dereference in __nonstatic_find_io_region()
    5d2fd6fff8e4 ACPI: scan: Create platform device for BCM4752 and LNV4752 ACPI nodes
    0a9b1fb2a778 serial: 8250_bcm7271: Propagate error codes from brcmuart_probe()
    deb0c71e0b26 io_uring: remove double poll on poll update
    8d3d1c365a89 x86/mce/inject: Avoid out-of-bounds write when setting flags
    4f1096828ece hwmon: (mr75203) fix wrong power-up delay value
    a96546df99ea regulator: qcom-labibb: OCP interrupts are not a failure while disabled
    78cafdf7d219 crypto: octeontx2 - prevent underflow in get_cores_bmap()
    910e5e8ac5de x86/boot/compressed: Move CLANG_FLAGS to beginning of KBUILD_CFLAGS
    5639dcfc6889 Bluetooth: hci_qca: Stop IBS timer during BT OFF
    03dae5e3362e software node: fix wrong node passed to find nargs_prop
    7a4e6e087813 backlight: qcom-wled: Respect enabled-strings in set_brightness
    7abe05ef6648 backlight: qcom-wled: Use cpu_to_le16 macro to perform conversion
    18a8dd081b81 backlight: qcom-wled: Override default length with qcom,enabled-strings
    37b61692f27b backlight: qcom-wled: Fix off-by-one maximum with default num_strings
    219c7d18be5a backlight: qcom-wled: Pass number of elements to read to read_u32_array
    f2bc76de2847 backlight: qcom-wled: Validate enabled string indices in DT
    77c5e99644af bpftool: Enable line buffering for stdout
    79d6a406df00 Bluetooth: L2CAP: Fix using wrong mode
    a3641f64a9d9 um: virtio_uml: Fix time-travel external time propagation
    4e71908ba7cb lib/logic_iomem: Fix operation on 32-bit
    6c72a5bc4df4 lib/logic_iomem: Fix 32-bit build
    b53c2307b18c um: virt-pci: Fix 32-bit compile
    c3d5f267696d um: rename set_signals() to um_set_signals()
    2a2f4f3aeafd um: fix ndelay/udelay defines
    3a45c4703491 selinux: fix potential memleak in selinux_add_opt()
    7be5c25e3155 block: fix error unwinding in device_add_disk
    6c1d0447bf0d mmc: meson-mx-sdio: add IRQ check
    0d840e7e2e6c mmc: meson-mx-sdhc: add IRQ check
    525c2a0763ee iwlwifi: mvm: set protected flag only for NDP ranging
    39cb224bf651 iwlwifi: mvm: perform 6GHz passive scan after suspend
    e895cfb085c6 iwlwifi: mvm: test roc running status bits before removing the sta
    48338cf56eaa iwlwifi: mvm: fix 32-bit build in FTM
    617339466fda rtw88: Disable PCIe ASPM while doing NAPI poll on 8821CE
    9b6b5f07702f rtw88: add quirk to disable pci caps on HP 250 G7 Notebook PC
    b14e931c386f wilc1000: fix double free error in probe()
    1a25b9c4ce2a mt76: mt7921: drop offload_flags overwritten
    e64a3ea17c19 ARM: dts: armada-38x: Add generic compatible to UART nodes
    4518f459c2c0 arm64: dts: marvell: cn9130: enable CP0 GPIO controllers
    864ac5f6bfbe arm64: dts: marvell: cn9130: add GPIO and SPI aliases
    6d88a6849617 usb: ftdi-elan: fix memory leak on device disconnect
    826501a17e98 ARM: 9159/1: decompressor: Avoid UNPREDICTABLE NOP encoding
    851b00b47832 xfrm: state and policy should fail if XFRMA_IF_ID 0
    eab7928527b5 xfrm: interface with if_id 0 should return error
    afd9ebd40bda media: hantro: Fix probe func error path
    3ca9f14fe279 drm/tegra: vic: Fix DMA API misuse
    0dbb2617c713 drm/tegra: gr2d: Explicitly control module reset
    3b90135b03f3 gpu: host1x: select CONFIG_DMA_SHARED_BUFFER
    c0dc02dcfe6b drm/bridge: ti-sn65dsi86: Set max register for regmap
    602662de5f82 drm/msm/dpu: fix safe status debugfs file
    be12d15a817b arm64: dts: qcom: ipq6018: Fix gpio-ranges property
    0c7ec53598a3 arm64: dts: qcom: c630: Fix soundcard setup
    c9fadfaf7b44 net: dsa: hellcreek: Add missing PTP via UDP rules
    ae914fe9310e net: dsa: hellcreek: Allow PTP P2P measurements on blocked ports
    c2be5908dd7c net: dsa: hellcreek: Add STP forwarding rule
    06baf7c33cf3 net: dsa: hellcreek: Fix insertion of static FDB entries
    307ac652e9fb ath11k: Fix a NULL pointer dereference in ath11k_mac_op_hw_scan()
    e935a4dd37e4 media: coda/imx-vdoa: Handle dma_set_coherent_mask error codes
    f0fc76d6cc80 media: msi001: fix possible null-ptr-deref in msi001_probe()
    48225919434f media: dw2102: Fix use after free
    f99f6ea71b55 perf/arm-cmn: Fix CPU hotplug unregistration
    70bf180fef83 ARM: dts: gemini: NAS4220-B: fis-index-block with 128 KiB sectors
    3d3fbbf05fe8 spi: Fix incorrect cs_setup delay handling
    5d0933a65bbd ath11k: Fix deleting uninitialized kernel timer during fragment cache flush
    8b2b88054961 crypto: hisilicon/qm - fix incorrect return value of hisi_qm_resume()
    5367147cb4f8 crypto: stm32 - Revert broken pm_runtime_resume_and_get changes
    2383a52088b6 crypto: stm32/cryp - fix bugs and crash in tests
    4e3043d247e6 crypto: stm32/cryp - fix lrw chaining mode
    0ba9b34ec6e5 crypto: stm32/cryp - fix double pm exit
    ef416e0614af crypto: stm32/cryp - check early input data
    4a62c2b32c41 crypto: stm32/cryp - fix xts and race condition in crypto_engine requests
    4671521de277 crypto: stm32/cryp - fix CTR counter carry
    f857f6cc5fbf selftests: harness: avoid false negatives if test has no ASSERTs
    c0dbfef7e63f selftests: clone3: clone3: add case CLONE3_ARGS_NO_TEST
    fa8db0f53fc1 x86/uaccess: Move variable into switch case statement
    097d4aeea0fc xfrm: fix a small bug in xfrm_sa_len()
    7a95f5d9b80f mwifiex: Fix possible ABBA deadlock
    4e6ad76d340f drm/msm/dsi: fix initialization in the bonded DSI case
    5c2eaa606feb wcn36xx: Fix max channels retrieval
    ef93cc02cafb rcu/exp: Mark current CPU as exp-QS in IPI loop second pass
    87472bebedbb drm/msm/dp: displayPort driver need algorithm rational
    e5d61c5b9c9c drm/msm/gpu: Don't allow zero fence_id
    89166801f80d drm/amd/display: Fix out of bounds access on DNC31 stream encoder regs
    6dcc6706dab1 drm/amd/display: Fix bug in debugfs crc_win_update entry
    d41946e82718 Bluetooth: btusb: Handle download_firmware failure cases
    006157d575d1 Bluetooth: MGMT: Use hci_dev_test_and_{set,clear}_flag
    749fc99daa13 Bluetooth: refactor set_exp_feature with a feature table
    d3f45f4ee17f ath10k: Fix the MTU size on QCA9377 SDIO
    378723bd01b2 sched/rt: Try to restart rt period timer when rt runtime exceeded
    9a664557effe wireless: iwlwifi: Fix a double free in iwl_txq_dyn_alloc_dma
    643af6932580 media: si2157: Fix "warm" tuner state detection
    d8904d2f6283 media: saa7146: mxb: Fix a NULL pointer dereference in mxb_attach()
    6f2d3249b98d media: dib8000: Fix a memleak in dib8000_init()
    1a51d9d60325 samples: bpf: Fix 'unknown warning group' build warning on Clang
    d891664e39ad samples: bpf: Fix xdp_sample_user.o linking with Clang
    c7d36c19cf30 samples/bpf: Clean up samples/bpf build failes
    7b4a30bbf8ca samples/bpf: Install libbpf headers when building
    c7f0c087d483 arm64: mte: DC {GVA,GZVA} shouldn't be used when DCZID_EL0.DZP == 1
    338c297e0885 arm64: clear_page() shouldn't use DC ZVA when DCZID_EL0.DZP == 1
    33fcd00e0aa0 bpf: Remove config check to enable bpf support for branch records
    832d478ccd06 bpf: Disallow BPF_LOG_KERNEL log level for bpf(BPF_BTF_LOAD)
    2571173d3e11 bpf: Adjust BTF log size limit.
    d3c4b3c801c0 sched/fair: Fix per-CPU kthread and wakee stacking for asym CPU capacity
    00c10519538f sched/fair: Fix detection of per-CPU kthreads waking a task
    48419bc90e43 bpf: Fix the test_task_vma selftest to support output shorter than 1 kB
    35a89caf518e Bluetooth: btmtksdio: fix resume failure
    0cad9c0c81be staging: rtl8192e: rtllib_module: fix error handle case in alloc_rtllib()
    90d96a14c558 staging: rtl8192e: return error code from rtllib_softmac_init()
    ff732e9bf68b floppy: Fix hang in watchdog when disk is ejected
    31d60f528238 mtd: core: provide unique name for nvmem device
    aee7ef0305b1 serial: amba-pl011: do not request memory region twice
    7b54c975798d tty: serial: uartlite: allow 64 bit address
    aca61190ec82 arm64: dts: ti: k3-j7200: Correct the d-cache-sets info
    1e2847f9d910 arm64: dts: ti: k3-j721e: Fix the L2 cache sets
    f1f0039956fb arm64: dts: ti: k3-j7200: Fix the L2 cache sets
    10d3b165877f arm64: dts: ti: k3-am642: Fix the L2 cache sets
    2efa4dd4600d crypto: caam - save caam memory to support crypto engine retry mechanism.
    db3c2121d191 libbpf: Clean gen_loader's attach kind.
    e833ef0b545e drm/radeon/radeon_kms: Fix a NULL pointer dereference in radeon_driver_open_kms()
    1e22b51876fa drm/amdgpu: Fix a NULL pointer dereference in amdgpu_connector_lcd_native_mode()
    4c12feec2dfd thermal/drivers/imx8mm: Enable ADC when enabling monitor
    68bf3b2f95ee ACPI: EC: Rework flushing of EC work while suspended to idle
    1fb3838db45c cgroup: Trace event cgroup id fields should be u64
    2d93f960dc7e drm/vmwgfx: Fail to initialize on broken configs
    a6f53731f3bb drm/vmwgfx: Remove the deprecated lower mem limit
    4aa40bf38f71 arm64: dts: qcom: msm8916: fix MMC controller aliases
    0c1cf578a882 powerpc: Avoid discarding flags in system_call_exception()
    f38d669aab33 netfilter: bridge: add support for pppoe filtering
    3f32b8ca8e26 igc: AF_XDP zero-copy metadata adjust breaks SKBs on XDP_PASS
    94821ce188c2 thermal/drivers/imx: Implement runtime PM support
    b588858c09a5 net: stmmac: Add platform level debug register dump feature
    0bc65fcb2b89 media: venus: core: Fix a resource leak in the error handling path of 'venus_probe()'
    4a8a8ff65293 media: venus: core: Fix a potential NULL pointer dereference in an error handling path
    e0d8c693a9d2 media: venus: correct low power frequency calculation for encoder
    64bfc5673415 media: coda: fix CODA960 JPEG encoder buffer overflow
    b85906f919ea media: hantro: Hook up RK3399 JPEG encoder output
    a49171d86d5e media: mtk-vcodec: call v4l2_m2m_ctx_release first when file is released
    893a766ac8fe media: si470x-i2c: fix possible memory leak in si470x_i2c_probe()
    b38f3570f909 media: imx-pxp: Initialize the spinlock prior to using it
    92cb150c3ec8 media: rcar-csi2: Correct the selection of hsfreqrange
    842a24066653 media: i2c: ov8865: Fix lockdep error
    9a11fe9e4467 media: i2c: Re-order runtime pm initialisation
    adf57b861e7f media: i2c: imx274: fix s_frame_interval runtime resume not requested
    300b973af40f libbpf: Silence uninitialized warning/error in btf_dump_dump_type_data
    162bc7bd73a1 bfq: Do not let waker requests skip proper accounting
    6b6e7150c18b mfd: atmel-flexcom: Use .resume_noirq
    8aa5209e54aa mfd: atmel-flexcom: Remove #ifdef CONFIG_PM_SLEEP
    1b1620dd224b tty: serial: atmel: Call dma_async_issue_pending()
    d249a70251ce tty: serial: atmel: Check return code of dmaengine_submit()
    32307d1b94ae arm64: dts: ti: k3-j721e: correct cache-sets info
    920e0e6f0e39 ath11k: Use host CE parameters for CE interrupts configuration
    72b905fb39f0 crypto: qat - fix undetected PFVF timeout in ACK loop
    348210fd7765 crypto: qat - make pfvf send message direction agnostic
    6c58dd967389 crypto: qat - remove unnecessary collision prevention step in PFVF
    ef89212783a2 libbpf: Fix using invalidated memory in bpf_linker
    9b616ae0bf98 libbpf: Fix glob_syms memory leak in bpf_linker
    f8ca67f3fc9e libbpf: Fix potential misaligned memory access in btf_ext__new()
    ae38d3144324 ARM: dts: stm32: fix dtbs_check warning on ili9341 dts binding on stm32f429 disco
    9f670292c080 cpufreq: qcom-hw: Fix probable nested interrupt handling
    929205dc3a0f cpufreq: qcom-cpufreq-hw: Update offline CPUs per-cpu thermal pressure
    5d39cd2059ba mtd: hyperbus: rpc-if: fix bug in rpcif_hb_remove
    869eee39b330 arm64: dts: qcom: sc7280: Fix incorrect clock name
    38a721f60926 crypto: qce - fix uaf on qce_skcipher_register_one
    561030c55120 crypto: qce - fix uaf on qce_ahash_register_one
    cf984b11cdec crypto: qce - fix uaf on qce_aead_register_one
    cb353b688464 crypto: atmel-aes - Reestablish the correct tfm context at dequeue
    4d6a558bde10 media: dmxdev: fix UAF when dvb_register_device() fails
    87a413e3d8c9 arm64: dts: renesas: cat875: Add rx/tx delays
    7bce20277784 drm/vboxvideo: fix a NULL vs IS_ERR() check
    56339a5546a7 drm/dp: Don't read back backlight mode in drm_edp_backlight_enable()
    25f2b49f65c6 fs: dlm: fix build with CONFIG_IPV6 disabled
    815570353f6b tee: fix put order in teedev_close_context()
    d46f937233b1 spi: hisi-kunpeng: Fix the debugfs directory name incorrect
    50dab89c25dd ath11k: reset RSN/WPA present state for open BSS
    4ca3ffff349f ath11k: clear the keys properly via DISABLE_KEY
    dff606fc5068 ath11k: Fix ETSI regd with weather radar overlap
    2de0e6a71ceb Bluetooth: stop proccessing malicious adv data
    63811bf4f572 memory: renesas-rpc-if: Return error in case devm_ioremap_resource() fails
    dba0aea5727c fs: dlm: don't call kernel_getpeername() in error_report()
    ba43bd2be16b arm64: dts: meson-gxbb-wetek: fix missing GPIO binding
    0a7dd2ec89b2 arm64: dts: meson-gxbb-wetek: fix HDMI in early boot
    74ad053d7338 arm64: dts: amlogic: Fix SPI NOR flash node name for ODROID N2/N2+
    3cebbcbf9198 arm64: dts: amlogic: meson-g12: Fix GPU operating point table node name
    82515555873e media: aspeed: Update signal status immediately to ensure sane hw state
    85d5345bd861 media: em28xx: fix memory leak in em28xx_init_dev
    c4f0f1608727 media: aspeed: fix mode-detect always time out at 2nd run
    7fd4b0e18903 media: atomisp: fix uninitialized bug in gmin_get_pmic_id_and_addr()
    37d7ebf0179b media: atomisp: fix enum formats logic
    a030bcd96ef4 media: atomisp: add NULL check for asd obtained from atomisp_video_pipe
    124fd314c5fe media: atomisp: fix ifdefs in sh_css.c
    0224641992e1 media: atomisp: fix inverted error check for ia_css_mipi_is_source_port_valid()
    4de485f6d5fe media: atomisp: do not use err var when checking port validity for ISP2400
    b7033740e367 media: atomisp: fix inverted logic in buffers_needed()
    bb8ac1ec5a82 media: atomisp: fix punit_ddr_dvfs_enable() argument for mrfld_power up case
    6c3547e103e4 media: atomisp: add missing media_device_cleanup() in atomisp_unregister_entities()
    26e8cd84d7d2 media: videobuf2: Fix the size printk format
    6b3a83a450dd mtd: hyperbus: rpc-if: Check return value of rpcif_sw_init()
    77d19bad301f bpftool: Fix memory leak in prog_dump()
    9f3cbc3ba5ad ath11k: Send PPDU_STATS_CFG with proper pdev mask to firmware
    26b9d4ac42ab wcn36xx: fix RX BD rate mapping for 5GHz legacy rates
    3913db56e471 wcn36xx: populate band before determining rate on RX
    d97aa008ebc0 wcn36xx: Put DXE block into reset before freeing memory
    514c1df9dfa9 wcn36xx: Release DMA channel descriptor allocations
    8da7a0e26c4a wcn36xx: Fix DMA channel enable/disable cycle
    a3ec2b9456eb libbpf: Free up resources used by inner map definition
    620a2ee55059 drm/vc4: hdmi: Enable the scrambler on reconnection
    23d2c4eb76d6 wcn36xx: Indicate beacon not connection loss on MISSED_BEACON_IND
    a33fc07affe5 wcn36xx: ensure pairing of init_scan/finish_scan and start_scan/end_scan
    8c3830446ccc drm/vc4: crtc: Make sure the HDMI controller is powered when disabling
    2bba39feaa3e drm/vc4: hdmi: Rework the pre_crtc_configure error handling
    a26aa0f3982f drm/vc4: hdmi: Make sure the controller is powered up during bind
    e3e8f46f36e0 drm/vc4: hdmi: Make sure the controller is powered in detect
    b9b1fbe61ff1 drm/vc4: hdmi: Move the HSM clock enable to runtime_pm
    2d717d822675 drm/vc4: hdmi: Set a default HSM rate
    49b570f5d2e4 clk: bcm-2835: Remove rounding up the dividers
    2ff7b32f6b3e clk: bcm-2835: Pick the closest clock rate
    d2e7a4d20f7c Bluetooth: cmtp: fix possible panic when cmtp_init_sockets() fails
    1f2270e161f9 Bluetooth: virtio_bt: fix memory leak in virtbt_rx_handle()
    f28d819f17d3 drm/rockchip: dsi: Reconfigure hardware on resume()
    506bae94333b drm/rockchip: dsi: Disable PLL clock on bind error
    4f005cef1d5a drm/rockchip: dsi: Hold pm-runtime across bind/unbind
    dd0ed218c0bf drm/rockchip: dsi: Fix unbalanced clock on probe error
    1a943d8ad9c0 drm/panel: innolux-p079zca: Delete panel on attach() failure
    92082e300373 drm/panel: kingdisplay-kd097d04: Delete panel on attach() failure
    52e1bf49e3e2 drm: fix null-ptr-deref in drm_dev_init_release()
    11182d953e64 drm/bridge: display-connector: fix an uninitialized pointer in probe()
    6c1ad4aeeab4 Bluetooth: L2CAP: Fix not initializing sk_peer_pid
    0da09030aae4 drm/ttm: Put BO in its memory manager's lru list
    19f76690fe68 shmem: fix a race between shmem_unused_huge_shrink and shmem_evict_inode
    6292bd6f654e ath11k: add string type to search board data in board-2.bin for WCN6855
    e363ab335751 mm/page_alloc.c: do not warn allocation failure on zone DMA if no managed pages
    bcf64fb327c8 dma/pool: create dma atomic pool only if dma zone has managed pages
    240e8d331a9b mm_zone: add function to check if managed dma zone exists
    55bd26fd08da PCI: Add function 1 DMA alias quirk for Marvell 88SE9125 SATA controller
    484654a6f6ed dma_fence_array: Fix PENDING_ERROR leak in dma_fence_array_signaled()
    03e964ad35ac virtio/virtio_mem: handle a possible NULL as a memcpy parameter
    b9a524d6ec03 drm/tegra: Add back arm_iommu_detach_device()
    3ff8942bb8ab gpu: host1x: Add back arm_iommu_detach_device()
    03c8e18f3c14 iommu/io-pgtable-arm-v7s: Add error handle for page table allocation failure
    bed344b54daa ARM: dts: at91: update alternate function of signal PD20
    c77a4529ca38 arm64: errata: Fix exec handling in erratum 1418040 workaround
    181c78d6c12d cxl/pmem: Fix reference counting for delayed work
    bc95dbf5502c bus: mhi: core: Fix race while handling SYS_ERR at power up
    c8aa11642478 bus: mhi: core: Fix reading wake_capable channel configuration
    2075d9f4fdc5 bus: mhi: pci_generic: Graceful shutdown on freeze
    acb5a8bee27b lkdtm: Fix content of section containing lkdtm_rodata_do_nothing()
    a18aeac73c0f iio: trigger: Fix a scheduling whilst atomic issue seen on tsc2046
    5c397420c0e2 iio: adc: ti-adc081c: Partial revert of removal of ACPI IDs
    702c89045230 mei: hbm: fix client dma reply status
    697c41375739 can: softing_cs: softingcs_probe(): fix memleak on registration failure
    61eb4ad9ae46 media: cec-pin: fix interrupt en/disable handling
    1baebfdf19b0 media: stk1160: fix control-message timeouts
    b208a386572a media: pvrusb2: fix control-message timeouts
    8b8dbc22b9f7 media: redrat3: fix control-message timeouts
    821e5abd2198 media: dib0700: fix undefined behavior in tuner shutdown
    4e56a231210f media: s2255: fix control-message timeouts
    15955a24fa8e media: cpia2: fix control-message timeouts
    198e0c619f46 media: em28xx: fix control-message timeouts
    2516fab22e65 media: mceusb: fix control-message timeouts
    a16e2eff80fa media: flexcop-usb: fix control-message timeouts
    1bde26972360 media: v4l2-ioctl.c: readbuffers depends on V4L2_CAP_READWRITE
    9aaf99b4a8b0 media: ov8865: Disable only enabled regulators on error path
    a0d6e64b3413 media: cec: fix a deadlock situation
    8202aa60f077 ksmbd: add reserved room in ipc request/response
    d7004f0cc4a7 ksmbd: limits exceeding the maximum allowable outstanding requests
    0aadd32bebc9 ksmbd: move credit charge deduction under processing request
    40fc68aeeb24 ksmbd: add support for smb2 max credit parameter
    0a8347db70a6 ksmbd: fix guest connection failure with nautilus
    bbba4a0b8efa ksmbd: uninitialized variable in create_socket()
    893dfb14cac1 net: phy: marvell: add Marvell specific PHY loopback
    e428c89717ff rtc: cmos: take rtc_lock while reading from CMOS
    9899cea59121 tools/nolibc: fix incorrect truncation of exit code
    72191715afee tools/nolibc: i386: fix initial stack alignment
    9dc4c4e19084 crypto: x86/aesni - don't require alignment of data
    132cb7f64697 tools/nolibc: x86-64: Fix startup code bug
    850bc1262a2b x86/gpu: Reserve stolen memory for first integrated Intel GPU
    07c1c8e3202e riscv: mm: fix wrong phys_ram_base value for RV64
    a2389e4f54e5 riscv: use hart id instead of cpu id on machine_kexec
    b9f3e769ecf5 riscv: Don't use va_pa_offset on kdump
    9550c6f0b2a6 riscv: try to allocate crashkern region from 32bit addressible memory
    1402857bf15f RISC-V: Use common riscv_cpuid_to_hartid_mask() for both SMP=y and SMP=n
    6250ecf5ba42 riscv: Get rid of MAXPHYSMEM configs
    cee8830146cf mtd: rawnand: ingenic: JZ4740 needs 'oob_first' read page function
    abf8c8712b6d mtd: rawnand: Export nand_read_page_hwecc_oob_first()
    26aa92a7f931 mtd: rawnand: davinci: Rewrite function description
    3f5eb2d89032 mtd: rawnand: davinci: Avoid duplicated page read
    eebc910e09d4 mtd: rawnand: davinci: Don't calculate ECC when reading page
    5794c37d2a98 mtd: Fixed breaking list in __mtd_del_partition.
    bb969ffe1d0e mtd: rawnand: gpmi: Remove explicit default gpmi clock setting for i.MX6
    0fe08bf9909f mtd: rawnand: gpmi: Add ERR007117 protection for nfc_apply_timings
    f4dfc52a1eab nfc: llcp: fix NULL error pointer dereference on sendmsg() after failed bind()
    c9cd02cb7a26 f2fs: avoid EINVAL by SBI_NEED_FSCK when pinning a file
    dd88a805d2d0 f2fs: fix to do sanity check in is_alive()
    0ddbdc0b7f0c f2fs: fix to do sanity check on inode type during garbage collection
    7f6e3cbbd600 ALSA: core: Fix SSID quirk lookup for subvendor=0
    8877331177de HID: wacom: Avoid using stale array indicies to read contact count
    c965ad71a05d HID: wacom: Ignore the confidence flag when a touch is removed
    f9f16383d596 HID: wacom: Reset expected and received contact counts at the same time
    6a4ec6f2429e HID: uhid: Fix worker destroying device without any protection
    47b5c189d6a4 HID: Ignore battery for Elan touchscreen on HP Envy X360 15t-dr100
    91b7cbea9efc KVM: VMX: switch blocked_vcpu_on_cpu_lock to raw spinlock
    a88ebc49c633 KVM: x86/mmu: Fix write-protection of PTs mapped by the TDP MMU

(From OE-Core rev: ee26b8e6baa824a2e7b4d18dbe302a124e68839f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Bruce Ashfield
83220a6153 linux-yocto-dev: update to v5.17+
Bumping the -dev kernel to v5.17 to test the latest upstream
kernel.

(From OE-Core rev: c75b6116fae479abd2dbf0d5950e38a0b31b1832)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Bruce Ashfield
c45ed6eda9 lttng-modules: fix build against v5.17+
To fix the build against v5.17+ kernels, we backport 7 patches
from the lttng-modules upstream repository.

If a 2.13.2 lttng-modules release is done before the upcoming
release, we'll obviously drop these patches.

(From OE-Core rev: 4783a0fd9f86a0247a44b07bdb7e733e57c6664f)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Bruce Ashfield
c4fa1d994e qemuarm64: Add tiny ktype to qemuarm64 bsp
Integrating the following commit(s) to linux-yocto/.:

    cf716c58bea qemuarm64: Add tiny ktype to qemuarm64 bsp

(From OE-Core rev: b3962185d4278840193b8af9eff386860e8e5666)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Khem Raj
437b7fcfe3 meta: Remove libsegfault and catchsegv
Glibc has dropped them starting with 2.35 see [1]

[1] https://sourceware.org/git/?p=glibc.git;a=commit;h=65ccd641bacea33be23d51da737c2de7543d0f5e

(From OE-Core rev: 95c61d834596263ab1dd1fb1f8c8dbcc9104a935)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Richard Purdie
a8b7d51cce glibc: Upgrade to 2.35
Package /usr/bin/ld.so in a separate package

ld.so is a new tool which is added as a symlink to original dynamic
linker so make it available with same name across architectures which is
useful to leveral features like  --preload, --audit, and --list-diagnostics
more accessible to end users

(From OE-Core rev: 2658dcbcfc3db814af1ee104303effc1b6cfa489)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-10 10:32:07 +00:00
Ross Burton
632565fb1c newlib: fix license checksums
COPYING.LIBGLOSS simply had the FSF street address change.

COPYING.NEWLIB now includes BSD-3-Clause.

(From OE-Core rev: 78080015b7d83f46770be718a22ffcfedd15daf2)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-09 13:08:57 +00:00
Alexander Kanavin
b622b02adc sstate: additional debugging when fetch fails occur
Autobuilder has been showing things like:
Checking sstate mirror object availability...ERROR: SState: cannot test file://universal/d9/bc/sstate:xz-native:x86_64-linux:5.2.5:r0:x86_64:8:d9bced04b194d5fc8d778eb8a0d674fa7375a42c8c50a9237e6d7672e9e7a00c_deploy_source_date_epoch.tar.zst: TimeoutError('timed out')
ERROR: SState: cannot test file://37/a0/sstate:libgcc-initial:core2-64-poky-linux:11.2.0:r0:core2-64:8:37a0a5aec105a0822df098f15ff2b67d0e7220204742b5d2b1f7958dda6fa5ce_deploy_source_date_epoch.tar.zst: TimeoutError('timed out')
ERROR: SState: cannot test file://universal/11/a4/sstate:libpciaccess-native:x86_64-linux:0.16:r0:x86_64:8:11a4d6c3a2e147ef7dd5f31c0ff2a91271dad49b561d8aa24849115081cf1842_deploy_source_date_epoch.tar.zst: TimeoutError('timed out')
done.

which is not helpful. To find out what really happened and where, the original
traceback is needed too.

(From OE-Core rev: 80a9052221fb2a12e7c652f2d1764101202fdb90)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Alexander Kanavin
81cfa7d0e0 python3-numpy: update 1.22.1 -> 1.22.2
Replace an ad hoc fix via patch with an upstream one.

(From OE-Core rev: 991f8617b9ca9680b3f81cb215e3b39095260e7c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Alexander Kanavin
a39d3f2ed7 llvm: update 12.0.1 -> 13.0.1
(From OE-Core rev: 99132e1163dd32168be3d02d27ce056b27f948b2)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Alexander Kanavin
18f165c9e8 insane.bbclass: use multiprocessing for collecting 'objdump -p' output
This was prompted by ltp's unreasonably long package_qa times; it has
a massive amount of executables and insane runs objdump for all of
them, serially.

This reduces the time from 4 minutes to 1m20s on my machine.

(From OE-Core rev: fac984b99fdb46949879516cb87153860f402c75)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
1dfdf2bb92 gst-devtools: upgrade 1.18.5 -> 1.20.0
- Add new meson options

(From OE-Core rev: 0b00410161e3a0d3c9a9631ae3544f42e36cc1b7)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
1d89e68c22 gstreamer1.0-python: upgrade 1.18.5 -> 1.20.0
- Add new meson options

(From OE-Core rev: 31e41c11f987c7975a4cdf73657330bc0810962e)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
5842a93c14 gstreamer1.0-omx: upgrade 1.18.5 -> 1.20.0
(From OE-Core rev: d36ba8fa5b0f6ad89b77a6e792a978a41e4cad4b)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
c69aa2a6f5 gstreamer1.0-vaapi: upgrade 1.18.5 -> 1.20.0
(From OE-Core rev: c9a1feccdf55cbdf8473da47233291a695af5459)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
2ee8da4ccd gstreamer1.0-libav: upgrade 1.18.5 -> 1.20.0
- License update:
  The code actually is LGPLv2.1 but the COPYING file is wrong.
  678773bb64

- Drop backported patches
  0001-gst-libav-fix-build-with-ffmpeg-5.0.0.patch

- Add new meson options

(From OE-Core rev: db058e8a8bad0d98f908062871832cc6824deaf2)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
4bfc363af0 gstreamer1.0-rtsp-server: upgrade 1.18.5 -> 1.20.0
- License update:
  The code actually is LGPLv2.1 but the COPYING file is wrong.
  cc5cdab016

(From OE-Core rev: 453e72430cba0c4b78b95c6f0f792320e787b890)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
94994e66c9 gstreamer1.0-plugins-ugly: upgrade 1.18.5 -> 1.20.0
- Add new meson options
  gpl: Allow build plugins that have GPL-licensed dependencies
   a52dec: Dolby Digital (AC-3) audio decoder plugin based on liba52 (GPL - only built if gpl option is also enabled!)
   cdio: CD audio source plugin based on libcdio (GPL - only built if gpl option is also enabled!)
   dvdread: DVD video source plugin based on libdvdread (GPL - only built if gpl option is also enabled!)
   mpeg2dec: MPEG 2 video decoder plugin based on libmpeg2 (GPL - only built if gpl option is also enabled!)
   x264: H.264 video encoder plugin based on libx264 (GPL - only built if gpl option is also enabled!)

(From OE-Core rev: a4cac596625062cd22bd15079618d1310ad97673)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
1197b1c5ed gstreamer1.0-plugins-bad: upgrade 1.18.5 -> 1.20.0
- Remove meson options
  libmms
  ofa

- Add new meson options
  gpl: Allow build plugins that have GPL-licensed dependencies
   faad: Free AAC audio decoder plugin (GPL - only built if gpl option is also enabled!)
   resindvd: Resin DVD playback plugin (GPL - only built if gpl option is also enabled!)
   x265: HEVC/H.265 video encoder plugin (GPL - only built if gpl option is also enabled!)

- Add new meson options
  Feature options for plugins without external deps
   codecalpha
   aes: AES encryption/decryption plugin

  Feature options for plugins that need external deps
   asio: Steinberg Audio Streaming Input Output (ASIO) plugin
   gs: Google Cloud Storage source and sink plugin
   ldac: LDAC bluetooth audio codec plugin
   openaptx: Open Source implementation of Audio Processing Technology codec (aptX) plugin
   qroverlay: new elements that allow overlaying data on top of video in the form of a QR code
   onnx: ONNX neural network plugin

(From OE-Core rev: 76433d3628cbad311b428a57b25b4e2701ee513b)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
7f4bd6e984 gstreamer1.0-plugins-good: upgrade 1.18.5 -> 1.20.0
(From OE-Core rev: dea59f10285d364e8aa4c9dba51f181e192b2b6a)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
ebb54be94c gstreamer1.0-plugins-base: upgrade 1.18.5 -> 1.20.0
- License update:
  The code actually is LGPLv2.1 but the COPYING file is wrong.
  e5382fe84c

- Drop unneed patches
  0004-glimagesink-Downrank-to-marginal.patch

- Add new meson options
  qt5 is needed to build some tests
   tests/examples/gl/qt/meson.build
   tests/examples/overlay/meson.build

(From OE-Core rev: 75891f361f3e9df9fc3e97c720a2ae57dda75888)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
7db915b98d gstreamer1.0: upgrade 1.18.5 -> 1.20.0
- License update:
  The code actually is LGPLv2.1 but the COPYING file is wrong.
  d157b23fb0

- Drop backported patches
  0001-gst-gstpluginloader.c-when-env-var-is-set-do-not-fal.patch
  0002-Remove-unused-valgrind-detection.patch
  0003-tests-seek-Don-t-use-too-strict-timeout-for-validati.patch

- Update submitted patches
  0001-tests-respect-the-idententaion-used-in-meson.patch
  0002-tests-add-support-for-install-the-tests.patch
  0003-tests-use-a-dictionaries-for-environment.patch
  0004-tests-add-helper-script-to-run-the-installed_tests.patch

(From OE-Core rev: 366b33dc94b056899ce8c5736be15c70d2e94626)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
bdaf6cdaaa shaderc: upgrade 2021.4 -> 2022.0
- Update to Glslang 11.8.0

(From OE-Core rev: f82c2e9cc9037df6a2f43a3ce385985804758478)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
bccddd8668 shaderc: upgrade 2021.3 -> 2021.4
- Support Vulkan 1.3
- Support targeting SPIR-V 1.6, which is the default for Vulkan 1.3
- Updated copyright check: Excludes Glslang generated files when
  building in source tree
- Fix Android.mk rules for building libshaderc_combined, to adapt to more
  recent NDKs that have removed the GNU binutils.

(From OE-Core rev: 638adda55af439db8917d22a335d461269a1f57a)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
8ca43999cd glslang: upgrade 11.7.1 -> 11.8.0
* Add support for SPIR-V 1.6
* Add support for Vulkan 1.3
* Add --hlsl-dx-position-w option

Update LICENSE.txt
- Expand the GPL 3 with special bison exception to the fully expanded license.

(From OE-Core rev: 2e76ddc70b3f3b7c40c61eab3945dfc883ffd6ad)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
157276b663 spirv-tools: upgrade 2021.4 -> 2022.1
- General
 - Add SPIR-V 1.6 support to wasm build (#4674)
 - Improvements to disassembly within PassManager (#4677)
 - Basic support for SPIR-V 1.6 (#4663)
 - reflect debug (#4662)
 - Fix endianness of string literals (#4622)
- Optimizer
 - spirv-opt: add pass to Spread Volatile semantics (#4667)
 - Fix constant propagation and folding of FClamp instructions (#4651)
 - Manually fold floating point division by zero (#4637)
 - Allow ADCE to remove dead inputs (#4629)
- Linker
 - Linker improvements (#4679)
   * test/linker: Code factorisation and small tweaks
   * linker: Do not fail when going over limits
- Validator
  - val: interface struct with builtins must be Block (#4665)
- Fuzzer
  - Avoid id bound errors during opt fuzzing (#4658)
  - Avoid uninitialised read when parsing hex float (#4646)

b1877de5cd/CHANGES

(From OE-Core rev: 17cfdd9e5193074d15ccdaff49dc76b3dc1904ab)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
fd20e7e66d spirv-headers: bump to b42ba6
(From OE-Core rev: 0add0aca1c5fe292d0993131a46c7448bfcc0596)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Jose Quaresma
379519795a icecc.bbclass: replace deprecated bash command substitution
- build some packages with icecc enabled is not supported
  because of the folling that disables the icecc:

  DEBUG: while parsing set_icecc_env, unable to handle non-literal command '$ICECC_CC'

- it can be replicated with:

 bitbake make && bitbake make -c cleansstate && bitbake make -DD
 grep ICECC_CC tmp/log/cooker/qemux86-64/console-latest.log

- bash command substitution backquote deprecated

 https://www.gnu.org/software/bash/manual/html_node/Command-Substitution.html
 https://mywiki.wooledge.org/BashFAQ/082

(From OE-Core rev: b4e3983f38af5a5484b33de43449ae85b7e4f104)

Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Kai Kang
efa450bfbf toolchain-scripts.bbclass: use double quotes for exported PS1
Use double quotes("") rather than single quotes('') for PS1 in
EXPORT_SDK_PS1 which will be exported in SDK environment file. Then it
could set PS1 for SDK env with some variables in host env, such as the
original PS1. The SDK PS1 could be some distinct words plus original PS1
rather than replace the whole original PS1. For example, it could set in
local.conf with

SDK_PS1 = "(oesdk) \${PS1}"

then it just prepends '(oesdk) ' before original PS1 after source the
SDK environment file.

(From OE-Core rev: e13e657dabcabd97f50794e7375777ef5ad883c8)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Chen Qi
0d4392fbb3 mdadm: install mdcheck
This script is used in mdcheck_xxx.service files. So we need to
install it. Also, as it requires bash, we add bash to RDEPENDS.

(From OE-Core rev: 0942b161252fc70c65d46754b44bfebe75cf8c09)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Alexander Kanavin
a7f7161ff4 git: restore reproducibility on centos 7
(From OE-Core rev: edeb2a1a4cfd16706da6815af198d133a94b5ac6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-08 14:20:18 +00:00
Alexander Kanavin
0f82f85dc9 runqemu: preload uninative libraries when host gl drivers are in use
Some of the host distributions build the drivers in a way (RPATH/RUNPATH)
that tricks uninative loader into loading pieces of the host libc, if
the same pieces haven't been previously loaded by native binaries. Mixing
the two libc versions leads to failures.

This change ensures that the correct (uninative) versions are always in use.

(From OE-Core rev: 39c10816d5ec9d9c7952d786d7a3f942d25d0c27)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Alexander Kanavin
276975e4ea qemu: replace a gtk wrapper with directly setting environment from runqemu
The wrapper is executed by host bash, and host bash refuses to run
when pseudo libc is preloaded via LD_PRELOAD (which is the case
when gl is enabled).

Only the fontconfig setting is carried over as local testing showed that
only that is necessary for the gui to look ok nowadays; adjust further
if necessary.

(From OE-Core rev: 34f152de14f803fcfe5c92c515bf585838bba10a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Richard Purdie
1dfa8537a3 binutils: Add fix for CVE-2021-45078
Backport a fix for CVE-2021-45078.

(From OE-Core rev: f3128fd1b2e5cbf3683dc69eabc56fbc0bd0e7d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Richard Purdie
2ef6fddc98 vim: Upgrade 4269 -> 4134
License text underwent changes on how to submit Uganda donations, switch from http
to https urls and an update date change but the license itself is unchanged.

Also, add an entry for the top level license file. This is also the vim license
so LICENSE is unchanged but we should monitor it too.

(From OE-Core rev: d195005e415b0b2d7c8b0b65c0aef888d4d6fc8e)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Pavel Zhukov
8b56936996 systemd: enable KeepConfiguration= when running on network filesystem
This fix boot from NFS for systemd enabled systems. Previously
systemd-networkd dropped network configuration on exit from initrd even
if there're NFS mount.

[YOCTO #14708]

(From OE-Core rev: afb6b1625a43d64eba090f0f4c5e231d87df7833)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Joshua Watt
d366a1a223 spdx: Add set helper for list properties
This adds the set helper for list properties to allow list members to be
replaced with a new list. This is necessary as it is (currently) the
only way to replace the default value for a list member.

(From OE-Core rev: 8280b857c510646cd10167dd2ea9a0c2d5f1e800)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Florian Amstutz
555f9166bf devtool: deploy-target: Remove stripped binaries in pseudo context
deploy-target may fail the second time with "pseudo abort" because
devtool-deploy-target-stripped is deleted outside of pseudo's fakeroot
context.

(From OE-Core rev: 2338a33b690b0bbe279cde3f73764911b239cb50)

Signed-off-by: Florian Amstutz <florian.amstutz@scs.ch>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Ross Burton
56fe6d575e common-licences: remove ambiguous "BSD" license
Our "BSD" license is the 3-clause BSD license, but many recipes were
using "BSD" for any variation of the license.

We've mostly moved recipes away from the vague "BSD" license to concrete
names such as "BSD-3-Clause", so delete the BSD license to force the
remaining users to update their license statements.

[ YOCTO #14539 ]

(From OE-Core rev: 14d4c007c49652d836d325a12bdbcd3bfa42e6d5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Joshua Watt
a8351a214e classes/create-spdx: Remove unnecessary package
A superfluous package was being created, but it was never used.

(From OE-Core rev: ddfa61f691fc51c1968e8f1ff43f69dccd1632ee)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Joshua Watt
1f8137196d classes/create-spdx: Add packageSupplier field
Per NIST SBoM recommendations, include the Package Supplier field for
all SPDX packages that are created. This field should generally be set
to the person or organization that is performing the build, since they
would be considered the "supplier" of the SPDX packages.

(From OE-Core rev: ca48349501e0ec93dc2448d064e1567fca390bf5)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Alejandro Hernandez Samaniego
a97ef3f1d3 newlib: Upgrade 4.1.0 -> 4.2.0
(From OE-Core rev: 668445252fa96bd00ecdef1f610707a132eb35fc)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Stefan Herbrechtsmeier
c05a5ac3b7 systemd: Minimize udev package size if DISTRO_FEATURES doen't contain sysvinit
Link udev shared with systemd helper to minimize the udev package size
if DISTRO_FEATURES doesn't configure sysvinit to be used.

It is only usefull to link udev static with systemd helper if udev
should be installed without systemd such as a mixed sysvinit and systemd environment

[RP: Fixed to use sysvinit distro feature instead of systemd]
(From OE-Core rev: 061cae73e2617dff62962fac131ff62d401e500c)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Stefan Herbrechtsmeier
a9a70bde35 systemd: Add link-udev-shared PACKAGECONFIG
Add a PACKAGECONFIG to link systemd-udev and its helpers to
libsystemd-shared.so. If enabled the udev package depends on the systemd
package.

(From OE-Core rev: 2e854402a899c26e25bd0edc198b40fe45fc6c7d)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Stefan Herbrechtsmeier
272212c2cb cve-check: create directory of CVE_CHECK_MANIFEST before copy
Create directory of the CVE_CHECK_MANIFEST variable before copy to it,
so that the variable can use an arbitrary directory name.

(From OE-Core rev: 9829c16301bf2dce39fa046401a984f112fa0322)

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-07 10:08:59 +00:00
Peter Kjellerstedt
bef3fe4969 bitbake: fetch2: npm: Put all downloaded files in the npm2 directory
Previously npm files that specify downloadfilename= in the SRC_URI
would be downloaded to the root of ${DL_DIR} rather than in the
${DL_DIR}/npm2 directory where all other npm files are downloaded.
This should make it simpler when setting up and configuring a
premirror with the downloaded npm packages.

(Bitbake rev: 73fa376d6502ab6f2cccfb25a1193d9b1c3c3bc8)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
88993ae030 bitbake: fetch2: Correct handling of replacing the basename in URIs
The solution implementated in commit 96c30007 (fetch2: fix
downloadfilename issue with premirror) missed two corner cases. The
first is if the basename of the original URI also appears somewhere
else in the replacement URI, in which case it would also be replaced.
The second is if the basename of the original URI partially matches
the basename of the replacement URI, in which case the inital part of
the basename from the replacement URI would be left behind.

The second case caused test_npm_premirrors_with_specified_filename to
fail.

The solution is to prefix the basename with a slash when matching to
avoid partial matches, and only replace the basename at the end of the
URI.

This also adds two test cases that test for these problems. Before
this they would give the following errors:

  - ['file:///mirror/example/1.0.0/some-example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz']
  + ['file:///mirror/some-example-1.0.0.tgz/1.0.0/some-example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz']
  ?                  +++++       ++++++++++

  - ['file:///mirror/some-example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz']
  + ['file:///mirror/some-some-example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz']
  ?                  +++++

(Bitbake rev: 5924c6f007519cd8ea6cc8b316814d17b43048ca)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
84963eb74a bitbake: tests/fetch: Make test_npm_premirrors work with the current fetcher
There are two totally opposite use cases for how a premirror is
expected to behave in combination with specifying a downloadfilename=
parameter in the SRC_URI. On the one hand there is the expectation
that it works like any other mirror, which means the premirror is
expected to contain a file with the original name specified in the
SRC_URI. On the other hand there is the expectation that one can use
the artefacts downloaded by bitbake in ${DL_DIR} as a premirror, in
which case it is expected to contain a file with the name from the
downloadfilename= parameter.

The latter case has been how downloaded files have been handled until
commit 8a3ff9f3 (fetch2: fix premirror URI when downloadfilename
defined), where the fetcher was changed to store files as per the
first case. This is also when the test_npm_premirrors test case was
modified in commit 5ba191a0 (tests/fetch: add and fix npm tests) to
expect the first case.

The above change was later reverted in commit 96c30007 (fetch2: fix
downloadfilename issue with premirror). However the
test_npm_premirrors test case was not updated to match, and has been
failing ever since. This has probably gone unnoticed because the npm
related test cases require that npm is installed on the host.

This commit updates test_npm_premirrors to expect that premirrors use
the filenames specified by downloadfilename= as this matches the
current fetcher implementation and also is the most likely use case
for premirrors. It also tries to mimic how one typically might setup
the premirror directory by simply copying the download directory.

(Bitbake rev: 9e913ade70474aaeb928814d4763e7105569d63a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
d715e9105f bitbake: tests/fetch: Only set the Git user name/email if they are not already set
If they are set, assume they are correct.

(Bitbake rev: a3a3a40b96c29051d97d0c96eb01784cbd1f5420)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
d40357665f bitbake: tests/fetch: Unify how git commands are run
This unifies the three separate implementations of git() from
GitMakeShallowTest, GitShallowTest and GitLfsTest into one
implementation in FetcherTest. It also makes use of this in
FetcherLocalTest and FetcherNetworkTest.

(Bitbake rev: 8c8b418c3e6f8ab2535ad405e8006ee1012f3484)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
c1117a8eaa bitbake: tests/fetch: Improve the verbose messages for skipped tests
This changes:

  test_foo .. skipped 'Network tests being skipped'
  test_foo .. skipped 'npm not installed, tests being skipped'

to:

  test_foo .. skipped 'network test'
  test_foo .. skipped 'npm not installed'

to avoid double "skipped" in the output.

(Bitbake rev: e551328a4595c220b94ab5002d978ddb4deeebcf)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
803aff8136 bitbake: tests/fetch: Remove unnecessary \n from mirror variables
Since commit 044fb04d (fetch2: Allow whitespace only mirror entries)
there is no need to separate the entries in mirror variables with
"\n".

(Bitbake rev: ed22b078aae25e804ca5edf062e2c905d3e49426)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
66a7541b4f bitbake: tests/fetch: Skip the crate tests if network tests are disabled
Both test_crate_url and test_crate_url_multi require Internet access.

(Bitbake rev: 34e9daed6a7f766bb6e27c7e02c94b545f4791d8)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Peter Kjellerstedt
63cebdc8e8 bitbake: bitbake-user-manual: Remove unnecessary \n from a PREMIRRORS example
Since commit 044fb04d (fetch2: Allow whitespace only mirror entries)
there is no need to separate the entries in PREMIRRORS with "\n".

(Bitbake rev: 341746c7f7b8e04d3fad51ec1b9e462ced355bfc)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:44 +00:00
Pavel Zhukov
89ea828861 systemd: allow to create directory whose path contains symlink
Systemd version 250 has a regression which blocks mountd service from
creating subdirectories if path contains symlink. This blocks bind
mounts under /var/run, /lib for example.

Bug-Url: https://github.com/systemd/systemd/issues/22334

(From OE-Core rev: 10f952f4a49ee340f3404df10e9309f90e0c58ab)

Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Ross Burton
8463a37d70 yocto-check-layer: check for duplicate layers when finding layers
detect_layers() is very greedy and if it recurses into poky or bitbake
it will find the test suite layers, such as
bitbake/lib/layerindexlib/tests/testdata/layer4. This is a dummy layer
which claims to be openembedded-layer, so if the real openembedded-layer
is a dependency then layer4 may be used instead, which will cause
errors: initially because it's only compatible with Sumo, but later
because it doesn't contain any recipes.

Add a check that the set of layers we've found doesn't contain any
duplicate collection names with different patterns, and abort if that is
the case as the test will be non-deterministic.

(From OE-Core rev: 0df4bae4ec67d38442620fa08c839528b425e2a8)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Daniel Müller
2b3ae4d1ab scripts/runqemu-ifdown: Don't treat the last iptables command as special
The runqemu-ifup script performs a bunch of setup steps that
runqemu-ifdown attempts to undo later on. While a bunch of said setup
operations are considered fatal should they fail, the iptables based NAT
setup notably is not.
The tear down procedure in runqemu-ifdown, however, has the iptables
based tear down as the last operation, with the status of it determining
the overall status of the script. Hence, if this step fails, the script
is considered a failure overall. That is arguably inconsistent: If the
NAT setup did not succeed, the tear down cannot succeed either.
To ensure similarity of the two paths, let's not treat the last iptables
tear down operation any special and allow it to fail the runqemu-ifdown
script, but just ignore failures.

Background: we have seen a NAT related setup problem on the ifup path
(which didn't cause script failure), but then saw an issue bubbled up
when this operation was meant to be undone on the ifdown path.

(From OE-Core rev: 0ebcfb034bcad81efef5f746f0aa0b69772901a0)

Signed-off-by: Daniel Müller <muellerd@fb.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Saul Wold
254fbcf614 recipetool: Fix circular reference in SRC_URI
When creating a new recipe.bb file for a binary, don't use BP which
includes the version information, instead use BPN which is just the
name base Package Name.

Since PB is not specified, it takes the default:
PV = "1.0+git${SRCPV}"

But SRCPV is defined in terms of the SRC_URI, which leads to infinite
recursion (traceback below). Here are the pertinent variables which
cause the recursion:

SRC_URI = "git://github.com/lvc/abi-dumper;protocol=https;subdir=${BP}"
BP = "${BPN}-${PV}"
PV = "1.0+git${SRCPV}"
SRCPV = "${@bb.fetch2.get_srcrev(d)}"

def get_srcrev(d, method_name='sortable_revision'):
    # ... trimmed
    scms = []
    fetcher = Fetch(d.getVar('SRC_URI').split(), d)
    # ... trimmed

[YOCTO #14040]

(From OE-Core rev: 3b8d43fc53ee13d39abc3b2a1f706a97fcf752aa)

Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
5c4a385426 harfbuzz: upgrade 3.2.0 -> 3.3.1
(From OE-Core rev: 5dcf6e8e3e6d0c66561fef35f5211641ca83e769)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
f671233fc8 libgpg-error: update 1.43 -> 1.44
Drop accepted patch.

(From OE-Core rev: a4dc17a8b4080ca17c0f363163363d5c2af4dc4e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
3108c18431 re2c: upgrade 2.2 -> 3.0
(From OE-Core rev: 2ebd7ce56141cb38b3b2bdc45b6655bb955b4455)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
ba70eb9de1 libusb1: upgrade 1.0.24 -> 1.0.25
(From OE-Core rev: 5a20cc92d9036629dad610370780195ae1309845)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
e919c5fb9b libcap: upgrade 2.62 -> 2.63
(From OE-Core rev: 2a406a0369d6ba9a5ecea6e32084e4aa41811893)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
8f0bd6676c diffoscope: upgrade 201 -> 202
(From OE-Core rev: 62d38e8ce8f058f3fc9b1ddea79157d8c48bd7af)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
7e773b2dd8 puzzles: upgrade to latest revision
(From OE-Core rev: 735f001301838f1cdd98a3e22c2f78cd50d4e4ee)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
ac56787371 piglit: upgrade to latest revision
(From OE-Core rev: e83fe417cfba54d6fb7bc96e7fdf5b870ade81d1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
bc691128d8 mesa: upgrade 21.3.4 -> 21.3.5
(From OE-Core rev: 956915d8829ce1db8e115cd31133ff0543e1054c)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
e5aa6b131a stress-ng: upgrade 0.13.10 -> 0.13.11
(From OE-Core rev: 03a86c574d2bc42cdfed582dea81782a34b2f133)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
910c7f8e8f cups: upgrade 2.4.0 -> 2.4.1
(From OE-Core rev: 7ed9248d2a9865b3ff4c99b6e708aaec995bacb1)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
7aa1b7ccc9 python3-pip: upgrade 21.3.1 -> 22.0.2
License-Update: copyright years

(From OE-Core rev: ddbbd821231d2c7fdaea39e7b7526c63ad81269e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
0c936a0c83 python3-hypothesis: upgrade 6.36.0 -> 6.36.1
(From OE-Core rev: b8c445a950b4c32324d1d17561366f3eb186ea79)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
34ceddef29 python3-cython: upgrade 0.29.26 -> 0.29.27
(From OE-Core rev: 8ae2484666ebdb5a0fa2b59c4467992b2a3d136f)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
cae86e6b2e mmc-utils: upgrade to latest revision
(From OE-Core rev: 4f8ba1c375927229cab53d7c64d28a0d75ec5f89)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
02a8a2c621 lua: upgrade 5.4.3 -> 5.4.4
(From OE-Core rev: 734cdfddd2d2a0a0e3be2b577bd4175a2abd73e5)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
a4730598a7 glib-2.0: upgrade 2.70.2 -> 2.70.3
(From OE-Core rev: 01f476f56be9ac9a124e80125a5a25d523057466)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
7c85289315 xf86-input-libinput: update 1.2.0 -> 1.2.1
(From OE-Core rev: dd5e14fc643edd97ad99675b160aa9de96c1e734)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
b3bb369ba4 weston: upgrade 9.0.0 -> 10.0.0
Release announcement with changes:
https://lists.freedesktop.org/archives/wayland-devel/2022-February/042103.html

Upstream has deprecated both weston-launch and fbdev backend, so let's
not delay the inevitable and find replacements.

Fbdev can be replaced by passing --use-pixman to drm backend;
this will bypass the opengl paths and use CPU for rendering.
Apply where GL is too slow or unavailable.

weston-launch can be replaced by starting weston directly, with
a seat management daemon for support. This is provided either
by systemd, or on systemd-less systems, by seatd. The sysvinit
startup scripts and tests have been rewritten accordingly. Bonus
fix: under sysvinit weston now starts under weston user as it should,
and not under root.

Upstream discussion:
https://gitlab.freedesktop.org/wayland/weston/-/merge_requests/725

License-Update: copyright years

(From OE-Core rev: 4efc81fc575aea1e12e00de8644a4b853719f8df)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Alexander Kanavin
35666a87ae seatd: add recipe
This is needed to run weston properly as non-root in the absence
of systemd-logind, and other compositors will likely require seatd
as well.

(From OE-Core rev: f0c7e8cdeea065ddfcd4187f1fabc074b2753ba1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 17:46:05 +00:00
Peter Kjellerstedt
e5f2f39e11 package: Pass dv (debug_vars) around instead of individual vars
This simplifies the APIs for splitdebuginfo(), splitstaticdebuginfo()
and inject_minidebuginfo()

(From OE-Core rev: 9b00cf049032a9ed7ba3c63d3c37c7414f94edbf)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Peter Kjellerstedt
10b2da6fe7 package: Make package_debug_vars() return a dict
It simplifies the API to return one dict instead of seven strings.

(From OE-Core rev: 610c790a94591da5c3a6b1db938cd85e2cbdbe5a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Peter Kjellerstedt
3ad2ecb603 package: Split out package_debug_vars from split_and_strip_files
The split_and_strip_files() function is big and hard to follow. This
takes a small step to improve that by splitting out the part that sets
up the variables used to implement the various debug splitting methods
specified by PACKAGE_DEBUG_SPLIT_STYLE.

(From OE-Core rev: e414c6ec8563f9c448f1421f33870a908a0353b4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
734ae5f647 oqea/runtime/oe_syslog: Improve test
We're seeing failures on the autobuilder where the log message isn't present in the
log. This could just be a race in the compound command but it is hard to say due
to the poor log output from the test.

Splitting the command into two sections should add more of a delay whilst ssh
reconnects and may well fix the issues but this change should also improve
the log output in the failure case too so if the failure isn't solved, we should
be better able to debug it.

(From OE-Core rev: 749264d5f6f86affbee3cfc096084e073c21c394)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
b0922ed9b3 glibc: Drop prelink patch
With the removal of prelink, we no longer need the glibc patch for it
either.

(From OE-Core rev: 7b1b5a7ac5f64fb04c9df7f77e1f65f8acde18a8)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
a242274d98 prelink: Drop support for it
Prelink is being dropped by glibc in 2.36. It already causes issues with
binary corruption, has a number of open bugs and is of questionable benefit
without disabling load address randomization and PIE executables.

We disabled it by default a while back but left people able to use it.
We would be unable to maintain it alone without glibc support so remove
the remaining pieces.

(From OE-Core rev: 23c0be78106f1d1e2bb9c724174a1bb8c56c2469)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Khem Raj
c98fc39331 qemuppc64.conf: Remove commented prelink use
(From OE-Core rev: 3f817e69ebbc79de50da6ff43b9445e100e147ba)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Khem Raj
ce73f4f9d3 image-prelink: Remove bbclass
Upcoming glibc 2.35 is dropping support for prelinker, this just ensures
that we do not carry non-working classes. [1]

[1] https://patchwork.sourceware.org/project/glibc/patch/20220121172951.285848-2-adhemerval.zanella@linaro.org/

(From OE-Core rev: 857baaf9e3d181ca18264e85d90b899fd94acff9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
c560489f78 abi_version/sstate: Bump for hash equivalence fix
With the hash equivalence fix, we need to bump the sstate and hash equivalence
version numbers to ensure older task hashes aren't matched into the new namespace.

(From OE-Core rev: 3f229267e0588c747265e849ee19724033cc6a80)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
12118f74ef staging: Add extra hash handling code
Target build output, stored in do_populate_sysroot or do_package can depend
not only upon direct dependencies but also indirect ones. A good example is
linux-libc-headers. The toolchain depends on this but most target recipes do
not. There are some headers which are not used by the toolchain build and do
not change the toolchain task output, hence the task hashes can change without
changing the sysroot output of that recipe yet they can influence others.

A specific example is rtc.h which can change rtcwake.c in util-linux but is not
used in the glibc or gcc build. To account for this, we need to account for the
populate_sysroot hashes in the task output hashes.

(From OE-Core rev: 1cf62882bbac543960e4815d117ffce0e53bda07)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Bruce Ashfield
2d055b787a linux-libc-headers: update to v5.16
Bumping our reference headers to 5.16 to support newer kernels (-dev
in particular).

No issues were found in glibc or musl, and no patch referesh/drops
are required

(From OE-Core rev: a6a814fd1f62cc8050a438efb878a01aa3df7ae5)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:36 +00:00
Richard Purdie
2d940dd5bf gcc: Drop stdlib++ option patch
The patch to gcc to disable use of libstdc++ when configuring the library
during gcc-runtime is old and there are perhaps better ways to do this now.

If removed, most builds still "work" but incorrect values for things like
atomic ops are found during configure. mips64 and ppc fail with on target
simple tests of g++ in testimage.

Instead we can create a dummy libstdc++ which allows the correct configure
test results to be obtained.

Discussed with upstream about the patch are ongoing, if accepted, we can
switch back to the commandline option if it is added in future.

(From OE-Core rev: 34b0edb0d3120c32063ff7e3dd52be20d60401d5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-05 12:26:35 +00:00
Michael Opdenacker
472a99447f ref-manual: add usage details about ccache.bbclass
(From yocto-docs rev: c06e5710b139c01347b9cd2113dde0961f483995)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Peter Kjellerstedt
0c8ad5dc5e test-manual: Correct two references to BB_SKIP_NETTESTS
The environment variable used to disable network tests when running
bitbake-selftest was incorrectly referred to as BB_SKIP_NETTEST.

(From yocto-docs rev: 4a2252cf412ea2aa26209d835c96661a772b6d31)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reviewed-by: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Michael Opdenacker
de069431bf manuals: propose https for SSTATE_MIRRORS
Both http and https work, but https should raise fewer questions
from users.

(From yocto-docs rev: e3bf892b1328b5c43ab041ba6c850e2782f54bdf)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Michael Opdenacker
3a6185404e manuals: improve references to classes
- Simplify references to class sections, by replacing references such as
  :ref:`image.bbclass <ref-classes-image>`
  by
  :ref:`ref-classes-image`

  That's equivalent, because the class sections always called <class>.bbclass

- Adding references to class sections, by replacing strings such as
  ``image.bbclass``
  by
  :ref:`ref-classes-image`

- Simplifying a few class section links

(From yocto-docs rev: 29d66aaa898390c19f121baf0f4fdcc178e4cd80)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Michael Opdenacker
a9fdd010b9 dev-manual: new "working with pre-compiled libraries" section
This explains how to deal with versioned and unversioned
pre-built libraries from vendors.

Content and examples adapted from
https://wiki.yoctoproject.org/wiki/TipsAndTricks/Packaging_Prebuilt_Libraries,
originally written by Henry Bruce in 2016.

(From yocto-docs rev: 5e46cad9e4b4ab03e33f4d5aea34e56f6b15fe27)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Michael Opdenacker
3f27dfa9c9 dev-manual: stop mentioning the Angstrom distribution
Now defunct

(From yocto-docs rev: 52f7aedda58becb081eeca4a1bc02068f72d7c4a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Michael Opdenacker
e4e58669f0 migration-3.5: mention task specific network access
(From yocto-docs rev: d8573e8a36eef61be1c9e7706c38ed28ca4c9962)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Robert Joslyn
f299005d66 dev-manual/common-tasks: Fix typo
direction -> directory

(From yocto-docs rev: 441151bfdeda6eccf46a7829d1a3181e83d441a8)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 13:47:50 +00:00
Alexander Kanavin
e819275192 sudo: update 1.9.8p2 -> 1.9.9
License-Update: markdown conversion, copyright years

(From OE-Core rev: 47a2efa96d8ac29024dbc6a577457c5b53111949)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
3b7fee4468 at: update 3.2.2 -> 3.2.4
Drop patch for issue fixed upstream.

Change additional source copying to be a part of do_configure
to allow automated upgrades.

(From OE-Core rev: 4c96bed812c4b1371944ad84659a2877a28678d1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
6db7501b6b python3-pycryptodome: update 3.12.0 -> 3.14.0
(From OE-Core rev: af2688740287a08b04b478263f9507c99cf0f5fc)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
f67ec4ff8b git: update 2.34.1 -> 2.35.1
(From OE-Core rev: 278efd24b2d15a2ab666d3f255e18768d3bc7709)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
c82d436201 git: build manpages from source subject to manpages PACKAGECONFIG
This allows automated updates, and better aligns with how
documentation is handled in oe-core.

(From OE-Core rev: 22b267724148144d919b7281cf2250fc2e35a092)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
177437eea2 git: merge .inc into .bb
(From OE-Core rev: a315afb79964a9a9b6e493bf20eec80af46fd4a6)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
39d35877c9 cmake: update 3.22.1 -> 3.22.2
(From OE-Core rev: 2dacdcc259f20cf06b81045c99e07d00ba6cc5fb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Alexander Kanavin
c611878ae7 util-linux: update 2.37.2 -> 2.37.3
(From OE-Core rev: e543d4407fdc91559a77d6c5cd41bcb75bc8c73c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Richard Purdie
4eab0dac8f lttng-tools: upgrade 2.13.2 -> 2.13.4
(From OE-Core rev: 0e8fcfbb4565807a84d1a7d10bbc59d1675e33ec)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Khem Raj
f84ceeee98 libstd-rs: Apply patches to right version of libc
1.58 rust libstd is locked to use 0.2.106, therefore patch the correct
version. once we start using 0.2.108+ these patches will not be required
as the port is available then on.

(From OE-Core rev: 83a9d2ba188b3a95d01ef62763d33b89435f8a1a)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Khem Raj
4c25157ae3 musl: Update to latest master
Changes in this srcrev bump

  * c4d4028d fix failure to use add-cfi scripts on asm when building out-of-tree
  * 775bde6b fix wcwidth of hangul combining (vowel/final) letters
  * 8d404733 fix mismatched signatures for strtod_l family
  * 98e688a9 define NULL as nullptr when used in C++11 or later
  * 8274aaaa fix hwcap access in powerpc-sf setjmp/longjmp
  * 3733c831 fix struct layout mismatch in sound ioctl time32 fallback conversion

(From OE-Core rev: 3ea0b084cc3e394e59399b8cdc479eee0ff1419b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Khem Raj
d2a050f8e3 ruby: Fix build on riscv/musl
This fixes a build issue that started with 3.1 upgrade
Fixes
| ../ruby-3.1.0/vm_dump.c:916:38: error: use of undeclared identifier 'REG_S1'
|         dump_machine_register(mctx->__gregs[REG_S1], "s1");

(From OE-Core rev: 1b0a88b6c31f85d70045a61f843302992ae7f94e)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Andrej Valek
f91604daee dhcpcd: add option to set DBDIR location
This will allow to use the different DBDIR location, because the /var/lib
could be used as a read-only location.

(From OE-Core rev: 8fe5cff505f4fd942723d6f1526b0461747fc44d)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Peter Kjellerstedt
6834a36148 glibc-tests: Correct PACKAGE_DEBUG_SPLIT_STYLE
It was set to "debug", but the officially supported value is ".debug".

(From OE-Core rev: 14ac72ead9c581c5fac224a9b330b62d5faa048a)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Carlos Rafael Giani
610e4b9852 libxml2: Backport python3-lxml workaround patch
This is a workaround for the following issue that affects python3-lxml:

https://gitlab.gnome.org/GNOME/libxml2/-/issues/255

(From OE-Core rev: 2f52be7c42ea37243f9aea1898ef7052904f9290)

Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Changhyeok Bae
9fc3e86272 connman: update 1.40 -> 1.41
(From OE-Core rev: 0f4a8c9b9bd702db555a193ccc130b0c3be309df)

Signed-off-by: Changhyeok Bae <changhyeok.bae@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Tom Hochstein
5d5ca5ec3a xwayland: Add xkbcomp runtime dependency
Trying to run an xterm fails with the error:
xterm: Xt error: Can't open display: :0

Checking systemctl status weston shows an error:
Jan 19 21:24:16 imx8mq-evk weston[396]: sh: line 1: /usr/bin/xkbcomp: No such file or directory

Adding xkbcomp to the rootfs fixes these errors. Checking the history
one finds that the runtime dependency for the old xserver was
removed because it wasn't in the correct location [1], then restored
because it was still needed [2].

[1] bdcc5e8f12
[2] f2330ebc30

(From OE-Core rev: 535e6df5b5e53dd95438985dcff554cd17302837)

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Ross Burton
1e7fe9ea1e strace: skip a number of load-sensitive tests
Some tests are very load-sensitive as they depend on sleep() calls to
take a precise amount of time. These will randomly fail in the automated
QA, so skip them.

(From OE-Core rev: ea6933d2500827eae5482a32d5037e0429cd096a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Ross Burton
2d4589316c strace: remove obsolete musl-on-MIPS patch
This patch was added as musl doesn't define SIGEMT on MIPS, but this was
a mistake in musl and has been  fixed in cabc369, available in musl
1.2.1 onwards (August 2020).

(From OE-Core rev: 3ce2fd9f3002178ba2425c7912bf8b83a4150c9a)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:14 +00:00
Oleksandr Kravchuk
9e54790c6e ell: update to 0.48
Changelog:
- Fix issue with memory leaking from ICMPv6 RA.

(From OE-Core rev: d622ba4930d5beae2d42b6ed64c0e1f84beda714)

Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Andrej Valek
d6a126435f oeqa: qemu: create missing directory for _write_dump
| Failed to dump QMP CMD: query-status with
| Exception: [Errno 2] No such file or directory: '.../tmp/log/runtime-hostdump/qmp_00_query-status'
| Failed to dump QMP CMD: query-block with
| Exception: [Errno 2] No such file or directory: '.../tmp/log/runtime-hostdump/qmp_00_query-block'
| Failed to dump QMP CMD: dump-guest-memory with
| Exception: [Errno 2] No such file or directory: '.../tmp/log/runtime-hostdump/qmp_00_dump-guest-memory'

The qmp dump commands could fail, because of missing root directory.
So create it before any log writing.

(From OE-Core rev: c4dc5d674afe65fedb5195f187b68f23720646ba)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Changqing Li
95870c10b1 mdadm: fix testcase 00multipath failure
After upgrade to 4.2, mdadm's testcase 00multipath failed,
because a bug in 4.2 makes "-r" not work in manage mode.

(From OE-Core rev: 8a815877b0fac30f379a7387966b8a0c7ffe753e)

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Peter Kjellerstedt
7faaaf1425 sstatetests: Correct a typo in a comment
(From OE-Core rev: f6420121920a242655ba5ded0f96763d6638cbc4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Peter Kjellerstedt
00bf15c118 devtool: sdk-update: Remove an unnecessary \n from SSTATE_MIRRORS
Since commit 044fb04d in bitbake (fetch2: Allow whitespace only mirror
entries) there is no need to separate the entries in SSTATE_MIRRORS
with "\n".

(From OE-Core rev: 6e66ec3cd201d32d3d97df2222f41bb8c475fb69)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Denys Dmytriyenko
0bf1e08ce1 wayland-protocols: upgrade 1.24 -> 1.25
https://lists.freedesktop.org/archives/wayland-devel/2022-January/042102.html

wayland-protocols 1.25 is now available.

Apart from minor fixes and clarifications, this release also adds a new staging
protocol for session locking, as well as a 'bounds' event to the xdg_toplevel
interface. See the individual commits and protocol specifications for
details.

(From OE-Core rev: 789970a46bd902b040cf3bbd34ad0887a1ba896a)

Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-03 09:05:13 +00:00
Alejandro Hernandez Samaniego
74a8a74a55 busybox: Add shell arithmetic to work with poky-tiny
Fix error when trying to boot core-image-tiny-initramfs:

/init: line 144: syntax error: support for $((arith)) is disabled
Kernel panic - not syncing: Attempted to kill init!

[YOCTO #14702]

(From meta-yocto rev: 50ac1fcadb07fdbeb4169cdd7a0c4a805a0f8588)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:32:08 +00:00
Robert Yang
d77178e8df bitbake: bitbake: bitbake-worker: Preserve network non-local uid
The NIS can't work when network is dissable, so preserve network for it, the
error is like:

do_ypcall: clnt_call: RPC: Unable to send; errno = Network is unreachable

Note, enable nscd on the build machine might be a solution, but that isn't
reliable since it depends on whether the network function has been cached or
not.

(Bitbake rev: 4eafae7904bae6e5c6bc50356e8a9077f2e207fa)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:48 +00:00
Ross Burton
80bddd7c36 systemtap: backport buffer size tuning patches
Backport a nunber of patches from upstream to tune the buffer size on
machines with a "small amount" of memory, which appears to mean less
than 4GB.

(From OE-Core rev: d1e1c8698a5143a1e5d80d172105b76c57b85dd6)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Ross Burton
440a5f6ee6 oeqa/runtime/stap: improve systemtap test
Split the test up into compile and execute phases, as the stap binary
is known to be quite memory-hungry and this can result in the probe
being unable to allocate enough memory for the buffers it needs.

If the test fails, dump the dmesg as any useful messages will be there.

(From OE-Core rev: 6cf4d23a2d26c2767edd93f2eb317ff759b5a992)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Ross Burton
351ee239c7 core-image-sato-sdk: allocate more memory when in qemu
Compiling code is memory-intensive, especially kernel modules like the
SystemTap probes, so give the VM 768MB of RAM.  Using 1GB appears to
cause PCI error, interestingly.

Hopefully this solves the intermittent failures caused by OOMs during
the SystemTap test.

[ YOCTO #14673 ]

(From OE-Core rev: 50ff1f018a670c963e1979dee76ebd696153b4c1)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Ross Burton
ab6d3f8067 vim: upgrade to patch 4269
Upgrade to the latest patch release to fix the following CVEs:

- CVE-2022-0261
- CVE-2022-0318
- CVE-2022-0319

(From OE-Core rev: 96442e681c3acd82b09e3becd78e902709945f1f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Ross Burton
8ab929b0a6 expat: upgrade to 2.4.4
Fixes CVE-2022-23852 and CVE-2022-23990.

(From OE-Core rev: 4ed96683893e7433804ccf7a4000a2dd18318ef5)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Ross Burton
a8c9104ac4 openssl: export OPENSSL_MODULES in the wrapper
OpenSSL 3 added the concept of provider modules which are loaded from
disk.  The load path is hard-coded into the library and needs to be
relocated when running natively, so add OPENSSL_MODULES to the wrapper.

(From OE-Core rev: 160ac2f136cb8df829c803848c7c47d707a908ff)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
1adbf5ba27 gobject-introspection: replace prelink-rtld with objdump -p
g-i internally processes the output with regexes, and seems
happy with what objdump is printing. It only needs to resolve
the library name as passed to the linker to the library file name.
Also recursive resolution (that ldd is doing and objdump is not)
is not necessary.

(From OE-Core rev: 767e0880d4d729e659e859dd99c1cdb084b8ba51)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
8b562100df libusb1: correct SRC_URI
(From OE-Core rev: d4c37ca1f1e97d53045521e9894dc9ed5b1c22a1)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
039aa6df4d gnutls: update 3.7.2 -> 3.7.3
Drop unsupported option.

(From OE-Core rev: 5a2d94e0df21992a30f95312da3bf8477f42785c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
98deacdb55 ltp: update 20210927 -> 20220121
The ltp compliancy parser is rewritten to actually
match the logs: they seem to be unstructured, test case names
are not printed and the only indication of failure is appearance of
FAIL[ED] somewhere.

(From OE-Core rev: 52766561dbfee625c89393905a85e10d85f69c6c)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
064ca10c50 wpa-supplicant: update 2.9 -> 2.10
License-Update: copyright years

(From OE-Core rev: 4f30b96207efcddfe76d6bf8d4c24f4fb7f80abb)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
f64ac4c918 rust: update 1.58.0 -> 1.58.1
(From OE-Core rev: 855ec0af1b3c7c2664e68ac89cad839d480c43db)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
f5bfd88094 zstd: update 1.5.0 -> 1.5.2
Drop patches merged upstream.

(From OE-Core rev: cfd76fb067e2390aa06ae6a9f9dd7cc8a8d57d09)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
b44828967a libical: upgrade 3.0.12 -> 3.0.13
(From OE-Core rev: a74500337d8aca4a9c6c4aaf3bacdeb834b6ec5b)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:18 +00:00
Alexander Kanavin
d169e91dcd libbsd: upgrade 0.11.3 -> 0.11.5
License-Update: additional files

(From OE-Core rev: 2a464b1cf45c7de2738f48e0786b5367688304ee)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
2d9be515d8 diffoscope: upgrade 200 -> 201
(From OE-Core rev: 4d056dac3b01acc5f57e958cc1debc6ef0d98810)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
d2857e3239 debianutils: upgrade 5.5 -> 5.7
(From OE-Core rev: 325547665c533fa337076a111554614af3b51d1f)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
9daf0d3101 webkitgtk: upgrade 2.34.3 -> 2.34.4
(From OE-Core rev: 919014ca53b0f7960bc9994e7cc1d5174d3b1339)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
e34a00bd9b ethtool: upgrade 5.15 -> 5.16
(From OE-Core rev: 8c99ff20c95e039620fa7dd6a3a41a9c83a72b9e)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
f29ec7ad5f ifupdown: upgrade 0.8.36 -> 0.8.37
(From OE-Core rev: 1f2892e4c65c6918ef41d567d37e17ce346d57ee)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Alexander Kanavin
caaae859a6 bind: upgrade 9.16.24 -> 9.16.25
License-Update: copyright years

(From OE-Core rev: 4a7f6cdc7292df5d3154192e65dcb9681ec8ffcb)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Ross Burton
f2666fbc7f yocto-check-layer: add debug output for the layers that were found
When debugging weird yocto-check-layer output it is useful to know
what the tool found when looking for layers.

(From OE-Core rev: 711e2d4d7baf36f8497741c14268d7f72d0db016)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Rudolf J Streif
e2340a68c5 linux-firmware: Add CLM blob to linux-firmware-bcm4373 package
The Country Local Matrix (CLM) blob brcmfmac4373-sdio.clm_blob was not
included with the files for the linux-firmware-bcm4373 package
but instead packaged with linux-firmware.

(From OE-Core rev: 18ba64d4a12e7275381cf34fe72b757accbb1544)

Signed-off-by: Rudolf J Streif <rudolf.streif@ibeeto.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Bruce Ashfield
6c8332ef09 linux-yocto/5.10: update to v5.10.93
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    fd187a492557 Linux 5.10.93
    bed97c903621 mtd: fixup CFI on ixp4xx
    f50803b519c3 powerpc/pseries: Get entry and uaccess flush required bits from H_GET_CPU_CHARACTERISTICS
    68c1aa82be00 ALSA: hda/realtek: Re-order quirk entries for Lenovo
    4d15a17d065d ALSA: hda/realtek: Add quirk for Legion Y9000X 2020
    d7b41464f1b7 ALSA: hda: ALC287: Add Lenovo IdeaPad Slim 9i 14ITL5 speaker quirk
    87246ae94b73 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master after reboot from Windows
    9c27e513fb33 ALSA: hda/realtek: Add speaker fixup for some Yoga 15ITL5 devices
    4c7fb4d519e5 KVM: x86: remove PMU FIXED_CTR3 from msrs_to_save_all
    6b8c3a185377 firmware: qemu_fw_cfg: fix kobject leak in probe error path
    889c73305b48 firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries
    ff9588cf1592 firmware: qemu_fw_cfg: fix sysfs information leak
    358a4b054abe rtlwifi: rtl8192cu: Fix WARNING when calling local_irq_restore() with interrupts enabled
    93c4506f9f8b media: uvcvideo: fix division by zero at stream start
    4c3f70be6f3a video: vga16fb: Only probe for EGA and VGA 16 color graphic cards
    161e43ab8cc1 9p: only copy valid iattrs in 9P2000.L setattr implementation
    0e6c0f3f4055 KVM: s390: Clarify SIGP orders versus STOP/RESTART
    413b427f5fff KVM: x86: Register Processor Trace interrupt hook iff PT enabled in guest
    723acd75a062 perf: Protect perf_guest_cbs with RCU
    eadde287a62e vfs: fs_context: fix up param length parsing in legacy_parse_param
    c5f38277163e remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided
    5d88e24b23af orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc()
    0084fefe2960 devtmpfs regression fix: reconfigure on each mount
    ee40594c95ae kbuild: Add $(KBUILD_HOSTLDFLAGS) to 'has_libelf' test

(From OE-Core rev: 4f3dd05c163efe6da87a58ab9e1df61b83ed4444)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Bruce Ashfield
22b7454722 linux-yocto/5.15: update to v5.15.16
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    63dcc388662c Linux 5.15.16
    ce2e7b97e588 mtd: fixup CFI on ixp4xx
    9dada19e1096 ALSA: hda/realtek: Re-order quirk entries for Lenovo
    4942295ec2af ALSA: hda/realtek: Add quirk for Legion Y9000X 2020
    f76d5f9391a5 ALSA: hda/tegra: Fix Tegra194 HDA reset failure
    7c452ca7bc7b ALSA: hda: ALC287: Add Lenovo IdeaPad Slim 9i 14ITL5 speaker quirk
    8b046b2a63c6 ALSA: hda/realtek - Fix silent output on Gigabyte X570 Aorus Master after reboot from Windows
    5b57c0efec9a ALSA: hda/realtek: Use ALC285_FIXUP_HP_GPIO_LED on another HP laptop
    c104edbb5a3f ALSA: hda/realtek: Add speaker fixup for some Yoga 15ITL5 devices
    3a1e48069798 KVM: x86: remove PMU FIXED_CTR3 from msrs_to_save_all
    adf791cf905a perf annotate: Avoid TUI crash when navigating in the annotation of recursive functions
    8840daa2f629 firmware: qemu_fw_cfg: fix kobject leak in probe error path
    db3337ba6e4a firmware: qemu_fw_cfg: fix NULL-pointer deref on duplicate entries
    bb08a4d10164 firmware: qemu_fw_cfg: fix sysfs information leak
    898e91c32d04 rtlwifi: rtl8192cu: Fix WARNING when calling local_irq_restore() with interrupts enabled
    c671cb0b0087 media: uvcvideo: fix division by zero at stream start
    e2ece45f9450 video: vga16fb: Only probe for EGA and VGA 16 color graphic cards
    7760404e8487 9p: only copy valid iattrs in 9P2000.L setattr implementation
    c2e7561ba7a8 remoteproc: qcom: pas: Add missing power-domain "mxc" for CDSP
    252435941c33 KVM: s390: Clarify SIGP orders versus STOP/RESTART
    6e8b6dcec07c KVM: x86: don't print when fail to read/write pv eoi memory
    19f2dfb1a1f6 KVM: x86: Register Processor Trace interrupt hook iff PT enabled in guest
    07667f43f8a8 KVM: x86: Register perf callbacks after calling vendor's hardware_setup()
    18c16cef8179 perf: Protect perf_guest_cbs with RCU
    e192ccc17ecf vfs: fs_context: fix up param length parsing in legacy_parse_param
    c78c39a91dd4 remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided
    b07490067dbc orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc()
    ce258c74f8d9 drm/amd/display: explicitly set is_dsc_supported to false before use
    d5df26479c82 devtmpfs regression fix: reconfigure on each mount

(From OE-Core rev: 64d6ad75dd0eecd4b976d821cae8119fdd903c41)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Bruce Ashfield
c22856670e x86: fix defconfig configuration warnings
Integrating the following commit(s) to linux-yocto/5.15:

    720b61fc400b x86_64_defconfig: Fix warnings

(From OE-Core rev: a1df7a1315b46c42ea4b1bd92782a68bdf7b3011)

Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Bruce Ashfield
9577d21329 linux-yocto/5.10: update to v5.10.92
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:

    c982c1a83932 Linux 5.10.92
    c0091233f3d8 staging: greybus: fix stack size warning with UBSAN
    66d21c005d9b drm/i915: Avoid bitwise vs logical OR warning in snb_wm_latency_quirk()
    2d4fda471dc3 staging: wlan-ng: Avoid bitwise vs logical OR warning in hfa384x_usb_throttlefn()
    3609fed7ac8b media: Revert "media: uvcvideo: Set unique vdev name based in type"
    9b3c761e78d5 random: fix crash on multiple early calls to add_bootloader_randomness()
    61cca7d191c7 random: fix data race on crng init time
    3de9478230c3 random: fix data race on crng_node_pool
    43c494294f30 can: gs_usb: gs_can_start_xmit(): zero-initialize hf->{flags,reserved}
    45221a57b609 can: isotp: convert struct tpcon::{idx,len} to unsigned int
    bd61ae808b15 can: gs_usb: fix use of uninitialized variable, detach device on reception of invalid USB data
    f68e60001735 mfd: intel-lpss: Fix too early PM enablement in the ACPI ->probe()
    5f76445a31b7 veth: Do not record rx queue hint in veth_xmit
    ddfa53825f3d mmc: sdhci-pci: Add PCI ID for Intel ADL
    2e691f9894cc ath11k: Fix buffer overflow when scanning with extraie
    a87cecf94375 USB: Fix "slab-out-of-bounds Write" bug in usb_hcd_poll_rh_status
    15982330b61d USB: core: Fix bug in resuming hub's handling of wakeup requests
    413108ce3b56 ARM: dts: exynos: Fix BCM4330 Bluetooth reset polarity in I9100
    b6dd07023699 Bluetooth: bfusb: fix division by zero in send path
    869e1677a058 Bluetooth: btusb: Add support for Foxconn QCA 0xe0d0
    c20021ce945f Bluetooth: btusb: Add support for Foxconn MT7922A
    83493918380f Bluetooth: btusb: Add two more Bluetooth parts for WCN6855
    294c0dd80d8a Bluetooth: btusb: fix memory leak in btusb_mtk_submit_wmt_recv_urb()
    35ab8c9085b0 bpf: Fix out of bounds access from invalid *_or_null type verification
    c84fbba8a945 workqueue: Fix unbind_workers() VS wq_worker_running() race
    c39d68ab3836 md: revert io stats accounting

(From OE-Core rev: 35dfcd31518e66fc4dc1f2283bd3320f994c868b)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Bruce Ashfield
deda3e743a linux-yocto/5.15: update to v5.15.15
Updating linux-yocto/5.15 to the latest korg -stable release that comprises
the following commits:

    760a85303c5a Linux 5.15.15
    54a457ad2c97 staging: greybus: fix stack size warning with UBSAN
    48d56b00c352 drm/i915: Avoid bitwise vs logical OR warning in snb_wm_latency_quirk()
    e29bd72f5c76 staging: wlan-ng: Avoid bitwise vs logical OR warning in hfa384x_usb_throttlefn()
    46c7ff13dfe8 media: Revert "media: uvcvideo: Set unique vdev name based in type"
    e0bb3bf81cc4 platform/x86/intel: hid: add quirk to support Surface Go 3
    26b66120a896 random: fix crash on multiple early calls to add_bootloader_randomness()
    2d5b4a96a60e random: fix data race on crng init time
    f5aaea746b36 random: fix data race on crng_node_pool
    3fbbf56948b2 can: gs_usb: gs_can_start_xmit(): zero-initialize hf->{flags,reserved}
    1079b56de4af can: isotp: convert struct tpcon::{idx,len} to unsigned int
    1026f710bd55 can: gs_usb: fix use of uninitialized variable, detach device on reception of invalid USB data
    72bd750d1122 mfd: intel-lpss: Fix too early PM enablement in the ACPI ->probe()
    78a19e506bdc veth: Do not record rx queue hint in veth_xmit
    3a29fd88f3ad Bluetooth: btbcm: disable read tx power for MacBook Air 8,1 and 8,2
    7b8a6d60e0d5 Bluetooth: btbcm: disable read tx power for some Macs with the T2 Security chip
    d5eeefa335af Bluetooth: add quirk disabling LE Read Transmit Power
    49e63682cb3b mmc: sdhci-pci: Add PCI ID for Intel ADL
    6f4da584ec4e ath11k: Fix buffer overflow when scanning with extraie
    02f3458289d2 USB: Fix "slab-out-of-bounds Write" bug in usb_hcd_poll_rh_status
    0284c0ca3db6 USB: core: Fix bug in resuming hub's handling of wakeup requests
    0544baa4f761 ARM: dts: exynos: Fix BCM4330 Bluetooth reset polarity in I9100
    402aff59a748 Bluetooth: bfusb: fix division by zero in send path
    db74ee79c9f7 Bluetooth: btusb: Add support for Foxconn QCA 0xe0d0
    c6bd1c35bd84 Bluetooth: btintel: Fix broken LED quirk for legacy ROM devices
    a366a81dcbb1 Bluetooth: btusb: Add support for Foxconn MT7922A
    5e1b03c32535 Bluetooth: btusb: Add two more Bluetooth parts for WCN6855
    e81cef21ea8a Bluetooth: btusb: Add one more Bluetooth part for WCN6855
    f39825f4fc35 fget: clarify and improve __fget_files() implementation
    edaf018b898f Bluetooth: btusb: Add the new support IDs for WCN6855
    a053e9619bb9 Bluetooth: btusb: Add one more Bluetooth part for the Realtek RTL8852AE
    e36a4d9c0bb8 Bluetooth: btusb: enable Mediatek to support AOSP extension
    dcfa2d7a9a9f Bluetooth: btusb: fix memory leak in btusb_mtk_submit_wmt_recv_urb()
    4a5557693f07 Bbluetooth: btusb: Add another Bluetooth part for Realtek 8852AE
    a1e59284193b Bluetooth: btusb: Add support for IMC Networks Mediatek Chip(MT7921)
    fe9ddfd236a6 Bluetooth: btusb: Add the new support ID for Realtek RTL8852A
    3f502147ffc3 Bluetooth: btusb: Add protocol for MediaTek bluetooth devices(MT7922)
    e8efe8369944 bpf: Fix out of bounds access from invalid *_or_null type verification
    f39ffc6f9c60 staging: r8188eu: switch the led off during deinit
    cf5b6bd2c792 workqueue: Fix unbind_workers() VS wq_worker_running() race
    0ed0be755276 s390/kexec: handle R_390_PLT32DBL rela in arch_kexec_apply_relocations_add()

(From OE-Core rev: 5e4ff0db4169fbf056b415e5ff5c5b29202a6f01)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-02-01 07:31:17 +00:00
Markus Volk
92bb6f72ce libical: build gobject and vala introspection
(From OE-Core rev: 5e2fc4676b8944fc1d36d567bb2d1ff4cff32294)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Ross Burton
0e1d27b69d tiff: backport fix for CVE-2022-22844
(From OE-Core rev: daf2880b7431aa641e02ebba8cbca40d81389088)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Peter Kjellerstedt
e8e1e829f4 sstate: A third fix for for touching files inside pseudo
This continues where commit676757f "sstate: fix touching files inside
pseudo" and commit 29fc8599 "sstate: another fix for touching files
inside pseudo" left off.

The previous changes switched from trying to check if the sstate file is
writable before touching it, to always touching the sstate file and
ignoring any errors. However, if the sstate file is actually a symbolic
link that links to nothing, this would actually result in an empty
sstate file being created. And this in turn leads to that future
setscene tasks will fail when they try to unpack the empty file.

Change the code so that if an sstate file linking to nothing already
exists, it is overwritten with the new sstate file. Also change it so
that the temporary file that is used is always removed, even if ln
fails to link the sstate file to it.

(From OE-Core rev: 552197a0c4c9f75a9177c00b197ea91296ed9fc4)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Kory Maincent
15324dd951 icu: fix make_icudata dependencies
The make_icudata task is set before the configure task then the
dependencies for this task are not populate yet.

Fixed it by adding do_prepare_recipe_sysroot task dependency to the
make_icudata task.

(From OE-Core rev: c134f62062a6359d2d5831ba4cb9694035e4f25a)

Signed-off-by: Kory Maincent <kory.maincent@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Andrej Valek
fa0db034d6 busybox: refresh defconfig
- extend find command
- disable rootfs skip
- busybox-inittab_1.34.1 -> busybox-inittab_1.35.0

(From OE-Core rev: a43fd027cf1a7f0c9edd2d7abbf949d7ae0f4cea)

Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Alejandro Hernandez Samaniego
bedb3444e1 kernel.bbclass: Allow initramfs to be built from a separate multiconfig
There may be a case where we want to build an initramfs image
that doesnt inherit the same DISTRO_FEATURES (or others) from
the main image being built.

For example we may want our initramfs not to inherit a certain
conf or feature, say we want to use musl for a smaller footprint,
but if we are using TCLIBC=glibc for our DISTRO (and inherently
our main image), the initramfs image would inherit that conf and
be forced to use glibc, growing in size as a side effect, currently
avoiding this is not supported.

Allow the kernel class to create a multiconfig dependency
(mcdepends) vs depends for do_bundle_initramfs and define
our INITRAMFS_IMAGE from a separate multiconfig via two
new variables:
INITRAMFS_MULTICONFIG and INITRAMFS_DEPLOY_DIR_IMAGE which
define the multiconfig where the initramfs image should be
coming from and its deploy directory respectively, these two
keep a default definition which preserves current behavior
(do_bundle_initramfs uses depends).

Example usage:
- Create and use multiconfig initramfscfg.conf and set
  TCLIBC=musl there, along with its TMPDIR.
- Add the following to our DISTRO.conf:
  INITRAMFS_MULTICONFIG = "initramfscfg"

  and set
  INITRAMFS_DEPLOY_DIR_IMAGE to the DEPLOY_DIR_IMAGE of the
  initramfscfg multiconfig (hence our main kernel will be
  able to grab it from there and bundle it).

This will result in our musl based initramfs bundled in our
main kernel and our main image to be glibc based.

(From OE-Core rev: 2d317b2685211f1b0d102705a63c0000df96f45f)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Alejandro Hernandez Samaniego
d2abfff682 core-image-tiny-initramfs: Mark recipe as 32 bit ARM compatible
(From OE-Core rev: 68bf897e54d81ea7264f48f960b8435fc6bf7815)

Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Khem Raj
e7ffa406dc systemd: Forward port musl patches
Redo the header include patch and add fixes for new code.

(From OE-Core rev: 7e35a575ef09a85e625a81e0b4d80b020e3e3a92)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Pgowda
603dffc49a glibc : Fix CVE-2021-3999
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=8c8a71c85f2ed5cc90d08d82ce645513fc907cb6]
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=472e799a5f2102bc0c3206dbd5a801765fceb39c]

(From OE-Core rev: e9532134b86211801206ff540c4c284f43006f7b)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Pgowda
359fcb9ed2 glibc : Fix CVE-2021-3998
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=062ff490c1467059f6cd64bb9c3d85f6cc6cf97a]
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=f7a79879c0b2bef0dadd6caaaeeb0d26423e04e5]

(From OE-Core rev: 20cc83dd8d323d7ea86b3625f4e8da94c160def9)

Signed-off-by: pgowda <pgowda.cve@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Khem Raj
21e5b78d9a ffmpeg: Remove --disable-msa2 mips option
This is now deleted option in 5.0+

(From OE-Core rev: e6140f11429e66e7ceadc932f2d6946c1270a19f)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
wangmy
a65c230037 nfs-utils: upgrade 2.5.4 -> 2.6.1
(From OE-Core rev: 6d8710bc444cd606c26a614560dde0c2cc981af8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
wangmy
866774f404 lighttpd: upgrade 1.4.63 -> 1.4.64
0001-mod_extforward-fix-out-of-bounds-OOB-write-fixes-313.patch
removed since it's included in 1.4.64.

with_gdbm, with_memcached
removed since they're not applicable in 1.4.64.

Changelog:
=========
Important changes
 remove deprecated modules, bugfixes, CVE-2022-22707 (rare configs)

Behavior Changes
 (previously announced and scheduled)

 -graceful restart/shutdown timeout changed from 0 (disabled) to 8 seconds
  configure an alternative with:
  server.feature-flags += ("server.graceful-shutdown-timeout" => 8)
  build: lighttpd defaults to -with-pcre2 instead of -with-pcre
  pcre2 is current. pcre is no longer maintained.
  Explicitly specify -with-pcre in build to use pcre instead of pcre2.
 -deprecated modules (previously announced) have been removed
  mod_authn_mysql
  mod_mysql_vhost
  mod_cml
  mod_flv_streaming
  mod_geoip
  mod_trigger_b4_dl
  https://wiki.lighttpd.net/Docs_ConfigurationOptions#Deprecated
  suggests migration steps for replacements, if needed

Changes from 1.4.63
 [core] fix trace issued for loading mod_auth (fixes #3121)
 [meson] need -lrt with glibc < 2.17 (fixes #3120)
 [core] adjust time jump detection (fixes #3123)
 [core] make setrlimit() warn, not fatal
 [core] add remote IP to some error msgs (fixes #3122)
 [mod_webdav] If-None-Match on non-existent entity
 [build] check getxattr before attr_get and -lattr
 [doc] SELinux: setsebool -P httpd_setrlimit on
 [build] create sha512sum file with release
 [build] CI builds now use make -j 2
 [core] http_response_send_file() takes const path
 [core] use ETag response header to check cachable
 [core] add more const to stat_cache_update_entry()
 [multiple] remove r->physical.etag
 [mod_magnet] interface to http_response_send_file
 [build] add headers for sendfile() detect on MacOS
 [core] http_response_write_prepare optimization
 [core] define static_assert for uClibc (fixes #3127)
 [build] -Wno-implicit-fallthrough for ls-hpack
 [core] ignore pcre2 "bad JIT option" warning
 [build] pcre2: use pkg-config before pcre2-config
 [core] http_response_has_error_handler()
 [core] consolidate request restart loop check
 [core] defer retrieving Last-Modified until needed
 [mod_dirlisting] fix logic inversion in cache
 [core] mark expect cond in http_response_send_file
 [core] connection_handle_read_state() tweak
 [core] connection_state_machine_loop() tweaks
 [core] connection_state_machine_h2() tweaks
 [core] quiet coverity noise
 [core] use lower limit for max-fds if !setrlimit
 [build] do not check for prctl; HAVE_PRCTL unused
 [core] server.core-files support on FreeBSD (fixes #3128)
 [mod_extforward] support longer PROXY v2 TLV vec
 [mod_webdav] detect truncated copy_file_range()
 [mod_webdav] copy_file_range() new in FreeBSD 13
 [mod_webdav] copy_file_range() new in FreeBSD 13
 [build] feature consistency between build types
 [build] cmake build now defaults to C11
 [core] CCRandomGenerateBytes() for rand on macOS (fixes #3129)
 [multiple] remove long-deprecated modules
 [build] default -with-pcre2 unless -with-pcre
 [core] "server.graceful-shutdown-timeout" => 8
 [build] adjust trace for regex-conditionals
 [build] update tests/SConscript
 [core] errno_t detection on Illumos
 [build] cmake build now defaults to C11
 [build] meson: find pcre2 w/o pkg-config
 [core] define EXTENSIONS on Illumos
 [build] cmake,meson socket libs for win32, Illumos (fixes #3130)
 [core] hide bsd_accept_filter code on OpenBSD (fixes #3131)
 [core] errno_t and rsize_t detection on Illumos
 [mod_webdav] copy acceleration
 [mod_webdav] define HAVE_RENAMEAT2 earlier
 [build] meson misdetects mempcpy on some platforms
 [build] cmake: skip "-Wl,-export-dynamic" Illumos
 [build] adjust .gitignore for macOS
 [build] meson crypt and dl detection on *BSD (fixes #3133)
 [core] /dev/null is a symlink on Illumos (fixes #3132)
 [core] server.core-files support for solaris (fixes #3135)
 [build] feature consistency between build types
 [build] Haiku build fix (fixes #3136)
 [lemon] silence coverity warnings
 [cmake] raise minimum version to 3.7
 [cmake] add address/undefined sanitize compile options
 [asan tests] fix memory leaks
 [array] use speaking names for array "fn" vtables for better debugging experience
 [ci] add cmake-asan build type
 [core] buffer_copy_string() use "" if s is NULL
 [mod_authn_gssapi] code reuse: fdevent_mkostemp()
 [mod_authn_gssapi] reduce KRB5CCNAME mem alloc
 [build] adjust help strings for pcre2 default
 [core] (const char *) for srvconf.modules_dir
 [multiple] remove buffer_init_string()
 [multiple] remove buffer_init_buffer()
 [mod_extforward] fix out-of-bounds (OOB) write (fixes #3134)
 [build] use -fstack-protector-strong w/ extra warn
 [build] collect Sun-specific headers and funcs
 [build] collect Sun-specific headers and funcs
 [build] rm redundant check for -lnetwork on Haiku
 [build] check headers before some funcs
 [core] allow LISTEN_PID to be ppid if TRACEME (fixes #3137)
 [core] allow tests/tmp/bind.conf override (#3137)
 [mod_webdav] no sys/ioctl.h on _WIN32
 [tests] _WIN32 adjustments in LightyTest.pm
 [tests] revert _WIN32 adjustments in LightyTest.pm
 [mod_gnutls] lift size check out of DN loop
 [mod_mbedtls] lift size check out of DN loop
 [mbedtls] save (mbedtls_ssl_config *) in hctx
 [multiple] permit UTF-8 in SSL_CLIENT_S_DN_*
 [mod_openssl] do not esc UTF-8 in cert subject
 [mod_mbedtls] reconstruct SSL_CLIENT_S_DN
 [mod_mbedtls] changes to build with mbedtls 3.0.0
 [mod_mbedtls] remove use of out_left in mbedtls 3
 [mod_mbedtls] mbedtls_ssl_conf_groups for 3.1.0

(From OE-Core rev: 478f5f30bf783fae513dbe6e8be9af9f6ec8a6a8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
wangmy
8cafe95270 python3-libarchive-c: upgrade 3.2 -> 4.0
Changelog:
=========
-BREAKING & SECURITY: The archive extraction functions now pass 3 security flags
 (SECURE_NODOTDOT, SECURE_NOABSOLUTEPATHS and SECURE_SYMLINKS) to libarchive by
 default, unless the current directory is the root.
-BREAKING: The ArchiveEntry properties atime, mtime, ctime, birthtime and size
 now have the value None instead of 0 when they're unset.
-BREAKING: The ArchiveEntry.pathname property now attempts to decode bytes using
 UTF-8. This breaks reading archives that contain file names which look like
 UTF-8 but aren't, if such a thing exists. Proper support of encodings will
 probably be added in the next version.
-Multiple entries from the same archive can now be kept in memory, however only
 the current entry's content can be read.
-The filetype, linkpath, size, mode, redvmajor, redvminor, uid and gid
 attributes of an archive entry can now be modified.
-The four time properties of archive entries now have setters, so for example
 entry.set_mtime(0, 0) can be replaced by entry.mtime = 0.
-Archive entries have 4 new properties: perm, rdev, uname and gname.
-When adding files to an archive, a destination path can now be specified.
-The ArchiveRead class now has a bytes_read property.
-The ArchiveWrite class now has a bytes_written property.
-Python 3.6 is no longer tested.
-The documentation has been improved.

(From OE-Core rev: 9adbc075c5a2b396d991144596fd92ebe16d4154)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
wangmy
8361d9a87e libwebp: 1.2.1 -> 1.2.2
(From OE-Core rev: 170ba2ab0733d781a95d8120fdfe9eccacee8b89)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Tim Orling
5a47f574e3 python3-importlib-metadata: upgrade 4.10.0 -> 4.10.1
v4.10.1
* 361: Avoid potential REDoS in EntryPoint.pattern.

References:
https://github.com/python/importlib_metadata/issues/361

(From OE-Core rev: d7a7e6d640a5b0819be4478aeb0f42d4a4981c89)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Tim Orling
079ad95723 python3-pyparsing: upgrade 3.0.6 -> 3.0.7
* Update HOMEPAGE to reflect move to github (in 2018)
* Add DESCRIPTION and BUGTRACKER

This upgrade includes bug fixes and minor enhancements.

For changes, see:
https://github.com/pyparsing/pyparsing/blob/master/CHANGES

(From OE-Core rev: ed87730f9bfc04cba8e37847aa04d433da61e4a7)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Tim Orling
3f1ede778d python3-setuptools-scm: upgrade 6.3.2 -> 6.4.2
v6.4.2
* fix #671 : NoReturn is not avaliable in painfully dead python 3.6

v6.4.1
* fix regression #669: restore get_version signature
* fix #668: harden the selftest for distribution extras

v6.4.0
* compatibility adjustments for setuptools >58
* only put minimal setuptools version into toml extra to warn people with old strict pins
* coorectly handle hg-git self-use
* better mercurial detection
* modernize packaging setup
* python 3.10 support
* better handling of setuptools install command deprecation
* consider pyproject.tomls when running as command
* use list in git describe command to avoid shell expansions while supporting both windows and posix
* add --strip-dev flag to python -m setuptools_scm to print the next guessed version cleanly
* ensure no-guess-dev will fail on bad tags instead of generating invalid versions
* ensure we use utc everywhere to avoid confusion

References:
https://github.com/pypa/setuptools_scm/issues/668
https://github.com/pypa/setuptools_scm/issues/669
https://github.com/pypa/setuptools_scm/issues/671

(From OE-Core rev: 3ac37c743470ab778bc47110660f3e1b37c534ba)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Tim Orling
6455eae22b python3-hypothesis: upgrade 6.35.0 -> 6.36.0
6.36.0 - 2022-01-19
* This release disallows using typing.Final with from_type() and register_type_strategy().
  - Why? Because Final can only be used during class definition. We don’t generate class attributes.
  - It also does not make sense as a runtime type on its own.

(From OE-Core rev: 5044bb45748887b01e857554976fe1eeb16921dd)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Alexander Kanavin
29a14ae59b ruby: do not parallel install
ruby's makefiles are rebuilding several items on every invocation,
even if nothing changed, all of which are factored into libruby.so
and cause it to be relinked as well. This does not seem to affect plain
make invocation, but does cause races in make install:

https://bugzilla.yoctoproject.org/show_bug.cgi?id=14695

Rather than figure out how to use make properly and convince upstream
of it, let's just do serial installs and file a bug:

https://bugs.ruby-lang.org/issues/18506

(From OE-Core rev: 1dc5cdf683133d210658eba9a619b737ec95cfe3)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
Markus Niebel
bd947d3343 kmscube: depend on virtual/libgbm
when using vendor supplied OpenGL stacks no virtual/libgbm may be
provided. An example for this is the Vivante stack for i.MX6.
To get better error message in such cases, add dependency.

(From OE-Core rev: 739b3af0bf1422cdabd13ccac8fbcc60b37d2fa4)

Signed-off-by: Markus Niebel <Markus.Niebel@tq-group.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2022-01-26 06:27:00 +00:00
356 changed files with 4266 additions and 6024 deletions

View File

@@ -262,8 +262,11 @@ def fork_off_task(cfg, data, databuilder, workerdata, fn, task, taskname, taskha
bb.utils.set_process_name("%s:%s" % (the_data.getVar("PN"), taskname.replace("do_", "")))
if not the_data.getVarFlag(taskname, 'network', False):
logger.debug("Attempting to disable network")
bb.utils.disable_network(uid, gid)
if bb.utils.is_local_uid(uid):
logger.debug("Attempting to disable network for %s" % taskname)
bb.utils.disable_network(uid, gid)
else:
logger.debug("Skipping disable network for %s since %s is not a local uid." % (taskname, uid))
# exported_vars() returns a generator which *cannot* be passed to os.environ.update()
# successfully. We also need to unset anything from the environment which shouldn't be there

View File

@@ -1179,10 +1179,10 @@ overview of their function and contents.
your configuration::
PREMIRRORS:prepend = "\
git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n \
https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
git://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
ftp://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
http://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \
https://.*/.* http://downloads.yoctoproject.org/mirror/sources/"
These changes cause the build system to intercept Git, FTP, HTTP, and
HTTPS requests and direct them to the ``http://`` sources mirror. You can

View File

@@ -473,10 +473,13 @@ def uri_replace(ud, uri_find, uri_replace, replacements, d, mirrortarball=None):
basename = os.path.basename(ud.localpath)
if basename:
uri_basename = os.path.basename(uri_decoded[loc])
if uri_basename and basename != uri_basename and result_decoded[loc].endswith(uri_basename):
result_decoded[loc] = result_decoded[loc].replace(uri_basename, basename)
elif not result_decoded[loc].endswith(basename):
result_decoded[loc] = os.path.join(result_decoded[loc], basename)
# Prefix with a slash as a sentinel in case
# result_decoded[loc] does not contain one.
path = "/" + result_decoded[loc]
if uri_basename and basename != uri_basename and path.endswith("/" + uri_basename):
result_decoded[loc] = path[1:-len(uri_basename)] + basename
elif not path.endswith("/" + basename):
result_decoded[loc] = os.path.join(path[1:], basename)
else:
return None
result = encodeurl(result_decoded)

View File

@@ -52,9 +52,13 @@ def npm_filename(package, version):
"""Get the filename of a npm package"""
return npm_package(package) + "-" + version + ".tgz"
def npm_localfile(package, version):
def npm_localfile(package, version=None):
"""Get the local filename of a npm package"""
return os.path.join("npm2", npm_filename(package, version))
if version is not None:
filename = npm_filename(package, version)
else:
filename = package
return os.path.join("npm2", filename)
def npm_integrity(integrity):
"""
@@ -157,7 +161,7 @@ class Npm(FetchMethod):
# Using the 'downloadfilename' parameter as local filename
# or the npm package name.
if "downloadfilename" in ud.parm:
ud.localfile = d.expand(ud.parm["downloadfilename"])
ud.localfile = npm_localfile(d.expand(ud.parm["downloadfilename"]))
else:
ud.localfile = npm_localfile(ud.package, ud.version)

View File

@@ -117,7 +117,7 @@ class NpmShrinkWrap(FetchMethod):
# Handle http tarball sources
elif version.startswith("http") and integrity:
localfile = os.path.join("npm2", os.path.basename(version))
localfile = npm_localfile(os.path.basename(version))
uri = URI(version)
uri.params["downloadfilename"] = localfile

View File

@@ -18,7 +18,7 @@ from bb.tests.support.httpserver import HTTPService
def skipIfNoNetwork():
if os.environ.get("BB_SKIP_NETTESTS") == "yes":
return unittest.skip("Network tests being skipped")
return unittest.skip("network test")
return lambda f: f
class URITest(unittest.TestCase):
@@ -393,37 +393,53 @@ class FetcherTest(unittest.TestCase):
bb.process.run('chmod u+rw -R %s' % self.tempdir)
bb.utils.prunedir(self.tempdir)
def git(self, cmd, cwd=None):
if isinstance(cmd, str):
cmd = 'git ' + cmd
else:
cmd = ['git'] + cmd
if cwd is None:
cwd = self.gitdir
return bb.process.run(cmd, cwd=cwd)[0]
def git_init(self, cwd=None):
self.git('init', cwd=cwd)
if not self.git(['config', 'user.email'], cwd=cwd):
self.git(['config', 'user.email', 'you@example.com'], cwd=cwd)
if not self.git(['config', 'user.name'], cwd=cwd):
self.git(['config', 'user.name', 'Your Name'], cwd=cwd)
class MirrorUriTest(FetcherTest):
replaceuris = {
("git://git.invalid.infradead.org/mtd-utils.git;tag=1234567890123456789012345678901234567890", "git://.*/.*", "http://somewhere.org/somedir/")
("git://git.invalid.infradead.org/mtd-utils.git;tag=1234567890123456789012345678901234567890", "git://.*/.*", "http://somewhere.org/somedir/")
: "http://somewhere.org/somedir/git2_git.invalid.infradead.org.mtd-utils.git.tar.gz",
("git://git.invalid.infradead.org/mtd-utils.git;tag=1234567890123456789012345678901234567890", "git://.*/([^/]+/)*([^/]*)", "git://somewhere.org/somedir/\\2;protocol=http")
: "git://somewhere.org/somedir/mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol=http",
("git://git.invalid.infradead.org/foo/mtd-utils.git;tag=1234567890123456789012345678901234567890", "git://.*/([^/]+/)*([^/]*)", "git://somewhere.org/somedir/\\2;protocol=http")
: "git://somewhere.org/somedir/mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol=http",
("git://git.invalid.infradead.org/foo/mtd-utils.git;tag=1234567890123456789012345678901234567890", "git://.*/([^/]+/)*([^/]*)", "git://somewhere.org/\\2;protocol=http")
: "git://somewhere.org/mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol=http",
("git://git.invalid.infradead.org/mtd-utils.git;tag=1234567890123456789012345678901234567890", "git://.*/([^/]+/)*([^/]*)", "git://somewhere.org/somedir/\\2;protocol=http")
: "git://somewhere.org/somedir/mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol=http",
("git://git.invalid.infradead.org/foo/mtd-utils.git;tag=1234567890123456789012345678901234567890", "git://.*/([^/]+/)*([^/]*)", "git://somewhere.org/somedir/\\2;protocol=http")
: "git://somewhere.org/somedir/mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol=http",
("git://git.invalid.infradead.org/foo/mtd-utils.git;tag=1234567890123456789012345678901234567890", "git://.*/([^/]+/)*([^/]*)", "git://somewhere.org/\\2;protocol=http")
: "git://somewhere.org/mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol=http",
("git://someserver.org/bitbake;tag=1234567890123456789012345678901234567890", "git://someserver.org/bitbake", "git://git.openembedded.org/bitbake")
: "git://git.openembedded.org/bitbake;tag=1234567890123456789012345678901234567890",
("file://sstate-xyz.tgz", "file://.*", "file:///somewhere/1234/sstate-cache")
("file://sstate-xyz.tgz", "file://.*", "file:///somewhere/1234/sstate-cache")
: "file:///somewhere/1234/sstate-cache/sstate-xyz.tgz",
("file://sstate-xyz.tgz", "file://.*", "file:///somewhere/1234/sstate-cache/")
("file://sstate-xyz.tgz", "file://.*", "file:///somewhere/1234/sstate-cache/")
: "file:///somewhere/1234/sstate-cache/sstate-xyz.tgz",
("http://somewhere.org/somedir1/somedir2/somefile_1.2.3.tar.gz", "http://.*/.*", "http://somewhere2.org/somedir3")
("http://somewhere.org/somedir1/somedir2/somefile_1.2.3.tar.gz", "http://.*/.*", "http://somewhere2.org/somedir3")
: "http://somewhere2.org/somedir3/somefile_1.2.3.tar.gz",
("http://somewhere.org/somedir1/somefile_1.2.3.tar.gz", "http://somewhere.org/somedir1/somefile_1.2.3.tar.gz", "http://somewhere2.org/somedir3/somefile_1.2.3.tar.gz")
("http://somewhere.org/somedir1/somefile_1.2.3.tar.gz", "http://somewhere.org/somedir1/somefile_1.2.3.tar.gz", "http://somewhere2.org/somedir3/somefile_1.2.3.tar.gz")
: "http://somewhere2.org/somedir3/somefile_1.2.3.tar.gz",
("http://www.apache.org/dist/subversion/subversion-1.7.1.tar.bz2", "http://www.apache.org/dist", "http://archive.apache.org/dist")
: "http://archive.apache.org/dist/subversion/subversion-1.7.1.tar.bz2",
("http://www.apache.org/dist/subversion/subversion-1.7.1.tar.bz2", "http://.*/.*", "file:///somepath/downloads/")
: "file:///somepath/downloads/subversion-1.7.1.tar.bz2",
("git://git.invalid.infradead.org/mtd-utils.git;tag=1234567890123456789012345678901234567890", "git://.*/.*", "git://somewhere.org/somedir/BASENAME;protocol=http")
: "git://somewhere.org/somedir/mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol=http",
("git://git.invalid.infradead.org/foo/mtd-utils.git;tag=1234567890123456789012345678901234567890", "git://.*/.*", "git://somewhere.org/somedir/BASENAME;protocol=http")
: "git://somewhere.org/somedir/mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol=http",
("git://git.invalid.infradead.org/foo/mtd-utils.git;tag=1234567890123456789012345678901234567890", "git://.*/.*", "git://somewhere.org/somedir/MIRRORNAME;protocol=http")
: "git://somewhere.org/somedir/git.invalid.infradead.org.foo.mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol=http",
("git://git.invalid.infradead.org/mtd-utils.git;tag=1234567890123456789012345678901234567890", "git://.*/.*", "git://somewhere.org/somedir/BASENAME;protocol=http")
: "git://somewhere.org/somedir/mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol=http",
("git://git.invalid.infradead.org/foo/mtd-utils.git;tag=1234567890123456789012345678901234567890", "git://.*/.*", "git://somewhere.org/somedir/BASENAME;protocol=http")
: "git://somewhere.org/somedir/mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol=http",
("git://git.invalid.infradead.org/foo/mtd-utils.git;tag=1234567890123456789012345678901234567890", "git://.*/.*", "git://somewhere.org/somedir/MIRRORNAME;protocol=http")
: "git://somewhere.org/somedir/git.invalid.infradead.org.foo.mtd-utils.git;tag=1234567890123456789012345678901234567890;protocol=http",
("http://somewhere.org/somedir1/somedir2/somefile_1.2.3.tar.gz", "http://.*/.*", "http://somewhere2.org")
: "http://somewhere2.org/somefile_1.2.3.tar.gz",
("http://somewhere.org/somedir1/somedir2/somefile_1.2.3.tar.gz", "http://.*/.*", "http://somewhere2.org/")
@@ -434,18 +450,21 @@ class MirrorUriTest(FetcherTest):
: "git://user2@git.openembedded.org/bitbake;tag=1234567890123456789012345678901234567890;branch=master;protocol=http",
("git://someserver.org/bitbake;tag=1234567890123456789012345678901234567890;protocol=git;branch=master", "git://someserver.org/bitbake", "git://someotherserver.org/bitbake;protocol=https")
: "git://someotherserver.org/bitbake;tag=1234567890123456789012345678901234567890;protocol=https;branch=master",
("gitsm://git.qemu.org/git/seabios.git/;protocol=https;name=roms/seabios;subpath=roms/seabios;bareclone=1;nobranch=1;rev=1234567890123456789012345678901234567890", "gitsm://.*/.*", "http://petalinux.xilinx.com/sswreleases/rel-v${XILINX_VER_MAIN}/downloads") : "http://petalinux.xilinx.com/sswreleases/rel-v%24%7BXILINX_VER_MAIN%7D/downloads/git2_git.qemu.org.git.seabios.git..tar.gz",
("https://somewhere.org/example/1.0.0/example;downloadfilename=some-example-1.0.0.tgz", "https://.*/.*", "file:///mirror/PATH")
: "file:///mirror/example/1.0.0/some-example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz",
("https://somewhere.org/example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz", "https://.*/.*", "file:///mirror/some-example-1.0.0.tgz")
: "file:///mirror/some-example-1.0.0.tgz;downloadfilename=some-example-1.0.0.tgz",
#Renaming files doesn't work
#("http://somewhere.org/somedir1/somefile_1.2.3.tar.gz", "http://somewhere.org/somedir1/somefile_1.2.3.tar.gz", "http://somewhere2.org/somedir3/somefile_2.3.4.tar.gz") : "http://somewhere2.org/somedir3/somefile_2.3.4.tar.gz"
#("file://sstate-xyz.tgz", "file://.*/.*", "file:///somewhere/1234/sstate-cache") : "file:///somewhere/1234/sstate-cache/sstate-xyz.tgz",
}
mirrorvar = "http://.*/.* file:///somepath/downloads/ \n" \
"git://someserver.org/bitbake git://git.openembedded.org/bitbake \n" \
"https://.*/.* file:///someotherpath/downloads/ \n" \
"http://.*/.* file:///someotherpath/downloads/ \n"
mirrorvar = "http://.*/.* file:///somepath/downloads/ " \
"git://someserver.org/bitbake git://git.openembedded.org/bitbake " \
"https://.*/.* file:///someotherpath/downloads/ " \
"http://.*/.* file:///someotherpath/downloads/"
def test_urireplace(self):
for k, v in self.replaceuris.items():
@@ -470,8 +489,8 @@ class MirrorUriTest(FetcherTest):
def test_mirror_of_mirror(self):
# Test if mirror of a mirror works
mirrorvar = self.mirrorvar + " http://.*/.* http://otherdownloads.yoctoproject.org/downloads/ \n"
mirrorvar = mirrorvar + " http://otherdownloads.yoctoproject.org/.* http://downloads2.yoctoproject.org/downloads/ \n"
mirrorvar = self.mirrorvar + " http://.*/.* http://otherdownloads.yoctoproject.org/downloads/"
mirrorvar = mirrorvar + " http://otherdownloads.yoctoproject.org/.* http://downloads2.yoctoproject.org/downloads/"
fetcher = bb.fetch.FetchData("http://downloads.yoctoproject.org/releases/bitbake/bitbake-1.0.tar.gz", self.d)
mirrors = bb.fetch2.mirror_from_string(mirrorvar)
uris, uds = bb.fetch2.build_mirroruris(fetcher, mirrors, self.d)
@@ -480,8 +499,8 @@ class MirrorUriTest(FetcherTest):
'http://otherdownloads.yoctoproject.org/downloads/bitbake-1.0.tar.gz',
'http://downloads2.yoctoproject.org/downloads/bitbake-1.0.tar.gz'])
recmirrorvar = "https://.*/[^/]* http://AAAA/A/A/A/ \n" \
"https://.*/[^/]* https://BBBB/B/B/B/ \n"
recmirrorvar = "https://.*/[^/]* http://AAAA/A/A/A/ " \
"https://.*/[^/]* https://BBBB/B/B/B/"
def test_recursive(self):
fetcher = bb.fetch.FetchData("https://downloads.yoctoproject.org/releases/bitbake/bitbake-1.0.tar.gz", self.d)
@@ -503,7 +522,7 @@ class GitDownloadDirectoryNamingTest(FetcherTest):
self.d.setVar('SRCREV', '82ea737a0b42a8b53e11c9cde141e9e9c0bd8c40')
def setup_mirror_rewrite(self):
self.d.setVar("PREMIRRORS", self.recipe_url + " " + self.mirror_url + " \n")
self.d.setVar("PREMIRRORS", self.recipe_url + " " + self.mirror_url)
@skipIfNoNetwork()
def test_that_directory_is_named_after_recipe_url_when_no_mirroring_is_used(self):
@@ -552,7 +571,7 @@ class TarballNamingTest(FetcherTest):
self.d.setVar('SRCREV', '82ea737a0b42a8b53e11c9cde141e9e9c0bd8c40')
def setup_mirror_rewrite(self):
self.d.setVar("PREMIRRORS", self.recipe_url + " " + self.mirror_url + " \n")
self.d.setVar("PREMIRRORS", self.recipe_url + " " + self.mirror_url)
@skipIfNoNetwork()
def test_that_the_recipe_tarball_is_created_when_no_mirroring_is_used(self):
@@ -587,7 +606,7 @@ class GitShallowTarballNamingTest(FetcherTest):
self.d.setVar('SRCREV', '82ea737a0b42a8b53e11c9cde141e9e9c0bd8c40')
def setup_mirror_rewrite(self):
self.d.setVar("PREMIRRORS", self.recipe_url + " " + self.mirror_url + " \n")
self.d.setVar("PREMIRRORS", self.recipe_url + " " + self.mirror_url)
@skipIfNoNetwork()
def test_that_the_tarball_is_named_after_recipe_url_when_no_mirroring_is_used(self):
@@ -699,28 +718,22 @@ class FetcherLocalTest(FetcherTest):
# Create dummy local Git repo
src_dir = tempfile.mkdtemp(dir=self.tempdir,
prefix='gitfetch_localusehead_')
src_dir = os.path.abspath(src_dir)
bb.process.run("git init", cwd=src_dir)
bb.process.run("git config user.email 'you@example.com'", cwd=src_dir)
bb.process.run("git config user.name 'Your Name'", cwd=src_dir)
bb.process.run("git commit --allow-empty -m'Dummy commit'",
cwd=src_dir)
self.gitdir = os.path.abspath(src_dir)
self.git_init()
self.git(['commit', '--allow-empty', '-m', 'Dummy commit'])
# Use other branch than master
bb.process.run("git checkout -b my-devel", cwd=src_dir)
bb.process.run("git commit --allow-empty -m'Dummy commit 2'",
cwd=src_dir)
stdout = bb.process.run("git rev-parse HEAD", cwd=src_dir)
orig_rev = stdout[0].strip()
self.git(['checkout', '-b', 'my-devel'])
self.git(['commit', '--allow-empty', '-m', 'Dummy commit 2'])
orig_rev = self.git(['rev-parse', 'HEAD']).strip()
# Fetch and check revision
self.d.setVar("SRCREV", "AUTOINC")
url = "git://" + src_dir + ";protocol=file;" + suffix
url = "git://" + self.gitdir + ";protocol=file;" + suffix
fetcher = bb.fetch.Fetch([url], self.d)
fetcher.download()
fetcher.unpack(self.unpackdir)
stdout = bb.process.run("git rev-parse HEAD",
cwd=os.path.join(self.unpackdir, 'git'))
unpack_rev = stdout[0].strip()
unpack_rev = self.git(['rev-parse', 'HEAD'],
cwd=os.path.join(self.unpackdir, 'git')).strip()
self.assertEqual(orig_rev, unpack_rev)
def test_local_gitfetch_usehead(self):
@@ -867,14 +880,14 @@ class FetcherNetworkTest(FetcherTest):
@skipIfNoNetwork()
def test_fetch_mirror_of_mirror(self):
self.d.setVar("MIRRORS", "http://.*/.* http://invalid2.yoctoproject.org/ \n http://invalid2.yoctoproject.org/.* https://downloads.yoctoproject.org/releases/bitbake")
self.d.setVar("MIRRORS", "http://.*/.* http://invalid2.yoctoproject.org/ http://invalid2.yoctoproject.org/.* https://downloads.yoctoproject.org/releases/bitbake")
fetcher = bb.fetch.Fetch(["http://invalid.yoctoproject.org/releases/bitbake/bitbake-1.0.tar.gz"], self.d)
fetcher.download()
self.assertEqual(os.path.getsize(self.dldir + "/bitbake-1.0.tar.gz"), 57749)
@skipIfNoNetwork()
def test_fetch_file_mirror_of_mirror(self):
self.d.setVar("MIRRORS", "http://.*/.* file:///some1where/ \n file:///some1where/.* file://some2where/ \n file://some2where/.* https://downloads.yoctoproject.org/releases/bitbake")
self.d.setVar("MIRRORS", "http://.*/.* file:///some1where/ file:///some1where/.* file://some2where/ file://some2where/.* https://downloads.yoctoproject.org/releases/bitbake")
fetcher = bb.fetch.Fetch(["http://invalid.yoctoproject.org/releases/bitbake/bitbake-1.0.tar.gz"], self.d)
os.mkdir(self.dldir + "/some2where")
fetcher.download()
@@ -920,7 +933,8 @@ class FetcherNetworkTest(FetcherTest):
def gitfetcher(self, url1, url2):
def checkrevision(self, fetcher):
fetcher.unpack(self.unpackdir)
revision = bb.process.run("git rev-parse HEAD", shell=True, cwd=self.unpackdir + "/git")[0].strip()
revision = self.git(['rev-parse', 'HEAD'],
cwd=os.path.join(self.unpackdir, 'git')).strip()
self.assertEqual(revision, "270a05b0b4ba0959fe0624d2a4885d7b70426da5")
self.d.setVar("BB_GENERATE_MIRROR_TARBALLS", "1")
@@ -981,13 +995,13 @@ class FetcherNetworkTest(FetcherTest):
def test_gitfetch_finds_local_tarball_for_mirrored_url_when_previous_downloaded_by_the_recipe_url(self):
recipeurl = "git://git.openembedded.org/bitbake"
mirrorurl = "git://someserver.org/bitbake"
self.d.setVar("PREMIRRORS", "git://someserver.org/bitbake git://git.openembedded.org/bitbake \n")
self.d.setVar("PREMIRRORS", "git://someserver.org/bitbake git://git.openembedded.org/bitbake")
self.gitfetcher(recipeurl, mirrorurl)
@skipIfNoNetwork()
def test_gitfetch_finds_local_tarball_when_previous_downloaded_from_a_premirror(self):
recipeurl = "git://someserver.org/bitbake"
self.d.setVar("PREMIRRORS", "git://someserver.org/bitbake git://git.openembedded.org/bitbake \n")
self.d.setVar("PREMIRRORS", "git://someserver.org/bitbake git://git.openembedded.org/bitbake")
self.gitfetcher(recipeurl, recipeurl)
@skipIfNoNetwork()
@@ -996,8 +1010,8 @@ class FetcherNetworkTest(FetcherTest):
recipeurl = "git://someserver.org/bitbake"
self.sourcedir = self.unpackdir.replace("unpacked", "sourcemirror.git")
os.chdir(self.tempdir)
bb.process.run("git clone %s %s 2> /dev/null" % (realurl, self.sourcedir), shell=True)
self.d.setVar("PREMIRRORS", "%s git://%s;protocol=file \n" % (recipeurl, self.sourcedir))
self.git(['clone', realurl, self.sourcedir], cwd=self.tempdir)
self.d.setVar("PREMIRRORS", "%s git://%s;protocol=file" % (recipeurl, self.sourcedir))
self.gitfetcher(recipeurl, recipeurl)
@skipIfNoNetwork()
@@ -1437,9 +1451,7 @@ class GitMakeShallowTest(FetcherTest):
FetcherTest.setUp(self)
self.gitdir = os.path.join(self.tempdir, 'gitshallow')
bb.utils.mkdirhier(self.gitdir)
bb.process.run('git init', cwd=self.gitdir)
bb.process.run('git config user.email "you@example.com"', cwd=self.gitdir)
bb.process.run('git config user.name "Your Name"', cwd=self.gitdir)
self.git_init()
def assertRefs(self, expected_refs):
actual_refs = self.git(['for-each-ref', '--format=%(refname)']).splitlines()
@@ -1453,13 +1465,6 @@ class GitMakeShallowTest(FetcherTest):
actual_count = len(revs.splitlines())
self.assertEqual(expected_count, actual_count, msg='Object count `%d` is not the expected `%d`' % (actual_count, expected_count))
def git(self, cmd):
if isinstance(cmd, str):
cmd = 'git ' + cmd
else:
cmd = ['git'] + cmd
return bb.process.run(cmd, cwd=self.gitdir)[0]
def make_shallow(self, args=None):
if args is None:
args = ['HEAD']
@@ -1562,9 +1567,7 @@ class GitShallowTest(FetcherTest):
self.srcdir = os.path.join(self.tempdir, 'gitsource')
bb.utils.mkdirhier(self.srcdir)
self.git('init', cwd=self.srcdir)
self.git('config user.email "you@example.com"', cwd=self.srcdir)
self.git('config user.name "Your Name"', cwd=self.srcdir)
self.git_init(cwd=self.srcdir)
self.d.setVar('WORKDIR', self.tempdir)
self.d.setVar('S', self.gitdir)
self.d.delVar('PREMIRRORS')
@@ -1595,15 +1598,6 @@ class GitShallowTest(FetcherTest):
actual_count = len(revs.splitlines())
self.assertEqual(expected_count, actual_count, msg='Object count `%d` is not the expected `%d`' % (actual_count, expected_count))
def git(self, cmd, cwd=None):
if isinstance(cmd, str):
cmd = 'git ' + cmd
else:
cmd = ['git'] + cmd
if cwd is None:
cwd = self.gitdir
return bb.process.run(cmd, cwd=cwd)[0]
def add_empty_file(self, path, cwd=None, msg=None):
if msg is None:
msg = path
@@ -1798,9 +1792,7 @@ class GitShallowTest(FetcherTest):
smdir = os.path.join(self.tempdir, 'gitsubmodule')
bb.utils.mkdirhier(smdir)
self.git('init', cwd=smdir)
self.git('config user.email "you@example.com"', cwd=smdir)
self.git('config user.name "Your Name"', cwd=smdir)
self.git_init(cwd=smdir)
# Make this look like it was cloned from a remote...
self.git('config --add remote.origin.url "%s"' % smdir, cwd=smdir)
self.git('config --add remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"', cwd=smdir)
@@ -1830,9 +1822,7 @@ class GitShallowTest(FetcherTest):
smdir = os.path.join(self.tempdir, 'gitsubmodule')
bb.utils.mkdirhier(smdir)
self.git('init', cwd=smdir)
self.git('config user.email "you@example.com"', cwd=smdir)
self.git('config user.name "Your Name"', cwd=smdir)
self.git_init(cwd=smdir)
# Make this look like it was cloned from a remote...
self.git('config --add remote.origin.url "%s"' % smdir, cwd=smdir)
self.git('config --add remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"', cwd=smdir)
@@ -1852,7 +1842,7 @@ class GitShallowTest(FetcherTest):
# Set up the mirror
mirrordir = os.path.join(self.tempdir, 'mirror')
bb.utils.rename(self.dldir, mirrordir)
self.d.setVar('PREMIRRORS', 'gitsm://.*/.* file://%s/\n' % mirrordir)
self.d.setVar('PREMIRRORS', 'gitsm://.*/.* file://%s/' % mirrordir)
# Fetch from the mirror
bb.utils.remove(self.dldir, recurse=True)
@@ -1967,7 +1957,7 @@ class GitShallowTest(FetcherTest):
# Set up the mirror
mirrordir = os.path.join(self.tempdir, 'mirror')
bb.utils.mkdirhier(mirrordir)
self.d.setVar('PREMIRRORS', 'git://.*/.* file://%s/\n' % mirrordir)
self.d.setVar('PREMIRRORS', 'git://.*/.* file://%s/' % mirrordir)
bb.utils.rename(os.path.join(self.dldir, mirrortarball),
os.path.join(mirrordir, mirrortarball))
@@ -2140,7 +2130,7 @@ class GitLfsTest(FetcherTest):
self.gitdir = os.path.join(self.tempdir, 'git')
self.srcdir = os.path.join(self.tempdir, 'gitsource')
self.d.setVar('WORKDIR', self.tempdir)
self.d.setVar('S', self.gitdir)
self.d.delVar('PREMIRRORS')
@@ -2150,23 +2140,12 @@ class GitLfsTest(FetcherTest):
self.d.setVar('AUTOREV', '${@bb.fetch2.get_autorev(d)}')
bb.utils.mkdirhier(self.srcdir)
self.git('init', cwd=self.srcdir)
self.git('config user.email "you@example.com"', cwd=self.srcdir)
self.git('config user.name "Your Name"', cwd=self.srcdir)
self.git_init(cwd=self.srcdir)
with open(os.path.join(self.srcdir, '.gitattributes'), 'wt') as attrs:
attrs.write('*.mp3 filter=lfs -text')
self.git(['add', '.gitattributes'], cwd=self.srcdir)
self.git(['commit', '-m', "attributes", '.gitattributes'], cwd=self.srcdir)
def git(self, cmd, cwd=None):
if isinstance(cmd, str):
cmd = 'git ' + cmd
else:
cmd = ['git'] + cmd
if cwd is None:
cwd = self.gitdir
return bb.process.run(cmd, cwd=cwd)[0]
def fetch(self, uri=None, download=True):
uris = self.d.getVar('SRC_URI').split()
uri = uris[0]
@@ -2261,6 +2240,7 @@ class GitURLWithSpacesTest(FetcherTest):
self.assertEqual(ud.fullmirror, os.path.join(self.dldir, "git2_" + ref['gitsrcname'] + '.tar.gz'))
class CrateTest(FetcherTest):
@skipIfNoNetwork()
def test_crate_url(self):
uri = "crate://crates.io/glob/0.2.11"
@@ -2277,6 +2257,7 @@ class CrateTest(FetcherTest):
self.assertTrue(os.path.exists(self.tempdir + "/cargo_home/bitbake/glob-0.2.11/.cargo-checksum.json"))
self.assertTrue(os.path.exists(self.tempdir + "/cargo_home/bitbake/glob-0.2.11/src/lib.rs"))
@skipIfNoNetwork()
def test_crate_url_multi(self):
uri = "crate://crates.io/glob/0.2.11 crate://crates.io/time/0.1.35"
@@ -2299,7 +2280,7 @@ class NPMTest(FetcherTest):
def skipIfNoNpm():
import shutil
if not shutil.which('npm'):
return unittest.skip('npm not installed, tests being skipped')
return unittest.skip('npm not installed')
return lambda f: f
@skipIfNoNpm()
@@ -2344,15 +2325,24 @@ class NPMTest(FetcherTest):
ud = fetcher.ud[fetcher.urls[0]]
fetcher.download()
self.assertTrue(os.path.exists(ud.localpath))
# Setup the mirror
pkgname = os.path.basename(ud.proxy.urls[0].split(';')[0])
# Setup the mirror by renaming the download directory
mirrordir = os.path.join(self.tempdir, 'mirror')
bb.utils.mkdirhier(mirrordir)
os.replace(ud.localpath, os.path.join(mirrordir, pkgname))
self.d.setVar('PREMIRRORS', 'https?$://.*/.* file://%s/\n' % mirrordir)
bb.utils.rename(self.dldir, mirrordir)
os.mkdir(self.dldir)
# Configure the premirror to be used
self.d.setVar('PREMIRRORS', 'https?$://.*/.* file://%s/npm2' % mirrordir)
self.d.setVar('BB_FETCH_PREMIRRORONLY', '1')
# Fetch again
self.assertFalse(os.path.exists(ud.localpath))
# The npm fetcher doesn't handle that the .resolved file disappears
# while the fetcher object exists, which it does when we rename the
# download directory to "mirror" above. Thus we need a new fetcher to go
# with the now empty download directory.
fetcher = bb.fetch.Fetch([url], self.d)
ud = fetcher.ud[fetcher.urls[0]]
fetcher.download()
self.assertTrue(os.path.exists(ud.localpath))
@@ -2370,7 +2360,7 @@ class NPMTest(FetcherTest):
bb.utils.mkdirhier(mirrordir)
mirrorfilename = os.path.join(mirrordir, os.path.basename(ud.localpath))
os.replace(ud.localpath, mirrorfilename)
self.d.setVar('PREMIRRORS', 'https?$://.*/.* file://%s\n' % mirrorfilename)
self.d.setVar('PREMIRRORS', 'https?$://.*/.* file://%s' % mirrorfilename)
self.d.setVar('BB_FETCH_PREMIRRORONLY', '1')
# Fetch again
self.assertFalse(os.path.exists(ud.localpath))
@@ -2390,7 +2380,7 @@ class NPMTest(FetcherTest):
mirrordir = os.path.join(self.tempdir, 'mirror')
bb.utils.mkdirhier(mirrordir)
os.replace(ud.localpath, os.path.join(mirrordir, os.path.basename(ud.localpath)))
self.d.setVar('MIRRORS', 'https?$://.*/.* file://%s/\n' % mirrordir)
self.d.setVar('MIRRORS', 'https?$://.*/.* file://%s/' % mirrordir)
# Update the resolved url to an invalid url
with open(ud.resolvefile, 'r') as f:
url = f.read()
@@ -2409,7 +2399,7 @@ class NPMTest(FetcherTest):
url = 'npm://registry.npmjs.org;package=@savoirfairelinux/node-server-example;version=1.0.0;destsuffix=foo/bar;downloadfilename=foo-bar.tgz'
fetcher = bb.fetch.Fetch([url], self.d)
fetcher.download()
self.assertTrue(os.path.exists(os.path.join(self.dldir, 'foo-bar.tgz')))
self.assertTrue(os.path.exists(os.path.join(self.dldir, 'npm2', 'foo-bar.tgz')))
fetcher.unpack(self.unpackdir)
unpackdir = os.path.join(self.unpackdir, 'foo', 'bar')
self.assertTrue(os.path.exists(os.path.join(unpackdir, 'package.json')))
@@ -2706,7 +2696,7 @@ class NPMTest(FetcherTest):
mirrordir = os.path.join(self.tempdir, 'mirror')
bb.utils.mkdirhier(mirrordir)
os.replace(ud.localpath, os.path.join(mirrordir, os.path.basename(ud.localpath)))
self.d.setVar('PREMIRRORS', 'https?$://.*/.* file://%s/\n' % mirrordir)
self.d.setVar('PREMIRRORS', 'https?$://.*/.* file://%s/' % mirrordir)
self.d.setVar('BB_FETCH_PREMIRRORONLY', '1')
# Fetch again
self.assertFalse(os.path.exists(ud.localpath))
@@ -2735,7 +2725,7 @@ class NPMTest(FetcherTest):
mirrordir = os.path.join(self.tempdir, 'mirror')
bb.utils.mkdirhier(mirrordir)
os.replace(ud.localpath, os.path.join(mirrordir, os.path.basename(ud.localpath)))
self.d.setVar('MIRRORS', 'https?$://.*/.* file://%s/\n' % mirrordir)
self.d.setVar('MIRRORS', 'https?$://.*/.* file://%s/' % mirrordir)
# Fetch again with invalid url
self.assertFalse(os.path.exists(ud.localpath))
swfile = self.create_shrinkwrap_file({

View File

@@ -1735,3 +1735,19 @@ def environment(**envvars):
os.environ[var] = backup[var]
else:
del os.environ[var]
def is_local_uid(uid=''):
"""
Check whether uid is a local one or not.
Can't use pwd module since it gets all UIDs, not local ones only.
"""
if not uid:
uid = os.getuid()
with open('/etc/passwd', 'r') as f:
for line in f:
line_split = line.split(':')
if len(line_split) < 3:
continue
if str(uid) == line_split[2]:
return True
return False

View File

@@ -256,12 +256,12 @@ an entire Linux distribution, including the toolchain, from source.
BB_SIGNATURE_HANDLER = "OEEquivHash"
BB_HASHSERVE = "auto"
BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687"
SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/&YOCTO_DOC_VERSION;/PATH;downloadfilename=PATH"
SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/&YOCTO_DOC_VERSION;/PATH;downloadfilename=PATH"
The above settings assumed the use of Yocto Project &YOCTO_DOC_VERSION;.
If you are using the development version instead, set :term:`SSTATE_MIRRORS` as follows::
SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/dev/PATH;downloadfilename=PATH"
SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/dev/PATH;downloadfilename=PATH"
#. **Start the Build:** Continue with the following command to build an OS
image for the target, which is ``core-image-sato`` in this example:

View File

@@ -4393,7 +4393,7 @@ This next example shows how to accomplish the same thing by setting
locally inherit the :ref:`externalsrc <ref-classes-externalsrc>`
class.
By default, ``externalsrc.bbclass`` builds the source code in a
By default, :ref:`ref-classes-externalsrc` builds the source code in a
directory separate from the external source directory as specified by
:term:`EXTERNALSRC`. If you need
to have the source built in the same directory in which it resides, or
@@ -4894,6 +4894,213 @@ the following in your recipe::
DEPENDS = "clutter-1.8"
Working with Pre-Built Libraries
================================
Introduction
-------------
Some library vendors do not release source code for their software but do
release pre-built binaries. When shared libraries are built, they should
be versioned (see `this article
<https://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html>`__
for some background), but sometimes this is not done.
To summarize, a versioned library must meet two conditions:
#. The filename must have the version appended, for example: ``libfoo.so.1.2.3``.
#. The library must have the ELF tag ``SONAME`` set to the major version
of the library, for example: ``libfoo.so.1``. You can check this by
running ``readelf -d filename | grep SONAME``.
This section shows how to deal with both versioned and unversioned
pre-built libraries.
Versioned Libraries
-------------------
In this example we work with pre-built libraries for the FT4222H USB I/O chip.
Libraries are built for several target architecture variants and packaged in
an archive as follows::
├── build-arm-hisiv300
│   └── libft4222.so.1.4.4.44
├── build-arm-v5-sf
│   └── libft4222.so.1.4.4.44
├── build-arm-v6-hf
│   └── libft4222.so.1.4.4.44
├── build-arm-v7-hf
│   └── libft4222.so.1.4.4.44
├── build-arm-v8
│   └── libft4222.so.1.4.4.44
├── build-i386
│   └── libft4222.so.1.4.4.44
├── build-i486
│   └── libft4222.so.1.4.4.44
├── build-mips-eglibc-hf
│   └── libft4222.so.1.4.4.44
├── build-pentium
│   └── libft4222.so.1.4.4.44
├── build-x86_64
│   └── libft4222.so.1.4.4.44
├── examples
│   ├── get-version.c
│   ├── i2cm.c
│   ├── spim.c
│   └── spis.c
├── ftd2xx.h
├── install4222.sh
├── libft4222.h
├── ReadMe.txt
└── WinTypes.h
To write a recipe to use such a library in your system:
- The vendor will probably have a proprietary licence, so set
:term:`LICENSE_FLAGS` in your recipe.
- The vendor provides a tarball containing libraries so set :term:`SRC_URI`
appropriately.
- Set :term:`COMPATIBLE_HOST` so that the recipe cannot be used with an
unsupported architecture. In the following example, we only support the 32
and 64 bit variants of the ``x86`` architecture.
- As the vendor provides versioned libraries, we can use ``oe_soinstall``
from :ref:`ref-classes-utils` to install the shared library and create
symbolic links. If the vendor does not do this, we need to follow the
non-versioned library guidelines in the next section.
- As the vendor likely used :term:`LDFLAGS` different from those in your Yocto
Project build, disable the corresponding checks by adding ``ldflags``
to :term:`INSANE_SKIP`.
- The vendor will typically ship release builds without debugging symbols.
Avoid errors by preventing the packaging task from stripping out the symbols
and adding them to a separate debug package. This is done by setting the
``INHIBIT_`` flags shown below.
The complete recipe would look like this::
SUMMARY = "FTDI FT4222H Library"
SECTION = "libs"
LICENSE_FLAGS = "ftdi"
LICENSE = "CLOSED"
COMPATIBLE_HOST = "(i.86|x86_64).*-linux"
# Sources available in a .tgz file in .zip archive
# at https://ftdichip.com/wp-content/uploads/2021/01/libft4222-linux-1.4.4.44.zip
# Found on https://ftdichip.com/software-examples/ft4222h-software-examples/
# Since dealing with this particular type of archive is out of topic here,
# we use a local link.
SRC_URI = "file://libft4222-linux-${PV}.tgz"
S = "${WORKDIR}"
ARCH_DIR:x86-64 = "build-x86_64"
ARCH_DIR:i586 = "build-i386"
ARCH_DIR:i686 = "build-i386"
INSANE_SKIP:${PN} = "ldflags"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
do_install () {
install -m 0755 -d ${D}${libdir}
oe_soinstall ${S}/${ARCH_DIR}/libft4222.so.${PV} ${D}${libdir}
install -d ${D}${includedir}
install -m 0755 ${S}/*.h ${D}${includedir}
}
If the precompiled binaries are not statically linked and have dependencies on
other libraries, then by adding those libraries to :term:`DEPENDS`, the linking
can be examined and the appropriate :term:`RDEPENDS` automatically added.
Non-Versioned Libraries
-----------------------
Some Background
~~~~~~~~~~~~~~~
Libraries in Linux systems are generally versioned so that it is possible
to have multiple versions of the same library installed, which eases upgrades
and support for older software. For example, suppose that in a versioned
library, an actual library is called ``libfoo.so.1.2``, a symbolic link named
``libfoo.so.1`` points to ``libfoo.so.1.2``, and a symbolic link named
``libfoo.so`` points to ``libfoo.so.1.2``. Given these conditions, when you
link a binary against a library, you typically provide the unversioned file
name (i.e. ``-lfoo`` to the linker). However, the linker follows the symbolic
link and actually links against the versioned filename. The unversioned symbolic
link is only used at development time. Consequently, the library is packaged
along with the headers in the development package ``${PN}-dev`` along with the
actual library and versioned symbolic links in ``${PN}``. Because versioned
libraries are far more common than unversioned libraries, the default packaging
rules assume versioned libraries.
Yocto Library Packaging Overview
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
It follows that packaging an unversioned library requires a bit of work in the
recipe. By default, ``libfoo.so`` gets packaged into ``${PN}-dev``, which
triggers a QA warning that a non-symlink library is in a ``-dev`` package,
and binaries in the same recipe link to the library in ``${PN}-dev``,
which triggers more QA warnings. To solve this problem, you need to package the
unversioned library into ``${PN}`` where it belongs. The following are the abridged
default :term:`FILES` variables in ``bitbake.conf``::
SOLIBS = ".so.*"
SOLIBSDEV = ".so"
FILES_${PN} = "... ${libdir}/lib*${SOLIBS} ..."
FILES_SOLIBSDEV ?= "... ${libdir}/lib*${SOLIBSDEV} ..."
FILES_${PN}-dev = "... ${FILES_SOLIBSDEV} ..."
:term:`SOLIBS` defines a pattern that matches real shared object libraries.
:term:`SOLIBSDEV` matches the development form (unversioned symlink). These two
variables are then used in ``FILES:${PN}`` and ``FILES:${PN}-dev``, which puts
the real libraries into ``${PN}`` and the unversioned symbolic link into ``${PN}-dev``.
To package unversioned libraries, you need to modify the variables in the recipe
as follows::
SOLIBS = ".so"
FILES_SOLIBSDEV = ""
The modifications cause the ``.so`` file to be the real library
and unset :term:`FILES_SOLIBSDEV` so that no libraries get packaged into
``${PN}-dev``. The changes are required because unless :term:`PACKAGES` is changed,
``${PN}-dev`` collects files before `${PN}`. ``${PN}-dev`` must not collect any of
the files you want in ``${PN}``.
Finally, loadable modules, essentially unversioned libraries that are linked
at runtime using ``dlopen()`` instead of at build time, should generally be
installed in a private directory. However, if they are installed in ``${libdir}``,
then the modules can be treated as unversioned libraries.
Example
~~~~~~~
The example below installs an unversioned x86-64 pre-built library named
``libfoo.so``. The :term:`COMPATIBLE_HOST` variable limits recipes to the
x86-64 architecture while the :term:`INSANE_SKIP`, :term:`INHIBIT_PACKAGE_STRIP`
and :term:`INHIBIT_SYSROOT_STRIP` variables are all set as in the above
versioned library example. The "magic" is setting the :term:`SOLIBS` and
:term:`FILES_SOLIBSDEV` variables as explained above::
SUMMARY = "libfoo sample recipe"
SECTION = "libs"
LICENSE = "CLOSED"
SRC_URI = "file://libfoo.so"
COMPATIBLE_HOST = "x86_64.*-linux"
INSANE_SKIP:${PN} = "ldflags"
INHIBIT_PACKAGE_STRIP = "1"
INHIBIT_SYSROOT_STRIP = "1"
SOLIBS = ".so"
FILES_SOLIBSDEV = ""
do_install () {
install -d ${D}${libdir}
install -m 0755 ${WORKDIR}/libfoo.so ${D}${libdir}
}
Using x32 psABI
===============
@@ -6039,8 +6246,7 @@ system to make your images more secure:
:ref:`extrausers <ref-classes-extrausers>`
class, which is the preferred method. For an example on how to set up
both root and user passwords, see the
":ref:`extrausers.bbclass <ref-classes-extrausers>`"
section.
":ref:`ref-classes-extrausers`" section.
.. note::
@@ -6131,7 +6337,7 @@ layer. The following steps provide some more detail:
variables that differ as compared to ``defaultsetup.conf``.
Alternatively, you can create a distribution configuration file
from scratch using the ``defaultsetup.conf`` file or configuration files
from other distributions such as Poky or Angstrom as references.
from another distribution such as Poky as a reference.
- *Provide miscellaneous variables:* Be sure to define any other
variables for which you want to create a default or enforce as part
@@ -7032,7 +7238,7 @@ variables were set.
The ``opkg`` application uses configuration files to find available
package databases. Thus, you need to create a configuration file inside
the ``/etc/opkg/`` direction, which informs ``opkg`` of any repository
the ``/etc/opkg/`` directory, which informs ``opkg`` of any repository
you want to use.
As an example, suppose you are serving packages from a ``ipk/``
@@ -7540,7 +7746,7 @@ Setting up Effective Mirrors
A good deal that goes into a Yocto Project build is simply downloading
all of the source tarballs. Maybe you have been working with another
build system (OpenEmbedded or Angstrom) for which you have built up a
build system for which you have built up a
sizable directory of source tarballs. Or, perhaps someone else has such
a directory for which you have read access. If so, you can save time by
adding statements to your configuration file so that the build process

View File

@@ -110,7 +110,7 @@ references in your own recipes and configurations as they could be
removed in future releases. You should also rename any custom ``task-*``
recipes to ``packagegroup-*``, and change them to inherit
``packagegroup`` instead of ``task``, as well as taking the opportunity
to remove anything now handled by ``packagegroup.bbclass``, such as
to remove anything now handled by :ref:`ref-classes-packagegroup`, such as
providing ``-dev`` and ``-dbg`` packages, setting
:term:`LIC_FILES_CHKSUM`, and so forth. See the
:ref:`ref-classes-packagegroup` section for

View File

@@ -240,7 +240,7 @@ Automated Image Testing
-----------------------
A new automated image testing framework has been added through the
:ref:`testimage.bbclass <ref-classes-testimage*>` class. This
:ref:`ref-classes-testimage*` classes. This
framework replaces the older ``imagetest-qemu`` framework.
You can learn more about performing automated image tests in the
@@ -341,7 +341,7 @@ Following is a list of short entries describing other changes:
- ``libpam``: Deny all services for the ``OTHER`` entries.
- ``image.bbclass``: Move ``runtime_mapping_rename`` to avoid conflict
- :ref:`ref-classes-image`: Move ``runtime_mapping_rename`` to avoid conflict
with ``multilib``. See :yocto_bugs:`YOCTO #4993 </show_bug.cgi?id=4993>`
in Bugzilla for more information.

View File

@@ -439,7 +439,7 @@ The following miscellaneous changes have occurred:
- ``packagegroup-core-tools-testapps``: Removed Piglit.
- :ref:`image.bbclass <ref-classes-image>`: Renamed COMPRESS(ION) to CONVERSION. This change
- :ref:`ref-classes-image`: Renamed COMPRESS(ION) to CONVERSION. This change
means that ``COMPRESSIONTYPES``, ``COMPRESS_DEPENDS`` and
``COMPRESS_CMD`` are deprecated in favor of ``CONVERSIONTYPES``,
``CONVERSION_DEPENDS`` and ``CONVERSION_CMD``. The ``COMPRESS*``

View File

@@ -304,8 +304,7 @@ The following package management changes took place:
This change was made because too many places in DNF/RPM4 stack
already make that assumption. Only the filenames and the architecture
tag has changed. Nothing else has changed in OE-core system,
particularly in the :ref:`allarch.bbclass <ref-classes-allarch>`
class.
particularly in the :ref:`ref-classes-allarch` class.
- Signing of remote package feeds using ``PACKAGE_FEED_SIGN`` is not
currently supported. This issue will be fully addressed in a future

View File

@@ -22,6 +22,18 @@ Recipe changes
recipes now need to use ``;protocol=https`` at the end of GitHub
URLs. The same script as above can be used to convert the recipes.
- Network access from tasks is now disabled by default on kernels which support
this feature (on most recent distros such as CentOS 8 and Debian 11 onwards).
This means that tasks accessing the network need to be marked as such with the ``network``
flag. For example::
do_mytask[network] = "1"
This is allowed by default from ``do_fetch`` but not from any of our other standard
tasks. Recipes shouldn't be accessing the network outside of ``do_fetch`` as it
usually undermines fetcher source mirroring, image and licence manifests, software
auditing and supply chain security.
- The :term:`TOPDIR` variable and the current working directory are no longer modified
when parsing recipes. Any code depending on that behaviour will no longer work.
@@ -40,5 +52,5 @@ Recipe changes
and :ref:`bitbake:bitbake-user-manual/bitbake-user-manual-metadata:removal (override style syntax)`.
- :ref:`allarch <ref-classes-allarch>` packagegroups can no longer depend on packages
which use :term:`PKG` renaming such as :ref:`debian.bbclass <ref-classes-debian>`.
which use :term:`PKG` renaming such as :ref:`ref-classes-debian`.

View File

@@ -1904,7 +1904,7 @@ Behind the scenes, the shared state code works by looking in
shared state files. Here is an example::
SSTATE_MIRRORS ?= "\
file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
file://.* file:///some/local/dir/sstate/PATH"
.. note::

View File

@@ -274,10 +274,15 @@ sstate re-use. In order to function, this class requires the
The ``ccache`` class enables the C/C++ Compiler Cache for the build.
This class is used to give a minor performance boost during the build.
However, using the class can lead to unexpected side-effects. Thus, it
is recommended that you do not use this class. See
https://ccache.samba.org/ for information on the C/C++ Compiler
Cache.
See https://ccache.samba.org/ for information on the C/C++ Compiler
Cache, and the :oe_git:`ccache.bbclass </openembedded-core/tree/meta/classes/ccache.bbclass>`
file for details about how to enable this mechanism in your configuration
file, how to disable it for specific recipes, and how to share ``ccache``
files between builds.
However, using the class can lead to unexpected side-effects. Thus, using
this class is not recommended.
.. _ref-classes-chrpath:

View File

@@ -117,17 +117,17 @@ consists of the following pieces:
- ``bitbake-selftest``: A standalone command that runs unit tests on
key pieces of BitBake and its fetchers.
- :ref:`sanity.bbclass <ref-classes-sanity>`: This automatically
- :ref:`ref-classes-sanity`: This automatically
included class checks the build environment for missing tools (e.g.
``gcc``) or common misconfigurations such as
:term:`MACHINE` set incorrectly.
- :ref:`insane.bbclass <ref-classes-insane>`: This class checks the
- :ref:`ref-classes-insane`: This class checks the
generated output from builds for sanity. For example, if building for
an ARM target, did the build produce ARM binaries. If, for example,
the build produced PPC binaries then there is a problem.
- :ref:`testimage.bbclass <ref-classes-testimage*>`: This class
- :ref:`ref-classes-testimage*`: This class
performs runtime testing of images after they are built. The tests
are usually used with :doc:`QEMU </dev-manual/qemu>`
to boot the images and check the combined runtime result boot

View File

@@ -667,16 +667,17 @@ Yocto Project. Metadata has several important subdivisions:
This directory contains the ``*.bbclass`` files. Class files are used to
abstract common code so it can be reused by multiple packages. Every
package inherits the ``base.bbclass`` file. Examples of other important
classes are ``autotools.bbclass``, which in theory allows any
package inherits the :ref:`ref-classes-base` file. Examples of other important
classes are :ref:`ref-classes-autotools`, which in theory allows any
Autotool-enabled package to work with the Yocto Project with minimal
effort. Another example is ``kernel.bbclass`` that contains common code
effort. Another example is :ref:`ref-classes-kernel` that contains common code
and functions for working with the Linux kernel. Functions like image
generation or packaging also have their specific class files such as
``image.bbclass``, ``rootfs_*.bbclass`` and ``package*.bbclass``.
:ref:`ref-classes-image`, :ref:`ref-classes-rootfs*` and
:ref:`package*.bbclass <ref-classes-package>`.
For reference information on classes, see the
":ref:`ref-manual/classes:Classes`" chapter.
":doc:`/ref-manual/classes`" chapter.
.. _structure-meta-conf:

View File

@@ -971,7 +971,7 @@ system and gives an overview of their function and contents.
When inheriting the :ref:`buildhistory <ref-classes-buildhistory>`
class, this variable specifies the directory in which build history
information is kept. For more information on how the variable works,
see the ``buildhistory.bbclass`` file.
see the :ref:`ref-classes-buildhistory` class.
By default, the :ref:`buildhistory <ref-classes-buildhistory>` class sets the directory as follows::
@@ -2162,8 +2162,7 @@ system and gives an overview of their function and contents.
:term:`S` variable, which is what the OpenEmbedded build
system uses to locate unpacked recipe source code.
For more information on ``externalsrc.bbclass``, see the
":ref:`ref-classes-externalsrc`" section. You
See the ":ref:`ref-classes-externalsrc`" section for details. You
can also find information on how to use this variable in the
":ref:`dev-manual/common-tasks:building software from an external source`"
section in the Yocto Project Development Tasks Manual.
@@ -2176,8 +2175,7 @@ system and gives an overview of their function and contents.
which is what the OpenEmbedded build system uses to locate the Build
Directory.
For more information on ``externalsrc.bbclass``, see the
":ref:`ref-classes-externalsrc`" section. You
See the ":ref:`ref-classes-externalsrc`" section for details. You
can also find information on how to use this variable in the
":ref:`dev-manual/common-tasks:building software from an external source`"
section in the Yocto Project Development Tasks Manual.
@@ -2501,7 +2499,7 @@ system and gives an overview of their function and contents.
:term:`SRC_URI` statements.
The default value for the :term:`FILESPATH` variable is defined in the
``base.bbclass`` class found in ``meta/classes`` in the
:ref:`ref-classes-base` class found in ``meta/classes`` in the
:term:`Source Directory`::
FILESPATH = "${@base_set_filespath(["${FILE_DIRNAME}/${BP}", \
@@ -3085,7 +3083,7 @@ system and gives an overview of their function and contents.
:term:`IMAGE_INSTALL` variable with care to avoid ordering issues.
Image recipes set :term:`IMAGE_INSTALL` to specify the packages to
install into an image through ``image.bbclass``. Additionally,
install into an image through :ref:`ref-classes-image`. Additionally,
there are "helper" classes such as the
:ref:`core-image <ref-classes-core-image>` class which can
take lists used with :term:`IMAGE_FEATURES` and turn them into
@@ -3118,7 +3116,7 @@ system and gives an overview of their function and contents.
BitBake operator within the ``/conf/local.conf`` file or from
within an image recipe is not recommended. Use of this operator
in these ways can cause ordering issues. Since
``core-image.bbclass`` sets :term:`IMAGE_INSTALL` to a default
:ref:`ref-classes-core-image` sets :term:`IMAGE_INSTALL` to a default
value using the
:ref:`?= <bitbake:bitbake-user-manual/bitbake-user-manual-metadata:setting a default value (?=)>`
operator, using a ``+=`` operation against :term:`IMAGE_INSTALL`
@@ -3708,7 +3706,7 @@ system and gives an overview of their function and contents.
The filename of the initialization script as installed to
``${sysconfdir}/init.d``.
This variable is used in recipes when using ``update-rc.d.bbclass``.
This variable is used in recipes when using :ref:`ref-classes-update-rc.d`.
The variable is mandatory.
:term:`INITSCRIPT_PACKAGES`
@@ -3716,7 +3714,7 @@ system and gives an overview of their function and contents.
are specified, you need to append the package name to the other
``INITSCRIPT_*`` as an override.
This variable is used in recipes when using ``update-rc.d.bbclass``.
This variable is used in recipes when using :ref:`ref-classes-update-rc.d`.
The variable is optional and defaults to the :term:`PN`
variable.
@@ -6346,7 +6344,7 @@ system and gives an overview of their function and contents.
In the
example, the package name (``${PN}-dev``) must appear as it would in
the :term:`PACKAGES` namespace before any renaming of the output package
by classes such as ``debian.bbclass``.
by classes such as :ref:`ref-classes-debian`.
BitBake, which the OpenEmbedded build system uses, supports
specifying versioned recommends. Although the syntax varies depending
@@ -7198,7 +7196,7 @@ system and gives an overview of their function and contents.
following maps the local search path ``universal-4.9`` to the
server-provided path server_url_sstate_path::
SSTATE_MIRRORS ?= "file://universal-4.9/(.*) http://server_url_sstate_path/universal-4.8/\1 \n"
SSTATE_MIRRORS ?= "file://universal-4.9/(.*) https://server_url_sstate_path/universal-4.8/\1 \n"
If a mirror uses the same structure as
:term:`SSTATE_DIR`, you need to add "PATH" at the
@@ -7207,7 +7205,7 @@ system and gives an overview of their function and contents.
::
SSTATE_MIRRORS ?= "\
file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
file://.* file:///some-local-dir/sstate/PATH"
:term:`SSTATE_SCAN_FILES`

View File

@@ -264,7 +264,7 @@ source, you need to do a number of things:
to find the configuration. The variable you need to set is
:term:`SSTATE_MIRRORS`::
SSTATE_MIRRORS = "file://.* http://example.com/some_path/sstate-cache/PATH"
SSTATE_MIRRORS = "file://.* https://example.com/some_path/sstate-cache/PATH"
You can set the :term:`SSTATE_MIRRORS` variable in two different places:

View File

@@ -178,10 +178,10 @@ Tests map into the codebase as follows:
$ bitbake-selftest
To skip tests that access the Internet, use the ``BB_SKIP_NETTEST``
To skip tests that access the Internet, use the ``BB_SKIP_NETTESTS``
variable when running "bitbake-selftest" as follows::
$ BB_SKIP_NETTEST=yes bitbake-selftest
$ BB_SKIP_NETTESTS=yes bitbake-selftest
The default output is quiet and just prints a summary of what was
run. To see more information, there is a verbose option::

View File

@@ -1160,7 +1160,7 @@ CONFIG_CTTYHACK=y
#
# Options common to all shells
#
# CONFIG_FEATURE_SH_MATH is not set
CONFIG_FEATURE_SH_MATH=y
# CONFIG_FEATURE_SH_MATH_64 is not set
# CONFIG_FEATURE_SH_MATH_BASE is not set
CONFIG_FEATURE_SH_EXTRA_QUIET=y

View File

@@ -29,6 +29,11 @@ SPDX_NAMESPACE_PREFIX ??= "http://spdx.org/spdxdoc"
SPDX_LICENSES ??= "${COREBASE}/meta/files/spdx-licenses.json"
SPDX_ORG ??= "OpenEmbedded ()"
SPDX_SUPPLIER ??= "Organization: ${SPDX_ORG}"
SPDX_SUPPLIER[doc] = "The SPDX PackageSupplier field for SPDX packages created from \
this recipe. For SPDX documents create using this class during the build, this \
is the contact information for the person or organization who is doing the \
build."
do_image_complete[depends] = "virtual/kernel:do_create_spdx"
@@ -425,6 +430,7 @@ python do_create_spdx() {
recipe.name = d.getVar("PN")
recipe.versionInfo = d.getVar("PV")
recipe.SPDXID = oe.sbom.get_recipe_spdxid(d)
recipe.packageSupplier = d.getVar("SPDX_SUPPLIER")
if bb.data.inherits_class("native", d) or bb.data.inherits_class("cross", d):
recipe.annotations.append(create_annotation(d, "isNative"))
@@ -534,6 +540,7 @@ python do_create_spdx() {
spdx_package.name = pkg_name
spdx_package.versionInfo = d.getVar("PV")
spdx_package.licenseDeclared = convert_license_to_spdx(package_license, package_doc, d, found_licenses)
spdx_package.packageSupplier = d.getVar("SPDX_SUPPLIER")
package_doc.packages.append(spdx_package)
@@ -826,11 +833,10 @@ python image_combine_spdx() {
image.name = d.getVar("PN")
image.versionInfo = d.getVar("PV")
image.SPDXID = oe.sbom.get_image_spdxid(image_name)
image.packageSupplier = d.getVar("SPDX_SUPPLIER")
doc.packages.append(image)
spdx_package = oe.spdx.SPDXPackage()
packages = image_list_installed_packages(d)
for name in sorted(packages.keys()):

View File

@@ -144,6 +144,7 @@ python cve_check_write_rootfs_manifest () {
manifest_name = d.getVar("CVE_CHECK_MANIFEST")
cve_tmp_file = d.getVar("CVE_CHECK_TMP_FILE")
bb.utils.mkdirhier(os.path.dirname(manifest_name))
shutil.copyfile(cve_tmp_file, manifest_name)
if manifest_name and os.path.exists(manifest_name):

View File

@@ -29,7 +29,7 @@ EXTRA_OEMESON:prepend:class-nativesdk = "${@['', '${GIRMESONBUILD}'][d.getVar('G
# Generating introspection data depends on a combination of native and target
# introspection tools, and qemu to run the target tools.
DEPENDS:append:class-target = " gobject-introspection gobject-introspection-native qemu-native prelink-native"
DEPENDS:append:class-target = " gobject-introspection gobject-introspection-native qemu-native"
# Even though introspection is disabled on -native, gobject-introspection package is still
# needed for m4 macros.

View File

@@ -309,7 +309,7 @@ wait_for_file() {
local TIMEOUT=$2
until [ -f "$FILE_TO_TEST" ]
do
TIME_ELAPSED=`expr $TIME_ELAPSED + 1`
TIME_ELAPSED=$(expr $TIME_ELAPSED + 1)
if [ $TIME_ELAPSED -gt $TIMEOUT ]
then
return 1
@@ -362,8 +362,8 @@ set_icecc_env() {
return
fi
ICE_VERSION=`$ICECC_CC -dumpversion`
ICECC_VERSION=`echo ${ICECC_VERSION} | sed -e "s/@VERSION@/$ICE_VERSION/g"`
ICE_VERSION="$($ICECC_CC -dumpversion)"
ICECC_VERSION=$(echo ${ICECC_VERSION} | sed -e "s/@VERSION@/$ICE_VERSION/g")
if [ ! -x "${ICECC_ENV_EXEC}" ]
then
bbwarn "Cannot use icecc: invalid ICECC_ENV_EXEC"
@@ -390,18 +390,18 @@ set_icecc_env() {
chmod 775 $ICE_PATH/$compiler
done
ICECC_AS="`${ICECC_CC} -print-prog-name=as`"
ICECC_AS="$(${ICECC_CC} -print-prog-name=as)"
# for target recipes should return something like:
# /OE/tmp-eglibc/sysroots/x86_64-linux/usr/libexec/arm920tt-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.8.2/as
# and just "as" for native, if it returns "as" in current directory (for whatever reason) use "as" from PATH
if [ "`dirname "${ICECC_AS}"`" = "." ]
if [ "$(dirname "${ICECC_AS}")" = "." ]
then
ICECC_AS="${ICECC_WHICH_AS}"
fi
if [ ! -f "${ICECC_VERSION}.done" ]
then
mkdir -p "`dirname "${ICECC_VERSION}"`"
mkdir -p "$(dirname "${ICECC_VERSION}")"
# the ICECC_VERSION generation step must be locked by a mutex
# in order to prevent race conditions

View File

@@ -1,76 +0,0 @@
do_rootfs[depends] += "prelink-native:do_populate_sysroot"
IMAGE_PREPROCESS_COMMAND:append:libc-glibc = " prelink_setup; prelink_image; "
python prelink_setup () {
oe.utils.write_ld_so_conf(d)
}
inherit linuxloader
prelink_image () {
# export PSEUDO_DEBUG=4
# /bin/env | /bin/grep PSEUDO
# echo "LD_LIBRARY_PATH=$LD_LIBRARY_PATH"
# echo "LD_PRELOAD=$LD_PRELOAD"
pre_prelink_size=`du -ks ${IMAGE_ROOTFS} | awk '{size = $1 ; print size }'`
echo "Size before prelinking $pre_prelink_size."
# The filesystem may not contain sysconfdir so establish what is present
# to enable cleanup after temporary creation of sysconfdir if needed
presentdir="${IMAGE_ROOTFS}${sysconfdir}"
while [ "${IMAGE_ROOTFS}" != "${presentdir}" ] ; do
[ ! -d "${presentdir}" ] || break
presentdir=`dirname "${presentdir}"`
done
mkdir -p "${IMAGE_ROOTFS}${sysconfdir}"
# We need a prelink conf on the filesystem, add one if it's missing
if [ ! -e ${IMAGE_ROOTFS}${sysconfdir}/prelink.conf ]; then
cp ${STAGING_ETCDIR_NATIVE}/prelink.conf \
${IMAGE_ROOTFS}${sysconfdir}/prelink.conf
dummy_prelink_conf=true;
else
dummy_prelink_conf=false;
fi
# We need a ld.so.conf with pathnames in,prelink conf on the filesystem, add one if it's missing
ldsoconf=${IMAGE_ROOTFS}${sysconfdir}/ld.so.conf
if [ -e $ldsoconf ]; then
cp $ldsoconf $ldsoconf.prelink
fi
cat ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf >> $ldsoconf
dynamic_loader=${@get_linuxloader(d)}
# prelink!
if [ "$REPRODUCIBLE_TIMESTAMP_ROOTFS" = "" ]; then
export PRELINK_TIMESTAMP=`git log -1 --pretty=%ct `
else
export PRELINK_TIMESTAMP=$REPRODUCIBLE_TIMESTAMP_ROOTFS
fi
${STAGING_SBINDIR_NATIVE}/prelink --root ${IMAGE_ROOTFS} -am -N -c ${sysconfdir}/prelink.conf --dynamic-linker $dynamic_loader
# Remove the prelink.conf if we had to add it.
if [ "$dummy_prelink_conf" = "true" ]; then
rm -f ${IMAGE_ROOTFS}${sysconfdir}/prelink.conf
fi
if [ -e $ldsoconf.prelink ]; then
mv $ldsoconf.prelink $ldsoconf
else
rm $ldsoconf
fi
# Remove any directories temporarily created for sysconfdir
cleanupdir="${IMAGE_ROOTFS}${sysconfdir}"
while [ "${presentdir}" != "${cleanupdir}" ] ; do
rmdir "${cleanupdir}"
cleanupdir=`dirname ${cleanupdir}`
done
pre_prelink_size=`du -ks ${IMAGE_ROOTFS} | awk '{size = $1 ; print size }'`
echo "Size after prelinking $pre_prelink_size."
}

View File

@@ -684,6 +684,10 @@ def package_qa_recipe(warnfuncs, errorfuncs, pn, d):
return len(errors) == 0
def prepopulate_objdump_p(elf, d):
output = elf.run_objdump("-p", d)
return (elf.name, output)
# Walk over all files in a directory and call func
def package_qa_walk(warnfuncs, errorfuncs, package, d):
#if this will throw an exception, then fix the dict above
@@ -692,18 +696,32 @@ def package_qa_walk(warnfuncs, errorfuncs, package, d):
warnings = {}
errors = {}
elves = {}
for path in pkgfiles[package]:
elf = None
if os.path.isfile(path):
elf = oe.qa.ELFFile(path)
try:
elf.open()
elf.close()
except oe.qa.NotELFFileError:
elf = None
if elf:
elves[path] = elf
results = oe.utils.multiprocess_launch(prepopulate_objdump_p, elves.values(), d, extraargs=(d,))
for item in results:
elves[item[0]].set_objdump("-p", item[1])
for path in pkgfiles[package]:
if path in elves:
elves[path].open()
for func in warnfuncs:
func(path, package, d, elf, warnings)
func(path, package, d, elves.get(path), warnings)
for func in errorfuncs:
func(path, package, d, elf, errors)
func(path, package, d, elves.get(path), errors)
if path in elves:
elves[path].close()
for w in warnings:
oe.qa.handle_error(w, warnings[w], d)

View File

@@ -30,6 +30,8 @@ INITRAMFS_IMAGE ?= ""
INITRAMFS_IMAGE_NAME ?= "${@['${INITRAMFS_IMAGE}-${MACHINE}', ''][d.getVar('INITRAMFS_IMAGE') == '']}"
INITRAMFS_TASK ?= ""
INITRAMFS_IMAGE_BUNDLE ?= ""
INITRAMFS_DEPLOY_DIR_IMAGE ?= "${DEPLOY_DIR_IMAGE}"
INITRAMFS_MULTICONFIG ?= ""
# KERNEL_VERSION is extracted from source code. It is evaluated as
# None for the first parsing, since the code has not been fetched.
@@ -133,7 +135,10 @@ set -e
# the do_bundle_initramfs does nothing, but the INITRAMFS_IMAGE is built
# standalone for use by wic and other tools.
if image:
d.appendVarFlag('do_bundle_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
if d.getVar('INITRAMFS_MULTICONFIG'):
d.appendVarFlag('do_bundle_initramfs', 'mcdepends', ' mc::${INITRAMFS_MULTICONFIG}:${INITRAMFS_IMAGE}:do_image_complete')
else:
d.appendVarFlag('do_bundle_initramfs', 'depends', ' ${INITRAMFS_IMAGE}:do_image_complete')
if image and bb.utils.to_boolean(d.getVar('INITRAMFS_IMAGE_BUNDLE')):
bb.build.addtask('do_transform_bundled_initramfs', 'do_deploy', 'do_bundle_initramfs', d)
@@ -240,8 +245,8 @@ copy_initramfs() {
# Find and use the first initramfs image archive type we find
rm -f ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio
for img in cpio cpio.gz cpio.lz4 cpio.lzo cpio.lzma cpio.xz cpio.zst; do
if [ -e "${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.$img" ]; then
cp ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.$img ${B}/usr/.
if [ -e "${INITRAMFS_DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.$img" ]; then
cp ${INITRAMFS_DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.$img ${B}/usr/.
case $img in
*gz)
echo "gzip decompressing image"
@@ -278,7 +283,7 @@ copy_initramfs() {
fi
done
# Verify that the above loop found a initramfs, fail otherwise
[ -f ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio ] && echo "Finished copy of initramfs into ./usr" || die "Could not find any ${DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio{.gz|.lz4|.lzo|.lzma|.xz|.zst) for bundling; INITRAMFS_IMAGE_NAME might be wrong."
[ -f ${B}/usr/${INITRAMFS_IMAGE_NAME}.cpio ] && echo "Finished copy of initramfs into ./usr" || die "Could not find any ${INITRAMFS_DEPLOY_DIR_IMAGE}/${INITRAMFS_IMAGE_NAME}.cpio{.gz|.lz4|.lzo|.lzma|.xz|.zst) for bundling; INITRAMFS_IMAGE_NAME might be wrong."
}
do_bundle_initramfs () {

View File

@@ -367,7 +367,7 @@ def source_info(file, d, fatal=True):
return list(debugsources)
def splitdebuginfo(file, dvar, debugdir, debuglibdir, debugappend, debugsrcdir, d):
def splitdebuginfo(file, dvar, dv, d):
# Function to split a single file into two components, one is the stripped
# target system binary, the other contains any debugging information. The
# two files are linked to reference each other.
@@ -378,7 +378,7 @@ def splitdebuginfo(file, dvar, debugdir, debuglibdir, debugappend, debugsrcdir,
import subprocess
src = file[len(dvar):]
dest = debuglibdir + os.path.dirname(src) + debugdir + "/" + os.path.basename(src) + debugappend
dest = dv["libdir"] + os.path.dirname(src) + dv["dir"] + "/" + os.path.basename(src) + dv["append"]
debugfile = dvar + dest
sources = []
@@ -397,7 +397,7 @@ def splitdebuginfo(file, dvar, debugdir, debuglibdir, debugappend, debugsrcdir,
os.chmod(file, newmode)
# We need to extract the debug src information here...
if debugsrcdir:
if dv["srcdir"]:
sources = source_info(file, d)
bb.utils.mkdirhier(os.path.dirname(debugfile))
@@ -412,7 +412,7 @@ def splitdebuginfo(file, dvar, debugdir, debuglibdir, debugappend, debugsrcdir,
return (file, sources)
def splitstaticdebuginfo(file, dvar, debugstaticdir, debugstaticlibdir, debugstaticappend, debugsrcdir, d):
def splitstaticdebuginfo(file, dvar, dv, d):
# Unlike the function above, there is no way to split a static library
# two components. So to get similar results we will copy the unmodified
# static library (containing the debug symbols) into a new directory.
@@ -425,7 +425,7 @@ def splitstaticdebuginfo(file, dvar, debugstaticdir, debugstaticlibdir, debugsta
import shutil
src = file[len(dvar):]
dest = debugstaticlibdir + os.path.dirname(src) + debugstaticdir + "/" + os.path.basename(src) + debugstaticappend
dest = dv["staticlibdir"] + os.path.dirname(src) + dv["staticdir"] + "/" + os.path.basename(src) + dv["staticappend"]
debugfile = dvar + dest
sources = []
@@ -442,7 +442,7 @@ def splitstaticdebuginfo(file, dvar, debugstaticdir, debugstaticlibdir, debugsta
os.chmod(file, newmode)
# We need to extract the debug src information here...
if debugsrcdir:
if dv["srcdir"]:
sources = source_info(file, d)
bb.utils.mkdirhier(os.path.dirname(debugfile))
@@ -455,7 +455,7 @@ def splitstaticdebuginfo(file, dvar, debugstaticdir, debugstaticlibdir, debugsta
return (file, sources)
def inject_minidebuginfo(file, dvar, debugdir, debuglibdir, debugappend, debugsrcdir, d):
def inject_minidebuginfo(file, dvar, dv, d):
# Extract just the symbols from debuginfo into minidebuginfo,
# compress it with xz and inject it back into the binary in a .gnu_debugdata section.
# https://sourceware.org/gdb/onlinedocs/gdb/MiniDebugInfo.html
@@ -469,7 +469,7 @@ def inject_minidebuginfo(file, dvar, debugdir, debuglibdir, debugappend, debugsr
minidebuginfodir = d.expand('${WORKDIR}/minidebuginfo')
src = file[len(dvar):]
dest = debuglibdir + os.path.dirname(src) + debugdir + "/" + os.path.basename(src) + debugappend
dest = dv["libdir"] + os.path.dirname(src) + dv["dir"] + "/" + os.path.basename(src) + dv["append"]
debugfile = dvar + dest
minidebugfile = minidebuginfodir + src + '.minidebug'
bb.utils.mkdirhier(os.path.dirname(minidebugfile))
@@ -1065,6 +1065,54 @@ python fixup_perms () {
fix_perms(each_file, fs_perms_table[dir].fmode, fs_perms_table[dir].fuid, fs_perms_table[dir].fgid, dir)
}
def package_debug_vars(d):
# We default to '.debug' style
if d.getVar('PACKAGE_DEBUG_SPLIT_STYLE') == 'debug-file-directory':
# Single debug-file-directory style debug info
debug_vars = {
"append": ".debug",
"staticappend": "",
"dir": "",
"staticdir": "",
"libdir": "/usr/lib/debug",
"staticlibdir": "/usr/lib/debug-static",
"srcdir": "/usr/src/debug",
}
elif d.getVar('PACKAGE_DEBUG_SPLIT_STYLE') == 'debug-without-src':
# Original OE-core, a.k.a. ".debug", style debug info, but without sources in /usr/src/debug
debug_vars = {
"append": "",
"staticappend": "",
"dir": "/.debug",
"staticdir": "/.debug-static",
"libdir": "",
"staticlibdir": "",
"srcdir": "",
}
elif d.getVar('PACKAGE_DEBUG_SPLIT_STYLE') == 'debug-with-srcpkg':
debug_vars = {
"append": "",
"staticappend": "",
"dir": "/.debug",
"staticdir": "/.debug-static",
"libdir": "",
"staticlibdir": "",
"srcdir": "/usr/src/debug",
}
else:
# Original OE-core, a.k.a. ".debug", style debug info
debug_vars = {
"append": "",
"staticappend": "",
"dir": "/.debug",
"staticdir": "/.debug-static",
"libdir": "",
"staticlibdir": "",
"srcdir": "/usr/src/debug",
}
return debug_vars
python split_and_strip_files () {
import stat, errno
import subprocess
@@ -1076,42 +1124,7 @@ python split_and_strip_files () {
oldcwd = os.getcwd()
os.chdir(dvar)
# We default to '.debug' style
if d.getVar('PACKAGE_DEBUG_SPLIT_STYLE') == 'debug-file-directory':
# Single debug-file-directory style debug info
debugappend = ".debug"
debugstaticappend = ""
debugdir = ""
debugstaticdir = ""
debuglibdir = "/usr/lib/debug"
debugstaticlibdir = "/usr/lib/debug-static"
debugsrcdir = "/usr/src/debug"
elif d.getVar('PACKAGE_DEBUG_SPLIT_STYLE') == 'debug-without-src':
# Original OE-core, a.k.a. ".debug", style debug info, but without sources in /usr/src/debug
debugappend = ""
debugstaticappend = ""
debugdir = "/.debug"
debugstaticdir = "/.debug-static"
debuglibdir = ""
debugstaticlibdir = ""
debugsrcdir = ""
elif d.getVar('PACKAGE_DEBUG_SPLIT_STYLE') == 'debug-with-srcpkg':
debugappend = ""
debugstaticappend = ""
debugdir = "/.debug"
debugstaticdir = "/.debug-static"
debuglibdir = ""
debugstaticlibdir = ""
debugsrcdir = "/usr/src/debug"
else:
# Original OE-core, a.k.a. ".debug", style debug info
debugappend = ""
debugstaticappend = ""
debugdir = "/.debug"
debugstaticdir = "/.debug-static"
debuglibdir = ""
debugstaticlibdir = ""
debugsrcdir = "/usr/src/debug"
dv = package_debug_vars(d)
#
# First lets figure out all of the files we may have to process ... do this only once!
@@ -1132,9 +1145,9 @@ python split_and_strip_files () {
file = os.path.join(root, f)
# Skip debug files
if debugappend and file.endswith(debugappend):
if dv["append"] and file.endswith(dv["append"]):
continue
if debugdir and debugdir in os.path.dirname(file[len(dvar):]):
if dv["dir"] and dv["dir"] in os.path.dirname(file[len(dvar):]):
continue
if file in skipfiles:
@@ -1231,11 +1244,11 @@ python split_and_strip_files () {
# First lets process debug splitting
#
if (d.getVar('INHIBIT_PACKAGE_DEBUG_SPLIT') != '1'):
results = oe.utils.multiprocess_launch(splitdebuginfo, list(elffiles), d, extraargs=(dvar, debugdir, debuglibdir, debugappend, debugsrcdir, d))
results = oe.utils.multiprocess_launch(splitdebuginfo, list(elffiles), d, extraargs=(dvar, dv, d))
if debugsrcdir and not hostos.startswith("mingw"):
if dv["srcdir"] and not hostos.startswith("mingw"):
if (d.getVar('PACKAGE_DEBUG_STATIC_SPLIT') == '1'):
results = oe.utils.multiprocess_launch(splitstaticdebuginfo, staticlibs, d, extraargs=(dvar, debugstaticdir, debugstaticlibdir, debugstaticappend, debugsrcdir, d))
results = oe.utils.multiprocess_launch(splitstaticdebuginfo, staticlibs, d, extraargs=(dvar, dv, d))
else:
for file in staticlibs:
results.append( (file,source_info(file, d)) )
@@ -1254,9 +1267,9 @@ python split_and_strip_files () {
target = inodes[ref][0][len(dvar):]
for file in inodes[ref][1:]:
src = file[len(dvar):]
dest = debuglibdir + os.path.dirname(src) + debugdir + "/" + os.path.basename(target) + debugappend
dest = dv["libdir"] + os.path.dirname(src) + dv["dir"] + "/" + os.path.basename(target) + dv["append"]
fpath = dvar + dest
ftarget = dvar + debuglibdir + os.path.dirname(target) + debugdir + "/" + os.path.basename(target) + debugappend
ftarget = dvar + dv["libdir"] + os.path.dirname(target) + dv["dir"] + "/" + os.path.basename(target) + dv["append"]
bb.utils.mkdirhier(os.path.dirname(fpath))
# Only one hardlink of separated debug info file in each directory
if not os.access(fpath, os.R_OK):
@@ -1266,7 +1279,7 @@ python split_and_strip_files () {
# Create symlinks for all cases we were able to split symbols
for file in symlinks:
src = file[len(dvar):]
dest = debuglibdir + os.path.dirname(src) + debugdir + "/" + os.path.basename(src) + debugappend
dest = dv["libdir"] + os.path.dirname(src) + dv["dir"] + "/" + os.path.basename(src) + dv["append"]
fpath = dvar + dest
# Skip it if the target doesn't exist
try:
@@ -1282,17 +1295,17 @@ python split_and_strip_files () {
lbase = os.path.basename(ltarget)
ftarget = ""
if lpath and lpath != ".":
ftarget += lpath + debugdir + "/"
ftarget += lbase + debugappend
ftarget += lpath + dv["dir"] + "/"
ftarget += lbase + dv["append"]
if lpath.startswith(".."):
ftarget = os.path.join("..", ftarget)
bb.utils.mkdirhier(os.path.dirname(fpath))
#bb.note("Symlink %s -> %s" % (fpath, ftarget))
os.symlink(ftarget, fpath)
# Process the debugsrcdir if requested...
# Process the dv["srcdir"] if requested...
# This copies and places the referenced sources for later debugging...
copydebugsources(debugsrcdir, sources, d)
copydebugsources(dv["srcdir"], sources, d)
#
# End of debug splitting
#
@@ -1316,7 +1329,7 @@ python split_and_strip_files () {
# Build "minidebuginfo" and reinject it back into the stripped binaries
if d.getVar('PACKAGE_MINIDEBUGINFO') == '1':
oe.utils.multiprocess_launch(inject_minidebuginfo, list(elffiles), d,
extraargs=(dvar, debugdir, debuglibdir, debugappend, debugsrcdir, d))
extraargs=(dvar, dv, d))
#
# End of strip

View File

@@ -109,7 +109,7 @@ def qemuboot_vars(d):
build_vars = ['MACHINE', 'TUNE_ARCH', 'DEPLOY_DIR_IMAGE',
'KERNEL_IMAGETYPE', 'IMAGE_NAME', 'IMAGE_LINK_NAME',
'STAGING_DIR_NATIVE', 'STAGING_BINDIR_NATIVE',
'STAGING_DIR_HOST', 'SERIAL_CONSOLES']
'STAGING_DIR_HOST', 'SERIAL_CONSOLES', 'UNINATIVE_LOADER']
return build_vars + [k for k in d.keys() if k.startswith('QB_')]
do_write_qemuboot_conf[vardeps] += "${@' '.join(qemuboot_vars(d))}"

View File

@@ -1,4 +1,4 @@
SSTATE_VERSION = "7"
SSTATE_VERSION = "8"
SSTATE_ZSTD_CLEVEL ??= "8"
@@ -94,7 +94,7 @@ SSTATE_ARCHS[vardepsexclude] = "ORIGNATIVELSBSTRING"
SSTATE_MANMACH ?= "${SSTATE_PKGARCH}"
SSTATECREATEFUNCS = "sstate_hardcode_path"
SSTATECREATEFUNCS += "sstate_hardcode_path"
SSTATECREATEFUNCS[vardeps] = "SSTATE_SCAN_FILES"
SSTATEPOSTCREATEFUNCS = ""
SSTATEPREINSTFUNCS = ""
@@ -862,14 +862,18 @@ sstate_create_package () {
fi
chmod 0664 $TFILE
# Skip if it was already created by some other process
if [ ! -e ${SSTATE_PKG} ]; then
if [ -h ${SSTATE_PKG} ] && [ ! -e ${SSTATE_PKG} ]; then
# There is a symbolic link, but it links to nothing.
# Forcefully replace it with the new file.
ln -f $TFILE ${SSTATE_PKG} || true
elif [ ! -e ${SSTATE_PKG} ]; then
# Move into place using ln to attempt an atomic op.
# Abort if it already exists
ln $TFILE ${SSTATE_PKG} && rm $TFILE
ln $TFILE ${SSTATE_PKG} || true
else
rm $TFILE
touch ${SSTATE_PKG} 2>/dev/null || true
fi
touch ${SSTATE_PKG} 2>/dev/null || true
rm $TFILE
}
python sstate_sign_package () {
@@ -905,7 +909,7 @@ sstate_unpack_package () {
tar -I "$ZSTD" -xvpf ${SSTATE_PKG}
# update .siginfo atime on local/NFS mirror if it is a symbolic link
[ ! -h ${SSTATE_PKG}.siginfo ] || touch -a ${SSTATE_PKG}.siginfo 2>/dev/null || true
[ ! -h ${SSTATE_PKG}.siginfo ] || [ ! -e ${SSTATE_PKG}.siginfo ] || touch -a ${SSTATE_PKG}.siginfo 2>/dev/null || true
# update each symbolic link instead of any referenced file
touch --no-dereference ${SSTATE_PKG} 2>/dev/null || true
[ ! -e ${SSTATE_PKG}.sig ] || touch --no-dereference ${SSTATE_PKG}.sig 2>/dev/null || true
@@ -988,6 +992,8 @@ def sstate_checkhashes(sq_data, d, siginfo=False, currentcount=0, summary=True,
localdata.setVar('SRC_URI', srcuri)
bb.debug(2, "SState: Attempting to fetch %s" % srcuri)
import traceback
try:
fetcher = bb.fetch2.Fetch(srcuri.split(), localdata2,
connection_cache=thread_worker.connection_cache)
@@ -996,9 +1002,9 @@ def sstate_checkhashes(sq_data, d, siginfo=False, currentcount=0, summary=True,
found.add(tid)
missed.remove(tid)
except bb.fetch2.FetchError as e:
bb.debug(2, "SState: Unsuccessful fetch test for %s (%s)" % (srcuri, repr(e)))
bb.debug(2, "SState: Unsuccessful fetch test for %s (%s)\n%s" % (srcuri, repr(e), traceback.format_exc()))
except Exception as e:
bb.error("SState: cannot test %s: %s" % (srcuri, repr(e)))
bb.error("SState: cannot test %s: %s\n%s" % (srcuri, repr(e), traceback.format_exc()))
if progress:
bb.event.fire(bb.event.ProcessProgress(msg, len(tasklist) - thread_worker.tasks.qsize()), d)

View File

@@ -624,3 +624,36 @@ python staging_taskhandler() {
}
staging_taskhandler[eventmask] = "bb.event.RecipeTaskPreProcess"
addhandler staging_taskhandler
#
# Target build output, stored in do_populate_sysroot or do_package can depend
# not only upon direct dependencies but also indirect ones. A good example is
# linux-libc-headers. The toolchain depends on this but most target recipes do
# not. There are some headers which are not used by the toolchain build and do
# not change the toolchain task output, hence the task hashes can change without
# changing the sysroot output of that recipe yet they can influence others.
#
# A specific example is rtc.h which can change rtcwake.c in util-linux but is not
# used in the glibc or gcc build. To account for this, we need to account for the
# populate_sysroot hashes in the task output hashes.
#
python target_add_sysroot_deps () {
current_task = "do_" + d.getVar("BB_CURRENTTASK")
if current_task not in ["do_populate_sysroot", "do_package"]:
return
pn = d.getVar("PN")
if pn.endswith("-native"):
return
taskdepdata = d.getVar("BB_TASKDEPDATA", False)
deps = {}
for dep in taskdepdata.values():
if dep[1] == "do_populate_sysroot" and not dep[0].endswith(("-native", "-initial")) and "-cross-" not in dep[0]:
deps[dep[0]] = dep[6]
d.setVar("HASHEQUIV_EXTRA_SIGDATA", "\n".join("%s: %s" % (k, deps[k]) for k in sorted(deps.keys())))
}
SSTATECREATEFUNCS += "target_add_sysroot_deps"

View File

@@ -8,7 +8,7 @@ TARGET_CC_ARCH:append:libc-musl = " -mmusl"
# default debug prefix map isn't valid in the SDK
DEBUG_PREFIX_MAP = ""
EXPORT_SDK_PS1 = "${@ 'export PS1=\'%s\'' % d.getVar('SDK_PS1') if d.getVar('SDK_PS1') else ''}"
EXPORT_SDK_PS1 = "${@ 'export PS1=\\"%s\\"' % d.getVar('SDK_PS1') if d.getVar('SDK_PS1') else ''}"
# This function creates an environment-setup-script for use in a deployable SDK
toolchain_create_sdk_env_script () {

View File

@@ -12,4 +12,4 @@ OELAYOUT_ABI = "14"
# a reset of the equivalence, for example when reproducibility issues break the
# existing match data. Distros can also append to this value for the same effect.
#
HASHEQUIV_HASH_VERSION = "11"
HASHEQUIV_HASH_VERSION = "12"

View File

@@ -577,7 +577,6 @@ RECIPE_MAINTAINER:pn-popt = "Yi Zhao <yi.zhao@windriver.com>"
RECIPE_MAINTAINER:pn-powertop = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER:pn-ppp = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER:pn-ppp-dialin = "Hongxu Jia <hongxu.jia@windriver.com>"
RECIPE_MAINTAINER:pn-prelink = "Mark Hatle <mark.hatle@kernel.crashing.org>"
RECIPE_MAINTAINER:pn-procps = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER:pn-pseudo = "Richard Purdie <richard.purdie@linuxfoundation.org>"
RECIPE_MAINTAINER:pn-psmisc = "Alexander Kanavin <alex.kanavin@gmail.com>"
@@ -684,6 +683,7 @@ RECIPE_MAINTAINER:pn-rxvt-unicode = "Unassigned <unassigned@yoctoproject.org>"
RECIPE_MAINTAINER:pn-sato-screenshot = "Ross Burton <ross.burton@arm.com>"
RECIPE_MAINTAINER:pn-sbc = "Unassigned <unassigned@yoctoproject.org>"
RECIPE_MAINTAINER:pn-screen = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER:pn-seatd = "Alexander Kanavin <alex.kanavin@gmail.com>"
RECIPE_MAINTAINER:pn-sed = "Chen Qi <Qi.Chen@windriver.com>"
RECIPE_MAINTAINER:pn-serf = "Anuj Mittal <anuj.mittal@intel.com>"
RECIPE_MAINTAINER:pn-setserial = "Yi Zhao <yi.zhao@windriver.com>"

View File

@@ -16,7 +16,7 @@ PREFERRED_PROVIDER_virtual/libc-locale ?= "glibc-locale"
CXXFLAGS += "-fvisibility-inlines-hidden"
LIBC_DEPENDENCIES = "libsegfault \
LIBC_DEPENDENCIES = "\
glibc \
glibc-dbg \
glibc-dev \

View File

@@ -20,13 +20,13 @@ GCCVERSION ?= "11.%"
SDKGCCVERSION ?= "${GCCVERSION}"
BINUVERSION ?= "2.37%"
GDBVERSION ?= "11.%"
GLIBCVERSION ?= "2.34"
LINUXLIBCVERSION ?= "5.15%"
GLIBCVERSION ?= "2.35"
LINUXLIBCVERSION ?= "5.16%"
QEMUVERSION ?= "6.2%"
GOVERSION ?= "1.17%"
# This can not use wildcards like 8.0.% since it is also used in mesa to denote
# llvm version being used, so always bump it with llvm recipe version bump
LLVMVERSION ?= "12.0.1"
LLVMVERSION ?= "13.0.1"
RUSTVERSION ?= "1.58%"
PREFERRED_VERSION_gcc ?= "${GCCVERSION}"

View File

@@ -11,7 +11,7 @@ ARMPKGARCH:tune-cortexa72 = "cortexa72"
ARMPKGARCH:tune-cortexa72-crypto = "cortexa72"
TUNE_FEATURES:tune-cortexa72 = "${TUNE_FEATURES:tune-armv8a-crc} cortexa72"
TUNE_FEATURES:tune-cortexa72-crypto = "${TUNE_FEATURES:tune-cortexa72} crypto"
PACKAGE_EXTRA_ARCHS:tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS:tune-armv8-crc} cortexa72"
PACKAGE_EXTRA_ARCHS:tune-cortexa72 = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc} cortexa72"
PACKAGE_EXTRA_ARCHS:tune-cortexa72-crypto = "${PACKAGE_EXTRA_ARCHS:tune-armv8a-crc-crypto} cortexa72 cortexa72-crypto"
BASE_LIB:tune-cortexa72 = "lib64"
BASE_LIB:tune-cortexa72-crypto = "lib64"

View File

@@ -17,8 +17,4 @@ QB_KERNEL_CMDLINE_APPEND = "console=hvc0"
#QB_OPT_APPEND += "-device qemu-xhci -device usb-tablet -device usb-kbd"
QB_OPT_APPEND = "-usb -device usb-tablet"
#prelink broken on ppc64
#USER_CLASSES:remove = "image-prelink"
#IMAGE_PREPROCESS_COMMAND:remove = "prelink_image;"
MACHINE_EXTRA_RRECOMMENDS += " kernel-modules"

View File

@@ -1,26 +0,0 @@
Copyright (c) The Regents of the University of California.
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

View File

@@ -145,51 +145,14 @@ class PkgRootfs(DpkgOpkgRootfs):
self.pm.recover_packaging_data()
bb.utils.remove(self.d.getVar('MULTILIB_TEMP_ROOTFS'), True)
def _prelink_file(self, root_dir, filename):
bb.note('prelink %s in %s' % (filename, root_dir))
prelink_cfg = oe.path.join(root_dir,
self.d.expand('${sysconfdir}/prelink.conf'))
if not os.path.exists(prelink_cfg):
shutil.copy(self.d.expand('${STAGING_DIR_NATIVE}${sysconfdir_native}/prelink.conf'),
prelink_cfg)
cmd_prelink = self.d.expand('${STAGING_DIR_NATIVE}${sbindir_native}/prelink')
self._exec_shell_cmd([cmd_prelink,
'--root',
root_dir,
'-amR',
'-N',
'-c',
self.d.expand('${sysconfdir}/prelink.conf')])
'''
Compare two files with the same key twice to see if they are equal.
If they are not equal, it means they are duplicated and come from
different packages.
1st: Comapre them directly;
2nd: While incremental image creation is enabled, one of the
files could be probaly prelinked in the previous image
creation and the file has been changed, so we need to
prelink the other one and compare them.
'''
def _file_equal(self, key, f1, f2):
# Both of them are not prelinked
if filecmp.cmp(f1, f2):
return True
if bb.data.inherits_class('image-prelink', self.d):
if self.image_rootfs not in f1:
self._prelink_file(f1.replace(key, ''), f1)
if self.image_rootfs not in f2:
self._prelink_file(f2.replace(key, ''), f2)
# Both of them are prelinked
if filecmp.cmp(f1, f2):
return True
# Not equal
return False

View File

@@ -48,6 +48,9 @@ class ELFFile:
return self
def __exit__(self, exc_type, exc_value, traceback):
self.close()
def close(self):
if self.data:
self.data.close()
@@ -128,6 +131,9 @@ class ELFFile:
"""
return self.getShort(ELFFile.E_MACHINE)
def set_objdump(self, cmd, output):
self.objdump_output[cmd] = output
def run_objdump(self, cmd, d):
import bb.process
import sys

View File

@@ -105,10 +105,13 @@ class _ListProperty(_Property):
obj._spdx[name] = []
return obj._spdx[name]
def set_helper(obj, value):
obj._spdx[name] = list(value)
def del_helper(obj):
del obj._spdx[name]
attrs[name] = property(get_helper, None, del_helper)
attrs[name] = property(get_helper, set_helper, del_helper)
def init(self, source):
return [self.prop.init(o) for o in source]

View File

@@ -537,17 +537,6 @@ class ThreadedPool:
for worker in self.workers:
worker.join()
def write_ld_so_conf(d):
# Some utils like prelink may not have the correct target library paths
# so write an ld.so.conf to help them
ldsoconf = d.expand("${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf")
if os.path.exists(ldsoconf):
bb.utils.remove(ldsoconf)
bb.utils.mkdirhier(os.path.dirname(ldsoconf))
with open(ldsoconf, "w") as f:
f.write(d.getVar("base_libdir") + '\n')
f.write(d.getVar("libdir") + '\n')
class ImageQAFailed(Exception):
def __init__(self, description, name=None, logfile=None):
self.description = description

View File

@@ -121,11 +121,16 @@ class SyslogTestConfig(OERuntimeTestCase):
self.test_syslog_restart()
cmd = 'logger foobar && grep foobar /var/log/test'
status,output = self.target.run(cmd)
msg = 'Test log string not found. Output: %s ' % output
cmd = 'logger foobar'
status, output = self.target.run(cmd)
msg = 'Logger command failed, %s. Output: %s ' % (status, output)
self.assertEqual(status, 0, msg=msg)
cmd = 'cat /var/log/test'
status, output = self.target.run(cmd)
if "foobar" not in output or status:
self.fail("'foobar' not found in logfile, status %s, contents %s" % (status, output))
cmd = "sed -i 's#LOGFILE=/var/log/test##' /etc/syslog-startup.conf"
self.target.run(cmd)
self.test_syslog_restart()

View File

@@ -14,11 +14,19 @@ class StapTest(OERuntimeTestCase):
@OEHasPackage(['gcc-symlinks'])
@OEHasPackage(['kernel-devsrc'])
def test_stap(self):
cmd = 'make -C /usr/src/kernel scripts prepare'
status, output = self.target.run(cmd, 900)
self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
try:
cmd = 'make -j -C /usr/src/kernel scripts prepare'
status, output = self.target.run(cmd, 900)
self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
cmd = 'stap -v --disable-cache -DSTP_NO_VERREL_CHECK -s1 -e \'probe oneshot { print("Hello, "); println("world!") }\''
status, output = self.target.run(cmd, 900)
self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
self.assertIn('Hello, world!', output, msg='\n'.join([cmd, output]))
cmd = 'stap -v -p4 -m stap-hello --disable-cache -DSTP_NO_VERREL_CHECK -e \'probe oneshot { print("Hello, "); println("SystemTap!") }\''
status, output = self.target.run(cmd, 900)
self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
cmd = 'staprun -v -R -b1 stap-hello.ko'
self.assertEqual(status, 0, msg='\n'.join([cmd, output]))
self.assertIn('Hello, SystemTap!', output, msg='\n'.join([cmd, output]))
except:
status, dmesg = self.target.run('dmesg')
if status == 0:
print(dmesg)

View File

@@ -10,7 +10,7 @@ import threading
import time
class WestonTest(OERuntimeTestCase):
weston_log_file = '/tmp/weston.log'
weston_log_file = '/tmp/weston-2.log'
@classmethod
def tearDownClass(cls):
@@ -31,13 +31,13 @@ class WestonTest(OERuntimeTestCase):
return output.split(" ")
def get_weston_command(self, cmd):
return 'export XDG_RUNTIME_DIR=/run/user/0; export WAYLAND_DISPLAY=wayland-0; %s' % cmd
return 'export XDG_RUNTIME_DIR=/run/user/`id -u weston`; export WAYLAND_DISPLAY=wayland-1; %s' % cmd
def run_weston_init(self):
if 'systemd' in self.tc.td['VIRTUAL-RUNTIME_init_manager']:
self.target.run('systemd-run --collect --unit=weston-ptest.service --uid=0 -p PAMName=login -p TTYPath=/dev/tty6 -E XDG_RUNTIME_DIR=/tmp -E WAYLAND_DISPLAY=wayland-0 /usr/bin/weston --socket=wayland-1 --log=%s' % self.weston_log_file)
else:
self.target.run(self.get_weston_command('openvt -- weston --socket=wayland-1 --log=%s' % self.weston_log_file))
self.target.run(self.get_weston_command('openvt -- weston --socket=wayland-2 --log=%s' % self.weston_log_file))
def get_new_wayland_processes(self, existing_wl_processes):
try_cnt = 0

View File

@@ -177,7 +177,7 @@ class SStateTests(SStateBase):
# QA checks for this test. It may report errors otherwise.
self.append_config('ERROR_QA:remove = "version-going-backwards"')
# For not this only checks if random sstate tasks are handled correctly as a group.
# For now this only checks if random sstate tasks are handled correctly as a group.
# In the future we should add control over what tasks we check for.
sstate_archs_list = []

View File

@@ -66,6 +66,7 @@ class BaseDumper(object):
def _write_dump(self, command, output):
fullname = self._construct_filename(command)
os.makedirs(os.path.dirname(fullname), exist_ok=True)
if isinstance(self, MonitorDumper):
with open(fullname, 'w') as json_file:
json.dump(output, json_file, indent=4)

View File

@@ -135,30 +135,27 @@ class LtpComplianceParser(object):
def parse(self, logfile):
test_regex = {}
test_regex['PASSED'] = re.compile(r"^PASS")
test_regex['FAILED'] = re.compile(r"^FAIL")
test_regex['SKIPPED'] = re.compile(r"(?:UNTESTED)|(?:UNSUPPORTED)")
test_regex['FAILED'] = re.compile(r"FAIL")
section_regex = {}
section_regex['test'] = re.compile(r"^Testing")
section_regex['test'] = re.compile(r"^Executing")
with open(logfile, errors='replace') as f:
name = logfile
result = "PASSED"
for line in f:
result = section_regex['test'].search(line)
if result:
self.name = ""
self.name = line.split()[1].strip()
self.results[self.name] = "PASSED"
failed = 0
regex_result = section_regex['test'].search(line)
if regex_result:
name = line.split()[1].strip()
failed_result = test_regex['FAILED'].search(line)
if failed_result:
failed = line.split()[1].strip()
if int(failed) > 0:
self.results[self.name] = "FAILED"
regex_result = test_regex['FAILED'].search(line)
if regex_result:
result = "FAILED"
self.results[name] = result
for test in self.results:
result = self.results[test]
print (self.results)
self.section['log'] = self.section['log'] + ("%s: %s\n" % (result.strip()[:-2], test.strip()))
return self.results, self.section

View File

@@ -4,7 +4,7 @@ DESCRIPTION = "BIND 9 provides a full-featured Domain Name Server system"
SECTION = "console/network"
LICENSE = "MPL-2.0"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=ef10b4de6371115dcecdc38ca2af4561"
LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=4e7b3c52170a348459a4ff3f5ce95e37"
DEPENDS = "openssl libcap zlib libuv"
@@ -20,7 +20,7 @@ SRC_URI = "https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.xz \
file://0001-avoid-start-failure-with-bind-user.patch \
"
SRC_URI[sha256sum] = "5582f3734bd6232284f93f14206b8a46d1f819dea4797ae157066f6963b08507"
SRC_URI[sha256sum] = "9fa328850f82843ef8b7bf1ff5322cb68b110273a33f375ba41f35270f5e1ff3"
UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/"
# stay at 9.16 follow the ESV versions divisible by 4

View File

@@ -9,7 +9,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/network/${BPN}/${BP}.tar.xz \
SRC_URI:append:libc-musl = " file://0002-resolve-musl-does-not-implement-res_ninit.patch"
SRC_URI[sha256sum] = "1a57ae7ce234aa3a1744aac3be5c2121d98dce999440ef8ab9cc4edfd5edcb12"
SRC_URI[sha256sum] = "79fb40f4fdd5530c45aa8e592fb16ba23d3674f3a98cf10b89a6576f198de589"
RRECOMMENDS:${PN} = "connman-conf"
RCONFLICTS:${PN} = "networkmanager"

View File

@@ -32,8 +32,11 @@ PACKAGECONFIG[ntp] = "--with-hook=ntp, , ,ntp"
PACKAGECONFIG[chrony] = "--with-hook=ntp, , ,chrony"
PACKAGECONFIG[ypbind] = "--with-eghook=yp, , ,ypbind-mt"
# add option to override DBDIR location
DBDIR ?= "${localstatedir}/lib/${BPN}"
EXTRA_OECONF = "--enable-ipv4 \
--dbdir=${localstatedir}/lib/${BPN} \
--dbdir=${DBDIR} \
--sbindir=${base_sbindir} \
--runstatedir=/run \
--enable-privsep \
@@ -43,15 +46,15 @@ EXTRA_OECONF = "--enable-ipv4 \
"
USERADD_PACKAGES = "${PN}"
USERADD_PARAM:${PN} = "--system -d ${localstatedir}/lib/${BPN} -M -s /bin/false -U dhcpcd"
USERADD_PARAM:${PN} = "--system -d ${DBDIR} -M -s /bin/false -U dhcpcd"
do_install:append () {
# install systemd unit files
install -d ${D}${systemd_system_unitdir}
install -m 0644 ${WORKDIR}/dhcpcd*.service ${D}${systemd_system_unitdir}
chmod 700 ${D}${localstatedir}/lib/${BPN}
chown dhcpcd:dhcpcd ${D}${localstatedir}/lib/${BPN}
chmod 700 ${D}${DBDIR}
chown dhcpcd:dhcpcd ${D}${DBDIR}
}
FILES:${PN}-dbg += "${libdir}/dhcpcd/dev/.debug"

View File

@@ -31,7 +31,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.x
file://0001-Makefile.am-fix-undefined-function-for-libnsm.a.patch \
file://clang-warnings.patch \
"
SRC_URI[sha256sum] = "51997d94e4c8bcef5456dd36a9ccc38e231207c4e9b6a9a2c108841e6aebe3dd"
SRC_URI[sha256sum] = "60dfcd94a9f3d72a12bc7058d811787ec87a6d593d70da2123faf9aad3d7a1df"
# Only kernel-module-nfsd is required here (but can be built-in) - the nfsd module will
# pull in the remainder of the dependencies.

View File

@@ -160,7 +160,8 @@ do_install:append:class-native () {
OPENSSL_CONF=${libdir}/ssl-3/openssl.cnf \
SSL_CERT_DIR=${libdir}/ssl-3/certs \
SSL_CERT_FILE=${libdir}/ssl-3/cert.pem \
OPENSSL_ENGINES=${libdir}/engines-3
OPENSSL_ENGINES=${libdir}/engines-3 \
OPENSSL_MODULES=${libdir}/ossl-modules
}
do_install:append:class-nativesdk () {

View File

@@ -1,82 +0,0 @@
hostapd before 2.10 and wpa_supplicant before 2.10 allow an incorrect indication
of disconnection in certain situations because source address validation is
mishandled. This is a denial of service that should have been prevented by PMF
(aka management frame protection). The attacker must send a crafted 802.11 frame
from a location that is within the 802.11 communications range.
CVE: CVE-2019-16275
Upstream-Status: Backport
Signed-off-by: Ross Burton <ross.burton@intel.com>
From 8c07fa9eda13e835f3f968b2e1c9a8be3a851ff9 Mon Sep 17 00:00:00 2001
From: Jouni Malinen <j@w1.fi>
Date: Thu, 29 Aug 2019 11:52:04 +0300
Subject: [PATCH] AP: Silently ignore management frame from unexpected source
address
Do not process any received Management frames with unexpected/invalid SA
so that we do not add any state for unexpected STA addresses or end up
sending out frames to unexpected destination. This prevents unexpected
sequences where an unprotected frame might end up causing the AP to send
out a response to another device and that other device processing the
unexpected response.
In particular, this prevents some potential denial of service cases
where the unexpected response frame from the AP might result in a
connected station dropping its association.
Signed-off-by: Jouni Malinen <j@w1.fi>
---
src/ap/drv_callbacks.c | 13 +++++++++++++
src/ap/ieee802_11.c | 12 ++++++++++++
2 files changed, 25 insertions(+)
diff --git a/src/ap/drv_callbacks.c b/src/ap/drv_callbacks.c
index 31587685fe3b..34ca379edc3d 100644
--- a/src/ap/drv_callbacks.c
+++ b/src/ap/drv_callbacks.c
@@ -131,6 +131,19 @@ int hostapd_notif_assoc(struct hostapd_data *hapd, const u8 *addr,
"hostapd_notif_assoc: Skip event with no address");
return -1;
}
+
+ if (is_multicast_ether_addr(addr) ||
+ is_zero_ether_addr(addr) ||
+ os_memcmp(addr, hapd->own_addr, ETH_ALEN) == 0) {
+ /* Do not process any frames with unexpected/invalid SA so that
+ * we do not add any state for unexpected STA addresses or end
+ * up sending out frames to unexpected destination. */
+ wpa_printf(MSG_DEBUG, "%s: Invalid SA=" MACSTR
+ " in received indication - ignore this indication silently",
+ __func__, MAC2STR(addr));
+ return 0;
+ }
+
random_add_randomness(addr, ETH_ALEN);
hostapd_logger(hapd, addr, HOSTAPD_MODULE_IEEE80211,
diff --git a/src/ap/ieee802_11.c b/src/ap/ieee802_11.c
index c85a28db44b7..e7065372e158 100644
--- a/src/ap/ieee802_11.c
+++ b/src/ap/ieee802_11.c
@@ -4626,6 +4626,18 @@ int ieee802_11_mgmt(struct hostapd_data *hapd, const u8 *buf, size_t len,
fc = le_to_host16(mgmt->frame_control);
stype = WLAN_FC_GET_STYPE(fc);
+ if (is_multicast_ether_addr(mgmt->sa) ||
+ is_zero_ether_addr(mgmt->sa) ||
+ os_memcmp(mgmt->sa, hapd->own_addr, ETH_ALEN) == 0) {
+ /* Do not process any frames with unexpected/invalid SA so that
+ * we do not add any state for unexpected STA addresses or end
+ * up sending out frames to unexpected destination. */
+ wpa_printf(MSG_DEBUG, "MGMT: Invalid SA=" MACSTR
+ " in received frame - ignore this frame silently",
+ MAC2STR(mgmt->sa));
+ return 0;
+ }
+
if (stype == WLAN_FC_STYPE_BEACON) {
handle_beacon(hapd, mgmt, len, fi);
return 1;
--
2.20.1

View File

@@ -1,151 +0,0 @@
From 5b78c8f961f25f4dc22d6f2b77ddd06d712cec63 Mon Sep 17 00:00:00 2001
From: Jouni Malinen <jouni@codeaurora.org>
Date: Wed, 3 Jun 2020 23:17:35 +0300
Subject: [PATCH 1/3] WPS UPnP: Do not allow event subscriptions with URLs to
other networks
The UPnP Device Architecture 2.0 specification errata ("UDA errata
16-04-2020.docx") addresses a problem with notifications being allowed
to go out to other domains by disallowing such cases. Do such filtering
for the notification callback URLs to avoid undesired connections to
external networks based on subscriptions that any device in the local
network could request when WPS support for external registrars is
enabled (the upnp_iface parameter in hostapd configuration).
Upstream-Status: Backport
CVE: CVE-2020-12695 patch #1
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
---
src/wps/wps_er.c | 2 +-
src/wps/wps_upnp.c | 38 ++++++++++++++++++++++++++++++++++++--
src/wps/wps_upnp_i.h | 3 ++-
3 files changed, 39 insertions(+), 4 deletions(-)
Index: wpa_supplicant-2.9/src/wps/wps_er.c
===================================================================
--- wpa_supplicant-2.9.orig/src/wps/wps_er.c
+++ wpa_supplicant-2.9/src/wps/wps_er.c
@@ -1298,7 +1298,7 @@ wps_er_init(struct wps_context *wps, con
"with %s", filter);
}
if (get_netif_info(er->ifname, &er->ip_addr, &er->ip_addr_text,
- er->mac_addr)) {
+ NULL, er->mac_addr)) {
wpa_printf(MSG_INFO, "WPS UPnP: Could not get IP/MAC address "
"for %s. Does it have IP address?", er->ifname);
wps_er_deinit(er, NULL, NULL);
Index: wpa_supplicant-2.9/src/wps/wps_upnp.c
===================================================================
--- wpa_supplicant-2.9.orig/src/wps/wps_upnp.c
+++ wpa_supplicant-2.9/src/wps/wps_upnp.c
@@ -303,6 +303,14 @@ static void subscr_addr_free_all(struct
}
+static int local_network_addr(struct upnp_wps_device_sm *sm,
+ struct sockaddr_in *addr)
+{
+ return (addr->sin_addr.s_addr & sm->netmask.s_addr) ==
+ (sm->ip_addr & sm->netmask.s_addr);
+}
+
+
/* subscr_addr_add_url -- add address(es) for one url to subscription */
static void subscr_addr_add_url(struct subscription *s, const char *url,
size_t url_len)
@@ -381,6 +389,7 @@ static void subscr_addr_add_url(struct s
for (rp = result; rp; rp = rp->ai_next) {
struct subscr_addr *a;
+ struct sockaddr_in *addr = (struct sockaddr_in *) rp->ai_addr;
/* Limit no. of address to avoid denial of service attack */
if (dl_list_len(&s->addr_list) >= MAX_ADDR_PER_SUBSCRIPTION) {
@@ -389,6 +398,13 @@ static void subscr_addr_add_url(struct s
break;
}
+ if (!local_network_addr(s->sm, addr)) {
+ wpa_printf(MSG_INFO,
+ "WPS UPnP: Ignore a delivery URL that points to another network %s",
+ inet_ntoa(addr->sin_addr));
+ continue;
+ }
+
a = os_zalloc(sizeof(*a) + alloc_len);
if (a == NULL)
break;
@@ -889,11 +905,12 @@ static int eth_get(const char *device, u
* @net_if: Selected network interface name
* @ip_addr: Buffer for returning IP address in network byte order
* @ip_addr_text: Buffer for returning a pointer to allocated IP address text
+ * @netmask: Buffer for returning netmask or %NULL if not needed
* @mac: Buffer for returning MAC address
* Returns: 0 on success, -1 on failure
*/
int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text,
- u8 mac[ETH_ALEN])
+ struct in_addr *netmask, u8 mac[ETH_ALEN])
{
struct ifreq req;
int sock = -1;
@@ -919,6 +936,19 @@ int get_netif_info(const char *net_if, u
in_addr.s_addr = *ip_addr;
os_snprintf(*ip_addr_text, 16, "%s", inet_ntoa(in_addr));
+ if (netmask) {
+ os_memset(&req, 0, sizeof(req));
+ os_strlcpy(req.ifr_name, net_if, sizeof(req.ifr_name));
+ if (ioctl(sock, SIOCGIFNETMASK, &req) < 0) {
+ wpa_printf(MSG_ERROR,
+ "WPS UPnP: SIOCGIFNETMASK failed: %d (%s)",
+ errno, strerror(errno));
+ goto fail;
+ }
+ addr = (struct sockaddr_in *) &req.ifr_netmask;
+ netmask->s_addr = addr->sin_addr.s_addr;
+ }
+
#ifdef __linux__
os_strlcpy(req.ifr_name, net_if, sizeof(req.ifr_name));
if (ioctl(sock, SIOCGIFHWADDR, &req) < 0) {
@@ -1025,11 +1055,15 @@ static int upnp_wps_device_start(struct
/* Determine which IP and mac address we're using */
if (get_netif_info(net_if, &sm->ip_addr, &sm->ip_addr_text,
- sm->mac_addr)) {
+ &sm->netmask, sm->mac_addr)) {
wpa_printf(MSG_INFO, "WPS UPnP: Could not get IP/MAC address "
"for %s. Does it have IP address?", net_if);
goto fail;
}
+ wpa_printf(MSG_DEBUG, "WPS UPnP: Local IP address %s netmask %s hwaddr "
+ MACSTR,
+ sm->ip_addr_text, inet_ntoa(sm->netmask),
+ MAC2STR(sm->mac_addr));
/* Listen for incoming TCP connections so that others
* can fetch our "xml files" from us.
Index: wpa_supplicant-2.9/src/wps/wps_upnp_i.h
===================================================================
--- wpa_supplicant-2.9.orig/src/wps/wps_upnp_i.h
+++ wpa_supplicant-2.9/src/wps/wps_upnp_i.h
@@ -128,6 +128,7 @@ struct upnp_wps_device_sm {
u8 mac_addr[ETH_ALEN]; /* mac addr of network i.f. we use */
char *ip_addr_text; /* IP address of network i.f. we use */
unsigned ip_addr; /* IP address of network i.f. we use (host order) */
+ struct in_addr netmask;
int multicast_sd; /* send multicast messages over this socket */
int ssdp_sd; /* receive discovery UPD packets on socket */
int ssdp_sd_registered; /* nonzero if we must unregister */
@@ -158,7 +159,7 @@ struct subscription * subscription_find(
const u8 uuid[UUID_LEN]);
void subscr_addr_delete(struct subscr_addr *a);
int get_netif_info(const char *net_if, unsigned *ip_addr, char **ip_addr_text,
- u8 mac[ETH_ALEN]);
+ struct in_addr *netmask, u8 mac[ETH_ALEN]);
/* wps_upnp_ssdp.c */
void msearchreply_state_machine_stop(struct advertisement_state_machine *a);

View File

@@ -1,52 +0,0 @@
From 94c401733a5a3d294cc412671166e6adfb409f53 Mon Sep 17 00:00:00 2001
From: Joshua DeWeese <jdeweese@hennypenny.com>
Date: Wed, 30 Jan 2019 16:19:47 -0500
Subject: [PATCH] replace systemd install Alias with WantedBy
According to the systemd documentation "WantedBy=foo.service in a
service bar.service is mostly equivalent to
Alias=foo.service.wants/bar.service in the same file." However,
this is not really the intended purpose of install Aliases.
Upstream-Status: Submitted [hostap@lists.infradead.org]
Signed-off-by: Joshua DeWeese <jdeweese@hennypenny.com>
---
wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in | 2 +-
wpa_supplicant/systemd/wpa_supplicant-wired.service.arg.in | 2 +-
wpa_supplicant/systemd/wpa_supplicant.service.arg.in | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in b/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in
index 03ac507..da69a87 100644
--- a/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in
+++ b/wpa_supplicant/systemd/wpa_supplicant-nl80211.service.arg.in
@@ -12,4 +12,4 @@ Type=simple
ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-nl80211-%I.conf -Dnl80211 -i%I
[Install]
-Alias=multi-user.target.wants/wpa_supplicant-nl80211@%i.service
+WantedBy=multi-user.target
diff --git a/wpa_supplicant/systemd/wpa_supplicant-wired.service.arg.in b/wpa_supplicant/systemd/wpa_supplicant-wired.service.arg.in
index c8a744d..ca3054b 100644
--- a/wpa_supplicant/systemd/wpa_supplicant-wired.service.arg.in
+++ b/wpa_supplicant/systemd/wpa_supplicant-wired.service.arg.in
@@ -12,4 +12,4 @@ Type=simple
ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-wired-%I.conf -Dwired -i%I
[Install]
-Alias=multi-user.target.wants/wpa_supplicant-wired@%i.service
+WantedBy=multi-user.target
diff --git a/wpa_supplicant/systemd/wpa_supplicant.service.arg.in b/wpa_supplicant/systemd/wpa_supplicant.service.arg.in
index 7788b38..55d2b9c 100644
--- a/wpa_supplicant/systemd/wpa_supplicant.service.arg.in
+++ b/wpa_supplicant/systemd/wpa_supplicant.service.arg.in
@@ -12,4 +12,4 @@ Type=simple
ExecStart=@BINDIR@/wpa_supplicant -c/etc/wpa_supplicant/wpa_supplicant-%I.conf -i%I
[Install]
-Alias=multi-user.target.wants/wpa_supplicant@%i.service
+WantedBy=multi-user.target
--
2.7.4

View File

@@ -1,62 +0,0 @@
From f7d268864a2660b7239b9a8ff5ad37faeeb751ba Mon Sep 17 00:00:00 2001
From: Jouni Malinen <jouni@codeaurora.org>
Date: Wed, 3 Jun 2020 22:41:02 +0300
Subject: [PATCH 2/3] WPS UPnP: Fix event message generation using a long URL
path
More than about 700 character URL ended up overflowing the wpabuf used
for building the event notification and this resulted in the wpabuf
buffer overflow checks terminating the hostapd process. Fix this by
allocating the buffer to be large enough to contain the full URL path.
However, since that around 700 character limit has been the practical
limit for more than ten years, start explicitly enforcing that as the
limit or the callback URLs since any longer ones had not worked before
and there is no need to enable them now either.
Upstream-Status: Backport
CVE: CVE-2020-12695 patch #2
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
---
src/wps/wps_upnp.c | 9 +++++++--
src/wps/wps_upnp_event.c | 3 ++-
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/src/wps/wps_upnp.c b/src/wps/wps_upnp.c
index 7d4b7439940e..ab685d52ecab 100644
--- a/src/wps/wps_upnp.c
+++ b/src/wps/wps_upnp.c
@@ -328,9 +328,14 @@ static void subscr_addr_add_url(struct subscription *s, const char *url,
int rerr;
size_t host_len, path_len;
- /* url MUST begin with http: */
- if (url_len < 7 || os_strncasecmp(url, "http://", 7))
+ /* URL MUST begin with HTTP scheme. In addition, limit the length of
+ * the URL to 700 characters which is around the limit that was
+ * implicitly enforced for more than 10 years due to a bug in
+ * generating the event messages. */
+ if (url_len < 7 || os_strncasecmp(url, "http://", 7) || url_len > 700) {
+ wpa_printf(MSG_DEBUG, "WPS UPnP: Reject an unacceptable URL");
goto fail;
+ }
url += 7;
url_len -= 7;
diff --git a/src/wps/wps_upnp_event.c b/src/wps/wps_upnp_event.c
index d7e6edcc6503..08a23612f338 100644
--- a/src/wps/wps_upnp_event.c
+++ b/src/wps/wps_upnp_event.c
@@ -147,7 +147,8 @@ static struct wpabuf * event_build_message(struct wps_event_ *e)
struct wpabuf *buf;
char *b;
- buf = wpabuf_alloc(1000 + wpabuf_len(e->data));
+ buf = wpabuf_alloc(1000 + os_strlen(e->addr->path) +
+ wpabuf_len(e->data));
if (buf == NULL)
return NULL;
wpabuf_printf(buf, "NOTIFY %s HTTP/1.1\r\n", e->addr->path);
--
2.20.1

View File

@@ -1,50 +0,0 @@
From 85aac526af8612c21b3117dadc8ef5944985b476 Mon Sep 17 00:00:00 2001
From: Jouni Malinen <jouni@codeaurora.org>
Date: Thu, 4 Jun 2020 21:24:04 +0300
Subject: [PATCH 3/3] WPS UPnP: Handle HTTP initiation failures for events more
properly
While it is appropriate to try to retransmit the event to another
callback URL on a failure to initiate the HTTP client connection, there
is no point in trying the exact same operation multiple times in a row.
Replve the event_retry() calls with event_addr_failure() for these cases
to avoid busy loops trying to repeat the same failing operation.
These potential busy loops would go through eloop callbacks, so the
process is not completely stuck on handling them, but unnecessary CPU
would be used to process the continues retries that will keep failing
for the same reason.
Upstream-Status: Backport
CVE: CVE-2020-12695 patch #2
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: Armin Kuster <akuster@mvista.com>
---
src/wps/wps_upnp_event.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/wps/wps_upnp_event.c b/src/wps/wps_upnp_event.c
index 08a23612f338..c0d9e41d9a38 100644
--- a/src/wps/wps_upnp_event.c
+++ b/src/wps/wps_upnp_event.c
@@ -294,7 +294,7 @@ static int event_send_start(struct subscription *s)
buf = event_build_message(e);
if (buf == NULL) {
- event_retry(e, 0);
+ event_addr_failure(e);
return -1;
}
@@ -302,7 +302,7 @@ static int event_send_start(struct subscription *s)
event_http_cb, e);
if (e->http_event == NULL) {
wpabuf_free(buf);
- event_retry(e, 0);
+ event_addr_failure(e);
return -1;
}
--
2.20.1

View File

@@ -1,45 +0,0 @@
From 947272febe24a8f0ea828b5b2f35f13c3821901e Mon Sep 17 00:00:00 2001
From: Jouni Malinen <jouni@codeaurora.org>
Date: Mon, 9 Nov 2020 11:43:12 +0200
Subject: [PATCH] P2P: Fix copying of secondary device types for P2P group
client
Parsing and copying of WPS secondary device types list was verifying
that the contents is not too long for the internal maximum in the case
of WPS messages, but similar validation was missing from the case of P2P
group information which encodes this information in a different
attribute. This could result in writing beyond the memory area assigned
for these entries and corrupting memory within an instance of struct
p2p_device. This could result in invalid operations and unexpected
behavior when trying to free pointers from that corrupted memory.
Upstream-Status: Backport
CVE: CVE-2021-0326
Reference to upstream patch:
[https://w1.fi/cgit/hostap/commit/?id=947272febe24a8f0ea828b5b2f35f13c3821901e]
Credit to OSS-Fuzz: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=27269
Fixes: e57ae6e19edf ("P2P: Keep track of secondary device types for peers")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
---
src/p2p/p2p.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/p2p/p2p.c b/src/p2p/p2p.c
index a08ba02..079270f 100644
--- a/src/p2p/p2p.c
+++ b/src/p2p/p2p.c
@@ -453,6 +453,8 @@ static void p2p_copy_client_info(struct p2p_device *dev,
dev->info.config_methods = cli->config_methods;
os_memcpy(dev->info.pri_dev_type, cli->pri_dev_type, 8);
dev->info.wps_sec_dev_type_list_len = 8 * cli->num_sec_dev_types;
+ if (dev->info.wps_sec_dev_type_list_len > WPS_SEC_DEV_TYPE_MAX_LEN)
+ dev->info.wps_sec_dev_type_list_len = WPS_SEC_DEV_TYPE_MAX_LEN;
os_memcpy(dev->info.wps_sec_dev_type_list, cli->sec_dev_types,
dev->info.wps_sec_dev_type_list_len);
}
--
2.17.1

View File

@@ -1,58 +0,0 @@
From 8460e3230988ef2ec13ce6b69b687e941f6cdb32 Mon Sep 17 00:00:00 2001
From: Jouni Malinen <jouni@codeaurora.org>
Date: Tue, 8 Dec 2020 23:52:50 +0200
Subject: [PATCH] P2P: Fix a corner case in peer addition based on PD Request
p2p_add_device() may remove the oldest entry if there is no room in the
peer table for a new peer. This would result in any pointer to that
removed entry becoming stale. A corner case with an invalid PD Request
frame could result in such a case ending up using (read+write) freed
memory. This could only by triggered when the peer table has reached its
maximum size and the PD Request frame is received from the P2P Device
Address of the oldest remaining entry and the frame has incorrect P2P
Device Address in the payload.
Fix this by fetching the dev pointer again after having called
p2p_add_device() so that the stale pointer cannot be used.
Fixes: 17bef1e97a50 ("P2P: Add peer entry based on Provision Discovery Request")
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
Upstream-Status: Backport
CVE: CVE-2021-27803
Reference to upstream patch:
[https://w1.fi/cgit/hostap/commit/?id=8460e3230988ef2ec13ce6b69b687e941f6cdb32]
Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
---
src/p2p/p2p_pd.c | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/src/p2p/p2p_pd.c b/src/p2p/p2p_pd.c
index 3994ec0..05fd593 100644
--- a/src/p2p/p2p_pd.c
+++ b/src/p2p/p2p_pd.c
@@ -595,14 +595,12 @@ void p2p_process_prov_disc_req(struct p2p_data *p2p, const u8 *sa,
goto out;
}
+ dev = p2p_get_device(p2p, sa);
if (!dev) {
- dev = p2p_get_device(p2p, sa);
- if (!dev) {
- p2p_dbg(p2p,
- "Provision Discovery device not found "
- MACSTR, MAC2STR(sa));
- goto out;
- }
+ p2p_dbg(p2p,
+ "Provision Discovery device not found "
+ MACSTR, MAC2STR(sa));
+ goto out;
}
} else if (msg.wfd_subelems) {
wpabuf_free(dev->info.wfd_subelems);
--
2.17.1

View File

@@ -1,123 +0,0 @@
From a0541334a6394f8237a4393b7372693cd7e96f15 Mon Sep 17 00:00:00 2001
From: Jouni Malinen <j@w1.fi>
Date: Sat, 13 Mar 2021 18:19:31 +0200
Subject: [PATCH] ASN.1: Validate DigestAlgorithmIdentifier parameters
The supported hash algorithms do not use AlgorithmIdentifier parameters.
However, there are implementations that include NULL parameters in
addition to ones that omit the parameters. Previous implementation did
not check the parameters value at all which supported both these cases,
but did not reject any other unexpected information.
Use strict validation of digest algorithm parameters and reject any
unexpected value when validating a signature. This is needed to prevent
potential forging attacks.
Signed-off-by: Jouni Malinen <j@w1.fi>
Upstream-Status: Backport
CVE: CVE-2021-30004
Reference to upstream patch:
[https://w1.fi/cgit/hostap/commit/?id=a0541334a6394f8237a4393b7372693cd7e96f15]
Signed-off-by: Stefan Ghinea <stefan.ghinea@windriver.com>
---
src/tls/pkcs1.c | 21 +++++++++++++++++++++
src/tls/x509v3.c | 20 ++++++++++++++++++++
2 files changed, 41 insertions(+)
diff --git a/src/tls/pkcs1.c b/src/tls/pkcs1.c
index 141ac50..e09db07 100644
--- a/src/tls/pkcs1.c
+++ b/src/tls/pkcs1.c
@@ -240,6 +240,8 @@ int pkcs1_v15_sig_ver(struct crypto_public_key *pk,
os_free(decrypted);
return -1;
}
+ wpa_hexdump(MSG_MSGDUMP, "PKCS #1: DigestInfo",
+ hdr.payload, hdr.length);
pos = hdr.payload;
end = pos + hdr.length;
@@ -261,6 +263,8 @@ int pkcs1_v15_sig_ver(struct crypto_public_key *pk,
os_free(decrypted);
return -1;
}
+ wpa_hexdump(MSG_MSGDUMP, "PKCS #1: DigestAlgorithmIdentifier",
+ hdr.payload, hdr.length);
da_end = hdr.payload + hdr.length;
if (asn1_get_oid(hdr.payload, hdr.length, &oid, &next)) {
@@ -269,6 +273,23 @@ int pkcs1_v15_sig_ver(struct crypto_public_key *pk,
os_free(decrypted);
return -1;
}
+ wpa_hexdump(MSG_MSGDUMP, "PKCS #1: Digest algorithm parameters",
+ next, da_end - next);
+
+ /*
+ * RFC 5754: The correct encoding for the SHA2 algorithms would be to
+ * omit the parameters, but there are implementation that encode these
+ * as a NULL element. Allow these two cases and reject anything else.
+ */
+ if (da_end > next &&
+ (asn1_get_next(next, da_end - next, &hdr) < 0 ||
+ !asn1_is_null(&hdr) ||
+ hdr.payload + hdr.length != da_end)) {
+ wpa_printf(MSG_DEBUG,
+ "PKCS #1: Unexpected digest algorithm parameters");
+ os_free(decrypted);
+ return -1;
+ }
if (!asn1_oid_equal(&oid, hash_alg)) {
char txt[100], txt2[100];
diff --git a/src/tls/x509v3.c b/src/tls/x509v3.c
index 1bd5aa0..bf2289f 100644
--- a/src/tls/x509v3.c
+++ b/src/tls/x509v3.c
@@ -1834,6 +1834,7 @@ int x509_check_signature(struct x509_certificate *issuer,
os_free(data);
return -1;
}
+ wpa_hexdump(MSG_MSGDUMP, "X509: DigestInfo", hdr.payload, hdr.length);
pos = hdr.payload;
end = pos + hdr.length;
@@ -1855,6 +1856,8 @@ int x509_check_signature(struct x509_certificate *issuer,
os_free(data);
return -1;
}
+ wpa_hexdump(MSG_MSGDUMP, "X509: DigestAlgorithmIdentifier",
+ hdr.payload, hdr.length);
da_end = hdr.payload + hdr.length;
if (asn1_get_oid(hdr.payload, hdr.length, &oid, &next)) {
@@ -1862,6 +1865,23 @@ int x509_check_signature(struct x509_certificate *issuer,
os_free(data);
return -1;
}
+ wpa_hexdump(MSG_MSGDUMP, "X509: Digest algorithm parameters",
+ next, da_end - next);
+
+ /*
+ * RFC 5754: The correct encoding for the SHA2 algorithms would be to
+ * omit the parameters, but there are implementation that encode these
+ * as a NULL element. Allow these two cases and reject anything else.
+ */
+ if (da_end > next &&
+ (asn1_get_next(next, da_end - next, &hdr) < 0 ||
+ !asn1_is_null(&hdr) ||
+ hdr.payload + hdr.length != da_end)) {
+ wpa_printf(MSG_DEBUG,
+ "X509: Unexpected digest algorithm parameters");
+ os_free(data);
+ return -1;
+ }
if (x509_sha1_oid(&oid)) {
if (signature->oid.oid[6] != 5 /* sha-1WithRSAEncryption */) {
--
2.17.1

View File

@@ -4,9 +4,9 @@ DESCRIPTION = "wpa_supplicant is a WPA Supplicant for Linux, BSD, Mac OS X, and
BUGTRACKER = "http://w1.fi/security/"
SECTION = "network"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING;md5=279b4f5abb9c153c285221855ddb78cc \
file://README;beginline=1;endline=56;md5=e7d3dbb01f75f0b9799e192731d1e1ff \
file://wpa_supplicant/wpa_supplicant.c;beginline=1;endline=12;md5=0a8b56d3543498b742b9c0e94cc2d18b"
LIC_FILES_CHKSUM = "file://COPYING;md5=5ebcb90236d1ad640558c3d3cd3035df \
file://README;beginline=1;endline=56;md5=e3d2f6c2948991e37c1ca4960de84747 \
file://wpa_supplicant/wpa_supplicant.c;beginline=1;endline=12;md5=76306a95306fee9a976b0ac1be70f705"
DEPENDS = "dbus libnl"
RRECOMMENDS:${PN} = "wpa-supplicant-passphrase wpa-supplicant-cli"
@@ -19,23 +19,14 @@ inherit pkgconfig systemd
SYSTEMD_SERVICE:${PN} = "wpa_supplicant.service"
SYSTEMD_AUTO_ENABLE = "disable"
SRC_URI = "http://w1.fi/releases/wpa_supplicant-${PV}.tar.gz \
SRC_URI = "http://w1.fi/releases/wpa_supplicant-${PV}.tar.gz \
file://defconfig \
file://wpa-supplicant.sh \
file://wpa_supplicant.conf \
file://wpa_supplicant.conf-sane \
file://99_wpa_supplicant \
file://0001-replace-systemd-install-Alias-with-WantedBy.patch \
file://0001-AP-Silently-ignore-management-frame-from-unexpected-.patch \
file://0001-WPS-UPnP-Do-not-allow-event-subscriptions-with-URLs-.patch \
file://0002-WPS-UPnP-Fix-event-message-generation-using-a-long-U.patch \
file://0003-WPS-UPnP-Handle-HTTP-initiation-failures-for-events-.patch \
file://CVE-2021-0326.patch \
file://CVE-2021-27803.patch \
file://CVE-2021-30004.patch \
"
SRC_URI[md5sum] = "2d2958c782576dc9901092fbfecb4190"
SRC_URI[sha256sum] = "fcbdee7b4a64bea8177973299c8c824419c413ec2e3a95db63dd6a5dc3541f17"
"
SRC_URI[sha256sum] = "20df7ae5154b3830355f8ab4269123a87affdea59fe74fe9292a91d0d7e17b2f"
CVE_PRODUCT = "wpa_supplicant"

View File

@@ -1,7 +1,7 @@
#
# Automatically generated make config: don't edit
# Busybox version: 1.34.0
# Wed Aug 23 09:07:25 2021
# Busybox version: 1.35.0
# Sun Dec 26 16:55:55 2021
#
CONFIG_HAVE_DOT_CONFIG=y
@@ -94,9 +94,12 @@ CONFIG_FEATURE_BUFFERS_USE_MALLOC=y
CONFIG_PASSWORD_MINLEN=6
CONFIG_MD5_SMALL=1
CONFIG_SHA3_SMALL=1
CONFIG_FEATURE_FAST_TOP=y
# CONFIG_FEATURE_ETC_NETWORKS is not set
# CONFIG_FEATURE_ETC_SERVICES is not set
CONFIG_FEATURE_NON_POSIX_CP=y
# CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set
CONFIG_FEATURE_USE_SENDFILE=y
CONFIG_FEATURE_COPYBUF_KB=4
CONFIG_MONOTONIC_SYSCALL=y
CONFIG_IOCTL_HEX2STR_ERROR=y
CONFIG_FEATURE_EDITING=y
CONFIG_FEATURE_EDITING_MAX_LEN=1024
# CONFIG_FEATURE_EDITING_VI is not set
@@ -120,14 +123,6 @@ CONFIG_UNICODE_WIDE_WCHARS=y
# CONFIG_UNICODE_BIDI_SUPPORT is not set
# CONFIG_UNICODE_NEUTRAL_TABLE is not set
# CONFIG_UNICODE_PRESERVE_BROKEN is not set
CONFIG_FEATURE_NON_POSIX_CP=y
# CONFIG_FEATURE_VERBOSE_CP_MESSAGE is not set
CONFIG_FEATURE_USE_SENDFILE=y
CONFIG_FEATURE_COPYBUF_KB=4
CONFIG_FEATURE_SKIP_ROOTFS=y
CONFIG_MONOTONIC_SYSCALL=y
CONFIG_IOCTL_HEX2STR_ERROR=y
CONFIG_FEATURE_HWIB=y
#
# Applets
@@ -162,6 +157,8 @@ CONFIG_FEATURE_BZIP2_DECOMPRESS=y
CONFIG_CPIO=y
# CONFIG_FEATURE_CPIO_O is not set
# CONFIG_FEATURE_CPIO_P is not set
# CONFIG_FEATURE_CPIO_IGNORE_DEVNO is not set
# CONFIG_FEATURE_CPIO_RENUMBER_INODES is not set
# CONFIG_DPKG is not set
# CONFIG_DPKG_DEB is not set
CONFIG_GZIP=y
@@ -197,6 +194,22 @@ CONFIG_FEATURE_UNZIP_CDF=y
#
# Coreutils
#
CONFIG_FEATURE_VERBOSE=y
#
# Common options for date and touch
#
# CONFIG_FEATURE_TIMEZONE is not set
#
# Common options for cp and mv
#
# CONFIG_FEATURE_PRESERVE_HARDLINKS is not set
#
# Common options for df, du, ls
#
CONFIG_FEATURE_HUMAN_READABLE=y
CONFIG_BASENAME=y
CONFIG_CAT=y
CONFIG_FEATURE_CATN=y
@@ -225,6 +238,7 @@ CONFIG_FEATURE_DD_SIGNAL_HANDLING=y
# CONFIG_FEATURE_DD_STATUS is not set
CONFIG_DF=y
# CONFIG_FEATURE_DF_FANCY is not set
# CONFIG_FEATURE_SKIP_ROOTFS is not set
CONFIG_DIRNAME=y
# CONFIG_DOS2UNIX is not set
# CONFIG_UNIX2DOS is not set
@@ -343,21 +357,6 @@ CONFIG_USERS=y
CONFIG_WHOAMI=y
CONFIG_YES=y
#
# Common options
#
CONFIG_FEATURE_VERBOSE=y
#
# Common options for cp and mv
#
# CONFIG_FEATURE_PRESERVE_HARDLINKS is not set
#
# Common options for df, du, ls
#
CONFIG_FEATURE_HUMAN_READABLE=y
#
# Console Utilities
#
@@ -448,7 +447,11 @@ CONFIG_FEATURE_ALLOW_EXEC=y
CONFIG_FIND=y
CONFIG_FEATURE_FIND_PRINT0=y
CONFIG_FEATURE_FIND_MTIME=y
CONFIG_FEATURE_FIND_ATIME=y
CONFIG_FEATURE_FIND_CTIME=y
CONFIG_FEATURE_FIND_MMIN=y
CONFIG_FEATURE_FIND_AMIN=y
CONFIG_FEATURE_FIND_CMIN=y
CONFIG_FEATURE_FIND_PERM=y
CONFIG_FEATURE_FIND_TYPE=y
CONFIG_FEATURE_FIND_EXECUTABLE=y
@@ -456,6 +459,7 @@ CONFIG_FEATURE_FIND_XDEV=y
CONFIG_FEATURE_FIND_MAXDEPTH=y
CONFIG_FEATURE_FIND_NEWER=y
# CONFIG_FEATURE_FIND_INUM is not set
CONFIG_FEATURE_FIND_SAMEFILE=y
CONFIG_FEATURE_FIND_EXEC=y
CONFIG_FEATURE_FIND_EXEC_PLUS=y
CONFIG_FEATURE_FIND_USER=y
@@ -851,6 +855,9 @@ CONFIG_FEATURE_IPV6=y
# CONFIG_FEATURE_UNIX_LOCAL is not set
CONFIG_FEATURE_PREFER_IPV4_ADDRESS=y
# CONFIG_VERBOSE_RESOLUTION_ERRORS is not set
# CONFIG_FEATURE_ETC_NETWORKS is not set
# CONFIG_FEATURE_ETC_SERVICES is not set
CONFIG_FEATURE_HWIB=y
# CONFIG_FEATURE_TLS_SHA1 is not set
# CONFIG_ARP is not set
# CONFIG_ARPING is not set
@@ -1024,17 +1031,19 @@ CONFIG_IFUPDOWN_UDHCPC_CMD_OPTIONS="-R -b"
#
# Mail Utilities
#
CONFIG_FEATURE_MIME_CHARSET=""
# CONFIG_MAKEMIME is not set
# CONFIG_POPMAILDIR is not set
# CONFIG_FEATURE_POPMAILDIR_DELIVERY is not set
# CONFIG_REFORMIME is not set
# CONFIG_FEATURE_REFORMIME_COMPAT is not set
# CONFIG_SENDMAIL is not set
CONFIG_FEATURE_MIME_CHARSET=""
#
# Process Utilities
#
CONFIG_FEATURE_FAST_TOP=y
# CONFIG_FEATURE_SHOW_THREADS is not set
CONFIG_FREE=y
CONFIG_FUSER=y
# CONFIG_IOSTAT is not set
@@ -1073,7 +1082,6 @@ CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS=y
CONFIG_UPTIME=y
# CONFIG_FEATURE_UPTIME_UTMP_SUPPORT is not set
CONFIG_WATCH=y
# CONFIG_FEATURE_SHOW_THREADS is not set
#
# Runit Utilities
@@ -1138,8 +1146,8 @@ CONFIG_ASH_CMDCMD=y
# CONFIG_SHELL_HUSH is not set
# CONFIG_HUSH_BASH_COMPAT is not set
# CONFIG_HUSH_BRACE_EXPANSION is not set
# CONFIG_HUSH_LINENO_VAR is not set
# CONFIG_HUSH_BASH_SOURCE_CURDIR is not set
# CONFIG_HUSH_LINENO_VAR is not set
# CONFIG_HUSH_INTERACTIVE is not set
# CONFIG_HUSH_SAVEHISTORY is not set
# CONFIG_HUSH_JOB is not set

View File

@@ -16,7 +16,7 @@ inherit autotools pkgconfig
SRC_URI = "https://mirrors.edge.kernel.org/pub/linux/libs/${BPN}/${BPN}-${PV}.tar.xz \
"
SRC_URI[sha256sum] = "4901a0baac4eb24163ceafb44fd448430361d25d8f17d89ff29f8b0b162b3eb9"
SRC_URI[sha256sum] = "9894943042a5d6165d3e5cc354f92274fb1304004d02b4bee682ab6067cdbbd5"
do_configure:prepend () {
mkdir -p ${S}/build-aux

View File

@@ -14,7 +14,7 @@ SRC_URI = "https://github.com/libexpat/libexpat/releases/download/R_${VERSION_TA
UPSTREAM_CHECK_URI = "https://github.com/libexpat/libexpat/releases/"
SRC_URI[sha256sum] = "6f262e216a494fbf42d8c22bc841b3e117c21f2467a19dc4c27c991b5622f986"
SRC_URI[sha256sum] = "14c58c2a0b5b8b31836514dfab41bd191836db7aa7b84ae5c47bc0327a20d64a"
EXTRA_OECMAKE:class-native += "-DEXPAT_BUILD_DOCS=OFF"

View File

@@ -1,4 +1,4 @@
From f4b144cbcd474d5f4982e654607fd609e056b532 Mon Sep 17 00:00:00 2001
From d4e95568151cb7a62b6a29a4d2c3f532fd55c98c Mon Sep 17 00:00:00 2001
From: Ross Burton <ross.burton@intel.com>
Date: Fri, 11 Mar 2016 15:35:55 +0000
Subject: [PATCH] glib-2.0: relocate the GIO module directory for native builds

View File

@@ -20,7 +20,7 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \
"
SRC_URI:append:class-native = " file://relocate-modules.patch"
SRC_URI[sha256sum] = "0551459c85cd3da3d58ddc9016fd28be5af503f5e1615a71ba5b512ac945806f"
SRC_URI[sha256sum] = "233fa4841c1e19e396db7607d58f6b75ba3313c50bf0fce07b2e3532d5eb7d46"
# Find any meson cross files in FILESPATH that are relevant for the current
# build (using siteinfo) and add them to EXTRA_OEMESON.

View File

@@ -25,14 +25,14 @@ SRC_URI = "${GLIBC_GIT_URI};branch=${SRCBRANCH};name=glibc \
file://0001-localedef-Add-hardlink-resolver-from-util-linux.patch \
file://0002-localedef-fix-ups-hardlink-to-make-it-compile.patch \
\
file://0018-Remove-bash-dependency-for-nscd-init-script.patch \
file://0019-eglibc-Cross-building-and-testing-instructions.patch \
file://0020-eglibc-Help-bootstrap-cross-toolchain.patch \
file://0021-eglibc-Resolve-__fpscr_values-on-SH4.patch \
file://0022-eglibc-Forward-port-cross-locale-generation-support.patch \
file://0024-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \
file://0001-Make-shell-interpreter-overridable-in-tzselect.ksh.patch \
"
file://0010-eglibc-Cross-building-and-testing-instructions.patch \
file://0011-eglibc-Help-bootstrap-cross-toolchain.patch \
file://0012-eglibc-Resolve-__fpscr_values-on-SH4.patch \
file://0013-eglibc-Forward-port-cross-locale-generation-support.patch \
file://0014-localedef-add-to-archive-uses-a-hard-coded-locale-pa.patch \
file://0021-Replace-echo-with-printf-builtin-in-nscd-init-script.patch \
file://0023-timezone-Make-shell-interpreter-overridable-in-tzsel.patch \
"
# Makes for a rather long rev (22 characters), but...
#
SRCREV_FORMAT = "glibc_localedef"

View File

@@ -22,4 +22,4 @@ ARM_INSTRUCTION_SET:armv6 = "arm"
#
COMPATIBLE_HOST:libc-musl:class-target = "null"
PV = "2.34"
PV = "2.35"

View File

@@ -1,6 +1,6 @@
INHIBIT_SYSROOT_STRIP = "1"
PACKAGES = "${PN}-dbg catchsegv sln nscd ldconfig ldd tzcode glibc-thread-db ${PN}-pic libmemusage malloc-debug libnss-db libsegfault ${PN}-pcprofile libsotruss ${PN} ${PN}-utils glibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}-src"
PACKAGES = "${PN}-dbg sln nscd ldconfig ldd ldso tzcode glibc-thread-db ${PN}-pic libmemusage malloc-debug libnss-db ${PN}-pcprofile libsotruss ${PN} ${PN}-utils glibc-extra-nss ${PN}-dev ${PN}-staticdev ${PN}-doc ${PN}-src"
# The ld.so in this glibc supports the GNU_HASH
RPROVIDES:${PN} = "eglibc rtld(GNU_HASH)"
@@ -23,12 +23,13 @@ ARCH_DYNAMIC_LOADER:aarch64 = "ld-linux-${TARGET_ARCH}.so.1"
libc_baselibs:append = " ${@oe.utils.conditional('ARCH_DYNAMIC_LOADER', '', '', '${root_prefix}/lib/${ARCH_DYNAMIC_LOADER}', d)}"
INSANE_SKIP:${PN}:append:aarch64 = " libdir"
INSANE_SKIP:${PN}-dev += "staticdev"
INSANE_SKIP:${MLPREFIX}ldso:append = " dev-so libdir"
FILES:${PN} = "${libc_baselibs} ${libexecdir}/* ${sysconfdir}/ld.so.conf"
RRECOMMENDS:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'ldconfig', '${MLPREFIX}ldconfig', '', d)}"
FILES:ldconfig = "${base_sbindir}/ldconfig"
FILES:ldd = "${bindir}/ldd"
FILES:libsegfault = "${base_libdir}/libSegFault*"
FILES:ldso = "${bindir}/${MLPREFIX}ld.so"
FILES:libmemusage = "${base_libdir}/libmemusage.so"
FILES:malloc-debug = "${base_libdir}/libc_malloc_debug.so.0"
FILES:libnss-db = "${base_libdir}/libnss_db.so.* ${base_libdir}/libnss_db-*.so ${localstatedir}/db/Makefile ${localstatedir}/db/makedbs.sh"
@@ -46,8 +47,6 @@ FILES:nscd = "${sbindir}/nscd* ${sysconfdir}/init.d/nscd ${systemd_system_unitdi
FILES:${PN}-mtrace = "${bindir}/mtrace"
FILES:tzcode = "${bindir}/tzselect ${sbindir}/zic ${bindir}/zdump"
FILES:${PN}-utils = "${bindir}/* ${sbindir}/*"
FILES:catchsegv = "${bindir}/catchsegv"
RDEPENDS:catchsegv = "libsegfault"
FILES:${PN}-pcprofile = "${base_libdir}/libpcprofile.so"
FILES:glibc-thread-db = "${base_libdir}/libthread_db.so.* ${base_libdir}/libthread_db-*.so"
RPROVIDES:${PN}-dev += "libc-dev"
@@ -121,6 +120,9 @@ do_install() {
fi
ln -rs ${D}${base_libdir}/libpthread.so.0 ${D}${libdir}/libpthread.so
ln -rs ${D}${base_libdir}/librt.so.1 ${D}${libdir}/librt.so
if [ -n "${MLPREFIX}" ]; then
mv ${D}${bindir}/ld.so ${D}${bindir}/${MLPREFIX}ld.so
fi
}
def get_libc_fpu_setting(bb, d):

View File

@@ -102,7 +102,7 @@ EXCLUDE_FROM_SHLIBS = "1"
# It is more handy to have _all_ the sources and symbols in one
# place (package) as this recipe will be used for validation and
# debugging.
PACKAGE_DEBUG_SPLIT_STYLE = "debug"
PACKAGE_DEBUG_SPLIT_STYLE = ".debug"
# glibc test cases violate by default some Yocto/OE checks (staticdev,
# textrel)

View File

@@ -1,7 +1,7 @@
SRCBRANCH ?= "release/2.34/master"
PV = "2.34"
SRCREV_glibc ?= "ae37d06c7d127817ba43850f0f898b793d42aea7"
SRCREV_localedef ?= "95c0221703ad970a52445e9eaf91c4aff35eebef"
SRCBRANCH ?= "release/2.35/master"
PV = "2.35"
SRCREV_glibc ?= "24962427071fa532c3c48c918e9d64d719cc8a6c"
SRCREV_localedef ?= "794da69788cbf9bf57b59a852f9f11307663fa87"
GLIBC_GIT_URI ?= "git://sourceware.org/git/glibc.git"

View File

@@ -1,43 +0,0 @@
From b805aebd42364fe696e417808a700fdb9800c9e8 Mon Sep 17 00:00:00 2001
From: Nikita Popov <npv1310@gmail.com>
Date: Mon, 9 Aug 2021 20:17:34 +0530
Subject: [PATCH] librt: fix NULL pointer dereference (bug 28213)
Helper thread frees copied attribute on NOTIFY_REMOVED message
received from the OS kernel. Unfortunately, it fails to check whether
copied attribute actually exists (data.attr != NULL). This worked
earlier because free() checks passed pointer before actually
attempting to release corresponding memory. But
__pthread_attr_destroy assumes pointer is not NULL.
So passing NULL pointer to __pthread_attr_destroy will result in
segmentation fault. This scenario is possible if
notification->sigev_notify_attributes == NULL (which means default
thread attributes should be used).
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=b805aebd42364fe696e417808a700fdb9800c9e8]
CVE: CVE-2021-38604
Signed-off-by: Nikita Popov <npv1310@gmail.com>
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
---
sysdeps/unix/sysv/linux/mq_notify.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/unix/sysv/linux/mq_notify.c b/sysdeps/unix/sysv/linux/mq_notify.c
index 9799dcdaa4..eccae2e4c6 100644
--- a/sysdeps/unix/sysv/linux/mq_notify.c
+++ b/sysdeps/unix/sysv/linux/mq_notify.c
@@ -131,7 +131,7 @@ helper_thread (void *arg)
to wait until it is done with it. */
(void) __pthread_barrier_wait (&notify_barrier);
}
- else if (data.raw[NOTIFY_COOKIE_LEN - 1] == NOTIFY_REMOVED)
+ else if (data.raw[NOTIFY_COOKIE_LEN - 1] == NOTIFY_REMOVED && data.attr != NULL)
{
/* The only state we keep is the copy of the thread attributes. */
__pthread_attr_destroy (data.attr);
--
2.31.1

View File

@@ -1,178 +0,0 @@
From e368b12f6c16b6888dda99ba641e999b9c9643c8 Mon Sep 17 00:00:00 2001
From: Florian Weimer <fweimer@redhat.com>
Date: Mon, 17 Jan 2022 10:21:34 +0100
Subject: [PATCH] socket: Add the __sockaddr_un_set function
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=e368b12f6c16b6888dda99ba641e999b9c9643c8]
CVE: CVE-2022-23219
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Signed-off-by: Pgowda <pgowda.cve@gmail.com>
---
include/sys/un.h | 12 +++++++
socket/Makefile | 6 +++-
socket/sockaddr_un_set.c | 41 ++++++++++++++++++++++++
socket/tst-sockaddr_un_set.c | 62 ++++++++++++++++++++++++++++++++++++
4 files changed, 120 insertions(+), 1 deletion(-)
create mode 100644 socket/sockaddr_un_set.c
create mode 100644 socket/tst-sockaddr_un_set.c
diff --git a/include/sys/un.h b/include/sys/un.h
index bdbee99980..152afd9fc7 100644
--- a/include/sys/un.h
+++ b/include/sys/un.h
@@ -1 +1,13 @@
#include <socket/sys/un.h>
+
+#ifndef _ISOMAC
+
+/* Set ADDR->sun_family to AF_UNIX and ADDR->sun_path to PATHNAME.
+ Return 0 on success or -1 on failure (due to overlong PATHNAME).
+ The caller should always use sizeof (struct sockaddr_un) as the
+ socket address length, disregaring the length of PATHNAME.
+ Only concrete (non-abstract) pathnames are supported. */
+int __sockaddr_un_set (struct sockaddr_un *addr, const char *pathname)
+ attribute_hidden;
+
+#endif /* _ISOMAC */
diff --git a/socket/Makefile b/socket/Makefile
index 39333e10ca..156eec6c85 100644
--- a/socket/Makefile
+++ b/socket/Makefile
@@ -29,13 +29,17 @@ headers := sys/socket.h sys/un.h bits/sockaddr.h bits/socket.h \
routines := accept bind connect getpeername getsockname getsockopt \
listen recv recvfrom recvmsg send sendmsg sendto \
setsockopt shutdown socket socketpair isfdtype opensock \
- sockatmark accept4 recvmmsg sendmmsg
+ sockatmark accept4 recvmmsg sendmmsg sockaddr_un_set
tests := \
tst-accept4 \
tst-sockopt \
# tests
+tests-internal := \
+ tst-sockaddr_un_set \
+ # tests-internal
+
tests-time64 := \
tst-sockopt-time64 \
# tests
diff --git a/socket/sockaddr_un_set.c b/socket/sockaddr_un_set.c
new file mode 100644
index 0000000000..0bd40dc34e
--- /dev/null
+++ b/socket/sockaddr_un_set.c
@@ -0,0 +1,41 @@
+/* Set the sun_path member of struct sockaddr_un.
+ Copyright (C) 2022 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#include <errno.h>
+#include <string.h>
+#include <sys/socket.h>
+#include <sys/un.h>
+
+int
+__sockaddr_un_set (struct sockaddr_un *addr, const char *pathname)
+{
+ size_t name_length = strlen (pathname);
+
+ /* The kernel supports names of exactly sizeof (addr->sun_path)
+ bytes, without a null terminator, but userspace does not; see the
+ SUN_LEN macro. */
+ if (name_length >= sizeof (addr->sun_path))
+ {
+ __set_errno (EINVAL); /* Error code used by the kernel. */
+ return -1;
+ }
+
+ addr->sun_family = AF_UNIX;
+ memcpy (addr->sun_path, pathname, name_length + 1);
+ return 0;
+}
diff --git a/socket/tst-sockaddr_un_set.c b/socket/tst-sockaddr_un_set.c
new file mode 100644
index 0000000000..29c2a81afd
--- /dev/null
+++ b/socket/tst-sockaddr_un_set.c
@@ -0,0 +1,62 @@
+/* Test the __sockaddr_un_set function.
+ Copyright (C) 2022 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+/* Re-compile the function because the version in libc is not
+ exported. */
+#include "sockaddr_un_set.c"
+
+#include <support/check.h>
+
+static int
+do_test (void)
+{
+ struct sockaddr_un sun;
+
+ memset (&sun, 0xcc, sizeof (sun));
+ __sockaddr_un_set (&sun, "");
+ TEST_COMPARE (sun.sun_family, AF_UNIX);
+ TEST_COMPARE (__sockaddr_un_set (&sun, ""), 0);
+
+ memset (&sun, 0xcc, sizeof (sun));
+ TEST_COMPARE (__sockaddr_un_set (&sun, "/example"), 0);
+ TEST_COMPARE_STRING (sun.sun_path, "/example");
+
+ {
+ char pathname[108]; /* Length of sun_path (ABI constant). */
+ memset (pathname, 'x', sizeof (pathname));
+ pathname[sizeof (pathname) - 1] = '\0';
+ memset (&sun, 0xcc, sizeof (sun));
+ TEST_COMPARE (__sockaddr_un_set (&sun, pathname), 0);
+ TEST_COMPARE (sun.sun_family, AF_UNIX);
+ TEST_COMPARE_STRING (sun.sun_path, pathname);
+ }
+
+ {
+ char pathname[109];
+ memset (pathname, 'x', sizeof (pathname));
+ pathname[sizeof (pathname) - 1] = '\0';
+ memset (&sun, 0xcc, sizeof (sun));
+ errno = 0;
+ TEST_COMPARE (__sockaddr_un_set (&sun, pathname), -1);
+ TEST_COMPARE (errno, EINVAL);
+ }
+
+ return 0;
+}
+
+#include <support/test-driver.c>
--
2.27.0

View File

@@ -1,55 +0,0 @@
From 226b46770c82899b555986583294b049c6ec9b40 Mon Sep 17 00:00:00 2001
From: Florian Weimer <fweimer@redhat.com>
Date: Mon, 17 Jan 2022 10:21:34 +0100
Subject: [PATCH] CVE-2022-23219: Buffer overflow in sunrpc clnt_create for
"unix" (bug 22542)
Processing an overlong pathname in the sunrpc clnt_create function
results in a stack-based buffer overflow.
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=226b46770c82899b555986583294b049c6ec9b40]
CVE: CVE-2022-23219
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Signed-off-by: Pgowda <pgowda.cve@gmail.com>
---
NEWS | 4 +++-
sunrpc/clnt_gen.c | 10 +++++++---
2 files changed, 10 insertions(+), 4 deletions(-)
diff --git a/NEWS b/NEWS
index ddd95a8329..38a9ddb2cf 100644
--- a/NEWS
+++ b/NEWS
@@ -206,6 +206,10 @@ Security related changes:
CVE-2022-23218: Passing an overlong file name to the svcunix_create
legacy function could result in a stack-based buffer overflow.
+ CVE-2022-23219: Passing an overlong file name to the clnt_create
+ legacy function could result in a stack-based buffer overflow when
+ using the "unix" protocol. Reported by Martin Sebor.
+
The following bugs are resolved with this release:
[4737] libc: fork is not async-signal-safe
diff --git a/sunrpc/clnt_gen.c b/sunrpc/clnt_gen.c
index 13ced8994e..b44357cd88 100644
--- a/sunrpc/clnt_gen.c
+++ b/sunrpc/clnt_gen.c
@@ -57,9 +57,13 @@ clnt_create (const char *hostname, u_lon
if (strcmp (proto, "unix") == 0)
{
- memset ((char *)&sun, 0, sizeof (sun));
- sun.sun_family = AF_UNIX;
- strcpy (sun.sun_path, hostname);
+ if (__sockaddr_un_set (&sun, hostname) < 0)
+ {
+ struct rpc_createerr *ce = &get_rpc_createerr ();
+ ce->cf_stat = RPC_SYSTEMERROR;
+ ce->cf_error.re_errno = errno;
+ return NULL;
+ }
sock = RPC_ANYSOCK;
client = clntunix_create (&sun, prog, vers, &sock, 0, 0);
if (client == NULL)

View File

@@ -1,79 +0,0 @@
From a8bc44936202692edcd82a48c07d7cf27d6ed8ee Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Sun, 29 Aug 2021 20:49:16 +0800
Subject: [PATCH] fix create thread failed in unprivileged process [BZ #28287]
Since commit [d8ea0d0168 Add an internal wrapper for clone, clone2 and clone3]
applied, start a unprivileged container (docker run without --privileged),
it creates a thread failed in container.
In commit d8ea0d0168, it calls __clone3 if HAVE_CLONE3_WAPPER is defined. If
__clone3 returns -1 with ENOSYS, fall back to clone or clone2.
As known from [1], cloneXXX fails with EPERM if CLONE_NEWCGROUP,
CLONE_NEWIPC, CLONE_NEWNET, CLONE_NEWNS, CLONE_NEWPID, or CLONE_NEWUTS
was specified by an unprivileged process (process without CAP_SYS_ADMIN)
[1] https://man7.org/linux/man-pages/man2/clone3.2.html
So if __clone3 returns -1 with EPERM, fall back to clone or clone2 could
fix the issue. Here are the test steps:
1) Prepare test code
cat > conftest.c <<ENDOF
#include <pthread.h>
#include <stdio.h>
int check_me = 0;
void* func(void* data) {check_me = 42; printf("start thread: check_me %d\n", check_me); return &check_me;}
int main()
{
pthread_t t;
void *ret;
pthread_create (&t, 0, func, 0);
pthread_join (t, &ret);
printf("check_me %d, p %p\n", check_me, &ret);
return (check_me != 42 || ret != &check_me);
}
ENDOF
2) Compile
gcc -o conftest -pthread conftest.c
3) Start a container with glibc 2.34 installed
[skip details]
docker run -it <container-image-name> bash
4) Run conftest without this patch
$ ./conftest
check_me 0, p 0x7ffd91ccd400
5) Run conftest with this patch
$ ./conftest
start thread: check_me 42
check_me 42, p 0x7ffe253c6f20
Upstream-Status: Submitted [libc-alpha@sourceware.org]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
sysdeps/unix/sysv/linux/clone-internal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sysdeps/unix/sysv/linux/clone-internal.c b/sysdeps/unix/sysv/linux/clone-internal.c
index 979f7880be..97101994e8 100644
--- a/sysdeps/unix/sysv/linux/clone-internal.c
+++ b/sysdeps/unix/sysv/linux/clone-internal.c
@@ -52,7 +52,7 @@ __clone_internal (struct clone_args *cl_args,
/* Try clone3 first. */
int saved_errno = errno;
ret = __clone3 (cl_args, sizeof (*cl_args), func, arg);
- if (ret != -1 || errno != ENOSYS)
+ if (ret != -1 || (errno != ENOSYS && errno != EPERM))
return ret;
/* NB: Restore errno since errno may be checked against non-zero
--
2.30.2

View File

@@ -1,4 +1,4 @@
From d34ba0833cd811f8869a6262044af55f9e7b59d8 Mon Sep 17 00:00:00 2001
From 8778429a3345bb5c0361332cf5103f394717a396 Mon Sep 17 00:00:00 2001
From: Jason Wessel <jason.wessel@windriver.com>
Date: Sat, 7 Dec 2019 09:59:22 -0800
Subject: [PATCH] localedef: Add hardlink resolver from util-linux

View File

@@ -1,150 +0,0 @@
From 4cc79c217744743077bf7a0ec5e0a4318f1e6641 Mon Sep 17 00:00:00 2001
From: Nikita Popov <npv1310@gmail.com>
Date: Thu, 12 Aug 2021 16:09:50 +0530
Subject: [PATCH] librt: add test (bug 28213)
This test implements following logic:
1) Create POSIX message queue.
Register a notification with mq_notify (using NULL attributes).
Then immediately unregister the notification with mq_notify.
Helper thread in a vulnerable version of glibc
should cause NULL pointer dereference after these steps.
2) Once again, register the same notification.
Try to send a dummy message.
Test is considered successfulif the dummy message
is successfully received by the callback function.
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=4cc79c217744743077bf7a0ec5e0a4318f1e6641]
CVE: CVE-2021-38604
Signed-off-by: Nikita Popov <npv1310@gmail.com>
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Signed-off-by: Vinay Kumar <vinay.m.engg@gmail.com>
---
rt/Makefile | 1 +
rt/tst-bz28213.c | 101 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 102 insertions(+)
create mode 100644 rt/tst-bz28213.c
diff --git a/rt/Makefile b/rt/Makefile
index 113cea03a5..910e775995 100644
--- a/rt/Makefile
+++ b/rt/Makefile
@@ -74,6 +74,7 @@ tests := tst-shm tst-timer tst-timer2 \
tst-aio7 tst-aio8 tst-aio9 tst-aio10 \
tst-mqueue1 tst-mqueue2 tst-mqueue3 tst-mqueue4 \
tst-mqueue5 tst-mqueue6 tst-mqueue7 tst-mqueue8 tst-mqueue9 \
+ tst-bz28213 \
tst-timer3 tst-timer4 tst-timer5 \
tst-cpuclock2 tst-cputimer1 tst-cputimer2 tst-cputimer3 \
tst-shm-cancel \
diff --git a/rt/tst-bz28213.c b/rt/tst-bz28213.c
new file mode 100644
index 0000000000..0c096b5a0a
--- /dev/null
+++ b/rt/tst-bz28213.c
@@ -0,0 +1,101 @@
+/* Bug 28213: test for NULL pointer dereference in mq_notify.
+ Copyright (C) The GNU Toolchain Authors.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <https://www.gnu.org/licenses/>. */
+
+#include <errno.h>
+#include <sys/types.h>
+#include <sys/stat.h>
+#include <fcntl.h>
+#include <unistd.h>
+#include <mqueue.h>
+#include <signal.h>
+#include <stdlib.h>
+#include <string.h>
+#include <support/check.h>
+
+static mqd_t m = -1;
+static const char msg[] = "hello";
+
+static void
+check_bz28213_cb (union sigval sv)
+{
+ char buf[sizeof (msg)];
+
+ (void) sv;
+
+ TEST_VERIFY_EXIT ((size_t) mq_receive (m, buf, sizeof (buf), NULL)
+ == sizeof (buf));
+ TEST_VERIFY_EXIT (memcmp (buf, msg, sizeof (buf)) == 0);
+
+ exit (0);
+}
+
+static void
+check_bz28213 (void)
+{
+ struct sigevent sev;
+
+ memset (&sev, '\0', sizeof (sev));
+ sev.sigev_notify = SIGEV_THREAD;
+ sev.sigev_notify_function = check_bz28213_cb;
+
+ /* Step 1: Register & unregister notifier.
+ Helper thread should receive NOTIFY_REMOVED notification.
+ In a vulnerable version of glibc, NULL pointer dereference follows. */
+ TEST_VERIFY_EXIT (mq_notify (m, &sev) == 0);
+ TEST_VERIFY_EXIT (mq_notify (m, NULL) == 0);
+
+ /* Step 2: Once again, register notification.
+ Try to send one message.
+ Test is considered successful, if the callback does exit (0). */
+ TEST_VERIFY_EXIT (mq_notify (m, &sev) == 0);
+ TEST_VERIFY_EXIT (mq_send (m, msg, sizeof (msg), 1) == 0);
+
+ /* Wait... */
+ pause ();
+}
+
+static int
+do_test (void)
+{
+ static const char m_name[] = "/bz28213_queue";
+ struct mq_attr m_attr;
+
+ memset (&m_attr, '\0', sizeof (m_attr));
+ m_attr.mq_maxmsg = 1;
+ m_attr.mq_msgsize = sizeof (msg);
+
+ m = mq_open (m_name,
+ O_RDWR | O_CREAT | O_EXCL,
+ 0600,
+ &m_attr);
+
+ if (m < 0)
+ {
+ if (errno == ENOSYS)
+ FAIL_UNSUPPORTED ("POSIX message queues are not implemented\n");
+ FAIL_EXIT1 ("Failed to create POSIX message queue: %m\n");
+ }
+
+ TEST_VERIFY_EXIT (mq_unlink (m_name) == 0);
+
+ check_bz28213 ();
+
+ return 0;
+}
+
+#include <support/test-driver.c>
--
2.31.1

View File

@@ -1,126 +0,0 @@
From f545ad4928fa1f27a3075265182b38a4f939a5f7 Mon Sep 17 00:00:00 2001
From: Florian Weimer <fweimer@redhat.com>
Date: Mon, 17 Jan 2022 10:21:34 +0100
Subject: [PATCH] CVE-2022-23218: Buffer overflow in sunrpc svcunix_create (bug
28768)
The sunrpc function svcunix_create suffers from a stack-based buffer
overflow with overlong pathname arguments.
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=f545ad4928fa1f27a3075265182b38a4f939a5f7]
CVE: CVE-2022-23218
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Signed-off-by: Pgowda <pgowda.cve@gmail.com>
---
NEWS | 3 +++
sunrpc/Makefile | 2 +-
sunrpc/svc_unix.c | 11 ++++-------
sunrpc/tst-bug28768.c | 42 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 50 insertions(+), 8 deletions(-)
create mode 100644 sunrpc/tst-bug28768.c
diff --git a/NEWS b/NEWS
index 38a9ddb2cf..38802f0673 100644
--- a/NEWS
+++ b/NEWS
@@ -203,6 +203,9 @@ Security related changes:
parameter number when processing the expansion resulting in a crash.
Reported by Philippe Antoine.
+ CVE-2022-23218: Passing an overlong file name to the svcunix_create
+ legacy function could result in a stack-based buffer overflow.
+
The following bugs are resolved with this release:
[4737] libc: fork is not async-signal-safe
diff --git a/sunrpc/Makefile b/sunrpc/Makefile
index 183ef3dc55..a79a7195fc 100644
--- a/sunrpc/Makefile
+++ b/sunrpc/Makefile
@@ -65,7 +65,7 @@ shared-only-routines = $(routines)
endif
tests = tst-xdrmem tst-xdrmem2 test-rpcent tst-udp-error tst-udp-timeout \
- tst-udp-nonblocking
+ tst-udp-nonblocking tst-bug28768
xtests := tst-getmyaddr
ifeq ($(have-thread-library),yes)
diff --git a/sunrpc/svc_unix.c b/sunrpc/svc_unix.c
index f2280b4c49..67177a2e78 100644
--- a/sunrpc/svc_unix.c
+++ b/sunrpc/svc_unix.c
@@ -154,7 +154,10 @@ svcunix_create (int sock, u_int sendsize
SVCXPRT *xprt;
struct unix_rendezvous *r;
struct sockaddr_un addr;
- socklen_t len = sizeof (struct sockaddr_in);
+ socklen_t len = sizeof (addr);
+
+ if (__sockaddr_un_set (&addr, path) < 0)
+ return NULL;
if (sock == RPC_ANYSOCK)
{
@@ -165,12 +168,6 @@ svcunix_create (int sock, u_int sendsize
}
madesock = TRUE;
}
- memset (&addr, '\0', sizeof (addr));
- addr.sun_family = AF_UNIX;
- len = strlen (path) + 1;
- memcpy (addr.sun_path, path, len);
- len += sizeof (addr.sun_family);
-
__bind (sock, (struct sockaddr *) &addr, len);
if (__getsockname (sock, (struct sockaddr *) &addr, &len) != 0
diff --git a/sunrpc/tst-bug28768.c b/sunrpc/tst-bug28768.c
new file mode 100644
index 0000000000..35a4b7b0b3
--- /dev/null
+++ b/sunrpc/tst-bug28768.c
@@ -0,0 +1,42 @@
+/* Test to verify that long path is rejected by svcunix_create (bug 28768).
+ Copyright (C) 2022 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
+#include <errno.h>
+#include <rpc/svc.h>
+#include <shlib-compat.h>
+#include <string.h>
+#include <support/check.h>
+
+/* svcunix_create does not have a default version in linkobj/libc.so. */
+compat_symbol_reference (libc, svcunix_create, svcunix_create, GLIBC_2_1);
+
+static int
+do_test (void)
+{
+ char pathname[109];
+ memset (pathname, 'x', sizeof (pathname));
+ pathname[sizeof (pathname) - 1] = '\0';
+
+ errno = 0;
+ TEST_VERIFY (svcunix_create (RPC_ANYSOCK, 4096, 4096, pathname) == NULL);
+ TEST_COMPARE (errno, EINVAL);
+
+ return 0;
+}
+
+#include <support/test-driver.c>

View File

@@ -1,89 +0,0 @@
From ef972a4c50014a16132b5c75571cfb6b30bef136 Mon Sep 17 00:00:00 2001
From: Martin Sebor <msebor@redhat.com>
Date: Mon, 17 Jan 2022 10:21:34 +0100
Subject: [PATCH] sunrpc: Test case for clnt_create "unix" buffer overflow (bug
22542)
Upstream-Status: Backport [https://sourceware.org/git/?p=glibc.git;a=commit;h=ef972a4c50014a16132b5c75571cfb6b30bef136]
CVE: CVE-2022-23219
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Signed-off-by: Pgowda <pgowda.cve@gmail.com>
---
sunrpc/Makefile | 5 ++++-
sunrpc/tst-bug22542.c | 44 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 48 insertions(+), 1 deletion(-)
create mode 100644 sunrpc/tst-bug22542.c
diff --git a/sunrpc/Makefile b/sunrpc/Makefile
index 9a31fe48b9..183ef3dc55 100644
--- a/sunrpc/Makefile
+++ b/sunrpc/Makefile
@@ -65,7 +65,7 @@ shared-only-routines = $(routines)
endif
tests = tst-xdrmem tst-xdrmem2 test-rpcent tst-udp-error tst-udp-timeout \
- tst-udp-nonblocking tst-bug28768
+ tst-udp-nonblocking tst-bug22542 tst-bug28768
xtests := tst-getmyaddr
ifeq ($(have-thread-library),yes)
@@ -110,6 +110,8 @@ $(objpfx)tst-udp-nonblocking: $(common-o
$(objpfx)tst-udp-garbage: \
$(common-objpfx)linkobj/libc.so $(shared-thread-library)
+$(objpfx)tst-bug22542: $(common-objpfx)linkobj/libc.so
+
else # !have-GLIBC_2.31
routines = $(routines-for-nss)
diff --git a/sunrpc/tst-bug22542.c b/sunrpc/tst-bug22542.c
new file mode 100644
index 0000000000..d6cd79787b
--- /dev/null
+++ b/sunrpc/tst-bug22542.c
@@ -0,0 +1,44 @@
+/* Test to verify that overlong hostname is rejected by clnt_create
+ and doesn't cause a buffer overflow (bug 22542).
+
+ Copyright (C) 2022 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ The GNU C Library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with the GNU C Library; if not, see
+ <http://www.gnu.org/licenses/>. */
+
+#include <errno.h>
+#include <rpc/clnt.h>
+#include <string.h>
+#include <support/check.h>
+#include <sys/socket.h>
+#include <sys/un.h>
+
+static int
+do_test (void)
+{
+ /* Create an arbitrary hostname that's longer than fits in sun_path. */
+ char name [sizeof ((struct sockaddr_un*)0)->sun_path * 2];
+ memset (name, 'x', sizeof name - 1);
+ name [sizeof name - 1] = '\0';
+
+ errno = 0;
+ CLIENT *clnt = clnt_create (name, 0, 0, "unix");
+
+ TEST_VERIFY (clnt == NULL);
+ TEST_COMPARE (errno, EINVAL);
+ return 0;
+}
+
+#include <support/test-driver.c>

View File

@@ -1,4 +1,4 @@
From d7bb36a9a27e5e4c3be6378493b41286513750e9 Mon Sep 17 00:00:00 2001
From 87a69126d97bb8d5d52e34e451b4a7076efd6bed Mon Sep 17 00:00:00 2001
From: Jason Wessel <jason.wessel@windriver.com>
Date: Sat, 7 Dec 2019 10:01:37 -0800
Subject: [PATCH] localedef: fix-ups hardlink to make it compile

View File

@@ -1,4 +1,4 @@
From 776a53db6afba8a7ff4412aba88b0679227877f9 Mon Sep 17 00:00:00 2001
From 752b0d32fc96728ee624dbd62bf23e034d8d2aed Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 01:48:24 +0000
Subject: [PATCH] nativesdk-glibc: Look for host system ld.so.cache as well
@@ -30,10 +30,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/elf/dl-load.c b/elf/dl-load.c
index a08df001af..d09daf9e41 100644
index 721593135e..39c4657fa2 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -2196,6 +2196,14 @@ _dl_map_object (struct link_map *loader, const char *name,
@@ -2208,6 +2208,14 @@ _dl_map_object (struct link_map *loader, const char *name,
}
}
@@ -48,7 +48,7 @@ index a08df001af..d09daf9e41 100644
#ifdef USE_LDCONFIG
if (fd == -1
&& (__glibc_likely ((mode & __RTLD_SECURE) == 0)
@@ -2254,14 +2262,6 @@ _dl_map_object (struct link_map *loader, const char *name,
@@ -2266,14 +2274,6 @@ _dl_map_object (struct link_map *loader, const char *name,
}
#endif

View File

@@ -1,4 +1,4 @@
From df18bae1eeee55ecb9db36d13fe67c58355682eb Mon Sep 17 00:00:00 2001
From 2f7407697f2a905fedb98037152e7830f73bc6c6 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 18 Mar 2015 01:50:00 +0000
Subject: [PATCH] nativesdk-glibc: Fix buffer overrun with a relocated SDK
@@ -21,10 +21,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 12 insertions(+)
diff --git a/elf/dl-load.c b/elf/dl-load.c
index d09daf9e41..2c6270e2a7 100644
index 39c4657fa2..daa3af6c51 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -1892,7 +1892,19 @@ open_path (const char *name, size_t namelen, int mode,
@@ -1904,7 +1904,19 @@ open_path (const char *name, size_t namelen, int mode,
given on the command line when rtld is run directly. */
return -1;

Some files were not shown because too many files have changed in this diff Show More