]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/log
thirdparty/openembedded/openembedded-core-contrib.git
20 months agollvm: Update to 18.1.0 RC4
Khem Raj [Thu, 29 Feb 2024 05:11:56 +0000 (21:11 -0800)] 
llvm: Update to 18.1.0 RC4

This is last milestone before final release

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agowaf: Improve version parsing to avoid failing on warnings
Yoann Congal [Thu, 29 Feb 2024 09:59:36 +0000 (10:59 +0100)] 
waf: Improve version parsing to avoid failing on warnings

waf uses an inline tar file extracted by the tarfile module. The tarfile
module may print a warning when used with default 'filter' argument[0].

When called to get the version, the first time after unpack, the output
may look like:
  # output from lower modules (e.g: warnings from tarfile, ...)
  waf X.Y.Z ...

This patch makes the version parsing more precise by looking at the
first line matching "waf ".

[0]: https://docs.python.org/3.12/library/tarfile.html#extraction-filters

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agoxprop: upgrade 1.2.6 -> 1.2.7
Wang Mingyu [Wed, 28 Feb 2024 07:32:55 +0000 (15:32 +0800)] 
xprop: upgrade 1.2.6 -> 1.2.7

Changelog:
 Fix C23 build by renaming variable 'true'

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agoxkeyboard-config: upgrade 2.40 -> 2.41
Wang Mingyu [Wed, 28 Feb 2024 07:32:54 +0000 (15:32 +0800)] 
xkeyboard-config: upgrade 2.40 -> 2.41

Changelog:
===========
Translations updated

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agoxkbcomp: upgrade 1.4.6 -> 1.4.7
Wang Mingyu [Wed, 28 Feb 2024 07:32:53 +0000 (15:32 +0800)] 
xkbcomp: upgrade 1.4.6 -> 1.4.7

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agoswig: upgrade 4.2.0 -> 4.2.1
Wang Mingyu [Wed, 28 Feb 2024 07:32:52 +0000 (15:32 +0800)] 
swig: upgrade 4.2.0 -> 4.2.1

0001-Use-proc-self-exe-for-swig-swiglib-on-non-Win32-plat.patch
determinism.patch
refreshed for 4.2.1

Changelog:
============
-Correctly ignore duplicate template instantiation (when the
 duplicate contains typedef'd template parameters).
-Fix segfault shrinking STL containers.
-Fix -Wundef warning about testing the value of __cplusplus when compiling
 SWIG-generated C code.  Warning introduced by a change in SWIG 4.2.0.
-Fix memory leak when getting or setting a PHP attribute which wraps a C++
 member variable.
-Fix for wrapping STL containers that are static member variables or global
 variables (most scripting languages).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3-yamllint: upgrade 1.33.0 -> 1.35.1
Wang Mingyu [Wed, 28 Feb 2024 07:32:51 +0000 (15:32 +0800)] 
python3-yamllint: upgrade 1.33.0 -> 1.35.1

Changelog:
============
-Restore ignoration of files passed as command-line arguments
-Fix failure on broken symlinks that should be ignored
-Docs: Restore official Read the Docs theme
-Config: validate ignore-from-file inside rules
-Rule quoted-strings: fix only-when-needed in flow maps and sequences
-Rule key-duplicates: add forbid-duplicated-merge-keys option
-Rule quoted-strings: add check-keys option
-Docs: add GitLab CI example
-Rule truthy: adapt forbidden values based on YAML version

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3-urllib3: upgrade 2.1.0 -> 2.2.1
Wang Mingyu [Wed, 28 Feb 2024 07:32:50 +0000 (15:32 +0800)] 
python3-urllib3: upgrade 2.1.0 -> 2.2.1

Changelog:
===========
-Fixed issue where "InsecureRequestWarning" was emitted for HTTPS connections
 when using Emscripten.
-Fixed "HTTPConnectionPool.urlopen" to stop automatically casting non-proxy
 headers to "HTTPHeaderDict".
-Changed "InvalidChunkLength" to "ProtocolError" when response terminates
 before the chunk length is sent.
-Changed "ProtocolError" to be more verbose on incomplete reads with excess
 content.
-Added support for 'Emscripten and Pyodide
-Added support for "HTTPResponse.read1()" method.
-Added rudimentary support for HTTP/2.
-Fixed issue where requests against urls with trailing dots were failing due to
 SSL errors when using proxy.
-Fixed "HTTPConnection.proxy_is_verified" and
 "HTTPSConnection.proxy_is_verified" to be always set to a boolean after
 connecting to a proxy. It could be "None" in some cases previously.
-Fixed an issue where "headers" passed in a request with "json=" would be
 mutated
-Fixed "HTTPSConnection.is_verified" to be set to "False" when connecting
 from a HTTPS proxy to an HTTP target. It was set to "True" previously.
-Fixed handling of new error message from OpenSSL 3.2.0 when configuring an
 HTTP proxy as HTTPS
-Fixed TLS 1.3 post-handshake auth when the server certificate validation is
 disabled
-Note for downstream distributors: To run integration tests, you now need to run
 the tests a second time with the "--integration" pytest flag.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3: upgrade 3.12.1 -> 3.12.2
Wang Mingyu [Wed, 28 Feb 2024 07:32:49 +0000 (15:32 +0800)] 
python3: upgrade 3.12.1 -> 3.12.2

0001-Avoid-shebang-overflow-on-python-config.py.patch
0001-Makefile.pre-use-qemu-wrapper-when-gathering-profile.patch
0001-Skip-failing-tests-due-to-load-variability-on-YP-AB.patch
0001-gh-114492-Initialize-struct-termios-before-calling-t.patch
0001-python3-use-cc_basename-to-replace-CC-for-checking-c.patch
0001-skip-no_stdout_fileno-test-due-to-load-variability.patch
0001-test_xml_etree.py-Fix-for-Expat-2.6.0-with-reparse-d.patch
0020-configure.ac-setup.py-do-not-add-a-c
refreshed for 3.12.2

Changelog:
 https://docs.python.org/3.12/whatsnew/3.12.html

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3-typing-extensions: upgrade 4.9.0 -> 4.10.0
Wang Mingyu [Wed, 28 Feb 2024 07:32:48 +0000 (15:32 +0800)] 
python3-typing-extensions: upgrade 4.9.0 -> 4.10.0

Changelog:
============
-Add support for PEP 728, supporting the closed keyword argument and the special
 __extra_items__ key for TypedDict.
-Add support for PEP 742, adding typing_extensions.TypeIs.
-Drop runtime error when a read-only TypedDict item overrides a mutable one.
 Type checkers should still flag this as an error.
-Speedup issubclass() checks against simple runtime-checkable protocols by
 around 6% (backporting python/cpython#112717
-Fix a regression in the implementation of protocols where typing.Protocol
 classes that were not marked as @runtime_checkable would be unnecessarily
 introspected, potentially causing exceptions to be raised if the protocol had
 problematic members.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3-trove-classifiers: upgrade 2024.1.8 -> 2024.2.23
Wang Mingyu [Wed, 28 Feb 2024 07:32:47 +0000 (15:32 +0800)] 
python3-trove-classifiers: upgrade 2024.1.8 -> 2024.2.23

Changelog:
==========
*Add classifier: 'License :: OSI Approved :: Educational Community License'
*PR for Issue #170
*fix spurious line
*Update src/trove_classifiers/__init__.py

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3-setuptools-rust: upgrade 1.8.1 -> 1.9.0
Wang Mingyu [Wed, 28 Feb 2024 07:32:45 +0000 (15:32 +0800)] 
python3-setuptools-rust: upgrade 1.8.1 -> 1.9.0

Changelog:
-Deprecate py_limited_api option to RustExtension in favour of always using
 "auto" to configure this from bdist_wheel.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3-pytz: upgrade 2023.4 -> 2024.1
Wang Mingyu [Wed, 28 Feb 2024 07:32:44 +0000 (15:32 +0800)] 
python3-pytz: upgrade 2023.4 -> 2024.1

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3-pytest: upgrade 8.0.0 -> 8.0.2
Wang Mingyu [Wed, 28 Feb 2024 07:32:43 +0000 (15:32 +0800)] 
python3-pytest: upgrade 8.0.0 -> 8.0.2

Changelog:
============
-Fix collection on Windows where initial paths contain the short version
 of a path (for example c:\PROGRA~1\tests).
-Fix an IndexError crash raising from getstatementrange_ast.
-Reverted a fix to --maxfail handling in pytest 8.0.0 because it caused a
 regression in pytest-xdist whereby session fixture teardowns may get executed
 multiple times when the max-fails is reached.
-Correctly handle errors from getpass.getuser() in Python 3.13.
-Fix an edge case where ExceptionInfo._stringify_exception could crash
 pytest.raises().
-Fix regression with pytest.warns() using custom warning subclasses which
 have more than one parameter in their __init__.
-Fix a regression in pytest 8.0.0 whereby calling pytest.skip() and similar
 control-flow exceptions within a pytest.warns() block would get suppressed
 instead of propagating.
-Fix a regression in pytest 8.0.0 whereby autouse fixtures defined in a module
 get ignored by the doctests in the module.
-Fix a regression in pytest 8.0.0 whereby items would be collected in reverse
 order in some circumstances.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3-pycairo: upgrade 1.25.1 -> 1.26.0
Wang Mingyu [Wed, 28 Feb 2024 07:32:42 +0000 (15:32 +0800)] 
python3-pycairo: upgrade 1.25.1 -> 1.26.0

Changelog:
============
* Bump minimum required meson version from 0.56.0 to 0.64.0
* Various meson related cleanups
* Fix header file being installed to the wrong location with meson on some systems
* Adds a new "wheel" meson build option as preparation for meson-python support
* Update dependencies (libpng, pixman, zlib) of the Windows wheels
* Various maintenance related updates

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3-pip: upgrade 23.3.2 -> 24.0
Wang Mingyu [Wed, 28 Feb 2024 07:32:41 +0000 (15:32 +0800)] 
python3-pip: upgrade 23.3.2 -> 24.0

no_shebang_mangling.patch
refreshed for 24.0

Changelog:
===========
-Retry on HTTP status code 502
-Automatically use the setuptools PEP 517 build backend when --config-settings
 is used for projects without pyproject.toml.
-Make pip freeze and pip uninstall of legacy editable installs of packages
 whose name contains _ compatible with setuptools>=69.0.3.
-Support per requirement --config-settings for editable installs.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3-hypothesis: upgrade 6.97.3 -> 6.98.12
Wang Mingyu [Wed, 28 Feb 2024 07:32:40 +0000 (15:32 +0800)] 
python3-hypothesis: upgrade 6.97.3 -> 6.98.12

Changelog:
 https://hypothesis.readthedocs.io/en/latest/changes.html

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3-dbusmock: upgrade 0.30.2 -> 0.31.1
Wang Mingyu [Wed, 28 Feb 2024 07:32:39 +0000 (15:32 +0800)] 
python3-dbusmock: upgrade 0.30.2 -> 0.31.1

Changelog:
==========
-power_profiles_daemon: Move back to original D-Bus name to avoid breaking compatibility
-Add upower_power_profiles_daemon template for version 0.20 API with new D-Bus name

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3-certifi: upgrade 2023.11.17 -> 2024.2.2
Wang Mingyu [Wed, 28 Feb 2024 07:32:38 +0000 (15:32 +0800)] 
python3-certifi: upgrade 2023.11.17 -> 2024.2.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3-beartype: upgrade 0.17.0 -> 0.17.2
Wang Mingyu [Wed, 28 Feb 2024 07:32:37 +0000 (15:32 +0800)] 
python3-beartype: upgrade 0.17.0 -> 0.17.2

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopkgconf: upgrade 2.1.0 -> 2.1.1
Wang Mingyu [Wed, 28 Feb 2024 07:32:36 +0000 (15:32 +0800)] 
pkgconf: upgrade 2.1.0 -> 2.1.1

Changelog:
==========
* Documentation fixes
* Fix --modversion with constraints.
* Reintroduce an optimization to the dependency graph walker which avoids
  revisiting already visited nodes.
* Add a regression test to check that the dependency flattener is working
  as expected.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopciutils: upgrade 3.10.0 -> 3.11.1
Wang Mingyu [Wed, 28 Feb 2024 07:32:35 +0000 (15:32 +0800)] 
pciutils: upgrade 3.10.0 -> 3.11.1

configure.patch
refreshed for 3.11.1

Changelog:
===========
* Fixed wrong API version in lib/pci.h.
* Updated README.Windows.
* Fix compilation on Windows.
* update-pciids now supports XZ compression. If libpci is configured
  with support for compression, all downloaded files are recompressed
  as gzip. Otherwise they are stored as plain text.
* update-pciids now sends itself as the User-Agent.
* Added a pcilmr utility for PCIe lane margining.
* Re-factored access to i386 ports on all relevant platforms.
* Added i386 port access on OpenBSD.
* Back-ends for Windows received many bug fixes and improvements.
* ECAM back-end now scans ACPI and BIOS memory faster.
* Linux systems without pread/pwrite are no longer supported
  as they are hopefully long gone. This helps avoid the tricky check
  for presence of pread which was found to fail on musl libc.
* Improved decoding of PCIe control and status registers.
* Decoding of CXL capabilities now supports up to CXL 3.0.
* lspci now displays interrupt message numbers consistently across
  different capabilities.
* Cache of IDs resolved via DNS, which was located in ~/.pci-ids
  by default, is now stored according to the XDG base directory
  specification in $XDG_CACHE_HOME/pci-ids.
* All source files now have SPDX license identifiers.
* Internal: The "aux" fields of structs pci_access and pci_dev
  reserved for use by back-ends were renamed to backend_data to better
  reflect their meaning.
* As usually, various minor bug fixes and updated pci.ids.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopango: upgrade 1.51.0 -> 1.52.0
Wang Mingyu [Wed, 28 Feb 2024 07:32:34 +0000 (15:32 +0800)] 
pango: upgrade 1.51.0 -> 1.52.0

Changelog:
=============
- Add pango_font_map_reload_font
- Improve formatting of font sizes

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agoofono: upgrade 2.3 -> 2.4
Wang Mingyu [Wed, 28 Feb 2024 07:32:33 +0000 (15:32 +0800)] 
ofono: upgrade 2.3 -> 2.4

Changelog:
============
-Add support for new provision database format.
-Add support for Quectel EG96 modem.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agompg123: upgrade 1.32.4 -> 1.32.5
Wang Mingyu [Wed, 28 Feb 2024 07:32:32 +0000 (15:32 +0800)] 
mpg123: upgrade 1.32.4 -> 1.32.5

Changelog:
============
- build:
-- CMake port uses CFLAGS for pulse/jack/tinyalsa properly now (bug 366).
-- CMake port links libsyn123 with libm now (bug 370).
- libmpg123:
-- Fix --enable-portable (no usage of LFS_WRAP_NONE, bug 368).
-- Fix dct36 wrapper usage for x86-64 and NEON. Stupid (bug 367) and
   also avoid returning void.
-- Make ARM builds work with nagging (missing feature macros for std=c99)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agomakedepend: upgrade 1.0.8 -> 1.0.9
Wang Mingyu [Wed, 28 Feb 2024 07:32:30 +0000 (15:32 +0800)] 
makedepend: upgrade 1.0.8 -> 1.0.9

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolighttpd: upgrade 1.4.73 -> 1.4.74
Wang Mingyu [Wed, 28 Feb 2024 07:32:29 +0000 (15:32 +0800)] 
lighttpd: upgrade 1.4.73 -> 1.4.74

Changelog:
 http://www.lighttpd.net/2024/2/19/1.4.74/

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolibxvmc: upgrade 1.0.13 -> 1.0.14
Wang Mingyu [Wed, 28 Feb 2024 07:32:28 +0000 (15:32 +0800)] 
libxvmc: upgrade 1.0.13 -> 1.0.14

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolibxkbfile: upgrade 1.1.2 -> 1.1.3
Wang Mingyu [Wed, 28 Feb 2024 07:32:27 +0000 (15:32 +0800)] 
libxkbfile: upgrade 1.1.2 -> 1.1.3

Changelog:
===========
-configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
-Set close-on-exec when opening files
-_XkbMakeAtom: remove check for impossible case
-_XkbInitAtoms: check for malloc() failure
-XkbChangeAtomDisplay: stop leaking atom name
-XkbCFReportError: avoid -Wformat-nonliteral warning
-XkbWriteCFile: stop leaking header file ifdef name
-DefaultParser: avoid -Wimplicit-fallthrough warnings
-xkbtext.c: Add tbGetBufferString helper function
-XkbIndentText: Fix -Wsign-compare warning
-Fix -Wsign-compare warnings in xkbtext.c & xkmread.c
-Add a meson build system

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolibxext: upgrade 1.3.5 -> 1.3.6
Wang Mingyu [Wed, 28 Feb 2024 07:32:26 +0000 (15:32 +0800)] 
libxext: upgrade 1.3.5 -> 1.3.6

Changelog:
===========
-Wrap Xext*CheckExtension() in do { ... } while(0)
-configure: raise minimum autoconf requirement to 2.70
-configure: Use LT_INIT from libtool 2 instead of deprecated AC_PROG_LIBTOOL
-_xgeGetExtensionVersion should not free info on failure
-Check for malloc failure in _xgeGetExtensionVersion
-_xgeDpyClose: handle NULL return from _xgeFindDisplay
-XEVI: fix -Walloc-size

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agoliburi-perl: upgrade 5.25 -> 5.27
Wang Mingyu [Wed, 28 Feb 2024 07:32:25 +0000 (15:32 +0800)] 
liburi-perl: upgrade 5.25 -> 5.27

Changelog:
==========
- Add missing NAME section to POD of URI::geo
- Add URI::geo

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolibunistring: upgrade 1.1 -> 1.2
Wang Mingyu [Wed, 28 Feb 2024 07:32:24 +0000 (15:32 +0800)] 
libunistring: upgrade 1.1 -> 1.2

License-Update:
===============
doc/libunistring.texi (Conventions):
 Explain the (resultbuf, lengthp) return value convention from the user's point of view.
doc/libunistring.texi (Include files):
 Fix documentation of _LIBUNISTRING_VERSION and _libunistring_version (incorrect since 2010-05-14).
 Add documentation of _libunistring_unicode_version.

Changelog:
=============
* The data tables and algorithms have been updated to Unicode version 15.1.0.
* New functions u8_pcpy, u16_pcpy, u32_pcpy, similar to mempcpy.
* New functions uc_indic_conjunct_break_name, uc_indic_conjunct_break_byname,
  uc_indic_conjunct_break.
* New functions
    uc_is_property_prepended_concatenation_mark,
    uc_is_property_id_compat_math_start, uc_is_property_id_compat_math_continue,
    uc_is_property_ids_unary_operator
  and new constants
    UC_PROPERTY_PREPENDED_CONCATENATION_MARK,
    UC_PROPERTY_ID_COMPAT_MATH_START, UC_PROPERTY_ID_COMPAT_MATH_CONTINUE,
    UC_PROPERTY_IDS_UNARY_OPERATOR.
* New constant _libunistring_unicode_version.
* The UTF-8 decoder functions, especially u8_mbtouc, are now more Unicode
  Standard compliant.
* The *printf functions no longer support the %n directive, for security
  reasons.
* Fixed a bug in the *printf functions: In the %U, %lU, %llU directives, a
  negative width given as an argument did not trigger left-justification.
* The functions u16_strstr and u32_strstr now operate in worst-case linear
  time.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolibsecret: upgrade 0.21.2 -> 0.21.4
Wang Mingyu [Wed, 28 Feb 2024 07:32:23 +0000 (15:32 +0800)] 
libsecret: upgrade 0.21.2 -> 0.21.4

Changelog:
==========
 * file-backend: Subscribe before calling dbus
 * meson: Fix crypto option being silently ignored
 * Updated translations
 * Port PAM module from gnome-keyring
 * secret-tool: Fix memory issues in lock command

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolibpng: upgrade 1.6.41 -> 1.6.42
Wang Mingyu [Wed, 28 Feb 2024 07:32:22 +0000 (15:32 +0800)] 
libpng: upgrade 1.6.41 -> 1.6.42

Changelog:
 Fixed the implementation of the macro function png_check_sig().

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolibmicrohttpd: upgrade 0.9.77 -> 1.0.1
Wang Mingyu [Wed, 28 Feb 2024 07:32:20 +0000 (15:32 +0800)] 
libmicrohttpd: upgrade 0.9.77 -> 1.0.1

Changelog:
  fixes and improves builds with non-default configure parameters.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolibksba: upgrade 1.6.5 -> 1.6.6
Wang Mingyu [Wed, 28 Feb 2024 07:32:19 +0000 (15:32 +0800)] 
libksba: upgrade 1.6.5 -> 1.6.6

Changelog:
 Fix a possible wrong error return from the DER builder.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolibhandy: upgrade 1.8.2 -> 1.8.3
Wang Mingyu [Wed, 28 Feb 2024 07:32:18 +0000 (15:32 +0800)] 
libhandy: upgrade 1.8.2 -> 1.8.3

Changelog:
==========
- HdyStyleManager
  - Support contrast setting in the settings portal
  - Remove an extra unref
- Translation updates
  - Catalan
  - Georgian
  - Romanian
  - Turkish

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolibgpg-error: upgrade 1.47 -> 1.48
Wang Mingyu [Wed, 28 Feb 2024 07:32:17 +0000 (15:32 +0800)] 
libgpg-error: upgrade 1.47 -> 1.48

0001-Do-not-fail-when-testing-config-scripts.patch
refreshed for 1.48

Changelog:
===========
 * New configure option --with-libtool-modification.
 * New option parser flag to detect commands given without a double
   dash.  There is also the new meta command "command-mode" to set
   this flag via a config file.
 * Added an es_fopen mode flag "sequential" with support on Windows.
 * Added an es_fopen mode flag "wipe" to cleanup internal buffers at
   close time.
 * New function gpgrt_wipememory.
 * Improvements to setenv on Windows.
 * Fixed call to estream-printf string filters.
 * Many improvements to the yat2m tool.
 * Updates to the build system.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolibffi: upgrade 3.4.5 -> 3.4.6
Wang Mingyu [Wed, 28 Feb 2024 07:32:16 +0000 (15:32 +0800)] 
libffi: upgrade 3.4.5 -> 3.4.6

meta/recipes-support/libffi/libffi/not-win32.patch
refreshed for 3.4.6

Changelog:
===========
-chore: update version to 3.4.6 and fix long double regression on mips64 and alpha
-Update sparc64 host
-Update cfarm hostnames
-Always define long double types
-update copyright year in libffi.texi
-Update version, copyright and testsuite info
-Fix test filename reference

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agogit: upgrade 2.43.0 -> 2.44.0
Wang Mingyu [Wed, 28 Feb 2024 07:32:15 +0000 (15:32 +0800)] 
git: upgrade 2.43.0 -> 2.44.0

Changelog:
==========
https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.44.0.txt

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agogcr: upgrade 4.1.0 -> 4.2.0
Wang Mingyu [Wed, 28 Feb 2024 07:32:14 +0000 (15:32 +0800)] 
gcr: upgrade 4.1.0 -> 4.2.0

Changelog:
==========
- gcr-ssh-agent: add command line options to gcr-ssh-agent [GNOME/gcr!129]
- gcr-ssh-agent: Fix memory leak spotted by ASan [GNOME/gcr!133]
- gcr-ssh-agent: Port memory safety fixes from gnome-keyring ssh-agent [GNOME/gcr!128]
- Updated translations

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agoefivar: upgrade 38 -> 39
Wang Mingyu [Wed, 28 Feb 2024 07:32:13 +0000 (15:32 +0800)] 
efivar: upgrade 38 -> 39

Changelog:
==========
-Add -T workaround for GNU ld 2.36
-Add extern "C" to headers for easier use by C++
-Avoid format error on i686
-Fix the -march issue for riscv64
-Fix musl build
-Fix invalid free in main()
-Remove deprecated --add-needed linker flag
-src/Makefile: build util.c separately for makeguids
-Adjust dependency for libefivar and libefiboot objects
-Set LC_ALL=C to force English output from ld
-LLD: fix detection and remove not needed workarounds
-Fix glibc 2.36 build (mount.h conflicts)
-File device paths: don't print "File(" or ")"
-Use off_t instead of off64_t
-Revamp efi_well_known_* variable handling
-Allow overriding PKG_CONFIG
-Allow passing of hex values to -A
-Allow -a to create a non-existent variable
-make: add option to disable building/installing the docs
-esl-iter.h: fix type declaration of return value for gcc-13
-Minor code updates
-src/Makefile: do not override LIBS and CFLAGS for prerequisites
-linux: handle non-ACPI systems in device_get()
-Change set&append data to be const.
-dp.h: check _ucs2size in format_ucs2()
-Fix wrong if condition in efi_variable_get_data
-Make README statement match license
-Remove needless access() in efivarfs_probe()

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agoed: upgrade 1.20 -> 1.20.1
Wang Mingyu [Wed, 28 Feb 2024 07:32:12 +0000 (15:32 +0800)] 
ed: upgrade 1.20 -> 1.20.1

Changelog:
  io.c (write_file): Don't create missing intermediate directories.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agocreaterepo-c: upgrade 1.0.3 -> 1.0.4
Wang Mingyu [Wed, 28 Feb 2024 07:32:10 +0000 (15:32 +0800)] 
createrepo-c: upgrade 1.0.3 -> 1.0.4

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agoccache: upgrade 4.9 -> 4.9.1
Wang Mingyu [Wed, 28 Feb 2024 07:32:09 +0000 (15:32 +0800)] 
ccache: upgrade 4.9 -> 4.9.1

License-Update: Copyright year updated to 2024.

Changelog:
==========
- Improved detection of bad remote storage URLs gracefully. This also fixes
  crashes seen in ccache's own test suite. +
- Made caching completely disabled when modification of a source or include file
  is detected during ccache invocation. Previously this was only done for the
  direct mode. +
- Fixed a MSVC crash when using '/Zi' with many concurrent compilations. +
- Fixed a crash when '-arch' is the last compiler option. +

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agobash-completion: upgrade 2.11 -> 2.12.0
Wang Mingyu [Wed, 28 Feb 2024 07:32:08 +0000 (15:32 +0800)] 
bash-completion: upgrade 2.11 -> 2.12.0

License-Update:
 docs(COPYING): use unmodified upstream license file

Changelog:
 https://github.com/scop/bash-completion/releases/tag/2.12.0

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agomirrors: Switch llvm to use shallow cloning
Richard Purdie [Wed, 28 Feb 2024 12:48:26 +0000 (12:48 +0000)] 
mirrors: Switch llvm to use shallow cloning

The llvm github repo appears to see a lot of churn on branches we're not
interested in and is in general huge and unreliable to clone.

Switch to shallow clones to improve the user experience.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agogstreamer1.0: skip a test that is known to be flaky
Ross Burton [Wed, 28 Feb 2024 13:31:04 +0000 (13:31 +0000)] 
gstreamer1.0: skip a test that is known to be flaky

The aggregator testcase test_infinite_seek_50_src_live is known upstream
to be flaky[1] and when this fails in their CI they just ignore it.

It's failing often on our autobuilder, so disable the test case for now
until upstream have resolved this issue.

[ YOCTO #15054 ]

[1] https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/410

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agooeqa/lib/utils/postactions: fix host disk usage stats retrieval
Alexis Lothoré [Wed, 28 Feb 2024 16:41:35 +0000 (17:41 +0100)] 
oeqa/lib/utils/postactions: fix host disk usage stats retrieval

The recently introduced postactions module  can raise, on failing ptests,
the following warning:

WARNING: core-image-ptest-glib-2.0-1.0-r0 do_testimage: Can not get host
disk usage: [Errno 2] No such file or directory: '/usr/bin/df'

The issue is likely not happening because of df absence (to be confirmed
amongst the variety of workers) but because of the wrong path. Fix it by
letting subprocess search for df, passing only the binary name. To make it
work, we also have to reset the environment, otherwise the environment
configured before running bitbake will be used, and search will fail.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3-cryptography{-vectors}: upgrade to 42.0.5
Tim Orling [Wed, 28 Feb 2024 16:25:31 +0000 (08:25 -0800)] 
python3-cryptography{-vectors}: upgrade to 42.0.5

* Includes an upgrade to pyo3 from 0.20.0 to 0.20.3 which fixes ppc64
* Refresh -crates.inc

https://cryptography.io/en/latest/changelog/#v42-0-5
https://cryptography.io/en/latest/changelog/#v42-0-4
https://cryptography.io/en/latest/changelog/#v42-0-3

42.0.5 - 2024-02-23
* Limit the number of name constraint checks that will be performed in
  X.509 path validation to protect against denial of service attacks.
* Upgrade pyo3 version, which fixes building on PowerPC.

42.0.4 - 2024-02-20
* Fixed a null-pointer-dereference and segfault that could occur when
  creating a PKCS#12 bundle. Credit to Alexander-Programming for
  reporting the issue. CVE-2024-26130
* Fixed ASN.1 encoding for PKCS7/SMIME signed messages. The fields
  SMIMECapabilities and SignatureAlgorithmIdentifier should now be
  correctly encoded according to the definitions in RFC 2633 RFC 3370.

42.0.3 - 2024-02-15
* Fixed an initialization issue that caused key loading failures for
  some users.

CVE: CVE-2024-26130
https://nvd.nist.gov/vuln/detail/CVE-2024-26130

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolibc-locale: fix ASCII compatible warning cause build failure.
Xiangyu Chen [Mon, 26 Feb 2024 09:59:21 +0000 (17:59 +0800)] 
libc-locale: fix ASCII compatible warning cause build failure.

Some locales are not listed in glibc locales support list, but can be generated,
here using ja_JP.SHIFT_JIS as an example. We can add following line into local.conf
to enable and generate it:

GLIBC_GENERATE_LOCALES += "en_GB.UTF-8 en_US.UTF-8 ja_JP.UTF-8 ja_JP.SHIFT_JIS"
IMAGE_LINGUAS += "ja-jp en-us ja-jp.shift-jis"

The localedef tool would report a warning and exit with 1, that cause build failure,
error message as below:

[warning] character map `SHIFT_JIS' is not ASCII compatible, locale not ISO C compliant [--no-warnings=ascii]

So add a --no-warnings=ascii in libc-package.bbclass to fix build failure if someone needs those locale
in yocto.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agorpm: Fix the following error when run nativesdk-rpm in nativesdk environment.
Lei Maohui [Wed, 28 Feb 2024 07:41:41 +0000 (15:41 +0800)] 
rpm: Fix the following error when run nativesdk-rpm in nativesdk environment.

  package busybox-inittab-1.36.1-r0.ubinux_x86_64 is intended for a different architecture
  package busybox-udhcpc-1.36.1-r0.core2_64 is intended for a different architecture
  package ldconfig-2.39+git0+312e159626-r0.core2_64 is intended for a different architecture
  ......

CMAKE_INSTALL_SYSCONFDIR is necessary. If not set
CMAKE_INSTALL_SYSCONFDIR, nativesdk-rpm will use the default setting:
/usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-ubinuxsdk-linux/etc to find rpmrc file.

Signed-off-by: Lei Maohui <leimaohui@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3: dont disable readline module for editline
Nick Owens [Tue, 27 Feb 2024 21:56:32 +0000 (13:56 -0800)] 
python3: dont disable readline module for editline

if we use editline, then the readline module must also be enabled for
python to build the readline module and link it against libedit.

Signed-off-by: Nick Owens <nick.owens@eero.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3-maturin: Recognise riscv32 architecture
Khem Raj [Tue, 27 Feb 2024 19:52:02 +0000 (11:52 -0800)] 
python3-maturin: Recognise riscv32 architecture

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3-bcrypt: Fix build break on arches without 64 bit atomics
Khem Raj [Tue, 27 Feb 2024 17:51:37 +0000 (09:51 -0800)] 
python3-bcrypt: Fix build break on arches without 64 bit atomics

bump pyo3 to 0.20.3, which brings the needed fixes for building for
architectures without 64bit atomics [1]

[1] https://github.com/pyca/bcrypt/pull/746

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopython3-git: upgrade 3.1.41 -> 3.1.42
Trevor Gamblin [Tue, 27 Feb 2024 18:44:40 +0000 (13:44 -0500)] 
python3-git: upgrade 3.1.41 -> 3.1.42

This release contains bugfixes, documentation updates, and changes to
metadata for build and CI.

Changelog: https://github.com/gitpython-developers/GitPython/releases/tag/3.1.42

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agowpa-supplicant: Fix CVE-2023-52160
Claus Stovgaard [Tue, 27 Feb 2024 17:45:50 +0000 (18:45 +0100)] 
wpa-supplicant: Fix CVE-2023-52160

PEAP client: Update Phase 2 authentication requirements. Also see
https://www.top10vpn.com/research/wifi-vulnerabilities/

Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolibexif: remove unused version_underscore
Ross Burton [Tue, 27 Feb 2024 15:51:44 +0000 (15:51 +0000)] 
libexif: remove unused version_underscore

This function hasn't been used since the upgrade to 0.6.23 in 2021[1]

[1] oe-core 65a54f72e15f59bdf9d8c4618f3ef8510541d134

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolinux-yocto/6.6: update CVE exclusions
Bruce Ashfield [Mon, 26 Feb 2024 22:34:53 +0000 (17:34 -0500)] 
linux-yocto/6.6: update CVE exclusions

Data pulled from: https://github.com/nluedtke/linux_kernel_cves

    1/1 [
        Author: Nicholas Luedtke
        Email: nicholas.luedtke@uwalumni.com
        Subject: Update 25Feb24
        Date: Sun, 25 Feb 2024 07:03:08 -0500

    ]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolinux-yocto/6.6: update to v6.6.18
Bruce Ashfield [Mon, 26 Feb 2024 22:34:52 +0000 (17:34 -0500)] 
linux-yocto/6.6: update to v6.6.18

Updating linux-yocto/6.6 to the latest korg -stable release that comprises
the following commits:

    d8a27ea2c986 Linux 6.6.18
    9e083726d5e3 tracing: Fix a NULL vs IS_ERR() bug in event_subsystem_dir()
    9389eaaca7b9 tracing: Make system_callback() function static
    cec85aa54b12 Documentation/arch/ia64/features.rst: fix kernel-feat directive
    ccce12ecf2a7 x86/barrier: Do not serialize MSR accesses on AMD
    438d19492b7f dm: limit the number of targets and parameter size area
    2c3bdba00283 nilfs2: fix potential bug in end_buffer_async_write
    c20fc13082d1 of: property: Add in-ports/out-ports support to of_graph_get_port_parent()
    b6a2a9cbb675 sched/membarrier: reduce the ability to hammer on sys_membarrier
    0a962f2fbaa9 x86/efistub: Use 1:1 file:memory mapping for PE/COFF .compat section
    686b58ce5052 x86/boot: Increase section and file alignment to 4k/512
    f7eedad78068 x86/boot: Split off PE/COFF .data section
    476316bb48c1 x86/boot: Drop PE/COFF .reloc section
    0db81e8e20f6 x86/boot: Construct PE/COFF .text section from assembler
    0cf3d613a141 x86/boot: Derive file size from _edata symbol
    c731fbcfdbb6 x86/boot: Define setup size in linker script
    431b39e62594 x86/boot: Set EFI handover offset directly in header asm
    8e102324e743 x86/boot: Grab kernel_info offset from zoffset header directly
    a38801ba1875 x86/boot: Drop references to startup_64
    08796fc9bfe2 x86/boot: Drop redundant code setting the root device
    4bac079dba04 x86/boot: Omit compression buffer from PE/COFF image memory footprint
    d9b6b6e8d871 x86/boot: Remove the 'bugger off' message
    e17a8bf1fb5d x86/efi: Drop alignment flags from PE section headers
    8117961d98fb x86/efi: Disregard setup header of loaded image
    fa244085025f x86/efi: Drop EFI stub .bss from .data section
    940c919be813 nfsd: don't take fi_lock in nfsd_break_deleg_cb()
    a49e9c7267d0 eventfs: Keep all directory links at 1
    9bb8131a9ff9 eventfs: Remove fsnotify*() functions from lookup()
    ed823ca4bcf3 eventfs: Restructure eventfs_inode structure to be more condensed
    5c3ea7dfef17 eventfs: Warn if an eventfs_inode is freed without is_freed being set
    5dfb04100326 eventfs: Get rid of dentry pointers without refcounts
    c46192051c20 eventfs: Clean up dentry ops and add revalidate function
    ca2d3b2c260d eventfs: Remove unused d_parent pointer field
    21faa3de640d tracefs: dentry lookup crapectomy
    4928d0e32228 tracefs: Avoid using the ei->dentry pointer unnecessarily
    d1bcde94223e eventfs: Initialize the tracefs inode properly
    f0686a194549 tracefs: Zero out the tracefs_inode when allocating it
    35e219f7cd36 tracefs: remove stale update_gid code
    9a187657d681 eventfs: Save directory inodes in the eventfs_inode structure
    1f20155a724c eventfs: Use kcalloc() instead of kzalloc()
    c55d11ea8e07 eventfs: Do not create dentries nor inodes in iterate_shared
    4e8731d20fba eventfs: Have the inodes all for files and directories all be the same
    e638899f9963 eventfs: Shortcut eventfs_iterate() by skipping entries already read
    f3f41f444b32 eventfs: Read ei->entries before ei->children in eventfs_iterate()
    82820a2d76cc eventfs: Do ctx->pos update for all iterations in eventfs_iterate()
    98102764cca9 eventfs: Have eventfs_iterate() stop immediately if ei->is_freed is set
    628adb842bd5 tracefs/eventfs: Use root and instance inodes as default ownership
    1bfdd54adbb8 eventfs: Stop using dcache_readdir() for getdents()
    ee699b547b63 eventfs: Remove "lookup" parameter from create_dir/file_dentry()
    ee3bde693ee8 eventfs: Fix bitwise fields for "is_events"
    f6bf29570034 tracefs: Check for dentry->d_inode exists in set_gid()
    1b4dfdb3274a eventfs: Fix file and directory uid and gid ownership
    4d12a83ecdb6 eventfs: Have event files and directories default to parent uid and gid
    53cd8c57cc73 eventfs: Fix events beyond NAME_MAX blocking tasks
    6eee5c670861 eventfs: Make sure that parent->d_inode is locked in creating files/dirs
    29bb70cad668 eventfs: Do not allow NULL parent to eventfs_start_creating()
    43fbddf34c3c eventfs: Move taking of inode_lock into dcache_dir_open_wrapper()
    6586a12d3f02 eventfs: Use GFP_NOFS for allocation when eventfs_mutex is held
    7b4cb5d59f3e eventfs: Do not invalidate dentry in create_file/dir_dentry()
    b1391e3653f5 eventfs: Remove expectation that ei->is_freed means ei->dentry == NULL
    74a9e56b682f eventfs: Use simple_recursive_removal() to clean up dentries
    fb9b8eea5d21 eventfs: Remove special processing of dput() of events directory
    c58673cad4e9 eventfs: Delete eventfs_inode when the last dentry is freed
    1a6edfc7be2f eventfs: Hold eventfs_mutex when calling callback functions
    32f4c167cbef eventfs: Save ownership and mode
    d2a632aeecc4 eventfs: Test for ei->is_freed when accessing ei->dentry
    6e2a33522ee7 eventfs: Have a free_ei() that just frees the eventfs_inode
    4bb123ce29cd eventfs: Remove "is_freed" union with rcu head
    773cd7dfd092 eventfs: Fix kerneldoc of eventfs_remove_rec()
    810a957e343b eventfs: Remove extra dget() in eventfs_create_events_dir()
    7cac392f5640 eventfs: Fix typo in eventfs_inode union comment
    f7842e0617ff eventfs: Fix WARN_ON() in create_file_dentry()
    843879a6ddd9 tracefs/eventfs: Modify mismatched function name
    c99e5cfe77e5 eventfs: Fix failure path in eventfs_create_events_dir()
    17e4e4d2335c eventfs: Use ERR_CAST() in eventfs_create_events_dir()
    bceba0d35b43 eventfs: Use eventfs_remove_events_dir()
    35ee34c0f6d5 eventfs: Remove eventfs_file and just use eventfs_inode
    4015fc492774 Revert "eventfs: Remove "is_freed" union with rcu head"
    dc9ee9a8aef8 Revert "eventfs: Save ownership and mode"
    65a54d6dbf3b Revert "eventfs: Delete eventfs_inode when the last dentry is freed"
    601daf7e31d8 Revert "eventfs: Use simple_recursive_removal() to clean up dentries"
    5e9fb476196d Revert "eventfs: Check for NULL ef in eventfs_set_attr()"
    6fdc0bcd066d Revert "eventfs: Do not allow NULL parent to eventfs_start_creating()"
    fa69a8063f8b parisc: Fix random data corruption from exception handler
    4480ead69a3a netfilter: ipset: Missing gc cancellations fixed
    b93a6756a01f netfilter: ipset: fix performance regression in swap operation
    b2261c2e763e block: fix partial zone append completion handling in req_bio_endio()
    56f98598ddf0 md: bypass block throttle for superblock update
    49bca0710ebe tracing: Inform kmemleak of saved_cmdlines allocation
    ab94509051ea tracing: Fix HAVE_DYNAMIC_FTRACE_WITH_REGS ifdef
    5d858e2d3eca fs/proc: do_task_stat: move thread_group_cputime_adjusted() outside of lock_task_sighand()
    63e2bd10a89a pmdomain: core: Move the unused cleanup to a _sync initcall
    f84e7534457d can: j1939: Fix UAF in j1939_sk_match_filter during setsockopt(SO_J1939_FILTER)
    26dfe112ec2e can: j1939: prevent deadlock by changing j1939_socks_lock to rwlock
    6019c77391a6 can: netlink: Fix TDCO calculation using the old data bittiming
    23429e2c33dd of: property: fix typo in io-channels
    7366ff7ca1c7 docs: kernel_feat.py: fix build error for missing files
    601b5540c154 blk-wbt: Fix detection of dirty-throttled tasks
    496273439b3c LoongArch: Fix earlycon parameter if KASAN enabled
    4d850ed74740 mm: hugetlb pages should not be reserved by shmat() if SHM_NORESERVE
    13c5a9fb0710 fs,hugetlb: fix NULL pointer dereference in hugetlbs_fill_super
    ae20db45e482 ceph: prevent use-after-free in encode_cap_msg()
    a71302c86389 hv_netvsc: Register VF in netvsc_probe if NET_DEVICE_REGISTER missed
    9680b2ab54ba net: stmmac: protect updates of 64-bit statistics counters
    1b1631895e40 pmdomain: renesas: r8a77980-sysc: CR7 must be always on
    3dbf262ab0c1 net: ethernet: ti: cpsw_new: enable mac_managed_pm to fix mdio
    a1b4ed4125ca s390/qeth: Fix potential loss of L3-IP@ in case of network issues
    d59e1c2fbd76 net: ethernet: ti: cpsw: enable mac_managed_pm to fix mdio
    31f71f2d7a08 fs: relax mount_setattr() permission checks
    02afaeb6c52b tools/rtla: Fix Makefile compiler options for clang
    f0542eb7122e tools/rtla: Fix uninitialized bucket/data->bucket_size warning
    7c3611ca86f1 tools/rtla: Exit with EXIT_SUCCESS when help is invoked
    8a585914c266 tools/rtla: Fix clang warning about mount_point var size
    daa5e6a4a8b4 tools/rtla: Replace setting prio with nice for SCHED_OTHER
    a71597b4e5c7 tools/rtla: Remove unused sched_getattr() function
    828be9ff1770 tools/rv: Fix Makefile compiler options for clang
    2863f8cf9f56 tools/rv: Fix curr_reactor uninitialized variable
    62a1b9b6343e ASoC: amd: yc: Add DMI quirk for Lenovo Ideapad Pro 5 16ARP8
    eb06fca2c740 ASoC: tas2781: add module parameter to tascodec_init()
    1be2669565b3 ASoC: SOF: IPC3: fix message bounds on ipc ops
    19758688bd05 arm64: Subscribe Microsoft Azure Cobalt 100 to ARM Neoverse N2 errata
    60480c6bc160 arm64/signal: Don't assume that TIF_SVE means we saved SVE state
    4796a1a41300 mmc: sdhci-pci-o2micro: Fix a warm reboot issue that disk can't be detected by BIOS
    6d5eae9a95fe zonefs: Improve error handling
    3d16cebf0112 KVM: arm64: Fix circular locking dependency
    4145ccff546e smb: Fix regression in writes when non-standard maximum write size negotiated
    c2aa2718cda2 smb: client: set correct id, uid and cruid for multiuser automounts
    e5643b23cbb0 thunderbolt: Fix setting the CNS bit in ROUTER_CS_5
    65ac3a4fee03 irqchip/gic-v3-its: Fix GICv4.1 VPE affinity update
    91a80fff3eee irqchip/gic-v3-its: Restore quirk probing for ACPI-based systems
    5fcc75e44de5 irqchip/irq-brcmstb-l2: Add write memory barrier before exit
    00f4eb31b819 wifi: iwlwifi: mvm: fix a crash when we run out of stations
    e700e44fd2cc wifi: mac80211: reload info pointer in ieee80211_tx_dequeue()
    6585c74b4faa wifi: cfg80211: fix wiphy delayed work queueing
    ab9d4bb9a189 wifi: iwlwifi: fix double-free bug
    080da821b2c5 nfp: flower: prevent re-adding mac index for bonded port
    d194f1c73160 nfp: enable NETDEV_XDP_ACT_REDIRECT feature flag
    0bb84600c23c nfp: use correct macro for LengthSelect in BAR config
    9c82920359b7 crypto: algif_hash - Remove bogus SGL free on zero-length error path
    88aa493f393d crypto: ccp - Fix null pointer dereference in __sev_platform_shutdown_locked
    ea5ddbc11613 nilfs2: fix hang in nilfs_lookup_dirty_data_buffers()
    2e1480538ef6 nilfs2: fix data corruption in dsync block recovery for small block sizes
    af8625f713a4 ALSA: hda/realtek: add IDs for Dell dual spk platform
    53447b46a64e ALSA: hda/conexant: Add quirk for SWS JS201D
    027df06c2915 ALSA: hda/realtek: fix mute/micmute LED For HP mt645
    224378140269 mmc: slot-gpio: Allow non-sleeping GPIO ro
    13b01aedb585 io_uring/net: fix multishot accept overflow handling
    1dc09ca85871 x86/mm/ident_map: Use gbpages only where full GB page should be mapped.
    b8525dced380 KVM: x86/pmu: Fix type length error when reading pmu->fixed_ctr_ctrl
    eea9b2e0d222 KVM: x86: make KVM_REQ_NMI request iff NMI pending for vcpu
    b2479ab426ce x86/fpu: Stop relying on userspace for info to fault in xsave buffer
    97b37ffbcebe x86/Kconfig: Transmeta Crusoe is CPU family 5, not 6
    536006966678 serial: mxs-auart: fix tx
    ab288bbaedcc serial: core: introduce uart_port_tx_flags()
    760f0f9d85fe powerpc/pseries: fix accuracy of stolen time
    7fec35ffce05 powerpc/cputable: Add missing PPC_FEATURE_BOOKE on PPC64 Book-E
    1b5181cb4b30 powerpc/64: Set task pt_regs->link to the LR value on scv entry
    b1ac5b885cf3 ftrace: Fix DIRECT_CALLS to use SAVE_REGS by default
    24ea2c4d4864 serial: max310x: prevent infinite while() loop in port startup
    89992713f364 serial: max310x: fail probe if clock crystal is unstable
    2655f0892c04 serial: max310x: improve crystal stable clock detection
    8c6df38c7033 serial: max310x: set default value when reading clock ready bit
    8663564114d1 nfp: flower: fix hardware offload for the transfer layer port
    15392de705e7 nfp: flower: add hardware offload check for post ct entry
    0dc6bc63d9ec net: dsa: mv88e6xxx: Fix failed probe due to unsupported C45 reads
    f5f6332f1870 ring-buffer: Clean ring_buffer_poll_wait() error return
    22a77c0f5b82 hv_netvsc: Fix race condition between netvsc_probe and netvsc_remove
    482cda9e50de drm/amd/display: Preserve original aspect ratio in create stream
    7fc395f0f562 drm/amd/display: Increase frame-larger-than for all display_mode_vba files
    7407c61f43b6 drm/amd/display: Fix MST Null Ptr for RV
    b476ae1da136 drm/amdgpu/soc21: update VCN 4 max HEVC encoding resolution
    4ff8ec01a865 drm/prime: Support page array >= 4GB
    b9e373ed8d9c drm/amd/display: Add align done check
    c96a494c9b0f drm/msm: Wire up tlb ops
    6cef4e68777b ksmbd: free aux buffer if ksmbd_iov_pin_rsp_read fails
    93136132d1b5 media: rc: bpf attach/detach requires write permission
    f83b9abee9fa pmdomain: mediatek: fix race conditions with genpd
    5894212f3abf iio: pressure: bmp280: Add missing bmp085 to SPI id table
    28639eea710c iio: imu: bno055: serdev requires REGMAP
    68f2bdcbd7db iio: imu: adis: ensure proper DMA alignment
    c0f2ab954b02 iio: adc: ad_sigma_delta: ensure proper DMA alignment
    54e67b77be3a iio: accel: bma400: Fix a compilation problem
    e0cb5cc558f0 iio: commom: st_sensors: ensure proper DMA alignment
    b90126c86d83 iio: core: fix memleak in iio_device_register_sysfs
    1d8c67e94e9e iio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC
    f83ec2ee91d0 staging: iio: ad5933: fix type mismatch regression
    5ad73e1056a6 Revert "workqueue: Override implicit ordered attribute in workqueue_apply_unbound_cpumask()"
    d76792931185 tracing/probes: Fix to search structure fields correctly
    ebc1972c2c89 tracing/probes: Fix to set arg size and fmt after setting type from BTF
    d5889a68522c tracing/probes: Fix to show a parse error for bad type for $comm
    ac9a1c3bcd45 tracing/synthetic: Fix trace_string() return value
    6e48f4c61673 tracing: Fix wasted memory in saved_cmdlines logic
    5f703935fdb5 tracing/timerlat: Move hrtimer_init to timerlat_fd open()
    aafdc920d70d ext4: avoid bb_free and bb_fragments inconsistency in mb_free_blocks()
    2883940b19c3 ext4: fix double-free of blocks due to wrong extents moved_len
    e3c4e10e3a79 misc: fastrpc: Mark all sessions as invalid in cb_remove
    a7ae586f6f60 binder: signal epoll threads of self-work
    53953faf9180 ALSA: hda/realtek: fix mute/micmute LEDs for HP ZBook Power
    39ca594f8098 ALSA: hda/cs8409: Suppress vmaster control for Dolphin models
    4629bf52d952 ASoC: codecs: wcd938x: handle deferred probe
    ea102272ffa2 ALSA: hda/realtek - Add speaker pin verbtable for Dell dual speaker platform
    24a98774dc8d ALSA: hda/realtek: Enable headset mic on Vaio VJFE-ADL
    d83d6f66bb3a usb: typec: tpcm: Fix issues with power being removed during reset
    32bfb13db982 modpost: Add '.ltext' and '.ltext.*' to TEXT_SECTIONS
    6cddb7a4d78c linux/init: remove __memexit* annotations
    fd06e32ea464 um: Fix adding '-no-pie' for clang
    2dc2b0a42aaf xen-netback: properly sync TX responses
    54944f45470a parisc: BTLB: Fix crash when setting up BTLB at CPU bringup
    2524299b6106 net: stmmac: do not clear TBS enable bit on link up/down
    923dea2a7ea9 net: hsr: remove WARN_ONCE() in send_hsr_supervision_frame()
    16d3f507b0fa nfc: nci: free rx_data_reassembly skb on NCI device cleanup
    04c0dbdba3b0 kbuild: Fix changing ELF file type for output of gen_btf for big endian
    0f48dea0926d ALSA: hda/realtek: Apply headset jack quirk for non-bass alc287 thinkpads
    1a2f08576e30 firewire: core: correct documentation of fw_csr_string() kernel API
    6d2a97b7b6f2 lsm: fix the logic in security_inode_getsecctx()
    8df43e53f2f7 lsm: fix default return value of the socket_getpeersec_*() hooks
    38fd4dfa2764 drm/amd: Don't init MEC2 firmware when it fails to load
    8983397951b4 drm/amdgpu: Reset IH OVERFLOW_CLEAR bit
    0b1d4187c2df drm/virtio: Set segment size for virtio_gpu device
    c99d215c0c0f connector/cn_proc: revert "connector: Fix proc_event_num_listeners count not cleared"
    56a19b790f57 Revert "drm/msm/gpu: Push gpu lock down past runpm"
    caa2565a2e13 Revert "drm/amd: flush any delayed gfxoff on suspend entry"
    2996c7e97ea7 scsi: Revert "scsi: fcoe: Fix potential deadlock on &fip->ctlr_lock"
    889a5f329e47 media: Revert "media: rkisp1: Drop IRQF_SHARED"
    9978d5b744e0 Revert "powerpc/pseries/iommu: Fix iommu initialisation during DLPAR add"
    4bfe217e075d mptcp: really cope with fastopen race
    ed34dfa19ddb mptcp: check addrs list in userspace_pm_get_local_id
    a2d743747e9e mptcp: fix rcv space initialization
    877a72e3b66c mptcp: drop the push_pending field
    1fdb37a673d2 selftests: mptcp: add mptcp_lib_kill_wait
    2decb7d94d34 selftests: mptcp: allow changing subtests prefix
    a4887b7aa676 selftests: mptcp: increase timeout to 30 min
    969afb521f6f selftests: mptcp: add missing kconfig for NF Mangle
    ecdb48c5f538 selftests: mptcp: add missing kconfig for NF Filter in v6
    2d60c017e448 selftests: mptcp: add missing kconfig for NF Filter
    b609c783c535 mptcp: fix data re-injection from stale subflow
    fa3866b67d5e kallsyms: ignore ARMv4 thunks along with others
    3a9d624593c5 modpost: trim leading spaces when processing source files list
    6be99c51829b i2c: i801: Fix block process call transactions
    a99ba46e8a20 i2c: pasemi: split driver into two separate modules
    4cc31fa07445 powerpc/kasan: Limit KASAN thread size increase to 32KB
    f7e84c8e196b irqchip/gic-v3-its: Handle non-coherent GICv4 redistributors
    fcb82e9739f2 irqchip/loongson-eiointc: Use correct struct type in eiointc_domain_alloc()
    0589dff4fbf4 i2c: qcom-geni: Correct I2C TRE sequence
    f7ff1c89fb6e cifs: fix underflow in parse_server_interfaces()
    e7f744f6f420 iio: adc: ad4130: only set GPIO_CTRL if pin is unused
    0e0dab377509 iio: adc: ad4130: zero-initialize clock init data
    63b1a3d9dd3b PCI: Fix active state requirement in PME polling
    7f414d306320 Revert "kobject: Remove redundant checks for whether ktype is NULL"
    0516c06b19dc powerpc/kasan: Fix addr error caused by page alignment
    8631837dbf8b powerpc/6xx: set High BAT Enable flag on G2_LE cores
    0040386b0b71 powerpc/pseries/iommu: Fix iommu initialisation during DLPAR add
    22920e410234 driver core: fw_devlink: Improve detection of overlapping cycles
    7219a692ffc0 media: ir_toy: fix a memleak in irtoy_tx
    008cf5d1da7f interconnect: qcom: sm8550: Enable sync_state
    d8e36ff40cf9 interconnect: qcom: sc8180x: Mark CO0 BCM keepalive
    c7ebd8149ee5 usb: dwc3: gadget: Fix NULL pointer dereference in dwc3_gadget_suspend
    ed85777c640c usb: core: Prevent null pointer dereference in update_port_device_state
    84a13b97e8e2 usb: chipidea: core: handle power lost in workqueue
    0d179c570486 usb: f_mass_storage: forbid async queue when shutdown happen
    eafeda9ee9c0 USB: hub: check for alternate port before enabling A_ALT_HNP_SUPPORT
    ec68d8d25b84 usb: ucsi_acpi: Fix command completion handling
    330d22aba17a usb: ulpi: Fix debugfs directory leak
    d25f43a25794 usb: ucsi: Add missing ppm_lock
    ad42f8087146 iio: hid-sensor-als: Return 0 for HID_USAGE_SENSOR_TIME_TIMESTAMP
    fc41101a94b1 HID: wacom: Do not register input devices until after hid_hw_start
    04fa3e1387bf HID: wacom: generic: Avoid reporting a serial of '0' to userspace
    4cad91344a62 HID: i2c-hid-of: fix NULL-deref on failed power up
    467fce636a3a HID: bpf: actually free hdev memory after attaching a HID-BPF program
    d83a7e591d26 HID: bpf: remove double fdget()
    c34c01fba0f0 ALSA: hda/realtek: Enable Mute LED on HP Laptop 14-fq0xxx
    134c9f699c16 ALSA: hda/realtek: Fix the external mic not being recognised for Acer Swift 1 SF114-32
    63bc8a394083 parisc: Prevent hung tasks when printing inventory on serial console
    7f5375875e84 ASoC: amd: yc: Add DMI quirk for MSI Bravo 15 C7VF
    5735a2671ffb dm-crypt, dm-verity: disable tasklets
    cc0037fa592d nouveau: offload fence uevents work to workqueue
    acd2eda2b28f scsi: storvsc: Fix ring buffer size calculation
    2f61cb94def1 selftests: mm: fix map_hugetlb failure on 64K page size systems
    8f02931edb7d selftests/mm: Update va_high_addr_switch.sh to check CPU for la57 flag
    ec18ec230301 mm/writeback: fix possible divide-by-zero in wb_dirty_limits(), again
    85f052b55ce2 selftests/mm: switch to bash from sh
    6022c065c9ec tracing/trigger: Fix to return error if failed to alloc snapshot
    8b5a4fe34279 scs: add CONFIG_MMU dependency for vfree_atomic()
    d6a14d9ddbed selftests/mm: ksm_tests should only MADV_HUGEPAGE valid memory
    ee35363764d8 userfaultfd: fix mmap_changing checking in mfill_atomic_hugetlb
    38e6fede36bb i40e: Fix waiting for queues of all VSIs to be disabled
    be147926140a i40e: Do not allow untrusted VF to remove administratively set MAC
    94d34a6861a2 mm/memory: Use exception ip to search exception tables
    fdd12a80f64f ptrace: Introduce exception_ip arch hook
    2252913f156f MIPS: Add 'memory' clobber to csum_ipv6_magic() inline assembler
    61e1c101bacb nouveau/svm: fix kvcalloc() argument order
    d4053005d55a net: sysfs: Fix /sys/class/net/<iface> path for statistics
    050ad2ca0ac1 ASoC: rt5645: Fix deadlock in rt5645_jack_detect_work()
    211db3da3f61 spi: ppc4xx: Drop write-only variable
    6a67bf10934c net: tls: fix returned read length with async decrypt
    d684763534b9 net: tls: fix use-after-free with partial reads and async decrypt
    13eca403876b net: tls: handle backlogging of crypto requests
    6db22d6c7a6d tls: fix race between tx work scheduling and socket close
    86dc27ee36f5 tls: fix race between async notify and socket close
    de31df6f8720 net: tls: factor out tls_*crypt_async_wait()
    5e01c54ebcaf tls: extract context alloc/initialization out of tls_set_sw_offload
    48fae67d8374 lan966x: Fix crash when adding interface under a lag
    5eeb2a9eaa5b net: openvswitch: limit the number of recursions from action sets
    65095912b0f3 selftests: forwarding: Fix bridge locked port test flakiness
    d8893ac849ba selftests: forwarding: Suppress grep warnings
    925fd1a0fb41 selftests: bridge_mdb: Use MDB get instead of dump
    c3e0cfe7d7cb selftests: forwarding: Fix bridge MDB test flakiness
    2fc52eb6369c selftests: forwarding: Fix layer 2 miss test flakiness
    dcaf06afaad8 selftests: net: Fix bridge backup port test flakiness
    30c59775a292 selftests/net: convert test_bridge_backup_port.sh to run it in unique namespace
    7512d7866640 perf: CXL: fix mismatched cpmu event opcode
    6e00027aef47 ALSA: hda/cs35l56: select intended config FW_CS_DSP
    c3dc7cb88815 of: property: Improve finding the supplier of a remote-endpoint property
    e0dce2c981ff of: property: Improve finding the consumer of a remote-endpoint property
    c1c50ca73e41 devlink: Fix command annotation documentation
    59d440ae52b5 bonding: do not report NETDEV_XDP_ACT_XSK_ZEROCOPY
    d74226e03df1 net/handshake: Fix handshake_req_destroy_test1
    cd16ed2e9417 ASoC: SOF: ipc3-topology: Fix pipeline tear down logic
    8723db10f063 wifi: iwlwifi: uninitialized variable in iwl_acpi_get_ppag_table()
    83f4bf711f30 wifi: iwlwifi: Fix some error codes
    9f9aff002a4d KVM: selftests: Fix a semaphore imbalance in the dirty ring logging test
    04e01dc1fce1 spi: imx: fix the burst length at DMA mode and CPU mode
    52fe802f95f2 drm/msm/gem: Fix double resv lock aquire
    3b23d6512d49 of: unittest: Fix compile in the non-dynamic case
    267f7b04effa KVM: selftests: Avoid infinite loop in hyperv_features when invtsc is missing
    03aee9284d9b KVM: selftests: Delete superfluous, unused "stage" variable in AMX test
    854357db2f93 selftests/landlock: Fix fs_test build with old libc
    8f1903863219 driver core: Fix device_link_flag_is_sync_state_only()
    7bddf18f474f btrfs: don't drop extent_map for free space inode on write error
    2f2d90376924 btrfs: reject encoded write if inode has nodatasum flag set
    2dc6dbbddc18 btrfs: don't reserve space for checksums when writing to nocow files
    7efadbcb3200 btrfs: send: return EOPNOTSUPP on unknown flags
    92182dc179ec btrfs: forbid deleting live subvol qgroup
    833775656d44 btrfs: do not ASSERT() if the newly created subvolume already got read
    4f48ef7d97d5 btrfs: forbid creating subvol qgroups
    505a948d0555 btrfs: do not delete unused block group if it may be used soon
    e97ebc2a8c8e btrfs: add and use helper to check if block group is used
    f328d96d6b38 update workarounds for gcc "asm goto" issue
    aaff74d886d0 work around gcc bugs with 'asm goto' with outputs

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolinux-yocto/6.6: genericarm64 configuration/definition
Bruce Ashfield [Mon, 26 Feb 2024 22:34:51 +0000 (17:34 -0500)] 
linux-yocto/6.6: genericarm64 configuration/definition

Integrating the following commit(s) to linux-yocto/.:

1/3 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: features/numa: remove CONFIG_NEED_MULTIPLE_NODES
    Date: Mon, 26 Feb 2024 12:10:12 +0000

    This was removed in kernel a9ee6cf (5.14 onwards).

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/3 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: features/cgroups: remove trailing whitespace
    Date: Mon, 26 Feb 2024 12:10:13 +0000

    Otherwise the audit will notice that "y " was requested but "y" was set.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

3/3 [
    Author: Ross Burton
    Email: ross.burton@arm.com
    Subject: bsp: Add initial genericarm64 BSP
    Date: Mon, 26 Feb 2024 12:10:14 +0000

    Add the skeleton of an initial genericarm64 kernel.

    At present this has only been boot tested on a BeaglePlay and is missing
    some functionality, but it does boot via EFI from SD card successfully.

    Future work will organise the configuration fragments more neatly,
    move more options to modules, increase functionality, and add support
    for more boards.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agokern-tools: depend on git-replacement-native
Bruce Ashfield [Mon, 26 Feb 2024 22:34:50 +0000 (17:34 -0500)] 
kern-tools: depend on git-replacement-native

Konstantin Aladyshev <aladyshev22@gmail.com> reported that the
kern-tools require git functionality that was introduced in
git versions greater than the minimum project requirements.

In particular:

   commit 923a9de418b3ca8592c3 [kgit-s2q: don't run verication hooks]

uses the --no-verify flag to prevent local git hooks from
running and breaking patching or introducing security
issues from the host configuration.

To ensure that we have a new enough git available for the tools,
we update our DEPENDS to git-native-replacement, and the version
available in oe-core will be built and used instead of the
host provided version.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolinux-yocto/6.6: config: x86 tidy & consolidation
Bruce Ashfield [Mon, 26 Feb 2024 22:34:49 +0000 (17:34 -0500)] 
linux-yocto/6.6: config: x86 tidy & consolidation

Integrating the following commit(s) to linux-yocto/.:

1/3 [
    Author: Paul Gortmaker
    Email: paul.gortmaker@windriver.com
    Subject: BSP: remove from all - latencytop feature inclusion
    Date: Thu, 30 Nov 2023 14:07:48 -0500

    Consider this 5+ year old commit

        commit bcbc7bbc4fb967d8d4ae6333f71b73491a80b94e
        Author: Alexander Kanavin <alexander.kanavin@linux.intel.com>
        Date:   Thu Mar 1 16:00:41 2018 +0200

        latencytop: remove recipe

        Last commit and release were in 2009; website is down; it's a dead project.

        (From OE-Core rev: 36aae56e7f86a4d5ce93e4528e7dcc42f60c705e)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
    Given that, it seems sensible to drop it from default inclusion across
    the BSPs.  I've left the feature itself, so anyone who still cares can
    easily manually add it still.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

2/3 [
    Author: Paul Gortmaker
    Email: paul.gortmaker@windriver.com
    Subject: x86-64: separate out the NUMA features to our existing NUMA scc/cfg
    Date: Thu, 30 Nov 2023 14:07:45 -0500

    A user reported getting NUMA warnings like the ones reported here:

    https://www.suse.com/support/kb/doc/?id=000021040

    "Fail to get numa node for CPU:0 bus:0 dev:0 fn:1"

    ...and repeated for every core on the platform.  Distracting.

    When I asked if it was a crazy big server system with multiple CPU
    sockets and localized RAM near each socket - the answer was "no".

    Turns out they didn't choose NUMA support - rather we did it for them.

    Yocto has been and still remains more "embedded leaning".  That is not
    to say we can't support NUMA.  We just shouldn't be enabling it by
    default in the base x86-64 config fragment that everyone uses.

    Move the two NUMA settings that were not in our existing numa.cfg
    feature out of the BSP and into the feature.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

3/3 [
    Author: Paul Gortmaker
    Email: paul.gortmaker@windriver.com
    Subject: x86-64: consolidate crypto options
    Date: Thu, 30 Nov 2023 14:07:44 -0500

    No functional change - just makes further reorganizations and
    refactoring more easy to review/parse.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolinux-yocto/6.6: enable squashfs for selftests
Bruce Ashfield [Mon, 26 Feb 2024 22:34:48 +0000 (17:34 -0500)] 
linux-yocto/6.6: enable squashfs for selftests

Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Vyacheslav Yurkov
    Email: uvv.mail@gmail.com
    Subject: squashfs: Add initial support
    Date: Wed, 21 Feb 2024 07:15:31 +0100

    It's required at least in selftest to test read-only file systems.

Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agoyocto-uninative: Update to 4.4 for glibc 2.39
Michael Halstead [Tue, 27 Feb 2024 02:08:02 +0000 (18:08 -0800)] 
yocto-uninative: Update to 4.4 for glibc 2.39

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agoglib-2.0: backport a switch from distutils to packaging in codegen
Martin Jansa [Sun, 25 Feb 2024 09:37:26 +0000 (10:37 +0100)] 
glib-2.0: backport a switch from distutils to packaging in codegen

* to fix build on hosts with python-3.12, now it fails with:

Traceback (most recent call last):
  File "recipe-sysroot-native/usr/bin/gdbus-codegen", line 53, in <module>
    from codegen import codegen_main
  File "recipe-sysroot-native/usr/share/glib-2.0/codegen/codegen_main.py", line 29, in <module>
    from . import dbustypes
  File "recipe-sysroot-native/usr/share/glib-2.0/codegen/dbustypes.py", line 22, in <module>
    from . import utils
  File "recipe-sysroot-native/usr/share/glib-2.0/codegen/utils.py", line 22, in <module>
    import distutils.version
ModuleNotFoundError: No module named 'distutils'
CMake Error at CMakeLists.txt:90 (message):
  Error in generating code for connman interface using gdbus-codegen

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agooe-selftest devtool: ide-sdk tests
Adrian Freihofer [Sun, 25 Feb 2024 20:47:03 +0000 (21:47 +0100)] 
oe-selftest devtool: ide-sdk tests

Improve the GDB related tests. Verify GDB finds the correct source
files.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agodevtool: ide-sdk prefer sources from workspace
Adrian Freihofer [Sun, 25 Feb 2024 20:47:02 +0000 (21:47 +0100)] 
devtool: ide-sdk prefer sources from workspace

Improve the previous commit:
- log an error if some assumptions are not true
- Use TARGET_DBGSRC_DIR variable
- Do the same for ide none

Why the additional source mapping is required:

For example the cmake-example recipe refers to sources like this:
./recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-readelf \
  -wi image/usr/bin/cmake-example | grep -B1 DW_AT_comp_dir
    ...
    <560>   DW_AT_name        : (indirect line string, offset: 0x1da):
    /usr/src/debug/cmake-example/1.0/oe-local-files/cpp-example.cpp
    ...

Another example is powertop:
./recipe-sysroot-native/usr/bin/x86_64-poky-linux/x86_64-poky-linux-readelf \
  -wi image/usr/sbin/powertop | grep -B1 DW_AT_comp_dir
    ...
    <561>   DW_AT_name        : (indirect line string, offset: 0x1da):
    /usr/src/debug/powertop/2.15/src/devlist.cpp
    ...

For recipes with local files this works. The oe-local-files folder is
not available in the rootfs-dbg and therefore the sources are first
found in the workspace folder. GDB searches for source files in various
places:
https://sourceware.org/gdb/current/onlinedocs/gdb.html/Source-Path.html
However, for the powertop example the sources opened in the editor are
from the rootfs-dbg instead of from the workspace.

Bitbake calls the compiler with
  -fmacro-prefix-map=${S}=${TARGET_DBGSRC_DIR}
where TARGET_DBGSRC_DIR defaults to "/usr/src/debug/${PN}/${PV}".

A source map which maps the recipe specific path from TARGET_DBGSRC_DIR
to the workspace fixes this.
The already existing source map for /usr/src/debug applies for all other
recipes. It finds the sources (read only) in the rootfs-dbg folder.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agodevtool: ide-sdk source mapping for vscode
Enguerrand de Ribaucourt [Sun, 25 Feb 2024 20:47:01 +0000 (21:47 +0100)] 
devtool: ide-sdk source mapping for vscode

When launching the debug configuration, the source files from the debug
rootfs were openened in the editor instead of the local workspace files.
We add an exception to properly map them to the file being developed and
compiled by the IDE integration. This also more closely matches what the
user would expect compared to native development.

This is also true for the devtool fallback mode.

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agodevtool: ide-sdk launch.json per recipe only
Adrian Freihofer [Sun, 25 Feb 2024 20:47:00 +0000 (21:47 +0100)] 
devtool: ide-sdk launch.json per recipe only

If multiple recipes are processed at once, the launch.json and the
tasks.json of the second recipe contains also the configurations for the
binaries of the first recipe.

Example:
  devtool ide-sdk powertop cmake-example oe-selftest-image
generated a launch and a tasks configuration for the cmake-example
recipe which also offers debugging the powertop binary.

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agowic: 'empty' plugin: fix typo in comment
Enrico Jörns [Sun, 25 Feb 2024 22:44:28 +0000 (23:44 +0100)] 
wic: 'empty' plugin: fix typo in comment

Signed-off-by: Enrico Jorns <ejo@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agoopenssl: Match target name for loongarch64
Xiaotian Wu [Mon, 26 Feb 2024 08:13:37 +0000 (16:13 +0800)] 
openssl: Match target name for loongarch64

This is updated in openssl [1] since opensssl 3.2.0-alpha1 onwards

[1] https://github.com/openssl/openssl/commit/b625e21e67666213ffd3ba6b1f2cd8a847ba6b66

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agooeqa/utils/postactions: testimage: add host disk usage stat as post action
Alexis Lothoré [Mon, 26 Feb 2024 09:19:22 +0000 (10:19 +0100)] 
oeqa/utils/postactions: testimage: add host disk usage stat as post action

Since the target under test can be a virtualized guest, when some tests
fail because of disk usage (see [1]), also fetch disk usage statistics from
host to allow checking whether a host disk space saturation could affect
running tests.

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15220

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agooeqa/utils/postactions: add target disk usage stat as post action
Alexis Lothoré [Mon, 26 Feb 2024 09:19:21 +0000 (10:19 +0100)] 
oeqa/utils/postactions: add target disk usage stat as post action

In order to debug issues related to disk space (see [1]),  add a failed
tests post action to retrieve disk usage on the target. Rely on the test
context object to run the corresponding command onto the target

[1] https://bugzilla.yoctoproject.org/show_bug.cgi?id=15220

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agooeqa/utils/postactions: isolate directory creation in dedicated action
Alexis Lothoré [Mon, 26 Feb 2024 09:19:20 +0000 (10:19 +0100)] 
oeqa/utils/postactions: isolate directory creation in dedicated action

In order to be able to create actions that could store new files during
failed test post actions, we need to split artifacts directory creation
from artifacts retrieval.

Create a new dedicated action to create artifacts main directory so we can
add actions creating files in this new directory, without worrying about
actions order if at least this action is set first.

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agotestimage: create a list of failed test post actions
Alexis Lothoré [Mon, 26 Feb 2024 09:19:19 +0000 (10:19 +0100)] 
testimage: create a list of failed test post actions

testimage is able to detect whenever a test run leads to some tests
failing, and execute some actions in this case. The only action currently
defined in such case is to retrieve artifacts from the target under test,
as listed in TESTIMAGE_FAILED_QA_ARTIFACTS

In order to be able to add multiple actions, define a central function to
gather all "post actions" to run whenever a test has failed
(run_failed_tests_post_actions). This function contains a table listing all
functions to be called whenever a test fails. Any function in this table
will be provided with bitbake internal data dictionary ("d") and the
current runtime testing context ("tc"). Isolate all this feature in a
dedicated postactions.py file inherited by testimage.
This patch does not bring any functional change.

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolib/oeqa: share get_json_result_dir helper
Alexis Lothoré [Mon, 26 Feb 2024 09:19:18 +0000 (10:19 +0100)] 
lib/oeqa: share get_json_result_dir helper

Multiple places in oeqa need to get the log output path, and redefine a
small helper to accomplish this

Define this helper in lib/oeqa/utils/__init__.py and import it wherever
needed to allow using it.

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agoloongarch64: change -march to loongarch64
Xiaotian Wu [Mon, 26 Feb 2024 08:43:35 +0000 (16:43 +0800)] 
loongarch64: change -march to loongarch64

Now both gcc and clang all support -march=loongarch64, so we can use it.

Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agocve-check: Log if CVE_STATUS set but not reported for component
Simone Weiß [Sat, 24 Feb 2024 08:18:38 +0000 (08:18 +0000)] 
cve-check: Log if CVE_STATUS set but not reported for component

Log if the CVE_STATUS is set for a CVE, but the cve is not reported for a
component. This should hopefully help to clean up not needed CVE_STATUS
settings.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agometa: Update CVE_STATUS for incorrect cpes
Simone Weiß [Sun, 18 Feb 2024 22:32:32 +0000 (22:32 +0000)] 
meta: Update CVE_STATUS for incorrect cpes

Set CVE_STATUS as none of the issues apply against the versions
used in the recipes.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agometa: Remove some not needed CVE_STATUS
Simone Weiß [Fri, 23 Feb 2024 21:31:01 +0000 (21:31 +0000)] 
meta: Remove some not needed CVE_STATUS

CVE_STATUS was set for those components, but meanwhile databases are updated
with corrected information, so setting the CVE_STATUS is not needed anymore.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopatchtest: Skip test for CVE_CHECK_IGNORE for older branches
Simone Weiß [Fri, 23 Feb 2024 21:07:40 +0000 (21:07 +0000)] 
patchtest: Skip test for CVE_CHECK_IGNORE for older branches

Skip the test for checking if CVE_CHECK_IGNORE is not used.
It is deprecated now, but was not deprecated for kirkstone and dunfell.
Skip it therefore if a patch is intended for those branches.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agopatchtest: provide further guidance for failed testcases
Simone Weiß [Fri, 23 Feb 2024 20:56:39 +0000 (20:56 +0000)] 
patchtest: provide further guidance for failed testcases

Cross-reference the wiki page on patchtest now that it is updated and contains
more information how to address failed testcases. Adding it in patchtest only
is enough as patchtest-send-result already points to the wikipage for failures.

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agokernel.bbclass: Set pkg-config variables for building modules
Munehisa Kamata [Fri, 23 Feb 2024 08:05:13 +0000 (00:05 -0800)] 
kernel.bbclass: Set pkg-config variables for building modules

The pkg-config workaround has been applied for kernel image building, but
not for module building. So pkg-config variables are different between
do_compile and do_compile_kernelmodules tasks. It may unnecessary trigger
rebuilding of a few host tools at the later task.

Especially when CONFIG_DEBUG_INFO_BTF is enabled in the kernel, it may even
trigger rebuilding vmlinux at do_compile_kernelmodules due to the rebuilt
host tools such as certs/extract-cert or objtool (on x86). This eventually
creates an inconsistent set of kernel binaries.

Here is the repro steps:

 - Check out nanbield on x86
   - The unexpected rebuild happens on kirkstone or possibly earlier

 - Ensure that pahole is available (e.g. via meta-oe)

 - Set KERNEL_DEBUG to "True" to properly set up PAHOLE
   e.g.
   $ export KERNEL_DEBUG="True"
   $ export BB_ENV_PASSTHROUGH_ADDITIONS="${BB_ENV_PASSTHROUGH_ADDITIONS} KERNEL_DEBUG"

 - Enable CONFIG_DEBUG_INFO_BTF=y
   e.g.
   $ bitbake -c menuconfig virtual/kernel
    -> Kernel hacking
      -> Compile-time checks and compiler options
        -> Generate BTF typeinfo

 - Build the kernel
   e.g.
   $ bitbake virtual/kernel

The BTF information in the resulting bzImage and kernel modules are
inconsistent, because the module's BTF information is generated using the
"second" vmlinux that doesn't have the identical BTF to the "first" vmlinux.
These modules can't be loaded at runtime due to the BTF mismatch.

This also leads to a build-id mismatch between the installed bzImage and
vmlinux since the bzImage is created from the first vmlinux, but the
installed vmlinux is the second one.

  $ eu-readelf -n tmp/work/qemux86_64-poky-linux/linux-yocto/6.5.13+git/image/boot/{bzImage*,vmlinux*} | grep "Build ID"
   Build ID: 4a0d62ee7fef0244950f0f604253729875bea493
   Build ID: fb99b3d91399dbe42bf67ddee59e0f5a0c7f74d9

To avoid the unexpected rebuilding that results in such inconsistency, set
the same pkg-config variables when building kernel and modules. For kernel
5.19 and above, simply set the HOSTPKG_CONFIG in the make command line.

Signed-off-by: Munehisa Kamata <kamatam@amazon.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agogo: update 1.20.13 -> 1.20.14
Jose Quaresma [Fri, 23 Feb 2024 11:39:43 +0000 (11:39 +0000)] 
go: update 1.20.13 -> 1.20.14

Upgrade to latest 1.20.x release [1]:

$ git log --oneline go1.20.13..go1.20.14
90a870f1dc (tag: go1.20.14, origin/release-branch.go1.20) [release-branch.go1.20] go1.20.14
a2f4a5a6e7 [release-branch.go1.20] Revert "crypto/internal/boring: upgrade module to fips-20220613" +1
746a072791 [release-branch.go1.20] crypto/x509: properly gate test on macos version
d7df7f4fa0 [release-branch.go1.20] runtime: properly model rwmutex in lock ranking

$ git log --oneline go1.20.13..go1.20.14

[1] https://github.com/golang/go/compare/go1.20.13...go1.20.14

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agodevtool: ide-sdk python 3.12 escaping
Adrian Freihofer [Thu, 22 Feb 2024 18:14:14 +0000 (19:14 +0100)] 
devtool: ide-sdk python 3.12 escaping

scripts/lib/devtool/ide_sdk.py:709: SyntaxWarning: invalid escape sequence '\.'
  re_so = re.compile('.*\.so[.0-9]*$')

scripts/lib/devtool/ide_plugins/__init__.py:87: SyntaxWarning: invalid escape sequence '\$'
  gdbserver_cmd_start += "test -f \$TEMP_DIR/pid && exit 0; "

scripts/lib/devtool/ide_plugins/__init__.py:88: SyntaxWarning: invalid escape sequence '\$'
  gdbserver_cmd_start += "mkdir -p \$TEMP_DIR; "

scripts/lib/devtool/ide_plugins/__init__.py:89: SyntaxWarning: invalid escape sequence '\$'
  gdbserver_cmd_start += "%s --multi :%s > \$TEMP_DIR/log 2>&1 & " % (

scripts/lib/devtool/ide_plugins/__init__.py:91: SyntaxWarning: invalid escape sequence '\$'
  gdbserver_cmd_start += "echo \$! > \$TEMP_DIR/pid;"

scripts/lib/devtool/ide_plugins/__init__.py:94: SyntaxWarning: invalid escape sequence '\$'
  gdbserver_cmd_stop += "test -f \$TEMP_DIR/pid && kill \$(cat \$TEMP_DIR/pid); "

scripts/lib/devtool/ide_plugins/__init__.py:95: SyntaxWarning: invalid escape sequence '\$'
  gdbserver_cmd_stop += "rm -rf \$TEMP_DIR; "

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agobluez5: remove configuration files from install task
Emil Kronborg [Thu, 22 Feb 2024 19:44:59 +0000 (19:44 +0000)] 
bluez5: remove configuration files from install task

Since be0e796299b0 ("build: ship all config files with
--enable-datafiles") in bluez, installing input.conf and network.conf
has been redundant, as the bluez5 recipe already includes
--enable-datafiles.

Signed-off-by: Emil Kronborg <emil.kronborg@protonmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agobind: Upgrade 9.18.21 -> 9.18.24
Soumya Sambu [Fri, 23 Feb 2024 06:19:12 +0000 (06:19 +0000)] 
bind: Upgrade 9.18.21 -> 9.18.24

Changelog:
=========
9.18.24:
- Fix case insensitive setting for isc_ht hashtable.
[GL #4568]

9.18.23:
- Specific DNS answers could cause a denial-of-service
condition due to DNS validation taking a long time.
(CVE-2023-50387) [GL #4424]
- Change 6315 inadvertently introduced regressions that
could cause named to crash. [GL #4234]
- Under some circumstances, the DoT code in client
mode could process more than one message at a time when
that was not expected. That has been fixed. [GL #4487]

9.18.22:
- Limit isc_task_send() overhead for RBTDB tree pruning.
[GL #4383]
- Restore DNS64 state when handling a serve-stale timeout.
(CVE-2023-5679) [GL #4334]
- Specific queries could trigger an assertion check with
nxdomain-redirect enabled. (CVE-2023-5517) [GL #4281]
- Speed up parsing of DNS messages with many different
names. (CVE-2023-4408) [GL #4234]
- Address race conditions in dns_tsigkey_find().
[GL #4182]
- Conversion from NSEC3 signed to NSEC signed could
temporarily put the zone into a state where it was
treated as unsigned until the NSEC chain was built.
Additionally conversion from one set of NSEC3 parameters
to another could also temporarily put the zone into a
state where it was treated as unsigned until the new
NSEC3 chain was built. [GL #1794] [GL #4495]
- Memory leak in zone.c:sign_zone. When named signed a
zone it could leak dst_keys due to a misplaced
'continue'. [GL #4488]
- Log more details about the cause of "not exact" errors.
[GL #4500]
- The wrong time was being used to determine what RRSIGs
where to be generated when dnssec-policy was in use.
[GL #4494]
- The "trust-anchor-telemetry" statement is no longer
marked as experimental. This silences a relevant log
message that was emitted even when the feature was
explicitly disabled. [GL #4497]
- Fix statistics export to use full 64 bit signed numbers
instead of truncating values to unsigned 32 bits.
[GL #4467]
- NetBSD has added 'hmac' to libc which collides with our
use of 'hmac'. [GL #4478]

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agowic: allow imager-specific filename extensions
Trevor Woerner [Fri, 23 Feb 2024 00:55:27 +0000 (19:55 -0500)] 
wic: allow imager-specific filename extensions

Currently there is only one defined imager as part of oe-core's wic
implementation: 'direct'. However, having a highly plugin-based design,
wic allows users to define their own imagers (and sources).

Therefore don't hard-code the filename extension of the imager output to
be 'direct' (i.e. the default imager). Allow the extension to follow the
name of the imager being used.

A user can specify a custom imager via the WIC_CREATE_EXTRA_ARGS variable.
If the user does not specify an imager, then 'direct' is assumed.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agoglibc-locale: add an explicit dedicated package for locale.alias file
Jonathan GUILLOT [Fri, 23 Feb 2024 09:51:45 +0000 (09:51 +0000)] 
glibc-locale: add an explicit dedicated package for locale.alias file

Until now, ${datadir}/locale/locale.alias file were automatically added
to a weird glibc-locale-locale.alias package by split_locales() during
do_package task.
Create an explicit package name in recipe for this file.

Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolib/oe/package: fix LOCALE_PATHS scan to create locale packages
Jonathan GUILLOT [Mon, 19 Feb 2024 16:19:28 +0000 (16:19 +0000)] 
lib/oe/package: fix LOCALE_PATHS scan to create locale packages

split_locales() must only check subdirectories in paths added to
LOCALE_PATHS to avoid creating weird packages based on filenames also
present in paths.

Without such a filter, cups recipe adding ${datadir}/cups/templates to
LOCALE_PATHS creates the following incorrect packages:
- cups-locale-add-class.tmpl
- cups-locale-add-printer.tmpl
- cups-locale-admin.tmpl

Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agoselftest-users: Convoluted selftest for USERADD_DEPENDS
Eilís 'pidge' Ní Fhlannagáin [Fri, 23 Feb 2024 13:25:21 +0000 (13:25 +0000)] 
selftest-users: Convoluted selftest for USERADD_DEPENDS

This adds a test for 13904's fix by creating a convoluted set of recipes
with USERADD_DEPENDS in non-alpha order.

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agouseradd.bbclass: Fix order of postinst-useradd-*
Piotr Łobacz [Fri, 23 Feb 2024 13:25:20 +0000 (13:25 +0000)] 
useradd.bbclass: Fix order of postinst-useradd-*

postinst-useradd-* haven't been running in order of dependency.

This patch is reworked from Piotr Łobacz's patch and fixes:

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

basepasswd_sysroot_postinst in base-passwd can install postinst-useradd-*
scripts with any order. Sometimes this means, for example a useradd postinst
will attempt to run without the corresponding group postinst causing errors.
This patch ensures that we first run groupadd, then useradd and then
group membership.

[RP: Tweaked to avoid removing previous fixes and for whitespace/style issues
     Also ensure the scripts are changed to execute with -e to highlight errors]

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Piotr Łobacz <p.lobacz@welotec.com>
Signed-off-by: Jan Górski <j.gorski@welotec.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agorecipetool: Fix errors with meta-poky bbappend
Richard Purdie [Thu, 22 Feb 2024 17:20:59 +0000 (17:20 +0000)] 
recipetool: Fix errors with meta-poky bbappend

When a new base-files bbappend was added to meta-poky, it causes selftest
failures. Whilst this isn't ideal, workaround that issue for now since
the append is being added for security visibility and changing the tests
to support this more generically looks invasive.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agocreategroup*: Remove coreutils-native as a DEPENDS
Eilís 'pidge' Ní Fhlannagáin [Thu, 22 Feb 2024 14:53:56 +0000 (14:53 +0000)] 
creategroup*: Remove coreutils-native as a DEPENDS

There isn't any reason for coreutils-native as a DEPENDS, so
remove it to speed up tests.

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin <pidge@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agoRevert "meson: use absolute cross-compiler paths"
Enguerrand de Ribaucourt [Thu, 22 Feb 2024 10:29:56 +0000 (11:29 +0100)] 
Revert "meson: use absolute cross-compiler paths"

This reverts commit fc8e5d7c13f62e987b76971116cf290fd01a0c8f.

We need to use the absolute path to the compiler so that the VSCode
configuration generated by devtool ide-sdk could lint meson projects.

A feature was just added to vscode-cpptools to support conveying the
compilerPath in addition to the compile_commands.json. The next
commits adds the necessary configuration. We can revert this one and
keep the meson paths as they were.

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agodevtool: ide: define compilerPath for meson projects
Enguerrand de Ribaucourt [Thu, 22 Feb 2024 10:29:55 +0000 (11:29 +0100)] 
devtool: ide: define compilerPath for meson projects

The compile_commands.json file output by meson uses the compiler as if
present in the $PATH. However, when using an IDE, the $PATH used by
bitbake is not there.

The vscode-cpptools now allows to define the compilerPath in addition
to replace the one from compile_commands.json.

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agolinux-yocto: Remove unused patch
Khem Raj [Wed, 21 Feb 2024 18:16:59 +0000 (10:16 -0800)] 
linux-yocto: Remove unused patch

This patch remained after bumping from 6.1 to 6.6

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agooeqa/selftest/rust: Simplify the rust testsuite output gathering/processing
Richard Purdie [Wed, 21 Feb 2024 13:14:58 +0000 (13:14 +0000)] 
oeqa/selftest/rust: Simplify the rust testsuite output gathering/processing

The rust testsuite was redirecting command output to a file, which made it
hard to debug failure cases since the logs were not available to print to
the console.

Rework the code so it uses the existing popen logging and hence allows us
to improve the error logging situation and make debugging failures easier.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
20 months agosystemd-systemctl: fix dead loop when multi services enable each other
Xiangyu Chen [Wed, 21 Feb 2024 07:29:42 +0000 (15:29 +0800)] 
systemd-systemctl: fix dead loop when multi services enable each other

libvirt has added a feature that all sockets for a service being enabled when a single
one of them is enabled since 9.9.x[1], it likes serviceA enable serviceB, serviceB enable
serviceA, that cause our systemctl script trap into a dead loop in postinstall stage,
the error message as below:

Traceback (most recent call last):
  File "/usr/lib/python3.8/pathlib.py", line 722, in __str__
    return self._str
AttributeError: _str

During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "recipe-sysroot-native/usr/bin/systemctl", line 255, in enable
    SystemdUnit(self.root, also).enable(unit)
  File "recipe-sysroot-native/usr/bin/systemctl", line 255, in enable
    SystemdUnit(self.root, also).enable(unit)
  File "recipe-sysroot-native/usr/bin/systemctl", line 255, in enable
    SystemdUnit(self.root, also).enable(unit)
  [Previous line repeated 988 more times]
......
RecursionError: maximum recursion depth exceeded while calling a Python object

Here using an array to record the services which has been enabled to filter the duplicates.

Ref:
[1] https://github.com/libvirt/libvirt/commit/826931e95a38af8322f8ad069dc89117c6404a00

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>