Compare commits

..

160 Commits

Author SHA1 Message Date
Steve Sakoman
7b8aa378d0 build-appliance-image: Update to nanbield head revision
(From OE-Core rev: d0e68072d138ccc1fb5957fdc46a91871eb6a3e1)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:20:58 -10:00
Alexander Kanavin
8730750b33 dev-manual: improve descriptions of 'bitbake -S printdiff'
Try to particularly emphasize that it can be used to find
out why something rebuilds when it shouldn't.

(From yocto-docs rev: 05d08b0bbaef760157c8d35a78d7405bc5ffce55)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:31 -10:00
Alexander Kanavin
2708ce2801 sdk-manual: correctly describe separate build-sysroots tasks in direct sdk workflows
They were separated in
https://git.yoctoproject.org/poky/commit/?id=63e53fb8b60d38315015844bd3357fa1649cd639

(From yocto-docs rev: 7cb8ee0b922c57a2fc7100eca585463e888964be)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:31 -10:00
BELOUARGA Mohamed
1962eae7d9 ref-manual: add documentation of the variable SPDX_NAMESPACE_PREFIX
The documentation of the variable SPDX_NAMESPACE_PREFIX does not exist.
This variable is used to change the prefix of some links in SPDX docs.

(From yocto-docs rev: 33ed2376b501022daf24003e4e6352a91fcb06ee)

Signed-off-by: BELOUARGA Mohamed <m.belouarga@technologyandstrategy.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:31 -10:00
Michael Opdenacker
c0bc268a59 profile-manual: usage.rst: further style improvements
According to errors reported by "make stylecheck"

(From yocto-docs rev: 3d6b7aa4b848403a5dcde0cdf68c38060f4ab0af)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:31 -10:00
Martin Jansa
664191d437 contributor-guide: be more specific about meta-* trees
* this is often confused to apply for e.g. meta-oe as well
  where it doesn't apply as meta-oe has own ML mentioned
  in README.

(From yocto-docs rev: fd9c078a08933484087e0ce12d4eb0f1d4693995)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:31 -10:00
Lee Chee Yang
b2d15619ce migration-guides: add release notes for 4.0.17
(From yocto-docs rev: 58bd14d3e992e4d4ec650d169fcd76ecb8a28d6e)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:31 -10:00
Michael Opdenacker
65b31eea45 documentation: Makefile: remove releases.rst in "make clean"
releases.rst is generated by the set_versions.py script

(From yocto-docs rev: 6a9aea1d4db67da095c81bc606f102aacfc436d2)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Michael Opdenacker
147b92723a profile-manual: usage.rst: fix reference to bug report
Allowing to remove nested parentheses in the text!

(From yocto-docs rev: 3af096c2509650165a6180e25d15114030e0ff18)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Michael Opdenacker
92af404c25 manuals: use "manual page(s)"
Instead of "manpage(s)" or "man page(s)".
To address one of the errors reported by "make stylecheck"

(From yocto-docs rev: 7d9faaf283454d653e541a8faf0d50f4c968cc66)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Michael Opdenacker
c3871e9b55 profile-manual: usage.rst: formatting fixes
Plus a few text styling improvements, some reported by "make stylecheck"

(From yocto-docs rev: f0c7c67ad297588d0112070b82f46fbc779bcb14)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Michael Opdenacker
4745719d0b manuals: add initial stylechecks with Vale
Use the "Vale" (https://vale.sh) tool to perform text style checks
Run "make stylecheck" to run the checks.

This just checks the text, not the Sphinx syntax style choices.

(From yocto-docs rev: 198efc906efbbaced2526cd1221fd16ab35996a1)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Ross Burton
9090e89240 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

(From OE-Core rev: 2fdc76a78d03b27f79fcaf1f86a4cf5f8904d9ee)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c2c9cbc107e5428122ad26b5c478602f0c8c0fbe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Ross Burton
68f1b7f429 openssl: fix crash on aarch64 if BTI is enabled but no Crypto instructions
On aarch64, if the processor doesn't have the Crypto instructions then
OpenSSL will fall back onto the "bit-sliced" assembler routines. When
branch protection (BTI) was enabled in OpenSSL these routines were
missed, so if BTI is available libssl will immediately abort when it
enters this assembler.

Backport a patch submitted upstream to add the required call target
annotations so that BTI doesn't believe the code is being exploited.

(From OE-Core rev: ec555688dbdc87cc695db653201c8d9e20079d22)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Ross Burton
8a20101d14 curl: increase test timeouts
We often see multiple curl tests fail during ptest runs, the actual test
varies but the output is like this:

  FAIL: 337: protoc!
  There was no content at all in the file log/3/server.input.
  Server glitch? Total curl failure? Returned: 28

Error code 28 is CURLE_OPERATION_TIMEDOUT, so this is almost certainly
due to a loaded machine resulting in the tests running slowly.

It is notable that the test runner explicitly passes --max-time=13 to
curl, so experiment and change this to 600 to see if this solves the
problem.

[ YOCTO #15268 ]

(From OE-Core rev: d105cc0dae1fcca285c08f33df7888c68fb0dc2f)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e2e9ec1bf97a7e36a05a247dbc671ecca584205f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Ross Burton
ba6ed3b831 curl: improve run-ptest
There's no need to run the output of runtests.pl through a sed to get
automake-style output, as you can pass -am to get this formatting.

Don't run timing dependent tests, as the ptests can run on loaded
systems.

Add a dependency on the en_US locale because some of the tests require
this.

(From OE-Core rev: 000bedc1c95e033f8a479a18a47dc66a0609d596)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3c3601d50ae290e7e9797eadd20c05df99bbd040)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Pavel Zhukov
b29f40625a mdadm: Disable ptests
As agreed upon in the bug triage meeting, disable mdadm ptest for the time being

Related: [Yocto #15181] [Yocto #15159] [Yocto #15308] [Yocto #15309]

(From OE-Core rev: ebbe9458526546b821d81a89d8098355d943ee60)

Signed-off-by: Pavel Zhukov <pavel@zhukoff.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 22ae573aa1a1244d4dea498d4fa4fcdf195bedf8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-28 07:08:30 -10:00
Steve Sakoman
7459fda082 build-appliance-image: Update to nanbield head revision
(From OE-Core rev: 84a70edd2ce791dcd9b8b7a2f436f1d59cb2ea95)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-22 04:16:34 -10:00
Steve Sakoman
92b141afb4 poky.conf: bump version for 4.3.4 release
(From meta-yocto rev: d98079ded41a4c6ab566998d4fbbd5e9d49efb3e)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-22 04:12:22 -10:00
Khem Raj
51556868f6 core-image-ptest: Increase disk size to 1.5G for strace ptest image
Autobuilder sees and intermittent failure on strace tests and it occurs
quite often therefore bump the size of image as the space requirement is
more now with parallel execution enabled.

[YOCTO #15370]

(From OE-Core rev: 719a155b7f85d4ee623f78c3e85ba987f9142290)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 02d31355b20f8f3e7bd1b71c9412988eca9ec4b4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Michael Halstead
138486fc53 yocto-uninative: Update to 4.4 for glibc 2.39
(From OE-Core rev: eebb03d9409df143c68262264a7d3991f6e94a9a)

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 56fdd8b79e2f7ec30d2cdcfa0c399a6553efac1e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Priyal Doshi
f1d8b7324d tzdata : Upgrade to 2024a
(From OE-Core rev: e0f18bb696dc7266befd2fd6c46062c9d6a7ab59)

Signed-off-by: Priyal Doshi <pdoshi@mvista.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 5abbd0abf992ce8d11f3ae31fb1d83d97f5319fa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Alexander Kanavin
1a2b5e0a9a linux-firmware: upgrade 20231211 -> 20240220
License-Update: additional files

(From OE-Core rev: 0d506b892d299eaf9aeefb614245108128ce480e)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit add81ef0299ea5260f9bdc59ffc8f5cc0e74276f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Alex Kiernan
d82357ffa1 wireless-regdb: Upgrade 2023.09.01 -> 2024.01.23
Upstream maintainer has changed to Chen-Yu Tsai <wens@kernel.org>:

https://lore.kernel.org/all/CAGb2v657baNMPKU3QADijx7hZa=GUcSv2LEDdn6N=QQaFX8r-g@mail.gmail.com/

Note that fb768d3b13ff ("wifi: cfg80211: Add my certificate") and
3c2a8ebe3fe6 ("wifi: cfg80211: fix certs build to not depend on file
order") are required if you are using kernel signature verification.

(From OE-Core rev: a9a799a6ab27947071f76211901d5bde160e5894)

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit abf169fbbf8bab13224adf4c8bfa2e26607f360c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Lee Chee Yang
6d2b73edc9 openssl: upgrade to 3.1.5
Changes between 3.1.4 and 3.1.5 [30 Jan 2024]
 * A file in PKCS12 format can contain certificates and keys and may
come from
   an untrusted source. The PKCS12 specification allows certain fields
to be
   NULL, but OpenSSL did not correctly check for this case. A fix has
been
   applied to prevent a NULL pointer dereference that results in OpenSSL
   crashing. If an application processes PKCS12 files from an untrusted
source
   using the OpenSSL APIs then that application will be vulnerable to
this
   issue prior to this fix.

   OpenSSL APIs that were vulnerable to this are: PKCS12_parse(),
   PKCS12_unpack_p7data(), PKCS12_unpack_p7encdata(),
PKCS12_unpack_authsafes()
   and PKCS12_newpass().

   We have also fixed a similar issue in SMIME_write_PKCS7(). However
since this
   function is related to writing data we do not consider it security
   significant.

   ([CVE-2024-0727])
https://www.openssl.org/news/cl31.txt

drop fix_random_labels.patch as fixed in
99630a1b08

(From OE-Core rev: aeac11fa743567e185179b27b4700bbf8fcf06e1)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Yoann Congal
521775dcd5 cve-update-nvd2-native: Remove rejected CVE from database
When a CVE is updated to be rejected, matching database entries must be
removed. Otherwise:
* an incremental update is not equivalent the to an initial download.
* rejected CVEs might still appear as Unpatched in cve-check.

(From OE-Core rev: 5b17b563908206667a7d14f390bd9b2de897774c)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f276a980b8930b98e6c8f0e1a865d77dfcfe5085)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Yoann Congal
11d9d02cf6 cve-update-nvd2-native: Fix CVE configuration update
When a CVE is created, it often has no precise version information and
this is stored as "-" (matching any version). After an update, version
information is added. The previous "-" must be removed, otherwise, the
CVE is still "Unpatched" for cve-check.

(From OE-Core rev: 67c4d9d27f06a07eac46c0f2cba8cfa1691b0737)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 641ae3f36e09af9932dc33043a0a5fbfce62122e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Yoann Congal
8d5fb5f5d2 cve-update-nvd2-native: nvd_request_next: Improve comment
Add a URL to the doc of the API used in the function.
... and fix a small typo dabase -> database

(From OE-Core rev: c8ae1765e81f9dd8e95a251cfda9e4d820bb5630)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e0157b3b81333a24abd31dbb23a6abebca3e7ba7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Yoann Congal
cfea74e239 cve-update-nvd2-native: Remove duplicated CVE_CHECK_DB_FILE definition
CVE_CHECK_DB_FILE is already defined in cve-check.bbclass which is
always inherited in cve-update-nvd2-native (There is a check line 40).

Remove it to avoid confusion. Otherwise, this should not change
anything.

(From OE-Core rev: 572ee5512a3d8941c6842af451ca6c9bb75773d3)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e5f3f223885c17b7007c310273fc7c80b90a4105)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Yoann Congal
c98a98ebb3 cve-update-nvd2-native: Add an age threshold for incremental update
Add a new variable "CVE_DB_INCR_UPDATE_AGE_THRES", which can be used to
specify the maximum age of the database for doing an incremental update
For older databases, a full re-download is done.

With a value of "0", this forces a full-redownload.

(From OE-Core rev: 665c880ff8be1b18c2abe8fa878643dfa64b7d3d)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74c1765111b6610348eae4b7e41d7045ce58ef86)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Yoann Congal
e1e4d53ce8 cve-update-nvd2-native: Fix typo in comment
attmepts -> attempts

(From OE-Core rev: 0c2e186e1ed8a904945066672e8e2af8b2ea284c)

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dc18aaeda8e810f9082a0ceac08e5e4275bbd0f7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Claus Stovgaard
12c5aa2329 wpa-supplicant: Fix CVE-2023-52160
PEAP client: Update Phase 2 authentication requirements. Also see
https://www.top10vpn.com/research/wifi-vulnerabilities/

(From OE-Core rev: 7d0e3f31d2193b2b13a9fe3f368a172f4eaa7c48)

Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 57b6a329df897de69ae8b90706d9fe37e0ed6d35)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Simone Weiß
05a1e88ce3 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.

(From OE-Core rev: c1b3c3856c2bdf2d9d6dfbaccfce549396a8630a)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 013d531a84fa08b6ae8a47bdf3ba1fa8f18ba270)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-20 06:02:50 -10:00
Michael Opdenacker
cae6c78254 manuals: document VIRTUAL-RUNTIME variables
Document the convention to use variables prefixed by VIRTUAL_RUNTIME.
Add references to the new term where possible.

Another reason is that such variables are recommended
in a warning issued by meta/classes-global/insane.bbclass

(From yocto-docs rev: 692ee19c99d015adf79da540b03d12245f7024f4)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Tim Orling <ticotimo@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Simone Weiß
db0eb3116e contributor-guide: add notes for tests
This adds some hints that and how changes should be tested when contributing.

Fixes [YOCTO #15412]

(From yocto-docs rev: d6f14fad6b85e61961830198474f9281d84b3d27)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Michael Opdenacker
cf9cab531d dev-manual: packages: fix capitalization
Using "PR service" instead of "PR Service", like in the other
two instances in this document.

(From yocto-docs rev: 6d6fbf786fff802ab30d649f9903331814d9fe1c)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Geoff Parker
1e4304b007 ref-manual: variables: adding multiple groups in GROUPADD_PARAM
Add missing documentation on how to add multiple groups with a single
GROUPADD_PARAM:${PN}

(From yocto-docs rev: 8d1aecf5aa638aa98676bda9b30a241c350f94a3)

Signed-off-by: Geoff Parker <geoffrey.parker@arthrex.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Johan Bezem
b2fd801cd6 ref-manual: variables: correct sdk installation default path
The SDKPATH variable seems mistakenly identified as the
default path where the SDK will be installed by the generated
installation script, unless option '-d' or a manual input
overrides this default.

The intended variable is SDKPATHINSTALL. SDKPATH indicates
where the SDK is being composed and built.

The definitions have been added/updated.

(From yocto-docs rev: ef86bec59f5bd81963e0013fce63a1960df53c57)

Signed-off-by: Johan Bezem <jbezem.extern@arri.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Luca Ceresoli
2040697f1c ref-manual: tasks: do_cleansstate: recommend using '-f' instead for a shared sstate
do_cleansstat can produce build errors when using a shared sstate cache.

Add a note to clearly discourage, provide a safe alternative (bitbake -f),
and the rationale.

Suggested-by: Quentin Schulz  <quentin.schulz@theobroma-systems.com>
Link: https://lore.kernel.org/yocto-docs/20240219155513.76738-1-luca.ceresoli@bootlin.com/T/#m5529687ecb0f9ec2dacddcb6ff58e2df73af9cde
(From yocto-docs rev: fe023e48a5014e838fb74b77cdf8b0d546db0d21)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Luca Ceresoli
05fc000272 ref-manual: tasks: do_cleanall: recommend using '-f' instead
do_cleanall can produce failures when used in legitimate cases, such as
with recipe variants (foo and foo-native) or a shared DL_DIR. This is why
it is forbidden when writing tests that will run on the autobuilders
(https://docs.yoctoproject.org/test-manual/intro.html?highlight=cleanall#considerations-when-writing-tests).

Reword the documentation to clearly discourage, provide a safe alternative
(bitbake -f -c fetch), and the rationale with an example.

Reported-by: Sam Liddicott
Link: https://bootlin.com/blog/yocto-sharing-the-sstate-cache-and-download-directories/#comment-2650335
(From yocto-docs rev: c8ba32df7576ceb4b8371595e14ad51bdb3e33b1)

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Reviewed-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Simone Weiß
c9834bf620 gnutls: Upgrade 3.8.2 -> 3.8.3
Upgrade version to adress recent CVE findings.

Changelog
=========
** libgnutls: Fix more timing side-channel inside RSA-PSK key exchange
   [GNUTLS-SA-2024-01-14, CVSS: medium] [CVE-2024-0553]

** libgnutls: Fix assertion failure when verifying a certificate chain with a
   cycle of cross signatures
   [GNUTLS-SA-2024-01-09, CVSS: medium] [CVE-2024-0567]

** libgnutls: Fix regression in handling Ed25519 keys stored in PKCS#11 token
   certtool was unable to handle Ed25519 keys generated on PKCS#11
   with pkcs11-tool (OpenSC). This is a regression introduced in 3.8.2.

(cherry-pick from Oe-Core rev 705d2972b38efc9f331e3635c07ca92f8812b365)

(From OE-Core rev: f40a53370eac89df38b2fab47c411a61d4df4fc0)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Wang Mingyu
c557cb4f02 gnutls: upgrade 3.8.1 -> 3.8.2
Changelog:
============
** libgnutls: Fix timing side-channel inside RSA-PSK key exchange.
** libgnutls: Add API functions to perform ECDH and DH key agreement
** libgnutls: Added support for AES-GCM-SIV ciphers
** libgnutls: transparent KTLS support is extended to FreeBSD kernel
** gnutls-cli: New option --starttls-name

(cherry-pick from Oe-Core rev 3c01bb0be8ddafa0aa1ad996ec524b51fd28f512)

(From OE-Core rev: d9310c3ce0f88798de6d2d3d0c600b9014c1d872)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Soumya Sambu
92b6805f61 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]

(cherry-pick from Oe-Core rev d7f31aba343948dbaadafc8c0c66f78e6ffb46e3)

(From OE-Core rev: 61fa2f52045b7a1553249c33263b5fd32444a305)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Wang Mingyu
ed0ae8e15b bind: upgrade 9.18.20 -> 9.18.21
bind-ensure-searching-for-json-headers-searches-sysr.patch
refreshed for 9.18.21

Changelog:
==========
-Improve LRU cleaning behaviour.
-The "resolver-nonbackoff-tries" and "resolver-retry-interval" options are
 deprecated; a warning will be logged if they are used.
-BIND might sometimes crash after startup or re-configuration when one 'tls'
 entry is used multiple times to connect to remote servers due to initialisation
 attempts from contexts of multiple threads. That has been fixed.
-Dig +yaml will now report "no servers could be reached" also for UDP setup
 failure when no other servers or tries are left.
-Recognize escapes when reading the public key from file.
-Dig +yaml will now report "no servers could be reached" on TCP connection
 failure as well as for UDP timeouts.
-Deprecate AES-based DNS cookies.

(cherry-pick from Oe-core rev b750d54622a0fa0a35d83ddc59f07661e903360b)

(From OE-Core rev: 6977b7ac4202a1dd4264a6b4e4e6fd5c3dc07d37)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Wang Mingyu
05f2a66ec5 python3-jinja2: upgrade 3.1.2 -> 3.1.3
Changelog:
==========
-Fix compiler error when checking if required blocks in parent templates are empty.
-xmlattr filter does not allow keys with spaces.
-Make error messages stemming from invalid nesting of {% trans %} blocks more helpful

upgrade include fix for CVE-2024-22195.
(cherry-pick from Oe-Core rev 8a0524464583d69df7746253f5020c2c125a8e1f)

(From OE-Core rev: f8f89b901e3f8db3a9e61ab49976beeb9531d1c2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Lee Chee Yang
0d4b501890 libxml2: upgrade to 2.11.7
libxml2 2.11.7
Security
[CVE-2024-25062] xmlreader: Don't expand XIncludes when backtracking

libxml2 2.11.6
Regressions
threads: Fix --with-thread-alloc
xinclude: Fix 'last' pointer in xmlXIncludeCopyNode

Bug fixes
parser: Fix potential use-after-free in xmlParseCharDataInternal

(From OE-Core rev: a0d164d7705034b2c351c518cebad8811ed5026f)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Dhairya Nagodra
59db49d903 xwayland: upgrade 23.2.3 -> 23.2.4
Includes fixes for CVE-2023-6816, CVE-2024-0408, CVE-2024-0409

(From OE-Core rev: 91f5e2a55212f3e0c8ce9269a139a7f4519f28a9)

Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-16 08:33:21 -10:00
Michael Opdenacker
3d986317d1 dev-manual: packages: need enough free space
Enough free storage space is needed to apply package upgrades.

(From yocto-docs rev: 0ccb6570c8ae50f2f40b3634a9798a10fd20811d)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Michael Opdenacker
3d5846e144 dev-manual: packages: clarify shared PR service constraint
Explicit the problems previous described as "obvious".

(From yocto-docs rev: c5e3b57398d98626e348cb14d2a89ecc5f424dd4)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Suggested-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Michael Opdenacker
d241202fa1 manuals: suppress excess use of "following" word
To simplify the style, replace "Following is" and "Following are"
by "here is" and "here are", sounding more natural.

In some cases, also go further by simplifying "Here are/is xxx"
by "xxx are/is" when the "are" or "is" are not two far at
the end of the sentence.

In some cases too, completely remove the sentence, when
it's redundant with the preceding title.

(From yocto-docs rev: da1cbd7083238657aaeaea16841b24531c86298e)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
CC: Daniel Ammann <daniel.ammann@bytesatwork.ch>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Michael Opdenacker
74ed43b221 ref-manual: release-process: grammar fix
(From yocto-docs rev: e5d03de84a327332d20e74a8634bccfe0bf9405a)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Michael Opdenacker
d9bb5baff0 ref-manual: system-requirements: update packages to build docs
- "git" is now required to run "set_versions.py"

- Fix Ubuntu / Debian packages.
  The previous instructions didn't run on Debian 12
  Tested on Ubuntu 22.04 and Debian 12.

  Reported on https://lists.yoctoproject.org/g/docs/message/4789

(From yocto-docs rev: 1e32b69e1317c05069878e882023a17294cc0524)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Reported-by: <mhagans@skyviewsat.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Simone Weiß
f755f56106 dev-manual: Rephrase spdx creation
Make the options more clear by providing them in a list instead of plain prosa.
Also add a ref for a presentation wrt spdx 3.0 in the Yocto project.

Fixes [YOCTO 7476]

(From yocto-docs rev: 8bdfc2feac8aa65d77aada29c046d88e2c31b222)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Munehisa Kamata
5d567f14e9 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.

(From OE-Core rev: d88e0fa7c5e6c8252f8f775996f512a37fea4818)

Signed-off-by: Munehisa Kamata <kamatam@amazon.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit cd2072e5d953af981339427028e19083257e6a92)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Bruce Ashfield
ed74dbe0c7 linux-yocto/6.1: 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 9Feb24
        Date: Fri, 9 Feb 2024 18:02:45 -0500

    ]

(From OE-Core rev: 7b490b890f2bc54c76ae551e92a11fefec4ffec1)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Bruce Ashfield
cbc50de8c7 linux-yocto/6.1: update to v6.1.78
Updating linux-yocto/6.1 to the latest korg -stable release that comprises
the following commits:

    8b4118fabd6e Linux 6.1.78
    1296c110c5a0 netfilter: nft_set_rbtree: skip end interval element from gc
    d89a80e4827d net: stmmac: xgmac: fix a typo of register name in DPP safety handling
    7b430fb92440 ALSA: usb-audio: Sort quirk table entries
    06040fadbfef net: stmmac: xgmac: use #define for string constants
    499e6e9f0737 clocksource: Skip watchdog check for large watchdog intervals
    492e0aba0884 block: treat poll queue enter similarly to timeouts
    cf3d57ad6ff8 f2fs: add helper to check compression level
    9f74b3d7183a RDMA/irdma: Fix support for 64k pages
    4675661672e3 vhost: use kzalloc() instead of kmalloc() followed by memset()
    d8712c6c6a38 Revert "ASoC: amd: Add new dmi entries for acp5x platform"
    fbd77ce1d174 io_uring/net: fix sr->len for IORING_OP_RECV with MSG_WAITALL and buffers
    08249dc3d9c1 Input: atkbd - skip ATKBD_CMD_SETLEDS when skipping ATKBD_CMD_GETID
    315075ac739c Input: i8042 - fix strange behavior of touchpad on Clevo NS70PU
    a94d303bea6b hrtimer: Report offline hrtimer enqueue
    8b380ad970d0 usb: host: xhci-plat: Add support for XHCI_SG_TRB_CACHE_SIZE_QUIRK
    f2cf6db28545 usb: dwc3: host: Set XHCI_SG_TRB_CACHE_SIZE_QUIRK
    041cb58f54f5 USB: serial: cp210x: add ID for IMST iM871A-USB
    36ef5b7b4f0a USB: serial: option: add Fibocom FM101-GL variant
    234099ab7f8a USB: serial: qcserial: add new usb-id for Dell Wireless DW5826e
    39fbca505fe6 ALSA: usb-audio: add quirk for RODE NT-USB+
    2552f6b1bd64 ALSA: usb-audio: Add a quirk for Yamaha YIT-W12TX transmitter
    b8259a502320 ALSA: usb-audio: Add delay quirk for MOTU M Series 2nd revision
    82761993d429 mtd: parsers: ofpart: add workaround for #size-cells 0
    b478e414cf85 fs: dlm: don't put dlm_local_addrs on heap
    e5dc63f01e02 blk-iocost: Fix an UBSAN shift-out-of-bounds warning
    1ebd75cefaac scsi: core: Move scsi_host_busy() out of host lock if it is for per-command
    ec1bedd79758 fs/ntfs3: Fix an NULL dereference bug
    a442ff5405d7 netfilter: nft_set_pipapo: remove scratch_aligned pointer
    fac3478d5b87 netfilter: nft_set_pipapo: add helper to release pcpu scratch area
    3eaab7d565be netfilter: nft_set_pipapo: store index in scratch maps
    181dade25130 netfilter: nft_ct: reject direction for ct id
    efdd665ce1a1 drm/amd/display: Implement bounds check for stream encoder creation in DCN301
    a060da32357a netfilter: nft_compat: restrict match/target protocol to u16
    8762bcc92719 netfilter: nft_compat: reject unused compat flag
    e79ef7966ee9 netfilter: nft_compat: narrow down revision to unsigned 8-bits
    69d66d493b1f selftests: cmsg_ipv6: repeat the exact packet
    4e2c4846b250 ppp_async: limit MRU to 64K
    e0e09186d882 af_unix: Call kfree_skb() for dead unix_(sk)->oob_skb in GC.
    3d3a5b31b435 tipc: Check the bearer type before calling tipc_udp_nl_bearer_add()
    cf6b97e1830e rxrpc: Fix response to PING RESPONSE ACKs to a dead call
    05a4d0e16615 drm/i915/gvt: Fix uninitialized variable in handle_mmio()
    54538752216b inet: read sk->sk_family once in inet_recv_error()
    3fa78ee0e381 hwmon: (coretemp) Fix bogus core_id to attr name mapping
    9bce69419271 hwmon: (coretemp) Fix out-of-bounds memory access
    a3156be201cf hwmon: (aspeed-pwm-tacho) mutex for tach reading
    406574668634 octeontx2-pf: Fix a memleak otx2_sq_init
    cbf2e1660259 atm: idt77252: fix a memleak in open_card_ubr0
    e37cde7a5716 tunnels: fix out of bounds access when building IPv6 PMTU error
    90fe47743a2b selftests: net: avoid just another constant wait
    7f484179c53a selftests: net: cut more slack for gro fwd tests.
    466ceebe48cb net: atlantic: Fix DMA mapping for PTP hwts ring
    0193e0660cc6 netdevsim: avoid potential loop in nsim_dev_trap_report_work()
    bcabbf8ab5c6 wifi: mac80211: fix waiting for beacons logic
    e42ff0844fe4 net: stmmac: xgmac: fix handling of DPP safety error for DMA channels
    fb8bfc6ea3cd drm/msm/dpu: check for valid hw_pp in dpu_encoder_helper_phys_cleanup
    42939a1ea6d4 drm/msm/dp: return correct Colorimetry for DP_TEST_DYNAMIC_RANGE_CEA case
    d2b7e247f368 drm/msms/dp: fixed link clock divider bits be over written in BPC unknown case
    cbc53148cc09 cifs: failure to add channel on iface should bump up weight
    0430bfcd4665 phy: ti: phy-omap-usb2: Fix NULL pointer dereference for SRP
    296fb308f4f8 dmaengine: fix is_slave_direction() return false when DMA_DEV_TO_DEV
    ed3bb52a05d3 phy: renesas: rcar-gen3-usb2: Fix returning wrong error code
    25ab4d72eb7c dmaengine: fsl-qdma: Fix a memory leak related to the queue command DMA
    13535ae76655 dmaengine: fsl-qdma: Fix a memory leak related to the status queue DMA
    908939b8e81a dmaengine: ti: k3-udma: Report short packet errors
    a1d7ca71ba1a dmaengine: fsl-dpaa2-qdma: Fix the size of dma pools
    78327acd4cdc ext4: regenerate buddy after block freeing failed if under fc replay
    f1bb70486c9c Linux 6.1.77
    d78690bb5d17 drm/amdgpu: Fix missing error code in 'gmc_v6/7/8/9_0_hw_init()'
    f086c50a9834 ASoC: codecs: wsa883x: fix PA volume control
    ac86261fa87b ASoC: codecs: lpass-wsa-macro: fix compander volume hack
    2386ee6cba10 bonding: remove print in bond_verify_device_path
    e1edd8e6c061 gve: Fix use-after-free vulnerability
    9e584ea1010b LoongArch/smp: Call rcutree_report_cpu_starting() at tlb_init()
    98c392a91a6e drm/msm/dsi: Enable runtime PM
    befdb0a8a195 Revert "drm/amd/display: Disable PSR-SU on Parade 0803 TCON again"
    dc904345e377 mm, kmsan: fix infinite recursion due to RCU critical section
    c5a12dfbfa76 arm64: irq: set the correct node for shadow call stack
    ddd367ebc446 selftests: bonding: Check initial state
    7ebe20e63290 selftests: team: Add missing config options
    aaa8f7684588 net: sysfs: Fix /sys/class/net/<iface> path
    bea0fbf8573c selftests: net: fix available tunnels detection
    a2104f438764 af_unix: fix lockdep positive in sk_diag_dump_icons()
    fde3d47efe4d net: ipv4: fix a memleak in ip_setup_cork
    0f501dae16b7 netfilter: nft_ct: sanitize layer 3 and 4 protocol number in custom expectations
    9ff981cd65cd netfilter: nf_log: replace BUG_ON by WARN_ON_ONCE when putting logger
    67f0ca0a4c85 netfilter: nf_tables: restrict tunnel object to NFPROTO_NETDEV
    8a51dbf7b72c netfilter: conntrack: correct window scaling with retransmitted SYN
    cd091ca44c42 selftests: net: add missing config for GENEVE
    04a553d8ac15 bridge: mcast: fix disabled snooping after long uptime
    9c333d9891f3 llc: call sock_orphan() at release time
    c59ed6592fb1 ipv6: Ensure natural alignment of const ipv6 loopback and router addresses
    2f3d9829f74d net: dsa: qca8k: fix illegal usage of GPIO
    1e4c227805f2 ixgbe: Fix an error handling path in ixgbe_read_iosf_sb_reg_x550()
    3b84b7000c61 ixgbe: Refactor overtemp event handling
    9c8eafc5e9e8 ixgbe: Refactor returning internal error codes
    b383d4ea272f tcp: add sanity checks to rx zerocopy
    046260ce7ca5 net: lan966x: Fix port configuration when using SGMII interface
    d2f1b7fe74af ipmr: fix kernel panic when forwarding mcast packets
    03dc5b73af2e ipv4: raw: add drop reasons
    d54e4da98bbf ip6_tunnel: make sure to pull inner header in __ip6_tnl_rcv()
    262caadfa970 selftests: net: give more time for GRO aggregation
    53e94ec530e3 HID: hidraw: fix a problem of memory leak in hidraw_release()
    db6338f45971 scsi: core: Move scsi_host_busy() out of host lock for waking up EH handler
    81e92f0c97ea regulator: ti-abb: don't use devm_platform_ioremap_resource_byname for shared interrupt register
    7eb86ddaf1eb scsi: isci: Fix an error code problem in isci_io_request_build()
    206dcd2624b9 drm: using mul_u32_u32() requires linux/math64.h
    a2f30104fe5f wifi: cfg80211: fix RCU dereference in __cfg80211_bss_update
    071d98d5ee15 perf: Fix the nr_addr_filters fix
    8eea7e1d69e2 drm/amdkfd: Fix 'node' NULL check in 'svm_range_get_range_boundaries()'
    7513f0906c22 drm/amdgpu: Release 'adev->pm.fw' before return in 'amdgpu_device_need_post()'
    af8e2926152b drm/amdgpu: Fix with right return code '-EIO' in 'amdgpu_gmc_vram_checking()'
    d282ea070313 drm/amd/powerplay: Fix kzalloc parameter 'ATOM_Tonga_PPM_Table' in 'get_platform_power_management_table()'
    3fbfeb8536bc ceph: fix invalid pointer access if get_quota_realm return ERR_PTR
    7f2649c94264 ceph: fix deadlock or deadcode of misusing dget()
    692ead237df9 ceph: reinitialize mds feature bit even when session in open
    1d9c777d3e70 blk-mq: fix IO hang from sbitmap wakeup race
    1f7a0188579e virtio_net: Fix "‘%d’ directive writing between 1 and 11 bytes into a region of size 10" warnings
    b602f098f716 drm/amdkfd: Fix lock dependency warning with srcu
    8b25d397162b drm/amdkfd: Fix lock dependency warning
    49a7b708da92 libsubcmd: Fix memory leak in uniq()
    2c1164ad927e misc: lis3lv02d_i2c: Add missing setting of the reg_ctrl callback
    91f197748738 9p: Fix initialisation of netfs_inode for 9p
    fc557b76dcf0 PCI/AER: Decode Requester ID when no error info found
    83c895561adc PCI: Fix 64GT/s effective data rate calculation
    521f28eedd6b spmi: mediatek: Fix UAF on device remove
    089ebfab244b fs/kernfs/dir: obey S_ISGID
    c13bcbdb8415 tty: allow TIOCSLCKTRMIOS with CAP_CHECKPOINT_RESTORE
    d8d7ffefc075 selftests/sgx: Fix linker script asserts
    fa3f6cd20def usb: hub: Add quirk to decrease IN-ep poll interval for Microchip USB491x hub
    9cdf5ddb06ee usb: hub: Replace hardcoded quirk value with BIT() macro
    4c8ca96124d5 perf cs-etm: Bump minimum OpenCSD version to ensure a bugfix is present
    1d83c8592264 PCI: switchtec: Fix stdev_release() crash after surprise hot remove
    5e0160dab118 PCI: Only override AMD USB controller if required
    26b8a35fef98 mailbox: arm_mhuv2: Fix a bug for mhuv2_sender_interrupt
    6e8c0eda6cca mfd: ti_am335x_tscadc: Fix TI SoC dependencies
    52e7f0554952 xen/gntdev: Fix the abuse of underlying struct page in DMA-buf import
    e827364bc147 i3c: master: cdns: Update maximum prescaler value for i2c clock
    4f7dad73df4c um: time-travel: fix time corruption
    d8512cc8ac05 um: net: Fix return type of uml_net_start_xmit()
    d8264ce2f875 um: Don't use vfprintf() for os_info()
    a95e52af36a0 um: Fix naming clash between UML and scheduler
    7d1c4e580943 leds: trigger: panic: Don't register panic notifier if creating the trigger failed
    2cb659ef0ac7 ALSA: hda/conexant: Fix headset auto detect fail in cx8070 and SN6140
    05a0900bd7a5 drm/amdkfd: Fix iterator used outside loop in 'kfd_add_peer_prop()'
    34bb1b97c370 drm/amdgpu: Drop 'fence' check in 'to_amdgpu_amdkfd_fence()'
    66d38977e226 drm/amdgpu: Fix '*fw' from request_firmware() not released in 'amdgpu_ucode_request()'
    da08dbb64729 drm/amdgpu: Let KFD sync with VM fences
    adae24c5b342 drm/amdgpu: Fix ecc irq enable/disable unpaired
    aade0a07609b clk: imx: clk-imx8qxp: fix LVDS bypass, pixel and phy clocks
    7294b1bbaa57 drm/amd/display: make flip_timestamp_in_us a 64-bit variable
    c95d2144be77 watchdog: it87_wdt: Keep WDTCTRL bit 3 unmodified for IT8784/IT8786
    ec74a45e8028 clk: mmp: pxa168: Fix memory leak in pxa168_clk_init()
    14992bc77ff4 clk: hi3620: Fix memory leak in hi3620_mmc_clk_init()
    d443fb67ca5a drm/amdgpu: fix ftrace event amdgpu_bo_move always move on same heap
    fe7e8ec07259 drm/msm/dpu: fix writeback programming for YUV cases
    7593e62702a1 drm/msm/dpu: Ratelimit framedone timeout msgs
    fb017c3e6acc drm/amd/display: For prefetch mode > 0, extend prefetch if possible
    4ef53b7e301d media: i2c: imx335: Fix hblank min/max values
    5008bde32c02 media: ddbridge: fix an error code problem in ddb_probe
    6408851d05a4 media: amphion: remove mutext lock in condition of wait_event
    5108a2dc2db5 IB/ipoib: Fix mcast list locking
    fe80290b2ad1 drm/exynos: Call drm_atomic_helper_shutdown() at shutdown/unbind time
    7c972c894575 f2fs: fix to tag gcing flag on page during block migration
    fb55c3cee6db hwmon: (nct6775) Fix fan speed set failure in automatic mode
    bf808f58681c media: rkisp1: Fix IRQ disable race issue
    f0d0fe37873c media: rkisp1: Store IRQ lines
    fb71b54856c4 media: rkisp1: Fix IRQ handler return values
    1c51b6b0c62d media: rkisp1: Drop IRQF_SHARED
    c3f77c5d63be ALSA: hda: Intel: add HDA_ARL PCI ID support
    3b28da57d0c9 PCI: add INTEL_HDA_ARL to pci_ids.h
    16786b70903c media: rockchip: rga: fix swizzling for RGB formats
    1ef8beb4bf5d media: stk1160: Fixed high volume of stk1160_dbg messages
    25eaa9f999cd drm/mipi-dsi: Fix detach call without attach
    f3e41cc26067 drm/framebuffer: Fix use of uninitialized variable
    406f8d5bade8 drm/drm_file: fix use of uninitialized variable
    48ad42cd95ac ASoC: amd: Add new dmi entries for acp5x platform
    b6ca70f06e21 f2fs: fix write pointers on zoned device after roll forward
    9773a96eac93 drm/amd/display: Fix tiled display misalignment
    126543736f25 drm/bridge: anx7625: Fix Set HPD irq detect window to 2ms
    3c2bd20dc9e3 drm/panel-edp: Add override_edid_mode quirk for generic edp
    055c84972447 RDMA/IPoIB: Fix error code return in ipoib_mcast_join
    c4cb42824e6e fast_dput(): handle underflows gracefully
    0ee8e0a183b0 ASoC: doc: Fix undefined SND_SOC_DAPM_NOPM argument
    52e25a323c3d ALSA: hda: Refer to correct stream index at loops
    b1020a546779 f2fs: fix to check return value of f2fs_reserve_new_block()
    332a7c108eca net: dsa: qca8k: put MDIO bus OF node on qca8k_mdio_register() failure
    0438a985deba octeontx2-af: Fix max NPC MCAM entry check while validating ref_entry
    95173204b1ff i40e: Fix VF disable behavior to block all traffic
    9f9ac39adbe2 bridge: cfm: fix enum typo in br_cc_ccm_tx_parse
    a243e0818e97 net/smc: disable SEID on non-s390 archs where virtual ISM may be used
    388736c62bf9 Bluetooth: L2CAP: Fix possible multiple reject send
    6d95ade9e647 Bluetooth: hci_sync: fix BR/EDR wakeup bug
    a836b1c3333d Bluetooth: qca: Set both WIDEBAND_SPEECH and LE_STATES quirks for QCA2066
    da1a6e9f01e7 wifi: cfg80211: free beacon_ies when overridden from hidden BSS
    3bb09b9af151 wifi: rtlwifi: rtl8723{be,ae}: using calculate_bit_shift()
    12473265f50c libbpf: Fix NULL pointer dereference in bpf_object__collect_prog_relos
    68ef19417a9a wifi: rtl8xxxu: Add additional USB IDs for RTL8192EU devices
    e15fa0c67eef arm64: dts: amlogic: fix format for s4 uart node
    9e8338b72b35 ice: fix pre-shifted bit usage
    9c5541f3f0fd arm64: dts: qcom: msm8998: Fix 'out-ports' is a required property
    2fdbf9d9a0e3 arm64: dts: qcom: msm8996: Fix 'in-ports' is a required property
    fd9a2c700323 md: Whenassemble the array, consult the superblock of the freshest device
    8ae420190058 block: prevent an integer overflow in bvec_try_merge_hw_page
    44f6b75c095e net: dsa: mv88e6xxx: Fix mv88e6352_serdes_get_stats error path
    0edb3ae8bfa3 net: atlantic: eliminate double free in error handling logic
    ea12794ea617 ice: fix ICE_AQ_VSI_Q_OPT_RSS_* register values
    d4560c11c322 scsi: hisi_sas: Set .phy_attached before notifing phyup event HISI_PHYE_PHY_UP_PM
    dc15b313f3ca ARM: dts: imx23/28: Fix the DMA controller node name
    9388665a1249 ARM: dts: imx23-sansa: Use preferred i2c-gpios properties
    fb8e41af9525 ARM: dts: imx27-apf27dev: Fix LED name
    6ebe86575b0e ARM: dts: imx25/27: Pass timing0
    68b2e26225b2 ARM: dts: imx25: Fix the iim compatible string
    af7bbdac8973 block/rnbd-srv: Check for unlikely string overflow
    238ec612a26c ionic: bypass firmware cmds when stuck in reset
    434fcaf3721f ionic: pass opcode to devcmd_wait
    7dc0fefd37dd net: phy: at803x: fix passing the wrong reference for config_intr
    e7398f3e45d4 ARM: dts: imx1: Fix sram node
    7721a55c0234 ARM: dts: imx27: Fix sram node
    8a0285ed7e87 ARM: dts: imx: Use flash@0,0 pattern
    8953b37bb106 ARM: dts: imx25/27-eukrea: Fix RTC node name
    1acdaf9f290f ARM: dts: rockchip: fix rk3036 hdmi ports node
    574dcd3126aa wifi: wfx: fix possible NULL pointer dereference in wfx_set_mfp_ap()
    5a44a664ab85 bpf: Set uattr->batch.count as zero before batched update or deletion
    7719e56b203a scsi: libfc: Fix up timeout error in fc_fcp_rec_error()
    73fe92ddf90e scsi: libfc: Don't schedule abort twice
    d6d6fe4bb105 bpf: Check rcu_read_lock_trace_held() before calling bpf map helpers
    c07965d1a771 wifi: ath11k: fix race due to setting ATH11K_FLAG_EXT_IRQ_ENABLED too early
    25c6f49ef59b wifi: ath9k: Fix potential array-index-out-of-bounds read in ath9k_htc_txstatus()
    db30f469ae8b ARM: dts: imx7s: Fix nand-controller #size-cells
    6fa750d62f2a ARM: dts: imx7s: Fix lcdif compatible
    c9c2a3582093 ARM: dts: imx7d: Fix coresight funnel ports
    89fdf0a2c74f scsi: arcmsr: Support new PCI device IDs 1883 and 1886
    61c859bd6679 scsi: mpi3mr: Add PCI checks where SAS5116 diverges from SAS4116
    5c4cbec5106d net: usb: ax88179_178a: avoid two consecutive device resets
    cd4cdad9bd3a bonding: return -ENOMEM instead of BUG in alb_upper_dev_walk
    c0d5a69322eb PCI: Add no PM reset quirk for NVIDIA Spectrum devices
    04dcef4a780a scsi: lpfc: Fix possible file string name overflow when updating firmware
    c0a96adce287 soc: xilinx: fix unhandled SGI warning message
    01946c3c83b2 soc: xilinx: Fix for call trace due to the usage of smp_processor_id()
    fd937767d586 selftests/bpf: Fix issues in setup_classid_environment()
    f58cfb63e4d7 wifi: rt2x00: correct wrong BBP register in RxDCOC calibration
    ad0e7bbc0ba2 selftests/bpf: Fix pyperf180 compilation failure with clang18
    76ab331d6d65 selftests/bpf: satisfy compiler by having explicit return in btf test
    739b3ccd9486 wifi: rt2x00: restart beacon queue when hardware reset
    6d2cbf517dca ext4: avoid online resizing failures due to oversized flex bg
    dd10f82ece2e ext4: remove unnecessary check from alloc_flex_gd()
    60292a12a08e ext4: unify the type of flexbg_size to unsigned int
    069ede047554 ext4: fix inconsistent between segment fstrim and full fstrim
    80cab9dad5e9 ecryptfs: Reject casefold directory inodes
    e8ca3e73301e SUNRPC: Fix a suspicious RCU usage warning
    0671f42a9c10 KVM: s390: fix setting of fpc register
    7a4d6481fbdd s390/ptrace: handle setting of fpc register correctly
    08f65c9067bb s390/vfio-ap: fix sysfs status attribute for AP queue devices
    d6c8d8ab761f arch: consolidate arch_irq_work_raise prototypes
    3537f92cd22c jfs: fix array-index-out-of-bounds in diNewExt
    b03d76cc6671 rxrpc_find_service_conn_rcu: fix the usage of read_seqbegin_or_lock()
    ea4eb77c533c afs: fix the usage of read_seqbegin_or_lock() in afs_find_server*()
    eef7c4cd9844 afs: fix the usage of read_seqbegin_or_lock() in afs_lookup_volume_rcu()
    91256fcd578a crypto: stm32/crc32 - fix parsing list of devices
    e0e78522b47f erofs: fix ztailpacking for subpage compressed blocks
    6c7bdb97d470 crypto: octeontx2 - Fix cptvf driver cleanup
    75b0f71b26b3 pstore/ram: Fix crash when setting number of cpus to an odd number
    32e8f2d95528 jfs: fix uaf in jfs_evict_inode
    70780914cb57 jfs: fix array-index-out-of-bounds in dbAdjTree
    cab0c265ba18 jfs: fix slab-out-of-bounds Read in dtSearch
    e4cbc857d75d UBSAN: array-index-out-of-bounds in dtSplitRoot
    42f433785f10 FS:JFS:UBSAN:array-index-out-of-bounds in dbAdjTree
    185d97e5be7f ACPI: APEI: set memory failure flags as MF_ACTION_REQUIRED on synchronous events
    31569995fc65 PM / devfreq: Synchronize devfreq_monitor_[start/stop]
    7633b7a036c2 ACPI: NUMA: Fix the logic of getting the fake_pxm value
    33650372e3ea ACPI: extlog: fix NULL pointer dereference check
    431c1a492107 PNP: ACPI: fix fortify warning
    81eb8b56e70c ACPI: video: Add quirk for the Colorful X15 AT 23 Laptop
    4d4e06eaa251 audit: Send netlink ACK before setting connection in auditd_set
    3430936a0146 regulator: core: Only increment use_count when enable_count changes
    b3ae38966d1c debugobjects: Stop accessing objects after releasing hash bucket lock
    74ec093dba93 perf/core: Fix narrow startup race when creating the perf nr_addr_filters sysfs file
    d67e43be0e30 x86/mce: Mark fatal MCE's page as poison to avoid panic in the kdump kernel
    abd26515d4b7 powerpc/lib: Validate size for vector operations
    0be5614f26c1 powerpc: pmd_move_must_withdraw() is only needed for CONFIG_TRANSPARENT_HUGEPAGE
    d4908b3431bf x86/boot: Ignore NMIs during very early boot
    a6fd14db752a powerpc/64s: Fix CONFIG_NUMA=n build due to create_section_mapping()
    cf3256c43106 powerpc/mm: Fix build failures due to arch_reserved_kernel_pages()
    7ad4b2a6b279 powerpc: Fix build error due to is_valid_bugaddr()
    d87d9a23a1f5 drivers/perf: pmuv3: don't expose SW_INCR event in sysfs
    4431284f4a94 arm64: irq: set the correct node for VMAP stack
    d482d61025e3 powerpc/mm: Fix null-pointer dereference in pgtable_cache_add
    9e5c37e0fa0e asm-generic: make sparse happy with odd-sized put_unaligned_*()
    e5c3b988b827 Linux 6.1.76
    d7dc6a860491 net/mlx5e: Handle hardware IPsec limits events
    e90c7d26cab1 serial: core: fix kernel-doc for uart_port_unlock_irqrestore()
    c02d3872c8dd x86/entry/ia32: Ensure s32 is sign extended to s64
    cf0b4ba4b0f1 tick/sched: Preserve number of idle sleeps across CPU hotplug events
    e333bbb557dc mips: Call lose_fpu(0) before initializing fcr31 in mips_set_personality_nan
    ec745eeff4d2 cxl/region:Fix overflow issue in alloc_hpa()
    1111abee590d MIPS: lantiq: register smp_ops on non-smp platforms
    b086f6d97977 spi: fix finalize message on error return
    598af91f622b spi: bcm-qspi: fix SFDP BFPT read by usig mspi read
    a2fa86e2bb67 drm/bridge: anx7625: Ensure bridge is suspended in disable()
    9564767b67f4 block: Move checking GENHD_FL_NO_PART to bdev_add_partition()
    4b84411165f8 gpio: eic-sprd: Clear interrupt after set the interrupt type
    23cf4cf4294f drm/exynos: gsc: minor fix for loop iteration in gsc_runtime_resume
    ba930885bfd2 drm/exynos: fix accidental on-stack copy of exynos_drm_plane
    c1cd4f9da526 drm/bridge: parade-ps8640: Make sure we drop the AUX mutex in the error case
    6ba690e7f7a4 drm/bridge: parade-ps8640: Ensure bridge is suspended in .post_disable()
    279f1cc56261 drm/bridge: sii902x: Fix audio codec unregistration
    e0f83c234ea7 drm/bridge: sii902x: Fix probing race issue
    c46f9c7f93f6 drm/bridge: sii902x: Use devm_regulator_bulk_get_enable()
    ed555f5b5cc9 drm: panel-simple: add missing bus flags for Tianma tm070jvhg[30/33]
    6b7fb2903aec drm/bridge: parade-ps8640: Wait for HPD when doing an AUX transfer
    f9a4c401bf4c Revert "powerpc/64s: Increase default stack size to 32KB"
    ec5e692cbad4 drm/panel-edp: drm/panel-edp: Fix AUO B116XAK01 name and timing
    f91c77d2c363 btrfs: zoned: optimize hint byte for zoned allocator
    4c45143447e6 btrfs: zoned: factor out prepare_allocation_zoned()
    b168029d67e9 serial: sc16is7xx: fix unconditional activation of THRI interrupt
    49d733c4bbee serial: sc16is7xx: Use port lock wrappers
    4fd9a0212142 serial: core: Provide port lock wrappers
    e11dea8f5033 dlm: use kernel_connect() and kernel_bind()
    fd7c2ffa0ea4 ARM: dts: qcom: sdx55: fix USB SS wakeup
    ecf87621b497 ARM: dts: qcom: sdx55: fix USB DP/DM HS PHY interrupts
    34d2c909c746 ARM: dts: qcom: sdx55: fix pdc '#interrupt-cells'
    bba1320ef21b ARM: dts: samsung: exynos4210-i9100: Unconditionally enable LDO12
    46cd7ef69fe6 ARM: dts: qcom: sdx55: fix USB wakeup interrupt types
    b87a1229d866 pipe: wakeup wr_wait after setting max_usage
    6f5c4aaddd63 fs/pipe: move check to pipe_has_watch_queue()
    28f010dc50df thermal: intel: hfi: Add syscore callbacks for system-wide PM
    b2517d141244 thermal: intel: hfi: Disable an HFI instance when all its CPUs go offline
    a8056e821ccf thermal: intel: hfi: Refactor enabling code into helper functions
    e1c9d32c9830 PM: sleep: Fix possible deadlocks in core system-wide PM code
    a9dbf8ca3101 PM: core: Remove unnecessary (void *) conversions
    ea3357c6cfab bus: mhi: ep: Do not allocate event ring element on stack
    512fc4d735c2 media: ov13b10: Enable runtime PM before registering async sub-device
    a14c2431e53a media: ov13b10: Support device probe in non-zero ACPI D state
    33bf23c9940d erofs: fix lz4 inplace decompression
    2197389e1a8a erofs: get rid of the remaining kmap_atomic()
    471ab2e8b7e1 drm/amdgpu/pm: Fix the power source flag error
    b4cbd018322b drm/amd/display: Port DENTIST hang and TDR fixes to OTG disable W/A
    7960f14fcad0 drm/bridge: nxp-ptn3460: simplify some error checking
    6341140b0445 platform/x86: intel-uncore-freq: Fix types in sysfs callbacks
    85d16c03ddd3 drm/amd/display: Disable PSR-SU on Parade 0803 TCON again
    b5fcb340b7b2 drm/tidss: Fix atomic_flush check
    2a81e844d1ff drm/bridge: nxp-ptn3460: fix i2c_master_send() error checking
    62f2e79cf9f4 drm: Don't unref the same fb many times by mistake due to deadlock handling
    635e996e6e3b cpufreq: intel_pstate: Refine computation of P-state for given frequency
    242996f50065 gpiolib: acpi: Ignore touchpad wakeup on GPD G1619-04
    6c495c84e24e xfs: read only mounts with fsopen mount API are busted
    7f95f6997f4f firmware: arm_scmi: Check mailbox/SMT channel for consistency
    2c939c74ef0b ksmbd: fix global oob in ksmbd_nl_policy
    2841631a0365 platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
    8e34430e33b8 netfilter: nf_tables: reject QUEUE/DROP verdict parameters
    af149a46890e netfilter: nft_chain_filter: handle NETDEV_UNREGISTER for inet/ingress basechain
    5e7d8ddf2a38 hv_netvsc: Calculate correct ring size when PAGE_SIZE is not 4 Kbytes
    aa2cc9363926 wifi: iwlwifi: fix a memory corruption
    dcc54a54de54 exec: Fix error handling in begin_new_exec()
    4646445756ac rbd: don't move requests to the running list on errors
    6e6bca99e8d8 btrfs: don't abort filesystem when attempting to snapshot deleted subvolume
    52e02f26d01a btrfs: defrag: reject unknown flags of btrfs_ioctl_defrag_range_args
    86aff7c5f7c6 btrfs: don't warn if discard range is not aligned to sector
    b60f748a2fb6 btrfs: tree-checker: fix inline ref size in error messages
    c91c247be4de btrfs: ref-verify: free ref cache before clearing mount opt
    9ebd514fbdeb btrfs: avoid copying BTRFS_ROOT_SUBVOL_DEAD flag to snapshot of subvolume being deleted
    d9c54763e5cd nbd: always initialize struct msghdr completely
    0a5a083c2b6a net: fec: fix the unhandled context fault from smmu
    5b1086d22639 fjes: fix memleaks in fjes_hw_setup
    4b4dcb3f42dd selftests: netdevsim: fix the udp_tunnel_nic test
    cec65f09c47d net: mvpp2: clear BM pool before initialization
    acb6eaf2eac9 net: stmmac: Wait a bit for the reset to take effect
    67ee37360d41 netfilter: nf_tables: validate NFPROTO_* family
    ed5b62bbd451 netfilter: nf_tables: restrict anonymous set and map names to 16 bytes
    c25d7922ef0f btrfs: fix race between reading a directory and adding entries to it
    fd968e683bd9 btrfs: refresh dir last index during a rewinddir(3) call
    a045b6b19740 btrfs: set last dir index to the current last index when opening dir
    2aa515b5b501 btrfs: fix infinite directory reads
    bc6e242bb74e netfilter: nft_limit: reject configurations that cause integer overflow
    c817f5c01626 rcu: Defer RCU kthreads wakeup when CPU is dying
    b2fa86b2aceb net/mlx5e: fix a potential double-free in fs_any_create_groups
    42876db001bb net/mlx5e: fix a double-free in arfs_create_groups
    890881d10f35 net/mlx5e: Allow software parsing when IPsec crypto is enabled
    62ce16005ee4 net/mlx5: Use mlx5 device constant for selecting CQ period mode for ASO
    75d9ed4930b5 net/mlx5: DR, Can't go to uplink vport on RX rule
    e54aedd4d0e5 net/mlx5: DR, Use the right GVMI number for drop action
    f11792c3899c ipv6: init the accept_queue's spinlocks in inet6_create
    de061604f834 netlink: fix potential sleeping issue in mqueue_flush_file
    90fba981cacb tcp: Add memory barrier to tcp_push()
    ab49164c6080 afs: Hide silly-rename files from userspace
    f4f7e696db02 tracing: Ensure visibility when inserting an element into tracing_map
    82a9bc343ba0 netfs, fscache: Prevent Oops in fscache_put_cache()
    71024928b3f7 net/rds: Fix UBSAN: array-index-out-of-bounds in rds_cmsg_recv
    fcb0b4b6bc72 net: micrel: Fix PTP frame parsing for lan8814
    7a581f597a78 tun: add missing rx stats accounting in tun_xdp_act
    41e7decdad04 tun: fix missing dropped counter in tun_xdp_act
    a2232f29bf52 net: fix removing a namespace with conflicting altnames
    6646145be908 udp: fix busy polling
    660c3053d992 llc: Drop support for ETH_P_TR_802_2.
    6d53b813ff8b llc: make llc_ui_sendmsg() more robust against bonding changes
    c5e7fa4f9da4 vlan: skip nested type that is not IFLA_VLAN_QOS_MAPPING
    4ee0613868d4 bnxt_en: Wait for FLR to complete during probe
    b1e0a68a0cd2 tcp: make sure init the accept_queue's spinlocks once
    6994dba06321 net/smc: fix illegal rmb_desc access in SMC-D connection dump
    49aaeb8c539b wifi: mac80211: fix potential sta-link leak
    b59e08c872e0 drm/amd/display: pbn_div need be updated for hotplug event
    a5046e5eb855 Revert "drm/amd: Enable PCIe PME from D3"
    b1c06ee2d171 ksmbd: Add missing set_freezable() for freezable kthread
    844dfef31659 ksmbd: send lease break notification on FILE_RENAME_INFORMATION
    de603a52af84 ksmbd: don't increment epoch if current state and request state are same
    e61fc656ceea ksmbd: fix potential circular locking issue in smb2_set_ea()
    8fa25e67fdcf ksmbd: set v2 lease version on lease upgrade
    3101b9fd749f mm: page_alloc: unreserve highatomic page blocks before oom
    1d15da560175 LoongArch/smp: Call rcutree_report_cpu_starting() earlier
    0e0653d53af8 serial: sc16is7xx: improve do/while loop in sc16is7xx_irq()
    80beb4424d48 serial: sc16is7xx: remove obsolete loop in sc16is7xx_port_irq()
    de8e41f78f76 serial: sc16is7xx: fix invalid sc16is7xx_lines bitfield in case of probe error
    416b10d2817c serial: sc16is7xx: convert from _raw_ to _noinc_ regmap functions for FIFO
    4b068e55bf5e serial: sc16is7xx: change EFR lock to operate on each channels
    f6c58552a8d9 serial: sc16is7xx: remove unused line structure member
    6dca71e6e14a serial: sc16is7xx: remove global regmap from struct sc16is7xx_port
    9bcb019aee47 serial: sc16is7xx: remove wasteful static buffer in sc16is7xx_regmap_name()
    45ec1b7accd5 serial: sc16is7xx: improve regmap debugfs by using one regmap per port
    362be9ec328a rename(): fix the locking of subdirectories
    68ed9e333240 mm/sparsemem: fix race in accessing memory_section->usage
    367a47ef4ccc mm/rmap: fix misplaced parenthesis of a likely()
    5d01dcda812f ubifs: ubifs_symlink: Fix memleak of inode->i_link in error path
    13a6ceeb5bf1 nouveau/vmm: don't set addr on the fail path to avoid warning
    40c23b5e0756 rtc: Extend timeout for waiting for UIP to clear to 1s
    7971389316e5 rtc: Add support for configuring the UIP timeout for RTC reads
    fd1f5396be24 rtc: mc146818-lib: Adjust failure return code for mc146818_get_time()
    911e7206c850 rtc: Adjust failure return code for cmos_set_alarm()
    aca1ea92f518 rtc: cmos: Use ACPI alarm for non-Intel x86 systems too
    2b1dc0666e7f arm64: Rename ARM64_WORKAROUND_2966298
    9fec4db7fff5 media: mtk-jpeg: Fix use after free bug due to error path handling in mtk_jpeg_dec_device_run
    a33fbb8b6d45 mmc: mmc_spi: remove custom DMA mapped buffers
    c4edcd134bb7 mmc: core: Use mrq.sbc in close-ended ffu
    d78fac87c66d media: videobuf2-dma-sg: fix vmap callback
    c160f2ac85e0 scripts/get_abi: fix source path leak
    efe3ec706618 docs: kernel_abi.py: fix command injection
    c014490c0b22 lsm: new security_file_ioctl_compat() hook
    2647770eac09 arm64: dts: qcom: sm8150: fix USB DP/DM HS PHY interrupts
    016853056885 arm64: dts: qcom: sdm845: fix USB DP/DM HS PHY interrupts
    69ee126bbae0 arm64: dts: qcom: sc7280: fix usb_1 wakeup interrupt types
    eec1f92949a6 arm64: dts: qcom: sm8150: fix USB wakeup interrupt types
    595d35c6ae7e arm64: dts: qcom: sdm845: fix USB wakeup interrupt types
    8191aa4146d9 arm64: dts: qcom: sc7180: fix USB wakeup interrupt types
    9f29c5d2bf22 scsi: ufs: core: Remove the ufshcd_hba_exit() call from ufshcd_async_scan()
    2ab32986a0b9 dmaengine: fix NULL pointer in channel unregistration function
    0c8ada71d980 iio: adc: ad7091r: Enable internal vref if external vref is not supplied
    fcf8e3715250 async: Introduce async_schedule_dev_nocall()
    6e8aab4de7a9 async: Split async_schedule_node_domain()
    b37c1b0db14d parisc/power: Fix power soft-off button emulation on qemu
    71602d95ae64 parisc/firmware: Fix F-extend for PDC addresses
    0b093176fd09 bus: mhi: host: Add spinlock to protect WP access when queueing TREs
    3c5ec66b4b3f bus: mhi: host: Drop chan lock before queuing buffers
    2df39ac8f813 bus: mhi: host: Add alignment check for event ring read pointer
    574f69b46b23 mips: Fix max_mapnr being uninitialized on early stages
    6690a0acbbd9 s390/vfio-ap: let on_scan_complete() callback filter matrix and update guest's APCB
    baf3fcb268fd s390/vfio-ap: loop over the shadow APCB when filtering guest's AP configuration
    d6b8d034b576 s390/vfio-ap: always filter entire AP matrix
    51a7c02bc742 media: ov9734: Enable runtime PM before registering async sub-device
    f4bb1d5daf77 rpmsg: virtio: Free driver_override when rpmsg_remove()
    e8757cd139ec media: imx355: Enable runtime PM before registering async sub-device
    8a7729cda2dd PM / devfreq: Fix buffer overflow in trans_stat_show
    f4518de40a21 s390/vfio-ap: unpin pages on gisc registration failure
    dbc9a791a70e crypto: s390/aes - Fix buffer overread in CTR mode
    aa8aa16ed9ad hwrng: core - Fix page fault dead lock on mmap-ed hwrng
    3a081586c753 PM: hibernate: Enforce ordering during image compression/decompression
    680eb0a99336 crypto: api - Disallow identical driver names
    562850a008db btrfs: sysfs: validate scrub_speed_max value
    29e2da3eabd8 OPP: Pass rounded rate to _set_opp()
    4b5f8a187f10 arm64: properly install vmlinuz.efi
    852b6b2a2f7b ext4: allow for the last group to be marked as trimmed
    137568aa540a iio: adc: ad7091r: Allow users to configure device events
    6f57121e9cbe iio: adc: ad7091r: Set alert bit in config register
    fafda9f08a7c Revert "nSVM: Check for reserved encodings of TLB_CONTROL in nested VMCB"
    c519a9054bf7 usb: dwc3: gadget: Handle EP0 request dequeuing properly
    c8fe8ce07f1e usb: dwc3: gadget: Queue PM runtime idle on disconnect event
    ce2704688380 usb: dwc3: gadget: Refactor EP0 forced stall/restart into a separate API
    883d1a956208 Linux 6.1.75
    cfa468382858 Revert "Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d""
    f854bff46abe arm64: dts: armada-3720-turris-mox: set irq type for RTC
    17062a768c2e Revert "KEYS: encrypted: Add check for strsep"
    b1cc57f976fe riscv: Fix wrong usage of lm_alias() when splitting a huge linear mapping
    9025ee107929 block: Remove special-casing of compound pages
    2c46871ac49f i2c: s3c24xx: fix transferring more than one message in polling mode
    63892860b019 i2c: s3c24xx: fix read transfers in polling mode
    380540bb06bb ipv6: mcast: fix data-race in ipv6_mc_down / mld_ifc_work
    8f7f03e8cd33 selftests: mlxsw: qos_pfc: Adjust the test to support 8 lanes
    13e6065fed5e mlxsw: spectrum_acl_erp: Fix error flow of pool allocation failure
    31944f4264cd loop: fix the the direct I/O support check when used on top of block devices
    f2cc7d90a8c2 ethtool: netlink: Add missing ethnl_ops_begin/complete
    7809296dc172 kdb: Fix a potential buffer overflow in kdb_local()
    50ee63b800c6 ipvs: avoid stat macros calls from preemptible context
    4a45e7e7d2a6 netfilter: nf_tables: reject NFT_SET_CONCAT with not field length description
    b56bce52f9f6 netfilter: nf_tables: skip dead set elements in netlink dump
    9cb084df01e1 netfilter: nf_tables: do not allow mismatch field size and set key length
    7ae19ee81ca5 netfilter: bridge: replace physindev with physinif in nf_bridge_info
    754ca18ed3f2 netfilter: propagate net to nf_bridge_get_physindev
    3f1f50527707 netfilter: nf_queue: remove excess nf_bridge variable
    52d01a40b738 netfilter: nfnetlink_log: use proper helper for fetching physinif
    dfa01315c315 netfilter: nft_limit: do not ignore unsupported flags
    f00f11aae1c2 netfilter: nf_tables: reject invalid set policy
    2f32d518a1b8 mptcp: relax check on MPC passive fallback
    4631c2dd69d9 LoongArch: BPF: Prevent out-of-bounds memory access
    ca65da8da1e9 net: dsa: vsc73xx: Add null pointer check to vsc73xx_gpio_probe
    4108b86e324d bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS
    f1ec1b6c5c46 net: stmmac: ethtool: Fixed calltrace caused by unbalanced disable_irq_wake calls
    359fadf5f770 drm/amdkfd: fixes for HMM mem allocation
    81b86a10b8b6 drm/amdkfd: Use resource_size() helper function
    1c3aa875db9a dt-bindings: gpio: xilinx: Fix node address in gpio
    24e00f0fa9fc net: ravb: Fix dma_addr_t truncation in error case
    615501d41bbd udp: annotate data-races around up->pending
    33cf52b6e53a block: ensure we hold a queue reference when using queue limits
    fdf3df297f4d mptcp: refine opt_mp_capable determination
    c0749c8770a9 mptcp: use OPTION_MPTCP_MPJ_SYN in subflow_check_req()
    51e4cb032d49 mptcp: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect()
    081273082df8 mptcp: strict validation before using mp_opt->hmac
    67feafe7a3dd mptcp: mptcp_parse_option() fix for MPTCPOPT_MP_JOIN
    cb183a586e34 net: phy: micrel: populate .soft_reset for KSZ9131
    ecf0ebf0e618 amt: do not use overwrapped cb area
    c96da963de02 net: ethernet: ti: am65-cpsw: Fix max mtu to fit ethernet frames
    ee1dc3bf86f2 net: qualcomm: rmnet: fix global oob in rmnet_policy
    93eb80c5c946 s390/pci: fix max size calculation in zpci_memcpy_toio()
    cad471227a37 ASoC: mediatek: sof-common: Add NULL check for normal_link string
    69f0bebe9166 PCI: mediatek-gen3: Fix translation window size calculation
    94667790e5e3 PCI: keystone: Fix race condition when initializing PHYs
    11923a8df8ed nvmet-tcp: Fix the H2C expected PDU len calculation
    fb711858e669 nvme: trace: avoid memcpy overflow warning
    cac037db2473 nvmet: re-fix tracing strncpy() warning
    e92fe6f51b1d serial: imx: Correct clock error message in function probe()
    938b88a2d9ca usb: xhci-mtk: fix a short packet issue of gen1 isoc-in transfer
    9d4fa5fe2b1d apparmor: avoid crash when parsed profile name is empty
    3a461018710f cxl/region: fix x9 interleave typo
    16cbe4bad847 perf env: Avoid recursively taking env->bpf_progs.lock
    83ccd15717ee nvmet-tcp: fix a crash in nvmet_req_complete()
    2871aa407007 nvmet-tcp: Fix a kernel panic when host sends an invalid H2C PDU length
    8ed3eb92a56e vdpa: Fix an error handling path in eni_vdpa_probe()
    b2cb99d26e15 spmi: mtk-pmif: Serialize PMIF status check and command submission
    28a45e15c8fb usb: cdc-acm: return correct error code on unsupported break
    8fd48981a79f tty: use 'if' in send_break() instead of 'goto'
    50608b54ad36 tty: don't check for signal_pending() in send_break()
    6f0cd560ff56 tty: early return from send_break() on TTY_DRIVER_HARDWARE_BREAK
    8e426f249993 tty: change tty_write_lock()'s ndelay parameter to bool
    ed863a4d48fb perf genelf: Set ELF program header addresses properly
    4cb521321389 perf hisi-ptt: Fix one memory leakage in hisi_ptt_process_auxtrace_event()
    8f02951cee26 perf header: Fix one memory leakage in perf_event__fprintf_event_update()
    eeeb3861c282 iio: adc: ad9467: fix scale setting
    e2b405b9853b iio: adc: ad9467: don't ignore error codes
    89398709ae50 iio: adc: ad9467: fix reset gpio handling
    f33bdf21e1ae selftests/sgx: Skip non X86_64 platform
    bf92b8210198 selftests/sgx: Include memory clobber for inline asm in test enclave
    2cfae256a130 selftests/sgx: Fix uninitialized pointer dereferences in encl_get_entry
    eb41e7e8b4b3 selftests/sgx: Fix uninitialized pointer dereference in error path
    63ee7be01a3f serial: imx: fix tx statemachine deadlock
    3f9ec4227e44 software node: Let args be NULL in software_node_get_reference_args
    893c3ca250b0 acpi: property: Let args be NULL in __acpi_node_get_property_reference
    76be69716cad base/node.c: initialize the accessor list before registering
    d5ef7480d643 libapi: Add missing linux/types.h header to get the __u64 type on io.h
    d74173bda29a serial: 8250: omap: Don't skip resource freeing if pm_runtime_resume_and_get() failed
    e6fce099c9b4 power: supply: bq256xx: fix some problem in bq256xx_hw_init
    ddd3fe99b4fa power: supply: cw2015: correct time_to_empty units in sysfs
    559e25126c15 MIPS: Alchemy: Fix an out-of-bound access in db1550_dev_setup()
    2504864be6fd MIPS: Alchemy: Fix an out-of-bound access in db1200_dev_setup()
    69e9a6944df7 riscv: Fixed wrong register in XIP_FIXUP_FLASH_OFFSET macro
    add57b5298bd riscv: Fix set_direct_map_default_noflush() to reset _PAGE_EXEC
    b4f4d427653f riscv: Fix set_memory_XX() and set_direct_map_XX() by splitting huge linear mappings
    d2ebb8143b6b riscv: Fix module_alloc() that did not reset the linear mapping permissions
    890cfe5337e0 riscv: Check if the code to patch lies in the exit section
    9ad0ab0bbc21 mips: Fix incorrect max_low_pfn adjustment
    1961a29b89e8 mips: dmi: Fix early remap on MIPS32
    e3411940637c mfd: intel-lpss: Fix the fractional clock divider flags
    7fdc6c187ea0 leds: aw2013: Select missing dependency REGMAP_I2C
    527e8c5f3d00 mfd: syscon: Fix null pointer dereference in of_syscon_register()
    ac3b65cbc68d ARM: 9330/1: davinci: also select PINCTRL
    d2ba8eea74af serial: sc16is7xx: set safe default SPI clock frequency
    4f61154a683d serial: sc16is7xx: add check for unsupported SPI modes during probe
    f09b277f736c HID: wacom: Correct behavior when processing some confidence == false touches
    710bd468604b iio: adc: ad7091r: Pass iio_dev to event handler
    dba788e25f05 KVM: arm64: vgic-its: Avoid potential UAF in LPI translation cache
    8a4f6a176a43 KVM: arm64: vgic-v4: Restore pending state on host userspace write
    455ebc191068 x86/kvm: Do not try to disable kvmclock if it was not enabled
    88f4dd8b9f58 PCI: mediatek: Clear interrupt status before dispatching handler
    0c883bc9fa29 PCI: dwc: endpoint: Fix dw_pcie_ep_raise_msix_irq() alignment support
    d3c08d1015fa PCI/P2PDMA: Remove reference to pci_p2pdma_map_sg()
    970c0899a4ac cxl/port: Fix decoder initialization when nr_targets > interleave_ways
    23f974910862 Revert "net: rtnetlink: Enslave device before bringing it up"
    f2ddfc7d3a9c wifi: mwifiex: configure BSSID consistently when starting AP
    54e1864b13f1 wifi: rtlwifi: Convert LNKCTL change to PCIe cap RMW accessors
    0075a5d69df6 wifi: rtlwifi: Remove bogus and dangerous ASPM disable/enable code
    debfa60412af wifi: mt76: fix broken precal loading from MTD for mt7915
    1edce43f4799 iommu/dma: Trace bounce buffer usage when mapping buffers
    cc7e8482c61a iommu/arm-smmu-qcom: Add missing GMU entry to match table
    516ecb243625 LoongArch: Fix and simplify fcsr initialization on execve()
    6cc9c0af0aa0 bpf: Fix re-attachment branch in bpf_tracing_prog_attach
    96860d9ad462 Bluetooth: Fix atomicity violation in {min,max}_key_size_set
    7c02ca554287 rootfs: Fix support for rootfstype= when root= is given
    f5c29a3a7e68 md/raid1: Use blk_opf_t for read and write operations
    7b85554c7c2a pwm: Fix out-of-bounds access in of_pwm_single_xlate()
    00e29df1b44d pwm: jz4740: Don't use dev_err_probe() in .request()
    a372f1d01bc1 netfilter: nf_tables: check if catch-all set element is active in next generation
    c6350b5cb78e block: Fix iterating over an empty bio with bio_for_each_folio_all
    ef31cc877947 block: add check that partition length needs to be aligned with block size
    0c8d252d0a20 drm/amd: Enable PCIe PME from D3
    f49a30a24f9b scsi: mpi3mr: Block PEL Enable Command on Controller Reset and Unrecoverable State
    546e981eead2 scsi: mpi3mr: Refresh sdev queue depth after controller reset
    3378333263b7 scsi: target: core: add missing file_{start,end}_write()
    01644b861681 scsi: ufs: core: Simplify power management during async scan
    81f444f22816 fbdev: flush deferred IO before closing
    ccbee2843edd fbdev: flush deferred work in fb_deferred_io_fsync()
    d6cc8dd231b8 io_uring/rw: ensure io->bytes_done is always initialized
    c866866c7952 ksmbd: only v2 leases handle the directory
    380965e48e9c ksmbd: fix UAF issue in ksmbd_tcp_new_connection()
    6eb8015492bc ksmbd: validate mech token in session setup
    0914dc8041d4 ALSA: hda/realtek: Enable headset mic on Lenovo M70 Gen5
    5648a0087f55 ALSA: hda/realtek: Enable mute/micmute LEDs and limit mic boost on HP ZBook
    3253abcd9b2d ALSA: hda/relatek: Enable Mute LED on HP Laptop 15s-fq2xxx
    29f6eccbcf7b ALSA: oxygen: Fix right channel of capture volume mixer
    104f95698cad drm/vmwgfx: Keep a gem reference to user bos in surfaces
    5a4087a90776 drm/vmwgfx: Fix possible invalid drm gem put calls
    a71776bbd87e serial: omap: do not override settings for RS485 support
    b5a2232ba821 serial: 8250_exar: Set missing rs485_supported flag
    36b0710502a5 serial: imx: Ensure that imx_uart_rs485_config() is called with enabled clock
    d5f13c1d01e4 serial: core, imx: do not set RS485 enabled if it is not supported
    dac0dd3d803c serial: 8250_bcm2835aux: Restore clock error handling
    15000d6f2936 serial: core: make sure RS485 cannot be enabled when it is not supported
    f790bd27a74b serial: core: fix sanitizing check for RTS settings
    974a0a694416 usb: mon: Fix atomicity violation in mon_bin_vma_fault
    206e2ddeb7df usb: typec: class: fix typec_altmode_put_partner to put plugs
    d0320b9ac6b4 Revert "usb: typec: class: fix typec_altmode_put_partner to put plugs"
    097cdc78c659 usb: cdns3: Fix uvc fail when DMA cross 4k boundery since sg enabled
    45c766231e6b usb: cdns3: fix iso transfer error when mult is not zero
    3f2bf7cac03d usb: cdns3: fix uvc failure work since sg support enabled
    e894b1b038ab usb: chipidea: wait controller resume finished for wakeup irq
    3450197e9a75 Revert "usb: dwc3: don't reset device side if dwc3 was configured as host-only"
    598f9d5a3b35 Revert "usb: dwc3: Soft reset phy on probe for host"
    d5c4a04205df usb: dwc: ep0: Update request status in dwc3_ep0_stall_restart
    789eade47fd9 usb: phy: mxs: remove CONFIG_USB_OTG condition for mxs_phy_is_otg_host()
    c952654e1a27 tick-sched: Fix idle and iowait sleeptime accounting vs CPU hotplug
    9ccf64e763ac powerpc/64s: Increase default stack size to 32KB
    7ac029af0060 clocksource/drivers/timer-ti-dm: Fix make W=n kerneldoc warnings
    6696f76c32ff binder: fix race between mmput() and do_exit()
    437360133cbd xen-netback: don't produce zero-size SKB frags
    3ed5f55599c1 Input: atkbd - use ab83 as id when skipping the getid command
    45e565b55b2f mips/smp: Call rcutree_report_cpu_starting() earlier
    16e1d4fa1369 binder: fix unused alloc->free_async_space
    c5255d122938 binder: fix async space check for 0-sized buffers
    66b35787976d keys, dns: Fix size check of V1 server-list header
    60a9a5fca6bf selftests/bpf: Add assert for user stacks in test_task_stack
    3590da14e163 of: unittest: Fix of_count_phandle_with_args() expected value message
    581ade6be57b fbdev: imxfb: fix left margin setting
    b9d760dae5b1 of: Fix double free in of_parse_phandle_with_args_map
    676af10d0cdf ksmbd: validate the zero field of packet header
    222618b73748 kselftest/alsa - mixer-test: Fix the print format specifier warning
    b77ae4f8c142 kselftest/alsa - mixer-test: fix the number of parameters to ksft_exit_fail_msg()
    74416a207fcf drm/amd/pm/smu7: fix a memleak in smu7_hwmgr_backend_init
    4525525cb716 drm/amdkfd: Confirm list is non-empty before utilizing list_first_entry in kfd_topology.c
    a9f68a23ca42 IB/iser: Prevent invalidating wrong MR
    96dc4d204a12 mmc: sdhci_omap: Fix TI SoC dependencies
    5aa65e5f20c6 mmc: sdhci_am654: Fix TI SoC dependencies
    d8d8897d6506 ALSA: scarlett2: Add clamp() in scarlett2_mixer_ctl_put()
    cda7762bea85 ALSA: scarlett2: Add missing error checks to *_ctl_get()
    be0b1be4ace2 ALSA: scarlett2: Allow passing any output to line_out_remap()
    be96acd3eaa7 ALSA: scarlett2: Add missing error check to scarlett2_usb_set_config()
    6232b7505c2c ALSA: scarlett2: Add missing error check to scarlett2_config_save()
    74341edb7d18 ASoC: rt5645: Drop double EF20 entry from dmi_platform_data[]
    40fe0903fa0f pwm: stm32: Fix enable count for clk in .probe()
    0d554b420cab pwm: stm32: Use hweight32 in stm32_pwm_detect_channels
    ade959ed6725 pwm: stm32: Use regmap_clear_bits and regmap_set_bits where applicable
    c4b1f10f1456 clk: fixed-rate: fix clk_hw_register_fixed_rate_with_accuracy_parent_hw
    6d98d249175e accel/habanalabs: fix information leak in sec_attest_info()
    7ac0adc7df2f drm/mediatek: dp: Add phy_mtk_dp module as pre-dependency
    f930dbdc9543 clk: si5341: fix an error code problem in si5341_output_clk_set_rate
    24961a5dc759 watchdog: rti_wdt: Drop runtime pm reference count when watchdog is unused
    6317445623a2 watchdog: bcm2835_wdt: Fix WDIOC_SETTIMEOUT handling
    3bde94e858ba watchdog/hpwdt: Only claim UNKNOWN NMI if from iLO
    06b854238ee5 watchdog: set cdev owner before adding
    c249ef9d0978 drivers: clk: zynqmp: update divider round rate logic
    b61ca9c34c84 drivers: clk: zynqmp: calculate closest mux rate
    74aeef7e4354 clk: qcom: videocc-sm8150: Add missing PLL config property
    52d741c95d4a clk: qcom: videocc-sm8150: Update the videocc resets
    52e2ebc06435 dt-bindings: clock: Update the videocc resets for sm8150
    4f31f357e525 f2fs: fix to check return value of f2fs_recover_xattr_data
    2c6537c58bce drm/amd/pm: fix a double-free in amdgpu_parse_extended_power_table
    4e26e2d485fb gpu/drm/radeon: fix two memleaks in radeon_vm_init
    35fa2394d26e drivers/amd/pm: fix a use-after-free in kv_parse_power_table
    f957a1be647f drm/amd/pm: fix a double-free in si_dpm_init
    591e77fedc76 drm/amdgpu/debugfs: fix error code when smc register accessors are NULL
    3ec6ce0651e2 drm/mediatek: Fix underrun in VDO1 when switches off the layer
    518efe60bbdd drm/mediatek: Return error if MDP RDMA failed to enable the clock
    aa3e61cf89b4 drm/msm/dpu: Drop enable and frame_count parameters from dpu_hw_setup_misr()
    08d7e291af1d drm/msm/dpu: Set input_sel bit for INTF
    9570ae0e1d3c clk: renesas: rzg2l: Check reset monitor registers
    3e1dd6a1b4fa clk: renesas: rzg2l-cpg: Reuse code in rzg2l_cpg_reset()
    2db77604221c media: dvb-frontends: m88ds3103: Fix a memory leak in an error handling path of m88ds3103_probe()
    74e3f165d39e media: dvbdev: drop refcount on error path in dvb_device_open()
    4d6e15a5eabe f2fs: fix to update iostat correctly in f2fs_filemap_fault()
    8835766027c6 f2fs: fix to check compress file in f2fs_move_file_range()
    9bfd5ea71521 f2fs: fix to wait on block writeback for post_read case
    e67911d2caeb drm/panel: st7701: Fix AVCL calculation
    bb17cc851e3a media: rkisp1: Fix media device memory leak
    690b7c356f1e media: dt-bindings: media: rkisp1: Fix the port description for the parallel interface
    438193dcc27b media: imx-mipi-csis: Fix clock handling in remove()
    df2adafa6213 clk: qcom: gpucc-sm8150: Update the gpu_cc_pll1 config
    40a156cf08c9 RDMA/hns: Fix memory leak in free_mr_init()
    dada3fdb4ec9 media: cx231xx: fix a memleak in cx231xx_init_isoc
    b075ed8dcc2c drm/bridge: tc358767: Fix return value on error case
    9a3b2263705d drm/bridge: cdns-mhdp8546: Fix use of uninitialized variable
    60c23f9aeb26 drm/radeon/trinity_dpm: fix a memleak in trinity_parse_power_table
    0f19543097c2 drm/radeon/dpm: fix a memleak in sumo_parse_power_table
    c4ff55408187 drm/radeon: check the alloc_workqueue return value in radeon_crtc_init()
    048cbfd6050a drm/panfrost: Ignore core_mask for poweroff and disable PWRTRANS irq
    c32ee7286f5b ASoC: Intel: glk_rt5682_max98357a: fix board id mismatch
    7682ef5c144a drm/drv: propagate errors from drm_modeset_register_all()
    19b01c6c19a0 drm/msm/dsi: Use pm_runtime_resume_and_get to prevent refcnt leaks
    b234ecad200b drm/msm/mdp4: flush vblank event on disable
    982eb772e185 ASoC: cs35l34: Fix GPIO name and drop legacy include
    940484c05564 ASoC: cs35l33: Fix GPIO name and drop legacy include
    2da8e2034600 drm/tidss: Fix dss reset
    553574c023b3 drm/tidss: Check for K2G in in dispc_softreset()
    f099c742caa1 drm/tidss: Return error value from from softreset
    10a437c60440 drm/tidss: Move reset to the end of dispc_init()
    da72ff8def7c drm/radeon: check return value of radeon_ring_lock()
    e6667551ed5e drm/radeon/r100: Fix integer overflow issues in r100_cs_track_check()
    9ac2845a2eee drm/radeon/r600_cs: Fix possible int overflows in r600_cs_check_reg()
    f0145860c20b f2fs: fix to avoid dirent corruption
    4bab3ad44d61 drm/bridge: Fix typo in post_disable() description
    dab1227007a5 media: rkvdec: Hook the (TRY_)DECODER_CMD stateless ioctls
    563f34c24c0c media: verisilicon: Hook the (TRY_)DECODER_CMD stateless ioctls
    32b4b2dde3d4 media: mtk-jpeg: Remove cancel worker in mtk_jpeg_remove to avoid the crash of multi-core JPEG devices
    f211621debcd media: mtk-jpegdec: export jpeg decoder functions
    30773ea47d41 media: pvrusb2: fix use after free on context disconnection
    4019c809688d drm/tilcdc: Fix irq free on unload
    81f1bd85960b drm/bridge: tpd12s015: Drop buggy __exit annotation for remove function
    37b400c8030c drm/nouveau/fence:: fix warning directly dereferencing a rcu pointer
    dbea48e9169d drm/panel-elida-kd35t133: hold panel in reset for unprepare
    019bba28d1e8 RDMA/hns: Fix inappropriate err code for unsupported operations
    a867b891f9ef RDMA/usnic: Silence uninitialized symbol smatch warnings
    d260b65b2b0d drm/panfrost: Really power off GPU cores in panfrost_gpu_power_off()
    8578a795baae Revert "drm/omapdrm: Annotate dma-fence critical section in commit path"
    3e6bf96561f5 Revert "drm/tidss: Annotate dma-fence critical section in commit path"
    544d223d71f9 ARM: davinci: always select CONFIG_CPU_ARM926T
    62a1fedeb14c ip6_tunnel: fix NEXTHDR_FRAGMENT handling in ip6_tnl_parse_tlv_enc_lim()
    1b481cb53601 mlxbf_gige: Enable the GigE port in mlxbf_gige_open
    7ad5e7a35c3f mlxbf_gige: Fix intermittent no ip issue
    0b5b831122fc net/sched: act_ct: fix skb leak and crash on ooo frags
    b91d31de9a43 sctp: fix busy polling
    9233a88f4b71 sctp: support MSG_ERRQUEUE flag in recvmsg()
    3c0bd2b06656 bpf: sockmap, fix proto update hook to avoid dup calls
    6e9429f9c66c null_blk: don't cap max_hw_sectors to BLK_DEF_MAX_SECTORS
    a623d31805ea block: make BLK_DEF_MAX_SECTORS unsigned
    33f93ce22ee1 Bluetooth: btmtkuart: fix recv_buf() return value
    81f3b6ea314c Bluetooth: Fix bogus check for re-auth no supported with non-ssp
    55c88a7efb02 netfilter: nf_tables: mark newset as dead on transaction abort
    68aebba59e9e wifi: iwlwifi: mvm: send TX path flush in rfkill
    6cc82456e391 wifi: iwlwifi: mvm: set siso/mimo chains to 1 in FW SMPS request
    8915946cde3e wifi: rtlwifi: rtl8192se: using calculate_bit_shift()
    62badccc7c99 wifi: rtlwifi: rtl8192ee: using calculate_bit_shift()
    a277e8e9feaf wifi: rtlwifi: rtl8192de: using calculate_bit_shift()
    b716c8483c22 wifi: rtlwifi: rtl8192ce: using calculate_bit_shift()
    d938e470b2d6 wifi: rtlwifi: rtl8192cu: using calculate_bit_shift()
    35fb6b757408 wifi: rtlwifi: rtl8192c: using calculate_bit_shift()
    937f65a1251c wifi: rtlwifi: rtl8188ee: phy: using calculate_bit_shift()
    dd9e3d9513e6 wifi: rtlwifi: add calculate_bit_shift()
    ce9b43e58c36 arm64: dts: qcom: ipq6018: Fix up indentation
    20fb17328b36 arm64: dts: qcom: ipq6018: Pad addresses to 8 hex digits
    ba71baee6e08 arm64: dts: qcom: ipq6018: Use lowercase hex
    cb65c2caa1f6 arm64: dts: qcom: ipq6018: improve pcie phy pcs reg table
    45d8d80cdaa2 arm64: dts: qcom: ipq6018: fix clock rates for GCC_USB0_MOCK_UTMI_CLK
    ab23e4ef8926 arm64: dts: qcom: sc7280: Mark SDHCI hosts as cache-coherent
    e765363ecfa8 block: add check of 'minors' and 'first_minor' in device_add_disk()
    a4529948df7a arm64: dts: qcom: sm8150-hdk: fix SS USB regulators
    bf5e9d28a8e7 soc: qcom: llcc: Fix dis_cap_alloc and retain_on_pc configuration
    aaf0fc13bed9 dma-mapping: clear dev->dma_mem to NULL after freeing it
    542da27eac4f virtio/vsock: fix logic which reduces credit update messages
    f69365e3a7ca ipmr: support IP_PKTINFO on cache report IGMP msg
    0c867561cee2 selftests/net: fix grep checking for fib_nexthop_multiprefix
    c458be39093d ARM: dts: stm32: don't mix SCMI and non-SCMI board compatibles
    fdbe94c524f2 scsi: hisi_sas: Correct the number of global debugfs registers
    6491d9ea9326 scsi: hisi_sas: Rollback some operations if FLR failed
    3d5a4fa56d0c scsi: hisi_sas: Replace with standard error code return value
    35657d1ba826 arm64: dts: imx8mm: Reduce GPU to nominal speed
    a4210a686a75 arm64: dts: renesas: white-hawk-cpu: Fix missing serial console pin control
    9f5b79cf125b block: Set memalloc_noio to false on device_add_disk() error path
    4196b45370bd selftests/bpf: Relax time_tai test for equal timestamps in tai_forward
    0c9318d49e50 wifi: mt76: mt7921: fix country count limitation for CLC
    fe002eeda420 arm64: dts: mediatek: mt8183: correct MDP3 DMA-related nodes
    9c91f5849885 dt-bindings: media: mediatek: mdp3: correct RDMA and WROT node with generic names
    ba5e58dacf8c arm64: dts: hisilicon: hikey970-pmic: fix regulator cells properties
    b1d4d54d32ce bpf: Fix verification of indirect var-off stack access
    4054b2b1e6de wifi: mt76: mt7921s: fix workqueue problem causes STA association fail
    4486b2e5dbe5 arm64: dts: qcom: sc7280: fix usb_2 wakeup interrupt types
    361b4175ddca arm64: dts: qcom: sc7280: Mark Adreno SMMU as DMA coherent
    a16a476b5c0d arm64: dts: qcom: sc7280: Fix up GPU SIDs
    9e1dafa5c365 arm64: dts: qcom: sm8350: Fix DMA0 address
    1623432c6a74 arm64: dts: qcom: sdm845-db845c: correct LED panic indicator
    773c09af312f arm64: dts: qcom: qrb5165-rb5: correct LED panic indicator
    9435bbc8d9ea scsi: fnic: Return error if vmalloc() failed
    fc3e3c50a0a4 bpf: fix check for attempt to corrupt spilled pointer
    50e9fbddcbc2 selftests/net: specify the interface when do arping
    62fca83303d6 bpf: Defer the free of inner map when necessary
    e05b322c82d2 bpf: Add map and need_defer parameters to .map_fd_put_ptr()
    a6fb03a9c9c8 bpf: add percpu stats for bpf_map elements insertions/deletions
    10108826191a rcu-tasks: Provide rcu_trace_implies_rcu_gp()
    db44bac18a13 arm64: dts: qcom: sm6350: Make watchdog bark interrupt edge triggered
    8e335e7759c0 arm64: dts: qcom: sc8280xp: Make watchdog bark interrupt edge triggered
    66cdbc4e80ff arm64: dts: qcom: sm8250: Make watchdog bark interrupt edge triggered
    385f30d448c3 arm64: dts: qcom: sm8150: Make watchdog bark interrupt edge triggered
    5e8267cbc0fa arm64: dts: qcom: sdm845: Make watchdog bark interrupt edge triggered
    bc9a45a06a75 arm64: dts: qcom: sc7280: Make watchdog bark interrupt edge triggered
    30d0c5fe2c26 arm64: dts: qcom: sc7280: Mark some nodes as 'reserved'
    0200f1b6bab8 arm64: dts: qcom: sc7180: Make watchdog bark interrupt edge triggered
    22529f0ac274 ARM: dts: qcom: sdx65: correct SPMI node name
    be1f34b93f5a bpf: enforce precision of R0 on callback return
    f9f2d957a8ea md: synchronize flush io with array reconfiguration
    b21a16909b49 selftests/bpf: Fix erroneous bitmask operation
    ff9935181e5a arm64: dts: ti: k3-am65-main: Fix DSS irq trigger type
    e9e59f3ee5c5 arm64: dts: ti: k3-am62a-main: Fix GPIO pin count in DT nodes
    436785a207ed wifi: rtlwifi: rtl8821ae: phy: fix an undefined bitwise shift behavior
    6824ed5d5ab6 firmware: meson_sm: populate platform devices from sm device tree data
    00ac00ce8d90 firmware: ti_sci: Fix an off-by-one in ti_sci_debugfs_create()
    ac7c503bd5ef net/ncsi: Fix netlink major/minor version numbers
    12db013dc91d ARM: dts: qcom: apq8064: correct XOADC register address
    638f381ab2d8 wifi: libertas: stop selecting wext
    7dd918d877fa wifi: ath11k: Defer on rproc_get failure
    799a914e483a bpf: Add crosstask check to __bpf_get_stack
    1959a560ac4e bpf, lpm: Fix check prefixlen before walking trie
    cd1896b9224e wifi: rtw88: fix RX filter in FIF_ALLMULTI flag
    fdd93641633f wifi: plfxlc: check for allocation failure in plfxlc_usb_wreq_async()
    a058f0c432e0 pNFS: Fix the pnfs block driver's calculation of layoutget size
    b10370b1ea0b SUNRPC: fix _xprt_switch_find_current_entry logic
    19f28fa8be4e NFSv4.1/pnfs: Ensure we handle the error NFS4ERR_RETURNCONFLICT
    83f2d54ca33c blocklayoutdriver: Fix reference leak of pnfs_device_node
    23ba22557aac csky: fix arch_jump_label_transform_static override
    4df0c942d04a crypto: scomp - fix req->dst buffer overflow
    490adf8be7d0 crypto: sahara - do not resize req->src when doing hash operations
    eae15c43beb6 crypto: sahara - fix processing hash requests with req->nbytes < sg->length
    6fc95767954a crypto: sahara - improve error handling in sahara_sha_process()
    5834cafc1d20 crypto: sahara - fix wait_for_completion_timeout() error handling
    8b355e047810 crypto: sahara - fix ahash reqsize
    a75ba66b6904 crypto: sahara - handle zero-length aes requests
    0545801b3076 crypto: sahara - avoid skcipher fallback code duplication
    635308e6042f crypto: virtio - Wait for tasklet to complete on device remove
    d69d7804cf9e gfs2: Fix kernel NULL pointer dereference in gfs2_rgrp_dump
    caae86077dd3 fs: indicate request originates from old mount API
    9c285df949b5 erofs: fix memory leak on short-lived bounced pages
    48dcfc42ce70 pstore: ram_core: fix possible overflow in persistent_ram_init_ecc()
    d7e4268a510b crypto: hisilicon/zip - save capability registers in probe process
    a384d7dc4e09 crypto: hisilicon/sec2 - save capability registers in probe process
    fc6b944de141 crypto: hisilicon/hpre - save capability registers in probe process
    4705731fc5fa crypto: hisilicon/qm - add a function to set qm algs
    11d7a3390566 crypto: hisilicon/zip - add zip comp high perf mode configuration
    6412f039ac87 crypto: hisilicon/qm - save capability registers in qm init process
    d1f82d72104a crypto: sahara - fix error handling in sahara_hw_descriptor_create()
    435303ad8a07 crypto: sahara - fix processing requests with cryptlen < sg->length
    e7e8fbfe6dd7 crypto: sahara - fix ahash selftest failure
    1f9128036238 crypto: sahara - fix cbc selftest failure
    eecf2e1e0c5f crypto: sahara - remove FLAGS_NEW_KEY logic
    4c0ac81a172a crypto: safexcel - Add error handling for dma_map_sg() calls
    d5d4dfc73bed crypto: af_alg - Disallow multiple in-flight AIO requests
    f3a11fdd02b3 crypto: ccp - fix memleak in ccp_init_dm_workarea
    baa79033e17b crypto: sa2ul - Return crypto_aead_setkey to transfer the error
    ae4747dab2ea crypto: virtio - Handle dataq logic with tasklet
    e973b045c162 selinux: Fix error priority for bind with AF_UNSPEC on PF_INET6 socket
    5389407bba1e mtd: Fix gluebi NULL pointer dereference caused by ftl notifier
    030a1147eda8 kunit: debugfs: Fix unchecked dereference in debugfs_print_results()
    b841208b7e85 ACPI: extlog: Clear Extended Error Log status when RAS_CEC handled the error
    b412c486a358 ACPI: LPSS: Fix the fractional clock divider flags
    5980041cba21 spi: sh-msiof: Enforce fixed DTDL for R-Car H3
    ea6b597fcaca efivarfs: Free s_fs_info on unmount
    d4a9aa7db574 efivarfs: force RO when remounting if SetVariable is not supported
    321b3a5592c8 calipso: fix memory leak in netlbl_calipso_add_pass()
    71f47a52baef cpufreq: scmi: process the result of devm_of_clk_add_hw_provider()
    04fc66dd2be4 cpufreq: Use of_property_present() for testing DT property presence
    79de65ac39d7 of: Add of_property_present() helper
    426710a2bc2f platform/x86/intel/vsec: Fix xa_alloc memory leak
    0ff5cd92bbd5 platform/x86/intel/vsec: Use mutex for ida_alloc() and ida_free()
    1fa4a1e1258d platform/x86/intel/vsec: Support private data
    3c48b2a7ce49 platform/x86/intel/vsec: Enhance and Export intel_vsec_add_aux()
    c25f1555e03a KEYS: encrypted: Add check for strsep
    72222dfd76a7 ACPI: LPIT: Avoid u32 multiplication overflow
    2124c5bc2294 ACPI: video: check for error while searching for backlight device parent
    08f7142e224f mtd: rawnand: Increment IFC_TIMEOUT_MSECS for nand controller response
    a35ab02c85c1 spi: spi-zynqmp-gqspi: fix driver kconfig dependencies
    a2da3f9b1a10 powerpc/imc-pmu: Add a null pointer check in update_events_in_group()
    f152a6bfd187 powerpc/powernv: Add a null pointer check in opal_powercap_init()
    9a523e1da6d8 powerpc/powernv: Add a null pointer check in opal_event_init()
    ed8d023cfa97 powerpc/powernv: Add a null pointer check to scom_debug_init_one()
    327d4f2d6676 selftests/powerpc: Fix error handling in FPU/VMX preemption tests
    026fd977dc50 powerpc/pseries/memhp: Fix access beyond end of drmem array
    63df75d38342 powerpc/44x: select I2C for CURRITUCK
    2fc51c4b7dd2 powerpc: add crtsavres.o to always-y instead of extra-y
    16b88e68b85d powerpc: remove checks for binutils older than 2.25
    9dbac9fdae6e EDAC/thunderx: Fix possible out-of-bounds string access
    c9275305d61a x86/mce/inject: Clear test status value
    0be645792c11 x86/lib: Fix overflow when counting digits
    8fd7f4462453 Linux 6.1.74
    a31690d3dd41 scripts/decode_stacktrace.sh: optionally use LLVM utilities
    5e67191818fe coresight: etm4x: Fix width of CCITMIN field
    d08e756e253b PCI: Add ACS quirk for more Zhaoxin Root Ports
    41e3e3d813c9 leds: ledtrig-tty: Free allocated ttyname buffer on deactivate
    419602d08b79 parport: parport_serial: Add Brainboxes device IDs and geometry
    3936b54a8d65 parport: parport_serial: Add Brainboxes BAR details
    17a8519cb359 uio: Fix use-after-free in uio_open
    08af2ceb83d5 binder: fix comment on binder_alloc_new_buf() return value
    35a3e8ceaf60 binder: fix trivial typo of binder_free_buf_locked()
    9fa04c93f241 binder: fix use-after-free in shinker's callback
    ee14fd2c8b0a binder: use EPOLLERR from eventpoll.h
    bed0acf330b2 Revert "md/raid5: Wait for MD_SB_CHANGE_PENDING in raid5d"
    e377a3346f7e ksmbd: free ppace array on error in parse_dacl
    09d84f37f841 ksmbd: don't allow O_TRUNC open on read-only share
    c24fc060ab7f bpf: Add --skip_encoding_btf_inconsistent_proto, --btf_gen_optimized to pahole flags for v1.25
    0d242f739cec btf, scripts: Exclude Rust CUs with pahole
    b9765932199e ASoC: SOF: Intel: hda-codec: Delay the codec device registration
    dcf95b26bef9 ACPI: resource: Add another DMI match for the TongFang GMxXGxx
    5816a82caf12 ALSA: hda/realtek: Fix mute and mic-mute LEDs for HP Envy X360 13-ay0xxx
    9d588f3b6f33 drm/crtc: fix uninitialized variable use
    809ebacd2274 ARM: sun9i: smp: fix return code check of of_property_match_string
    0ce688d88af0 net: qrtr: ns: Return 0 if server port is not present
    1e1b2f34e9a7 virtio_blk: fix snprintf truncation compiler warning
    9efdc0081cca ida: Fix crash in ida_free when the bitmap is empty
    24f3fec911a0 pinctrl: cy8c95x0: Fix get_pincfg
    a54e7741cc6d pinctrl: cy8c95x0: Fix typo
    75e94701c016 drm/amd/display: get dprefclk ss info from integration info table
    426ab60bd2fd i2c: rk3x: fix potential spinlock recursion on poll
    5411e3292792 smb: client: fix potential OOB in smb2_dump_detail()
    da7ba20a7107 HID: nintendo: Prevent divide-by-zero on code
    87e2739656f4 dm audit: fix Kconfig so DM_AUDIT depends on BLK_DEV_DM
    d0085e100f40 ALSA: hda/realtek: Add quirks for ASUS Zenbook 2022 Models
    2b055dc11e05 ASoC: Intel: bytcr_rt5640: Add new swapped-speakers quirk
    8840d3491a03 ASoC: Intel: bytcr_rt5640: Add quirk for the Medion Lifetab S10346
    a63ab09a07b2 platform/x86: thinkpad_acpi: fix for incorrect fan reporting on some ThinkPad systems
    44521a5dc40b HID: nintendo: fix initializer element is not constant error
    3910d7a441f2 kselftest: alsa: fixed a print formatting warning
    2a36b4e5e608 Input: xpad - add Razer Wolverine V2 support
    31fbbc809c9e wifi: iwlwifi: pcie: avoid a NULL pointer dereference
    05d268e2e4ad ARC: fix spare error
    372a93921e29 s390/scm: fix virtual vs physical address confusion
    626b0c0ab3a0 Input: i8042 - add nomux quirk for Acer P459-G2-M
    30fe4c4135cb Input: atkbd - skip ATKBD_CMD_GETID in translated mode
    b6ef44cb6a67 reset: hisilicon: hi6220: fix Wvoid-pointer-to-enum-cast warning
    c5d9fd8c5aa4 Input: psmouse - enable Synaptics InterTouch for ThinkPad L14 G1
    b0407f68d917 ring-buffer: Do not record in NMI if the arch does not support cmpxchg in NMI
    07787918c6cf tracing: Fix uaf issue when open the hist or hist_debug file
    851865caacc5 MIPS: dts: loongson: drop incorrect dwmac fallback compatible
    708579592c68 stmmac: dwmac-loongson: drop useless check for compatible fallback
    e75c3db90445 tracing: Add size check when printing trace_marker output
    7d885c171765 tracing: Have large events show up as '[LINE TOO BIG]' instead of nothing
    3ac74ed58f4a jbd2: fix soft lockup in journal_finish_inode_data_buffers()
    bb0e510b742b platform/x86: intel-vbtn: Fix missing tablet-mode-switch events
    f379394a78a0 neighbour: Don't let neigh_forced_gc() disable preemption for long
    9b5044e17e1e drm/crtc: Fix uninit-value bug in drm_mode_setcrtc
    28c9fced8ddf jbd2: increase the journal IO's priority
    6b15330693ac jbd2: correct the printing of write_flags in jbd2_write_superblock()
    c84f9a5ecb82 clk: rockchip: rk3128: Fix HCLK_OTG gate register
    3fe5fbc3a557 clk: rockchip: rk3568: Add PLL rate for 292.5MHz
    c3597996a3ae LoongArch: Preserve syscall nr across execve()
    c73cc2310a5a hwmon: (corsair-psu) Fix probe when built-in
    53442204b1dd drm/exynos: fix a wrong error checking
    1502a9a595e5 drm/exynos: fix a potential error pointer dereference
    92decec3caa7 drm/amdgpu: Add NULL checks for function pointers
    5337fb3ebaa4 arm64: dts: rockchip: Fix PCI node addresses on rk3399-gru
    ce9768612491 nvme: prevent potential spectre v1 gadget
    df2bd52354d8 nvme: introduce helper function to get ctrl state
    a50562146d6c ASoC: ops: add correct range check for limiting volume
    01a7727ab7f1 ASoC: da7219: Support low DC impedance headset
    a7d15ac0853c net/tg3: fix race condition in tg3_reset_task()
    c342afc14623 ASoC: hdac_hda: Conditionally register dais for HDMI and Analog
    0f37e198c338 ASoC: amd: yc: Add DMI entry to support System76 Pangolin 13
    2fff601a1d98 nouveau/tu102: flush all pdbs on vmm flush
    94d2a9da31ab ASoC: Intel: skl_hda_dsp_generic: Drop HDMI routes when HDMI is not available
    1613195bf31e ASoC: rt5650: add mutex to avoid the jack detection failure
    b45e21b529d8 ASoC: cs43130: Fix incorrect frame delay configuration
    0c7833f75857 ASoC: cs43130: Fix the position of const qualifier
    b0c9af3d31bf ASoC: Intel: Skylake: mem leak in skl register function
    7c09cf80954b ASoC: nau8822: Fix incorrect type in assignment and cast to restricted __be16
    522f69ba6b4c ASoC: Intel: Skylake: Fix mem leak in few functions
    9f1429c5aa79 arm64: dts: rockchip: fix rk356x pcie msg interrupt name
    3996699d1f02 ASoC: wm8974: Correct boost mixer inputs
    63360763bff9 hwtracing: hisi_ptt: Don't try to attach a task
    2e3fc2a45a7a hwtracing: hisi_ptt: Handle the interrupt in hardirq context
    319c5186d66c nvme-core: check for too small lba shift
    f84b0c64452e blk-mq: don't count completed flush data request as inflight in case of quiesce
    366d2101fc59 smb: client, common: fix fortify warnings
    53a37135f763 drm/amdgpu: Fix cat debugfs amdgpu_regs_didt causes kernel null pointer
    d551c77727b7 drm/amd/display: update dcn315 lpddr pstate latency
    3c781fbb4f42 nvme-core: fix a memory leak in nvme_ns_info_from_identify()
    a37096b079b7 ALSA: hda: intel-nhlt: Ignore vbps when looking for DMIC 32 bps format
    08f6de7b3f78 debugfs: fix automount d_fsdata usage
    d1d138c043ab wifi: mac80211: handle 320 MHz in ieee80211_ht_cap_ie_to_sta_ht_cap
    0c880e1e38ea wifi: avoid offset calculation on NULL pointer
    dd9465b10880 wifi: cfg80211: lock wiphy mutex for rfkill poll
    91edb0cd1b42 mptcp: fix uninit-value in mptcp_incoming_options
    90389621303b ALSA: hda - Fix speaker and headset mic pin config for CHUWI CoreBook XPro
    9436ae696a19 pinctrl: lochnagar: Don't build on MIPS
    5de9e9dd1828 f2fs: explicitly null-terminate the xattr list

(From OE-Core rev: 7aea35bdc1fb3a81b602402d697af8b8e0bf625e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Tim Orling
bfd608ec84 vim: upgrade v9.0.2130 -> v9.0.2190
This is the latest/last of the 9.0.z upgrades, since 9.1 is now
released.

CVE: CVE-2024-22667
(includes the patch for .2142 b39b240c38)

Changes:
https://github.com/vim/vim/compare/v9.0.2130...v9.0.2190

(From OE-Core rev: 8155a1f60b490859b1c942da2a35d5106eddc901)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Dhairya Nagodra
a06286e6f7 glibc: Remove duplicate entry for CVE-2023-4527
(From OE-Core rev: d58b1a3a08fbef97455124d9be3eba297d33f036)

Signed-off-by: Dhairya Nagodra <dnagodra@cisco.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-03-13 03:59:26 -10:00
Michael Opdenacker
1a5c00f00c migration-guides: fix release notes for 4.3.3
(From yocto-docs rev: 25fafd6f0fb90456358687f358a87960006cf2e6)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Lee Chee Yang
ed0b2b860f migration-guide: add release notes for 4.3.3
(From yocto-docs rev: 75c0d611da378a30ef70420d9f0e622f595d8881)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Chen Qi
62851677da multilib_global.bbclass: fix parsing error with no kernel module split
The problem could be reproduced with the following settings:
MACHINE = "qemux86-64"
KERNEL_SPLIT_MODULES = "0"
require conf/multilib.conf
MULTILIBS ?= "multilib:lib32"
DEFAULTTUNE:virtclass-multilib-lib32 ?= "core2-32"

The error message is as below:
  bb.data_smart.ExpansionError: Failure expanding variable KERNEL_VERSION_PKG_NAME, expression was ${@legitimize_package_name(d.getVar('KERNEL_VERSION'))} which triggered exception TypeError: expected string or bytes-like object
  The variable dependency chain for the failure is: KERNEL_VERSION_PKG_NAME -> RPROVIDES:kernel-modules

This is because multilib_virtclass_handler_global function in
multilib_global.bbclass deletes KERNEL_VERSION. So we need to handle
such situation. We'll also need to delete KERNEL_VERSION_PKG_NAME
to avoid this parsing error.

(From OE-Core rev: 82dd61aade02456621cd2958b2fbb56236062789)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 43dd497bc161ac44faecfdff052db03679dbb4f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
baruch@tkos.co.il
126d94a615 overlayfs: add missing closing parenthesis in selftest
Cc: Vyacheslav Yurkov <uvv.mail@gmail.com>
(From OE-Core rev: 8635e17bd81e50ca587bb15716687fd78b81ec46)

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit aebd526cdfea738745e57183b1015fd327bd94df)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Richard Purdie
9dd0928c51 pseudo: Update to pull in gcc14 fix and missing statvfs64 intercept
rpm 4.19 now builds with LFS64 support enabled by default,
so it calls statvfs64() to get the space available on the
filesystem it is installing packages into.  This is not
getting caught by pseudo, so rpm is checking the host's
root filesystem, rather than the filesystem where the
build is happening.

Merge in that fix and a gcc14 fix.

(From OE-Core rev: f7ef390b70709c0b6a607fcfe1da4c85144840e5)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f6d021c860b2b99f46c604149317b326f493022d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Jonathan GUILLOT
b5781286ad udev-extraconf: fix unmount directories containing octal-escaped chars
USB devices are auto-mounted in a directory named like theirs labels.
Special characters like whitespace are octal-escaped in /proc/mounts
output. Using directly this output file as an argument for umount failed
and the mount directory can't be removed as still busy.
Using printf allows these special characters to be unescaped.

(From OE-Core rev: c3c31248233356a04db1d5ed375b647656d80fa0)

Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 37f17625d931a06888388682dc2b1f5a2d298125)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Julien Stephan
9b94baed26 externalsrc: fix task dependency for do_populate_lic
do_populate_lic dependencies are defined inside license.bbclass such as:

  addtask populate_lic after do_patch before do_build

but externalsrc deletes the do_patch task, so the only dependency left for
do_populate_lic is "before do_build"

On a devtool context, when doing devtool modify, sources are extracted inside
build/workspace/sources/${BPN}/ and local files inside
build/workspace/sources/${BPN}/oe-local-files

When building the recipe after a devtool modify, do_unpack is called again to
unpack (possibly modified) local files from
build/workspace/sources/${BPN}/oe-local-files into ${WORKDIR}.

Since the only left dependency for do_populate_lic is do_build, the
do_populate_lic can be called BEFORE do_unpack. Most of the time this is not a
problem, because license files are generally located inside ${S}, which
corresponds to build/workspace/sources/${BPN} (and is already unpacked),
but this can lead to an issue if recipe sets LIC_FILES_CHKSUM to look for
files in ${WORKDIR} (example from init-ifupdown_1.0.bb):

  LIC_FILES_CHKSUM = "file://${WORKDIR}/copyright;md5=3dd6192d306f582dee7687da3d8748ab"

So devtool modify init-ifupdown && bitbake init-ifupdown gives the following
error:

  WARNING: init-ifupdown-1.0-r0 do_populate_lic: Could not copy license file <...>/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0/copyright to <...>/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0/license-destdir/qemux86_64/init-ifupdown/copyright: [Errno 2] No such file or directory: '<...>/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0/copyright'
  ERROR: init-ifupdown-1.0-r0 do_populate_lic: QA Issue: init-ifupdown: LIC_FILES_CHKSUM points to an invalid file: <...>/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0/copyright [license-checksum]
  ERROR: init-ifupdown-1.0-r0 do_populate_lic: Fatal QA errors were found, failing task.
  ERROR: Logfile of failure stored in: <...>/build/tmp/work/qemux86_64-poky-linux/init-ifupdown/1.0/temp/log.do_populate_lic.838584
  ERROR: Task (<...>/poky/meta/recipes-core/init-ifupdown/init-ifupdown_1.0.bb:do_populate_lic) failed with exit code '1'

Fix this by forcing the do_populate_lic task to run after do_unpack

(From OE-Core rev: bc02b59ca6506d727450512ac2490b8861de59ca)

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ea6a0cccdd274534809df62a0a196bf83489a1e5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Richard Purdie
20e316e372 reproducible: Fix race with externalsrc/devtool over lockfile
We occasionally see races over the lockfile used by externalsrc/devtool
when walking files for the source_date_epock calculation. Skip this file
if present to avoid the issues and fix a real issue where SDE could be
contaminated too.

[YOCTO #14921]

(From OE-Core rev: 6bb824019fd7335a10fdcebf7d301c101d60ad61)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4bc0eb4bd90e6e6e46581a8ed367212bdd910a26)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Richard Purdie
ab7fecefc6 allarch: Fix allarch corner case
Most of the allarch code is conditional and only set if the recipe remains marked
as allarch. The qemu wrapper handling is not handled in the same way however and
is unconditional.

Move the code to some slightly uglier inline python to allow it to be conditional
and match the way the rest of the code works.

(From OE-Core rev: 2e206eb9b43c267e939ccb3cdfa62d9666ff5efa)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit dfd704f1741dccd9a85338c5d45dee4be079064d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Wang Mingyu
10b2dd53ce gstreamer: upgrade 1.22.8 -> 1.22.9
Changelog:
 https://gstreamer.freedesktop.org/releases/1.22

(From OE-Core rev: cc21356c4147f47bc6879826bf2e801cb3acd695)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 30b3835c367ff1de00d24cddf3bd920ea29f15c5)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Wang Mingyu
bdd694eb15 cpio: upgrade 2.14 -> 2.15
Changelog:
==========
* Fix operation of --no-absolute-filenames --make-directories
* Restore access and modification times of symlinks in copy-in
  and copy-pass modes.

0001-configure-Include-needed-header-for-major-minor-macr.patch
revmoed since it's included in 2.15

(From OE-Core rev: e912a11c5fa6709708428f2d0fe3a29a344cd43a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c4fb7512a5b1c13234e3733cba1c4bf246c77861)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Wang Mingyu
7584c6d12a at-spi2-core: upgrade 2.50.0 -> 2.50.1
Changelog:
 atk-adaptor: Fix critical when no table cell array is returned.

(From OE-Core rev: e742e3bdfbcb7cbbc7c4a3e26151b5ee3aa291e2)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9bed9f07aea6c425748c8908641ce8a99fd5162f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Kai Kang
e8f1ae5d33 xserver-xorg: 21.1.9 -> 21.1.11
Update xserver-xorg from 21.1.9 to 21.1.11.

Release Notes of 21.1.11 [1]:

This release contains fixes for the issues reported in today's security
advisory: https://lists.x.org/archives/xorg/2024-January/061525.html

* CVE-2023-6816
* CVE-2024-0229
* CVE-2024-21885
* CVE-2024-21886
* CVE-2024-0408
* CVE-2024-0409

Additionally, it also contains a fix for XRandR to allow for multiple virtual
monitors on a physical display.

Release Notes of 21.1.10 [2]:

This release contains fixes for CVE-2023-6377 and CVE-2023-6478 as
reported in today's security advisory:
https://lists.x.org/archives/xorg-announce/2023-December/003435.html

[1]: https://lists.x.org/archives/xorg/2024-January/061526.html
[2]: https://lists.x.org/archives/xorg/2023-December/061518.html

(From OE-Core rev: e06a10763ee8ed99c9dd8122b49227e7085fd964)

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit fc9da07bd181ee6f7ae51a5b6db40af0b94cd046)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Alexander Sverdlin
5fb8ed4af4 linux-firmware: upgrade 20231030 -> 20231211
(From OE-Core rev: 0569b19936d20acc77a3f11d1033fc7ae5e8f331)

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0caafdbbf4e7dc84b919afe14f7cb8c46a9e4ac2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Benjamin Bara
df5e182c9f glibc: stable 2.38 branch updates
Pull in fixes for CVE-2023-6246, CVE-2023-6779 and CVE-2023-6780.

(From OE-Core rev: 07847f5945ff67340803149242a629741d619bf5)

Signed-off-by: Benjamin Bara <benjamin.bara@skidata.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Robert Joslyn
b0424cf1ea gtk: Set CVE_PRODUCT
The CPE vendor is "gnome" and the CPE product is "gtk" for both gtk+3
and gtk4 recipes. Set CVE_PRODUCT so we properly match the NVD database.

(From OE-Core rev: e1bab7d2f5a885f2e4fd0332599edb8bfa55be45)

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 253f5f745d66acefcc739f1c9ad2dd46be630e47)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Ross Burton
8912badafe cve_check: cleanup logging
Primarily list the number of patches found, useful when debugging.

Also clean up some bad escaping that caused warnings and use
re.IGNORECASE instead of manually doing case-insenstive rang matches.

(From OE-Core rev: 55d7393eda71fa37a93c1a0f5c8f7f18640cf079)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 10acc75b7f3387b968bacd51aade6a8dc11a463f)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Ross Burton
617c24aed8 cve_check: handle CVE_STATUS being set to the empty string
Handle CVE_STATUS[...] being set to an empty string just as if it was
not set at all.

This is needed for evaluated CVE_STATUS values to work, i.e. when
setting not-applicable-config if a PACKAGECONFIG is disabled.

(From OE-Core rev: a8ccf2abdc89cf4ae3dce1fed4163e3c1399e528)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2c9f20f746251505d9d09262600199ffa87731a2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Simone Weiß
206267f75d gcc: Update status of CVE-2023-4039
This is fixed via a patch added in gcc-13.2.inc already, but still
reported e.g. for libgcc as it is not defining an own source but use the
shared gcc-source.

(From OE-Core rev: cc78945cf8372eea743ecddfca47cbc084641678)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 301d45eacfd4ae6bddfb13207e2af9e8b4662bc8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Ross Burton
563cd419c7 libssh2: backport fix for CVE-2023-48795
Backport the upstream fix for CVE-2023-48795.

(From OE-Core rev: c2894768c270e2698de23884f59e823f185820a0)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 314fa19c5e07fa632ff0434a6adbb97de1319a02)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Peter Marko
52adde71ad zlib: ignore CVE-2023-6992
This CVE is for iCPE cloudflare:zlib.

Alternative to ignoring would be to limit CVE_PRODUCT, but
historic CVEs already have two - gnu:zlib and zlib:zlib.
So limiting it could miss future CVEs.

(From OE-Core rev: 7523c7b3609220b4dfc2bb0a83c552db60e1dc7e)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9f953a1cd832f03f0b3666168addf45fd4fc8d14)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Yogita Urade
4b37e67fbc tiff: fix CVE-2023-52355 and CVE-2023-52356
CVE-2023-52355:
An out-of-memory flaw was found in libtiff that could be
triggered by passing a crafted tiff file to the
TIFFRasterScanlineSize64() API. This flaw allows a remote
attacker to cause a denial of service via a crafted input
with a size smaller than 379 KB.
Issue fixed by providing a documentation update.

CVE-2023-52356:
A segment fault (SEGV) flaw was found in libtiff that could
be triggered by passing a crafted tiff file to the
TIFFReadRGBATileExt() API. This flaw allows a remote attacker
to cause a heap-buffer overflow, leading to a denial of service.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-52355
https://security-tracker.debian.org/tracker/CVE-2023-52355
https://gitlab.com/libtiff/libtiff/-/issues/621
https://gitlab.com/libtiff/libtiff/-/merge_requests/553
https://nvd.nist.gov/vuln/detail/CVE-2023-52356
https://gitlab.com/libtiff/libtiff/-/issues/622
https://gitlab.com/libtiff/libtiff/-/merge_requests/546

(From OE-Core rev: 71348662169be9737b10fbd305646df9295a07f6)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 831d7a2fffb3dec94571289292f0940bc7ecd70a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Yogita Urade
0cc056f177 tiff: fix CVE-2023-6228
CVE-2023-6228:
An issue was found in the tiffcp utility distributed by the
libtiff package where a crafted TIFF file on processing may
cause a heap-based buffer overflow leads to an application
crash.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-6228
https://gitlab.com/libtiff/libtiff/-/issues/606

(From OE-Core rev: fe0ee74a236cd7523f8982c5699098e6b75d2b20)

Signed-off-by: Yogita Urade <yogita.urade@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 55735e0d75820d59e569a630679f9ac403c7fdbe)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-22 04:34:14 -10:00
Steve Sakoman
d3b27346c3 build-appliance-image: Update to nanbield head revision
(From OE-Core rev: 0584d01f623e1f9b0fef4dfa95dd66de6cbfb7b3)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-08 04:22:37 -10:00
Steve Sakoman
17635c5e4d poky.conf: bump version for 4.3.3 release
(From meta-yocto rev: 65524b4d23cba2d57e7146942fa23ff74d9c7738)

Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-08 03:47:53 -10:00
Michael Opdenacker
12bfafb9e7 release-notes-4.3: fix spacing
This fixes an ugly formatting issue in the HTML output

(From yocto-docs rev: dde4b815db82196af086847f68ee27d7902b4ffa)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-08 03:47:53 -10:00
Baruch Siach
167d294de3 contributor-guide: fix lore URL
Cc: Michael Opdenacker <michael.opdenacker@bootlin.com>
(From yocto-docs rev: d044e01369666d3d48250661afc6b825b513d99e)

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-08 03:47:53 -10:00
Simone Weiß
6c40f9c1ef dev-manual: gen-tapdevs need iptables installed
Add the hint to the test setup that runqemu-gen-tapdevs will need the
iptables package installed.

(From yocto-docs rev: 368bacc10a18100ef721c477b5d0abc5184eef91)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-08 03:47:53 -10:00
Khem Raj
6d6ccbca0c tcl: Fix prepending to run-ptest script
This ensures that string is prepended properly and eclosed in ''
Fixes the ptest runs on musl

(From OE-Core rev: 5f49d4c3f528c1e9a2884cc9cc8026b5d43517f9)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7bb45591f9caa7ff6b065220927a26e8261e2866)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Yang Xu
9724d9822c rootfs.py: check depmodwrapper execution result
The execution result of depmodwrapper is not checked which makes depmod
generation failed sliently and hard to detect.

So check exection result and stop building if depmodwrapper failed.

(From OE-Core rev: 2d8e913e2bfbb4ccbdf3eb747aab46fc38cf23e7)

Signed-off-by: Yang Xu <yang.xu@mediatek.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 2f88e7d331390c6aaecc4522253e24791aec299e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Rodrigo M. Duarte
2d7fe81f8e linux-firmware: Fix the linux-firmware-bcm4373 FILES variable
This commit includes the 'cyfmac4373-sdio.clm_blob' file in
the list of files for the linux-firmware-bcm4373 package.
Without this file, the linux-firmware package adds all
firmware packages to the image.

(From OE-Core rev: 205b3990fe23dc05689ef619a4607e8903ebbec6)

Signed-off-by: Rodrigo M. Duarte <rodrigo.duarte@ossystems.com.br>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit 7886d3b77200e4488393fa11c8198658fcf386cd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Alexander Kanavin
90600c8168 icon-naming-utils: take tarball from debian
Upstream website has disappeared; the tarball can still be downloaded
but this is probably not for long.

(From OE-Core rev: 12cb5cce1cad02125fbf695e0d94010535cf228a)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit af59c518467d1174d1d63594fdd3279a2fdbd8f8)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Ming Liu
d94ab548b0 qemu.bbclass: fix a python TypeError
QEMU_OPTIONS can be empty which will trigger a exception TypeError:
| can only concatenate str (not "NoneType") to str. Fix it by setting a
empty string.

ALso removed two useless blanks.

(From OE-Core rev: 3ccc642bb36373e81d80d41b4f213328c7bfb9cb)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b619197bd52a4a99a9989e7ea6fb7032415b1e42)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
William Lyu
801c3f25cc elfutils: Update license information
Update license information for overall package, package libraries, and
package utilities in the recipe to match the license information as
described on the upstream website [1]:

"License. The libraries and backends are dual GPLv2+/LGPLv3+. The
utilities are GPLv3+."

[1] https://sourceware.org/elfutils

(From OE-Core rev: d0e082b8303ad9591983c95d19a199c8d22942da)

Signed-off-by: William Lyu <William.Lyu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c0728805f24cbd6a788871ae54af4ec8307e40d4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Ming Liu
67c359b259 grub: fs/fat: Don't error when mtime is 0
A issue was found when I run "runqemu genericx86-64 ovmf", grub failed
to boot, it's a known issue has been fixed in grub upstream, backport
the fix.

(From OE-Core rev: 10f783721decaec06e87dd7a140ea16f12b97539)

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 51eab4bb0cae46c9c32d28986eb97badf47594b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Alexander Kanavin
e513d20afd glibc-y2038-tests: do not run tests using 32 bit time APIs
I'm not sure why this was included and enabled to begin with: the tests
predictably mass-fail if system time is set to after y2038.

(From OE-Core rev: 3d04849c741baeddd0677a18a468603b7112139d)

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c9c7ebd6e447bce19803253afd881854f686b5f6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Trevor Gamblin
89b80f507f scripts/runqemu: fix regex escape sequences
When invoking runqemu with Python 3.12, the following warning is
encountered:

|SyntaxWarning: invalid escape sequence '\.'

This is because the interpreter scans the string before it is processed
by the regex module, and it interprets the backslash as part of an
escape sequence, but not a standard one. This will be registered as an
error rather than a warning in future Python versions. To avoid the it,
simply add an extra backslash so that Python doesn't misinterpret the
string, while the regex parser still sees an escaped '.' character.

(From OE-Core rev: 145672043d6d75a9e5a03afb4c205e8008218a3b)

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0e8a4142bb90a92d175df6b2537d24a372356f98)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Richard Purdie
84d3e21ba8 curl: Disable test 1091 due to intermittent failures
Disable another test that intermittently fails on the autobuilder.

(From OE-Core rev: 7c183e7470565db3085b4f18044567fc51c842ab)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8d169e13f7e2eb6511f0ac98da63b060c6c0d53a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Peter Marko
51e2259697 sqlite: drop obsolete CVE ignore
CVE-2023-36191 is now rejected in NVD DB so it won't shoup up in
cve-check report anymore.

(From OE-Core rev: 362a77ea331124ae4c84553c0dceb06b05150804)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Peter Marko
8c33b62fa8 sqlite3: upgrade 3.43.1 -> 3.43.2
This fixes CVE-2024-0232

(From OE-Core rev: 748c18468cc7de0173ab4796805704b9376cd391)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Wang Mingyu
138f0acae3 aspell: upgrade 0.60.8 -> 0.60.8.1
CVE-2019-25051.patch
removed since it's included in 0.60.8.1

Changelog:
============
-Fix memory leak in suggestion code introduced in 0.60.8.
-Various documentation fixes.
-Fix various warnings when compiling with -Wall.
-Fix two buffer overflows found by Google's OSS-Fuzz.
-Other minor updates.

(From OE-Core rev: 1d7ab8b0bc129efadd9144b87fa5208b4a8fcd6c)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ec3c8642f71b470936b6dd29331afa467ab865c7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Wang Mingyu
c84022a1ad gstreamer1.0: upgrade 1.22.7 -> 1.22.8
From release notes:

1.22 bug-fix release (1.22.8) was released on 18 December 2023.

This release only contains bugfixes and security fixes and it should be safe to update from 1.22.x.

(From OE-Core rev: 7d43da3f6f83d9a58a3bc54e55fefd591274afca)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 132d8b7e0188aae8849ae43cfffabce4389a55df)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Simone Weiß
6981794ff8 glibc: Set status for CVE-2023-5156 & CVE-2023-0687
Set `CVE_STATUS`for those CVEs, they have already been fixed with the latest
pull for stable branch fixes done in rev
e444d2bed0. Hence the issues are fixed
already.

(From OE-Core rev: a7b92c9c675c2c111e0b41121c1232b2e79de4ea)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6e6fe23c95f1d0a8a0503cb71557cf3272bf9945)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Alassane Yattara
94b73c33d5 bitbake: toaster/toastergui: Bug-fix verify given layer path only if import/add local layer
(Bitbake rev: 380a9ac97de5774378ded5e37d40b79b96761a0c)

Signed-off-by: Alassane Yattara <alassane.yattara@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-02-07 04:00:02 -10:00
Lee Chee Yang
cf9b37dfd0 migration-guide: add release notes for 4.0.16
(From yocto-docs rev: 81b75961edeb120345c5176dd97e2c9dabe6e4ed)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Saul Wold
17b8581413 package.py: OEHasPackage: Add MLPREFIX to packagename
FIXES [YOCTO #12342]

When testing a Multilib image, the package manifest list contains
the fully qualified package name which includes the Multilib Prefix.
This patch adds the MLPREFIX to the package names that are passed
into the @OEHasPackage() decorator to ensure the set isdisjoint()
matches correctly.

(From OE-Core rev: a27983e0b6bde730fe501c9931119bf18b2c376b)

Signed-off-by: Saul Wold <sgw@bigsur.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ab87e4f92305b2a664cc473869e1615cf56e0936)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Richard Purdie
11fbbbf59a oeqa/selftest/prservice: Improve test robustness
The tests were not cleaning up after themselves and making assumptions about
memory resident bitbake being stopped by the scripts.

Add cleanup logic to ensure the tests don't break other things and
clean up created files.

(From OE-Core rev: 81d7011a793de2548c573ebb84f60fb80a357bed)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 692dd762a0c817797c28381c6169205fbaeb2705)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Richard Purdie
f890240f06 lib/prservice: Improve lock handling robustness
It is possible we could crash holding a lock whilst parsing in this code.
Switch to use utils.fileslocked() in the with expression to avoid this.

This may be causing some of our strange intermittent failures in PRServ
tests.

(From OE-Core rev: 4e3c9526c2389fd08d86d986014313e1d404f1fb)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 4e59db15e5df2cc3d0ae042454812a2d54cef77b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Joshua Watt
8de5dd79c0 classes-global/sstate: Fix variable typo
The vardepsexclude was subtly wrong in that it referenced STATE_MANMACH
when the actual variable name is SSTATE_MANMACH.

(From OE-Core rev: a681f90caec27d4076bdae3b5b19df2d7f5978cd)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ec5054396f7fafea2a071d2695ae111fc585d6e6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Robert Berger
1a44cbee81 uninative-tarball.xz - reproducibility fix
added --clamp-mtime --mtime to the tar command

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

(From OE-Core rev: 3dabf663a772b49e2f324ce5e875d6e633384559)

Signed-off-by: Robert Berger <Robert.Berger@ReliableEmbeddedSystems.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2ef7c63871ab4fb62a9cea45a23a78bf9d541e4a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Soumya Sambu
5afcce0022 ncurses: Fix - tty is hung after reset
Serial tty is hung after reset command -
$echo "test " >> /dev/ttyS0
test
$stty -a < /dev/ttyS0
speed 115200 baud; rows 34; columns 153; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>;
start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; discard = ^O; min = 1; time = 0;
-parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon ixoff -iuclc -ixany -imaxbel iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon -iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke -flusho -extproc
$reset
$echo "test " >> /dev/ttyS0
^C
$stty -a < /dev/ttyS0
^C

Updating reset_tty_settings API with latest code which fixes tty hung issue

(From OE-Core rev: 53939c1f4bcf8c32ed648ddf5150aee11ca3215b)

Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2419afd8024f903efff862f3f7f7772aedea7613)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Clay Chang
090c0e8445 devtool: deploy: provide max_process to strip_execs
Use oe.utils.get_bb_number_threads to get max_process

(From OE-Core rev: 162607e3f7fd490c4b01775a9516a1bcf643eae6)

Signed-off-by: Clay Chang <clayc@hpe.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f0056dca0a44c374f1f0c5fccbf66ae88e0b1850)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Richard Purdie
c6def80c31 curl: Disable two intermittently failing tests
These two tests seem to fail semi-regularly so just stop running them.

(From OE-Core rev: aa52e8fe6f53c5e3e5466385b683ea209d833845)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1bfa564f1aa8b865f6c3ae3501e6d5f6cc0542eb)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Peter Marko
01017ff17d dtc: preserve version also from shallow git clones
Since switch from Makefile to meson based build,
the version is no longer hardcoded but queried from git tag.

This works only if git history is available.
When shallow tarballs are used, tag is not available.

Example error for trusted-firmware-a from meta-arm:
dtc version too old (039a994), you need at least version 1.4.4

Backport also patch to fix version in meson file.

(From OE-Core rev: a77defdac80d4cc660d6b6677bc166a1d1d338b5)

Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 319f5d8a32d1f4a71ac997ce4522249b08f84945)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Mingli Yu
ba6a6eb13e python3-license-expression: Fix the ptest failure
Fix the below ptest failure:
 self = <test_skeleton_codestyle.BaseTests testMethod=test_skeleton_codestyle>
 def test_skeleton_codestyle(self):
 """
 This test shouldn't run in proliferated repositories.
 """
 setup_cfg = configparser.ConfigParser()
 setup_cfg.read("setup.cfg")
 > if setup_cfg["metadata"]["name"] != "skeleton":
 tests/test_skeleton_codestyle.py:22:
 self = <configparser.ConfigParser object at 0x7fd87cf55110>, key = 'metadata'
 def _getitem_(self, key):
 if key != self.default_section and not self.has_section(key):
 > raise KeyError(key)
 E KeyError: 'metadata'

After the patch:
 # ./run-ptest
 [snip]
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_bad_syntax
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_as_regular_key
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_exception_with_choice
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_exception_strict_false
 PASS: tests/test_license_expression.py::LicensingValidateTest::test_validation_invalid_license_key
 PASS: tests/test_license_expression.py::UtilTest::test_build_licensing
 PASS: tests/test_license_expression.py::UtilTest::test_build_spdx_licensing
 PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info
 PASS: tests/test_license_expression.py::UtilTest::test_get_license_key_info_vendored
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_duplicated_elements
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_empty_input
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_or_relationship
 PASS: tests/test_license_expression.py::CombineExpressionTest::test_combine_expressions_with_regular
 PASS: tests/test_skeleton_codestyle.py::BaseTests::test_skeleton_codestyle
============================================================================
Testsuite summary
 # TOTAL: 175
 # PASS: 175
 # SKIP: 0
 # XFAIL: 0
 # FAIL: 0
 # XPASS: 0

(From OE-Core rev: f69530a3b86b512c5c60da4da34fc287ff0d1366)

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>

Changed in v4:
Add python3-license-expression to PTESTS_FAST

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 6b06ad7a9f1dd5900483102f5723a6821f961dab)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Robert Yang
60f7c83994 nfs-utils: Update Upstream-Status
Update Upstream-Status for 0001-reexport.h-Include-unistd.h-to-compile-with-musl.patch.

(From OE-Core rev: 2323086931f2abd9b85fc1ec94b6b0d3efd6364a)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7189d1ea5c066b9ffc52103160bb34945fd779d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Bruce Ashfield
96ceab7e0c linux-yocto/6.1: 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 15Jan24
        Date: Mon, 15 Jan 2024 12:48:45 -0500

    ]

(From OE-Core rev: dfd3c5c6fbe2cd3b0723879bd2b6574eb59a5860)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74bf102eb4ae7377527a146e3db1d9ee1da1f2da)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Bruce Ashfield
252dd4cf25 linux-yocto/6.1: update to v6.1.73
Updating linux-yocto/6.1 to the latest korg -stable release that comprises
the following commits:

    fec3b1451d5f Linux 6.1.73
    f9ee31dc7fcd cifs: fix flushing folio regression for 6.1 backport
    0f22c8a6efe6 ipv6: remove max_size check inline with ipv4
    b2c545c39877 Revert "nfsd: separate nfsd_last_thread() from nfsd_put()"
    db5f2f4db8b7 Revert "nfsd: call nfsd_last_thread() before final nfsd_put()"

(From OE-Core rev: 84a86b91de33a048b8a4aafacb051c9dbc3abbca)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 27004956fb5ce3d4c2a48e64681b743763641f04)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Bruce Ashfield
38da774fe8 linux-yocto/6.1: security/cfg: add configs to harden protection
Integrating the following commit(s) to linux-yocto/.:

1/1 [
    Author: Xiangyu Chen
    Email: xiangyu.chen@windriver.com
    Subject: feature/security: add configs to harden protection
    Date: Tue, 16 Jan 2024 18:22:31 +0800

    Add some configs to harden protection:
      CONFIG_HW_RANDOM_TPM=y Exposing the TPM's Random Number Generator as a hwrng device.
      CONFIG_DEBUG_WX=y Warn on W+X mappings at boot.
      CONFIG_SECURITY_DMESG_RESTRICT=y Restrict unprivileged access to the kernel syslog.
      CONFIG_LDISC_AUTOLOAD=n Disable automatically load TTY Line Disciplines.

    Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
    Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
]

(From OE-Core rev: 6ee7b17677a39302bd14acbc2a4bfe5cb247f32e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 33d3dd8f5469cb0b2999d7f935378899d447b3ce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Bruce Ashfield
3f65155a06 linux-yocto/6.1: 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 27Dec23
        Date: Wed, 27 Dec 2023 19:47:13 -0500

    ]

(From OE-Core rev: 8960ae115972015de0176ceb202c4996f5a03c75)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit c16ed90dae1f1954b582c4fb6783fca7e3171af3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Bruce Ashfield
434ebe75c3 linux-yocto/6.1: update to v6.1.72
Updating linux-yocto/6.1 to the latest korg -stable release that comprises
the following commits:

    7c58bfa711cb Linux 6.1.72
    2dbe25ae06e6 Revert "interconnect: qcom: sm8250: Enable sync_state"
    f73a374c1969 smb3: Replace smb2pdu 1-element arrays with flex-arrays
    ec162546a733 media: qcom: camss: Comment CSID dt_id field
    a5c3f2b4cee7 bpf: syzkaller found null ptr deref in unix_bpf proto add
    15db682980fc bpf: Fix a verifier bug due to incorrect branch offset comparison with cpu=v4
    7cbdf36eabf3 net/sched: act_ct: Always fill offloading tuple iifidx
    2be4e8ac2d16 net/sched: act_ct: additional checks for outdated flows
    87318b7e374c f2fs: compress: fix to assign compress_level for lz4 correctly
    397f719037c2 genirq/affinity: Only build SMP-only helper functions on SMP kernels
    28c9222e29e5 mmc: sdhci-sprd: Fix eMMC init failure after hw reset
    2813a434d461 mmc: core: Cancel delayed work before releasing host
    575e127041f2 mmc: rpmb: fixes pause retune on all RPMB partitions.
    9c5efaa09b31 mmc: meson-mx-sdhc: Fix initialization frozen issue
    48e1d426f452 drm/amd/display: add nv12 bounding box
    11c3510d1d4d drm/amdgpu: skip gpu_info fw loading on navi12
    dafdeb7b91f1 mm: fix unmap_mapping_range high bits shift bug
    08038069c237 i2c: core: Fix atomic xfer check for non-preempt config
    53b42cb33fb1 x86/kprobes: fix incorrect return address calculation in kprobe_emulate_call_indirect
    d1db1ef5e633 firewire: ohci: suppress unexpected system reboot in AMD Ryzen machines and ASM108x/VT630x PCIe cards
    09a44d994bfe ring-buffer: Fix 32-bit rb_time_read() race with rb_time_cmpxchg()
    820a7802f25a btrfs: mark the len field in struct btrfs_ordered_sum as unsigned
    ab220f4f5c70 btrfs: fix qgroup_free_reserved_data int overflow
    0f74dde5be2c octeontx2-af: Support variable number of lmacs
    7d3912613d5b octeontx2-af: Fix pause frame configuration
    a29b15cc68a6 net/sched: act_ct: Take per-cb reference to tcf_ct_flow_table
    2bb4ecb3349c netfilter: flowtable: GC pushes back packets to classic path
    df01de08b411 net/sched: act_ct: Fix promotion of offloaded unreplied tuple
    87466a374571 net/sched: act_ct: offload UDP NEW connections
    8b160f2fba77 netfilter: flowtable: cache info of last offload
    c29a7656f8a2 netfilter: flowtable: allow unidirectional rules
    e681f711e9e8 net: sched: call tcf_ct_params_free to free params in tcf_ct_init
    d49bf9c1ceb3 mm/memory_hotplug: fix error handling in add_memory_resource()
    4666f003afff mm/memory_hotplug: add missing mem_hotplug_lock
    a576780a2a66 lib/group_cpus.c: avoid acquiring cpu hotplug lock in group_cpus_evenly
    f33b27f5c3de genirq/affinity: Move group_cpus_evenly() into lib/
    617ba3735d3b genirq/affinity: Rename irq_build_affinity_masks as group_cpus_evenly
    aeeb4e4e49f8 genirq/affinity: Don't pass irq_affinity_desc array to irq_build_affinity_masks
    9e84d7bb1505 genirq/affinity: Pass affinity managed mask array to irq_build_affinity_masks
    a1dcd1794730 genirq/affinity: Remove the 'firstvec' parameter from irq_build_affinity_masks
    f4fe76467e7b ALSA: hda/realtek: Add quirk for Lenovo Yoga Pro 7
    aee609302d65 firmware: arm_scmi: Fix frequency truncation by promoting multiplier type
    90d1f74c3cf6 bpf, sockmap: af_unix stream sockets need to hold ref for pair sock
    5ff1682fec18 ethtool: don't propagate EOPNOTSUPP from dumps
    e570b1508753 dpaa2-eth: recycle the RX buffer only after all processing done
    5b8938fc7d00 net: dpaa2-eth: rearrange variable in dpaa2_eth_get_ethtool_stats
    e88275ce7e7b smb: client: fix missing mode bits for SMB symlinks
    bf223fd4d914 block: update the stable_writes flag in bdev_add
    a8e4300ae58d filemap: add a per-mapping stable writes flag
    d0eafc763135 mm, netfs, fscache: stop read optimisation when folio removed from pagecache
    bceff380f361 mm: merge folio_has_private()/filemap_release_folio() call pairs
    8b6b3ecf0c13 memory-failure: convert truncate_error_page() to use folio
    a6f440f3b956 khugepage: replace try_to_release_page() with filemap_release_folio()
    4c78612e5fbc ext4: convert move_extent_per_page() to use folios
    b92a8f591ca8 media: qcom: camss: Fix set CSI2_RX_CFG1_VC_MODE when VC is greater than 3
    710f70555d5b media: camss: sm8250: Virtual channels for CSID
    c96a4f936008 selftests: mptcp: set FAILING_LINKS in run_tests
    4b85e920afc8 selftests: mptcp: fix fastclose with csum failure
    336d1ee07efb f2fs: set the default compress_level on ioctl
    1ff3f5ef284b f2fs: assign default compression level
    55d3f41e5583 f2fs: convert to use bitmap API
    84a8d913fb53 f2fs: clean up i_compress_flag and i_compress_level usage
    2c14f4991610 s390/cpumf: support user space events for counting
    a1a1e5ce88a7 s390/mm: add missing arch_set_page_dat() call to vmem_crst_alloc()
    31051f722db2 net/mlx5: Increase size of irq name buffer
    b5c8e0ff76d1 blk-mq: make sure active queue usage is held for bio_integrity_prep()
    803fb6109fcf bpf: fix precision backtracking instruction iteration
    b08acd5c4602 bpf: handle ldimm64 properly in check_cfg()
    2c795ce09042 bpf: Support new 32bit offset jmp instruction
    b1c780ed3c22 bpf: clean up visit_insn()'s instruction processing
    97bb6dab0172 bpf: Remove unused insn_cnt argument from visit_[func_call_]insn()
    8266c47d04b2 bpf: remove unnecessary prune and jump points
    743f3548d301 bpf: decouple prune and jump points
    eb4f2e17886a fbdev: imsttfb: fix double free in probe()
    f2a79f3651a5 fbdev: imsttfb: Release framebuffer and dealloc cmap on error path
    51a1b943022f arm64: dts: qcom: sdm845: Fix PSCI power domain names
    5db8b93cbe2d arm64: dts: qcom: sdm845: align RPMh regulator nodes with bindings
    343bb27e3152 wifi: iwlwifi: yoyo: swap cdb and jacket bits values
    158b71f3a9fa udp: annotate data-races around udp->encap_type
    8d929b6c1114 udp: lockless UDP_ENCAP_L2TPINUDP / UDP_GRO
    b680a907d17c udp: move udp->accept_udp_{l4|fraglist} to udp->udp_flags
    753886c0b994 udp: move udp->gro_enabled to udp->udp_flags
    a01cff15ccdc udp: move udp->no_check6_rx to udp->udp_flags
    50e41aa9ea0d udp: move udp->no_check6_tx to udp->udp_flags
    e2a4392b61f6 udp: introduce udp->udp_flags
    2489502fb1f5 ipv4, ipv6: Use splice_eof() to flush
    4713b7c7568b splice, net: Add a splice_eof op to file-ops and socket-ops
    ac8c69e448f7 udp: Convert udp_sendpage() to use MSG_SPLICE_PAGES
    6bcc79a4e760 net: Declare MSG_SPLICE_PAGES internal sendmsg() flag
    89b51e70e5e3 bpf, x86: save/restore regs with BPF_DW size
    4ee461c5dc99 bpf, x86: Simplify the parsing logic of structure parameters
    605c8d8f9966 bpf, x64: Fix tailcall infinite loop
    5573fdbc3423 srcu: Fix callbacks acceleration mishandling
    abc3e3fb71a5 cpu/SMT: Make SMT control more robust against enumeration failures
    482fa21635c8 cpu/SMT: Create topology_smt_thread_allowed()
    a364c18553d0 selftests: secretmem: floor the memory size to the multiple of page_size
    c38c5cfd3ed7 net: Implement missing SO_TIMESTAMPING_NEW cmsg support
    14937f47a48f bnxt_en: Remove mis-applied code from bnxt_cfg_ntp_filters()
    55fbcd83aaca net: ravb: Wait for operating mode to be applied
    8a09b0f01c40 asix: Add check for usbnet_get_endpoints
    db9c4a1f37ee octeontx2-af: Re-enable MAC TX in otx2_stop processing
    b67e7d78e48a octeontx2-af: Always configure NIX TX link credits based on max frame size
    84c3833a93bb net/smc: fix invalid link access in dumping SMC-R connections
    0af75845ff5e net/qla3xxx: fix potential memleak in ql_alloc_buffer_queues
    9b0504292237 igc: Fix hicredit calculation
    7663226274af i40e: Restore VF MSI-X state during PCI reset
    5735f529e318 ASoC: meson: g12a-tohdmitx: Fix event generation for S/PDIF mux
    8719838c126a ASoC: meson: g12a-toacodec: Fix event generation
    5de3c8496e77 ASoC: meson: g12a-tohdmitx: Validate written enum values
    95b4d4093ac0 ASoC: meson: g12a-toacodec: Validate written enum values
    2f3b6e8600c9 i40e: fix use-after-free in i40e_aqc_add_filters()
    72fa66177859 net: Save and restore msg_namelen in sock_sendmsg
    81f8a995ebc8 netfilter: nft_immediate: drop chain reference counter on error
    bb1bf97fa187 net: bcmgenet: Fix FCS generation for fragmented skbuffs
    e75715e1c2e5 sfc: fix a double-free bug in efx_probe_filters
    725d44e49fb5 ARM: sun9i: smp: Fix array-index-out-of-bounds read in sunxi_mc_smp_init
    85f6fae44bba selftests: bonding: do not set port down when adding to bond
    3edd66bd4e42 net: Implement missing getsockopt(SO_TIMESTAMPING_NEW)
    ac5fde92b510 net: annotate data-races around sk->sk_bind_phc
    c48fcb4f4906 net: annotate data-races around sk->sk_tsflags
    5d586f7ca0fc net-timestamp: extend SOF_TIMESTAMPING_OPT_ID to HW timestamps
    b2130366a952 can: raw: add support for SO_MARK
    633a49e34b32 r8169: Fix PCI error on system resume
    565460e180d9 net: sched: em_text: fix possible memory leak in em_text_destroy()
    ac5cbe931c43 mlxbf_gige: fix receive packet race condition
    6d7f45492706 ASoC: mediatek: mt8186: fix AUD_PAD_TOP register and offset
    811604fb02c4 ASoC: fsl_rpmsg: Fix error handler with pm_runtime_enable
    c3a37dc15685 igc: Check VLAN EtherType mask
    6edff0b8381c igc: Check VLAN TCI mask
    d27b98f4aeae igc: Report VLAN EtherType matching back to user
    e76d1913f6a8 i40e: Fix filter input checks to prevent config with invalid values
    188c9970d05e ice: Shut down VSI with "link-down-on-close" enabled
    83b80170b7fa ice: Fix link_down_on_close message
    f3f6a23e054c drm/i915/dp: Fix passing the correct DPCD_REV for drm_dp_set_phy_test_pattern
    6cf7235bc1fb octeontx2-af: Fix marking couple of structure as __packed
    a4b0a9b80a96 nfc: llcp_core: Hold a ref to llcp_local->dev when holding a ref to llcp_local
    282e3fb61285 netfilter: nf_tables: set transport offset from mac header for netdev/egress
    9487cc4c90fb netfilter: use skb_ip_totlen and iph_totlen
    5f523f1beb46 drm/bridge: ti-sn65dsi86: Never store more than msg->size bytes in AUX xfer
    3da4868907da wifi: iwlwifi: pcie: don't synchronize IRQs from IRQ
    493d556278a3 KVM: x86/pmu: fix masking logic for MSR_CORE_PERF_GLOBAL_CTRL
    3152a7d361c6 cifs: do not depend on release_iface for maintaining iface_list
    5982a625fc0d cifs: cifs_chan_is_iface_active should be called with chan_lock held
    4afcb82518b9 drm/mgag200: Fix gamma lut not initialized for G200ER, G200EV, G200SE
    b9c370b61d73 Revert "PCI/ASPM: Remove pcie_aspm_pm_state_change()"
    af9a5307656d mptcp: prevent tcp diag from closing listener subflows
    105063f7f441 ALSA: hda/realtek: Fix mute and mic-mute LEDs for HP ProBook 440 G6
    0fa3cf2d151e ALSA: hda/realtek: fix mute/micmute LEDs for a HP ZBook
    beda900d3aaf ALSA: hda/realtek: enable SND_PCI_QUIRK for hp pavilion 14-ec1xxx series
    9539e3b56e0d block: Don't invalidate pagecache for invalid falloc modes
    079eefaecfd7 keys, dns: Fix missing size check of V1 server-list header
    38fb82ecd144 Linux 6.1.71
    74c4c7d57cf2 Revert "platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe"
    7709b16bdbd5 tracing/kprobes: Fix symbol counting logic by looking at modules as well
    9dd295341dc1 kallsyms: Make module_kallsyms_on_each_symbol generally available
    29cb16577189 device property: Allow const parameter to dev_fwnode()
    e7b04372179e spi: Constify spi parameters of chip select APIs
    f9a01938e079 NFSD: fix possible oops when nfsd/pool_stats is closed.
    899ac41804d8 ring-buffer: Fix slowpath of interrupted event
    0105571f80ed netfilter: nf_tables: skip set commit for deleted/destroyed sets
    4768430d5a69 ring-buffer: Remove useless update to write_stamp in rb_try_to_discard()
    f33c4e4cabce tracing: Fix blocked reader of snapshot buffer
    09640899e6b7 ring-buffer: Fix wake ups when buffer_percent is set to 100
    4ee9d9291b95 mm/memory-failure: check the mapcount of the precise page
    fb21c9780a31 mm/memory-failure: cast index to loff_t before shifting it
    be72d197b228 mm: migrate high-order folios in swap cache correctly
    a8df791470fb mm/filemap: avoid buffered read/write race to read inconsistent data
    b954b92ef08f platform/x86: p2sb: Allow p2sb_bar() calls during PCI device probe
    7a3bbbadac4b ksmbd: fix slab-out-of-bounds in smb_strndup_from_utf16()
    b9c5f0fd5cd5 block: renumber QUEUE_FLAG_HW_WC
    e21b5fc5b887 spi: atmel: Fix clock issue when using devices with different polarities
    025cf65f68d4 spi: Add APIs in spi core to set/get spi->chip_select and spi->cs_gpiod
    64a4eb2982db spi: Reintroduce spi_set_cs_timing()
    95e21657ffe9 linux/export: Ensure natural alignment of kcrctab array
    bb4f791cb2de nfsd: call nfsd_last_thread() before final nfsd_put()
    03d68ffc48b9 nfsd: separate nfsd_last_thread() from nfsd_put()
    481561a431ff iio: imu: adis16475: add spi_device_id table
    027eaeaf3294 spi: Introduce spi_get_device_match_data() helper
    457a219c8453 usb: fotg210-hcd: delete an incorrect bounds test
    119127273b5d ARM: dts: Fix occasional boot hang for am3 usb
    98235bc13aa8 ksmbd: fix wrong allocation size update in smb2_open()
    04b8e04f8f89 ksmbd: avoid duplicate opinfo_put() call on error of smb21_lease_break_ack()
    34f7d5b5c972 ksmbd: lazy v2 lease break on smb2_write()
    500c7a5e9af8 ksmbd: send v2 lease break notification for directory
    1993959460c0 ksmbd: downgrade RWH lease caching state to RH for directory
    2fcb46df3460 ksmbd: set v2 lease capability
    3eddc811a7c8 ksmbd: set epoch in create context v2 lease
    52a32eafd0a5 ksmbd: don't update ->op_state as OPLOCK_STATE_NONE on error
    0bc46c2370ee ksmbd: move setting SMB2_FLAGS_ASYNC_COMMAND and AsyncId
    d9aa5c19084e ksmbd: release interim response after sending status pending response
    013bf453af0d ksmbd: move oplock handling after unlock parent dir
    20dd92c23756 ksmbd: separately allocate ci per dentry
    d5651972e5c5 ksmbd: fix possible deadlock in smb2_open
    aabc944ebf08 ksmbd: prevent memory leak on error return
    b4a269bb89dd ksmbd: fix kernel-doc comment of ksmbd_vfs_kern_path_locked()
    699ad8d03cc5 ksmbd: no need to wait for binded connection termination at logoff
    3cf44550814c ksmbd: add support for surrogate pair conversion
    d26e024a5ead ksmbd: fix missing RDMA-capable flag for IPoIB device in ksmbd_rdma_capable_netdev()
    5113f7222554 ksmbd: fix recursive locking in vfs helpers
    42e56982bed1 ksmbd: fix kernel-doc comment of ksmbd_vfs_setxattr()
    533e6dc4469f ksmbd: reorganize ksmbd_iov_pin_rsp()
    1d95c5a54184 ksmbd: Remove unused field in ksmbd_user struct
    5929e98f3bb7 ksmbd: fix potential double free on smb2_read_pipe() error path
    a7aae713eaf2 ksmbd: fix Null pointer dereferences in ksmbd_update_fstate()
    943cebf9ea34 ksmbd: fix wrong error response status by using set_smb2_rsp_status()
    7b58ee8d0b91 ksmbd: fix race condition between tree conn lookup and disconnect
    0090f0bfc225 ksmbd: fix race condition from parallel smb2 lock requests
    6584ca894f30 ksmbd: fix race condition from parallel smb2 logoff requests
    b3a843caed29 ksmbd: fix race condition with fp
    7345f5dbf66d ksmbd: check iov vector index in ksmbd_conn_write()
    8beae8a0a065 ksmbd: return invalid parameter error response if smb2 request is invalid
    e523a26c0567 ksmbd: fix passing freed memory 'aux_payload_buf'
    b4b3fd1a95b4 ksmbd: remove unneeded mark_inode_dirty in set_info_sec()
    1ee419e08fa1 ksmbd: remove experimental warning
    83b01f7330d7 ksmbd: add missing calling smb2_set_err_rsp() on error
    422c0cd01693 ksmbd: Fix one kernel-doc comment
    c20105a8975c ksmbd: fix `force create mode' and `force directory mode'
    f8cf1ebb7de6 ksmbd: fix wrong interim response on compound
    9f297df20d93 ksmbd: add support for read compound
    673e60c69124 ksmbd: switch to use kmemdup_nul() helper
    0a9b91f45e88 ksmbd: check if a mount point is crossed during path lookup
    d782f42eed93 ksmbd: Fix unsigned expression compared with zero
    48cc49384048 ksmbd: Replace one-element array with flexible-array member
    63fbfd212c82 ksmbd: Use struct_size() helper in ksmbd_negotiate_smb_dialect()
    e7ab53bd81b0 ksmbd: Replace the ternary conditional operator with min()
    143da652cee8 ksmbd: use kvzalloc instead of kvmalloc
    de43cdaa88c2 ksmbd: Change the return value of ksmbd_vfs_query_maximal_access to void
    deb79f20be21 ksmbd: return a literal instead of 'err' in ksmbd_vfs_kern_path_locked()
    fe7977b872a6 ksmbd: use kzalloc() instead of __GFP_ZERO
    294a275f374b ksmbd: remove unused ksmbd_tree_conn_share function
    b069977b2b47 ksmbd: add mnt_want_write to ksmbd vfs functions
    13a5045011ec ksmbd: fix posix_acls and acls dereferencing possible ERR_PTR()
    1524884c3efb ksmbd: call putname after using the last component
    30a1344198aa ksmbd: fix uninitialized pointer read in smb2_create_link()
    6d4e21e369f3 ksmbd: fix uninitialized pointer read in ksmbd_vfs_rename()
    6927ffe7479c ksmbd: fix racy issue from using ->d_parent and ->d_name
    6e99fbb4296a fs: introduce lock_rename_child() helper
    965eb8650737 ksmbd: remove unused compression negotiate ctx packing
    49d9f6ad1ee0 ksmbd: avoid duplicate negotiate ctx offset increments
    2182d96ec0b7 ksmbd: set NegotiateContextCount once instead of every inc
    8d271ef5e5ca ksmbd: delete asynchronous work from list
    4ef3fd2f85bb ksmbd: remove unused is_char_allowed function
    226aaaa59365 ksmbd: Fix parameter name and comment mismatch
    e8c49f9364c5 ksmbd: Fix spelling mistake "excceed" -> "exceeded"
    ada8bcc48acd ksmbd: update Kconfig to note Kerberos support and fix indentation
    5c0306b0abcd ksmbd: Remove duplicated codes
    b6502c34cf30 ksmbd: fix typo, syncronous->synchronous
    052b41ef2abe ksmbd: Implements sess->rpc_handle_list as xarray
    264547e13f80 ksmbd: Convert to use sysfs_emit()/sysfs_emit_at() APIs
    87ffbb9e24ba ksmbd: Fix resource leak in smb2_lock()
    d847b7588341 ksmbd: use F_SETLK when unlocking a file
    343d667deee1 ksmbd: set SMB2_SESSION_FLAG_ENCRYPT_DATA when enforcing data encryption for this share
    ab69d3e8f7a0 ksmbd: replace one-element arrays with flexible-array members

(From OE-Core rev: 127092cdb8818bfa454d85e95fc91d3f5a58351e)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b5a2a428407e7f94ef9207dbac9f24dad14c7202)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Bruce Ashfield
63520bce8f linux-yocto/6.1: 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 27Dec23
        Date: Wed, 27 Dec 2023 19:47:13 -0500

    ]

(From OE-Core rev: 31dc2d2952a15df902cef3755f9db4d5f2bd9944)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit b303a7dd260ad3f6a9e6f1b8099b86efcc8373a9)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Bruce Ashfield
e091288ef9 linux-yocto/6.1: update to v6.1.70
Updating linux-yocto/6.1 to the latest korg -stable release that comprises
the following commits:

    a507f147e6f0 Linux 6.1.70
    a413b88cdb69 loop: deprecate autoloading callback loop_probe()
    75c27bdb2144 wifi: nl80211: fix deadlock in nl80211_set_cqm_rssi (6.6.x)
    15577a98ef29 wifi: cfg80211: fix CQM for non-range use
    706448f716c1 fuse: share lookup state between submount and its parent
    ec7b81b0abcd mm/damon/core: make damon_start() waits until kdamond_fn() starts
    41f4ff9fe22c x86/alternatives: Sync core before enabling interrupts
    425379154b7f KVM: arm64: vgic: Force vcpu vgic teardown on vcpu destroy
    5dfacfd0fcd6 KVM: arm64: vgic: Add a non-locking primitive for kvm_vgic_vcpu_destroy()
    3a0fd93cd9f7 KVM: arm64: vgic: Simplify kvm_vgic_destroy()
    3339028dd082 thunderbolt: Fix memory leak in margining_port_remove()
    69b6596c6e4a lib/vsprintf: Fix %pfwf when current node refcount == 0
    2dd6f2286047 gpio: dwapb: mask/unmask IRQ when disable/enale it
    ab1c3f91d174 bus: ti-sysc: Flush posted write only after srst_udelay
    cd9f9ef59d85 pinctrl: starfive: jh7100: ignore disabled device tree nodes
    7f7efa30fa87 dm-integrity: don't modify bio's immutable bio_vec in integrity_metadata()
    33b976a0f2ae tracing / synthetic: Disable events after testing in synth_event_gen_test_init()
    d2b549d3107b scsi: core: Always send batch on reset or error handling command
    72e472a91c0d Revert "scsi: aacraid: Reply queue mapping to CPUs based on IRQ affinity"
    4258274bacfb selftests: mptcp: join: fix subflow_send_ack lookup
    a8555c86f508 ublk: move ublk_cancel_dev() out of ub->mutex
    1c250f2c5fa5 ubifs: fix possible dereference after free
    3c42cc437d7e btrfs: zoned: no longer count fresh BG region as zone unusable
    b09a67617621 Revert "drm/amd/display: Do not set DRR on pipe commit"
    93da3d8af9ee dm thin metadata: Fix ABBA deadlock by resetting dm_bufio_client
    e9779fac685e loop: do not enforce max_loop hard limit by (new) default
    600043e1856c RISC-V: Fix do_notify_resume / do_work_pending prototype
    764c6790dd71 9p: prevent read overrun in protocol dump tracepoint
    7d09c84df5ab drm/i915: Reject async flips with bigjoiner
    c60e10d1549f smb: client: fix OOB in smbCalcSize()
    bef4315f19ba smb: client: fix OOB in SMB2_query_info_init()
    71fe685b6a47 smb: client: fix potential OOB in cifs_dump_detail()
    277832a306f9 smb: client: fix OOB in cifsd when receiving compounded resps
    3f6da210470c dt-bindings: nvmem: mxs-ocotp: Document fsl,ocotp
    1092525155ea net: ks8851: Fix TX stall caused by TX buffer overrun
    e9df9f089128 net: rfkill: gpio: set GPIO direction
    805611157d68 net: 9p: avoid freeing uninit memory in p9pdu_vreadf
    4c775b4cd8dd Input: soc_button_array - add mapping for airplane mode button
    5df2b49e7e78 net: usb: ax88179_178a: avoid failed operations when device is disconnected
    0f7bffd40a51 Bluetooth: Add more enc key size check
    39347d645081 Bluetooth: MGMT/SMP: Fix address type when using SMP over BREDR/LE
    e14a7ebafe4e Bluetooth: L2CAP: Send reject on command corrupted request
    37f71e2c9f51 Bluetooth: af_bluetooth: Fix Use-After-Free in bt_sock_recvmsg
    470896ecbc92 Bluetooth: hci_event: Fix not checking if HCI_OP_INQUIRY has been sent
    d36d945f94c3 ALSA: hda/realtek: Add quirk for ASUS ROG GV302XA
    9599a5e34ca9 USB: serial: option: add Quectel RM500Q R13 firmware support
    a91fb450df5d USB: serial: option: add Foxconn T99W265 with new baseline
    73b6b6ab03ae USB: serial: option: add Quectel EG912Y module support
    9b968a708678 USB: serial: ftdi_sio: update Actisense PIDs constant names
    db57ef0dd4c2 wifi: cfg80211: fix certs build to not depend on file order
    ec350809cd98 wifi: cfg80211: Add my certificate
    228d9960ae81 usb-storage: Add quirk for incorrect WP on Kingston DT Ultimate 3.0 G3
    82f913724bc9 ALSA: usb-audio: Increase delay in MOTU M quirk
    01bc94b58192 iio: triggered-buffer: prevent possible freeing of wrong buffer
    c508a99fbc21 iio: adc: ti_am335x_adc: Fix return value check of tiadc_request_dma()
    1b670b0eeefa iio: common: ms_sensors: ms_sensors_i2c: fix humidity conversion time table
    1fe4c93fc77b scsi: bnx2fc: Fix skb double free in bnx2fc_rcv()
    66ccf5f7437a Input: ipaq-micro-keys - add error handling for devm_kmemdup
    3637f6bdfe2c interconnect: qcom: sm8250: Enable sync_state
    90aa62722d3e iio: imu: inv_mpu6050: fix an error code problem in inv_mpu6050_read_raw
    50d60bfc9681 interconnect: Treat xlate() returning NULL node as an error
    900c1b3c62f9 drm/i915: Fix ADL+ tiled plane stride when the POT stride is smaller than the original
    de4349bdf9f3 drm/i915/mtl: Add MTL for remapping CCS FBs
    52c1a67dd303 drm/i915/dpt: Only do the POT stride remap when using DPT
    7afe8109456d drm/i915: Fix intel_atomic_setup_scalers() plane_state handling
    b097184f8026 drm/i915: Relocate intel_atomic_setup_scalers()
    99767368b7fa drm/i915/mtl: limit second scaler vertical scaling in ver >= 14
    387e8077593e nvme-pci: fix sleeping function called from interrupt context
    b506833ee887 gpiolib: cdev: add gpio_device locking wrapper around gpio_ioctl()
    6eb51df9e739 pinctrl: at91-pio4: use dedicated lock class for IRQ
    903bb0c7b81f x86/xen: add CPU dependencies for 32-bit build
    2550d96aa248 i2c: aspeed: Handle the coalesced stop conditions with the start conditions.
    5c11f637999c ASoC: fsl_sai: Fix channel swap issue on i.MX8MP
    264d8c9b7f7f ASoC: hdmi-codec: fix missing report for jack initial status
    9b4c95a63e2d afs: Fix use-after-free due to get/remove race in volume tree
    17605162e26b afs: Fix overwriting of result of DNS query
    791d5409cdb9 keys, dns: Allow key types (eg. DNS) to be reclaimed immediately on expiry
    3e617c7e39eb net: check dev->gso_max_size in gso_features_check()
    087b96adc694 afs: Fix dynamic root lookup DNS check
    9c6ea7abe3ed afs: Fix the dynamic root's d_delete to always delete unused dentries
    a70c2dd74198 net: check vlan filter feature in vlan_vids_add_by_dev() and vlan_vids_del_by_dev()
    ea03196ebc47 net: mana: select PAGE_POOL
    a1986c429c68 Bluetooth: hci_event: shut up a false-positive warning
    fc6471510582 Bluetooth: Fix deadlock in vhci_send_frame
    3e0d1585799d net/rose: fix races in rose_kill_by_device()
    51e28c37d960 ethernet: atheros: fix a memleak in atl1e_setup_ring_resources
    6707baabe432 net: sched: ife: fix potential use-after-free
    31edab12229c net: Return error from sk_stream_wait_connect() if sk_wait_event() fails
    9d00421e1430 octeontx2-pf: Fix graceful exit during PFC configuration failure
    b0cee294022f net: mscc: ocelot: fix eMAC TX RMON stats for bucket 256-511 and above
    72b8de75b394 net/mlx5e: Correct snprintf truncation handling for fw_version buffer used by representors
    18b4a5e0c3f5 net/mlx5e: Correct snprintf truncation handling for fw_version buffer
    94c8485b449e net/mlx5: Fix fw tracer first block check
    1750f55d855a net/mlx5e: fix a potential double-free in fs_udp_create_groups
    01877daaeff0 net/mlx5e: Fix a race in command alloc flow
    f3739647a737 net/mlx5: Re-organize mlx5_cmd struct
    148ec770c63e net/mlx5: Prevent high-rate FW commands from populating all slots
    bd6e09162910 net/mlx5: Introduce and use opcode getter in command interface
    0f5de95fa266 net/mlx5e: Fix slab-out-of-bounds in mlx5_query_nic_vport_mac_list()
    31037cfceff8 Revert "net/mlx5e: fix double free of encap_header"
    8a84413505a6 Revert "net/mlx5e: fix double free of encap_header in update funcs"
    2f635af7d6b4 wifi: mac80211: mesh_plink: fix matches_local logic
    7a07af00aa88 wifi: mac80211: mesh: check element parsing succeeded
    40ba7f9ab82a wifi: mac80211: check if the existing link config remains unchanged
    e90da1c7c6e7 wifi: iwlwifi: pcie: add another missing bh-disable for rxq->lock
    912652366f9e s390/vx: fix save/restore of fpu kernel context
    0a6e700c3d7b reset: Fix crash when freeing non-existent optional resets
    930a61fd795d ARM: OMAP2+: Fix null pointer dereference and memory leak in omap_soc_device_init
    228a00a77d50 ARM: dts: dra7: Fix DRA7 L3 NoC node register size
    913463f8e6cd drm/amd/display: fix hw rotated modes when PSR-SU is enabled
    a4f48f77bbe7 HID: i2c-hid: Add IDEA5002 to i2c_hid_acpi_blacklist[]
    413bef367ba6 HID: i2c-hid: acpi: Unify ACPI ID tables format
    57a6b0a464eb bpf: Fix prog_array_map_poke_run map poke update
    4768f82272a7 kasan: disable kasan_non_canonical_hook() for HW tags

(From OE-Core rev: ef32e8e1aae94b75247cd94f837fb34fff029a03)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
(cherry picked from commit a0bfc167a283372297881baa696bc91bcea7787a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Bruce Ashfield
d5357b5be6 linux-yocto/6.1: update to v6.1.69
Updating  to the latest korg -stable release that comprises
the following commits:

    4aa6747d9352 Linux 6.1.69
    325556d46bfd r8152: fix the autosuspend doesn't work
    4c2ad8e39c62 r8152: remove rtl_vendor_mode function
    1d82735f4bae r8152: avoid to change cfg for all devices
    9b3d3a7f3c4d net: tls, update curr on splice as well
    869aee35cf61 ring-buffer: Have rb_time_cmpxchg() set the msb counter too
    c425a772fc58 ring-buffer: Do not try to put back write_stamp
    b15cf1486999 ring-buffer: Fix a race in rb_time_cmpxchg() for 32 bit archs
    edbc03d671f7 ring-buffer: Fix writing to the buffer with max_data_size
    6d98d594a5b6 ring-buffer: Have saved event hold the entire event
    7888b607a981 ring-buffer: Do not update before stamp when switching sub-buffers
    7043c4610ca7 tracing: Update snapshot buffer on resize if it is allocated
    31785cf8171e ring-buffer: Fix memory leak of free page
    8c3b77ad4e91 smb: client: fix OOB in smb2_query_reparse_point()
    d8541c50c671 smb: client: fix NULL deref in asn1_ber_decoder()
    9f528a8e6832 smb: client: fix OOB in receive_encrypted_standard()
    7b0faa541f15 drm/i915: Fix remapped stride with CCS on ADL+
    20907717918f drm/amd/display: Disable PSR-SU on Parade 0803 TCON again
    a9e2de19433f drm/amdgpu: fix tear down order in amdgpu_vm_pt_free
    730b3322b8c3 btrfs: don't clear qgroup reserved bit in release_folio
    9b670e1b644c btrfs: free qgroup reserve when ORDERED_IOERR is set
    da9b7c651c65 mm/shmem: fix race in shmem_undo_range w/THP
    8ec07b0620ac mm/mglru: fix underprotected page cache
    40f3ad769ec8 dmaengine: stm32-dma: avoid bitfield overflow assertion
    78b2ba39beef drm/amdgpu/sdma5.2: add begin/end_use ring callbacks
    6a1472d9be02 team: Fix use-after-free when an option instance allocation fails
    b01af9281851 arm64: mm: Always make sw-dirty PTEs hw-dirty in pte_modify
    0b071a3266a8 ext4: prevent the normalized size from exceeding EXT_MAX_BLOCKS
    f2955dd3e933 soundwire: stream: fix NULL pointer dereference for multi_link
    56f762659a5e btrfs: do not allow non subvolume root targets for snapshot
    557f7ad06460 perf: Fix perf_event_validate_size() lockdep splat
    a684235d3035 HID: hid-asus: add const to read-only outgoing usb buffer
    2b9e16bc1ce5 arm64: add dependency between vmlinuz.efi and Image
    6cb0c71c6e7c net: usb: qmi_wwan: claim interface 4 for ZTE MF290
    f7ce765744a3 asm-generic: qspinlock: fix queued_spin_value_unlocked() implementation
    fba6e958caa1 HID: multitouch: Add quirk for HONOR GLO-GXXX touchpad
    8f0c8585856c HID: hid-asus: reset the backlight brightness level on resume
    de78e4bdcb5e nbd: pass nbd_sock to nbd_read_reply() instead of index
    d482bb566344 HID: add ALWAYS_POLL quirk for Apple kb
    541b183be92f HID: glorious: fix Glorious Model I HID report
    42b4ab97bee5 platform/x86: intel_telemetry: Fix kernel doc descriptions
    355170a7ecac LoongArch: Implement constant timer shutdown interface
    adb6a907540c LoongArch: Add dependency between vmlinuz.efi and vmlinux.efi
    943cde1f3daa selftests/bpf: fix bpf_loop_bench for new callback verification scheme
    1b40f23e702e nvme: catch errors from nvme_configure_metadata()
    6cb3741c4582 nvme-auth: set explanation code for failure2 msgs
    83bb13bf6c23 nbd: fold nbd config initialization into nbd_alloc_config()
    02a4b14d17ab bcache: avoid NULL checking to c->root in run_cache_set()
    3d3f72efc77d bcache: add code comments for bch_btree_node_get() and __bch_btree_node_alloc()
    bc17ec4215e2 bcache: remove redundant assignment to variable cur_idx
    be0e2a28e06a bcache: avoid oversize memory allocation by small stripe_size
    94070fd6689e blk-cgroup: bypass blkcg_deactivate_policy after destroying
    e52d0eb48efd blk-throttle: fix lockdep warning of "cgroup_mutex or RCU read lock required!"
    5fb6772cb573 stmmac: dwmac-loongson: Add architecture dependency
    82c386d73689 usb: aqc111: check packet for fixup for true limit
    d6c02295c824 x86/hyperv: Fix the detection of E820_TYPE_PRAM in a Gen2 VM
    ae818b2a2e78 drm/mediatek: Add spinlock for setting vblank event in atomic_begin
    73c240e1ec73 ksmbd: fix wrong name of SMB2_CREATE_ALLOCATION_SIZE
    0c196180b588 PCI: loongson: Limit MRRS to 256
    56d1891594d6 Revert "PCI: acpiphp: Reassign resources on bridge if necessary"
    1ec80b9d4310 ALSA: hda/realtek: Apply mute LED quirk for HP15-db
    eeeb91216a1b ALSA: hda/hdmi: add force-connect quirks for ASUSTeK Z170 variants
    82413e9e4255 ALSA: hda/hdmi: add force-connect quirk for NUC5CPYB
    0dc6a06c4843 fuse: dax: set fc->dax to NULL in fuse_dax_conn_free()
    36e2497ac7ad cred: switch to using atomic_long_t
    a51f71cd4f56 net: atlantic: fix double free in ring reinit logic
    1646b2929d5e appletalk: Fix Use-After-Free in atalk_ioctl
    d835299dde3e net: stmmac: Handle disabled MDIO busses from devicetree
    9aac81639e52 dpaa2-switch: do not ask for MDB, VLAN and FDB replay
    a81c7069af05 dpaa2-switch: fix size of the dma_unmap
    9a23be1e5806 vsock/virtio: Fix unsigned integer wrap around in virtio_transport_has_space()
    2027dd67c3cf sign-file: Fix incorrect return values check
    918991db7de0 stmmac: dwmac-loongson: Make sure MDIO is initialized before use
    63387fe87fc5 net: ena: Fix XDP redirection error
    2664b56420b3 net: ena: Fix xdp drops handling due to multibuf packets
    e312eed27aba net: ena: Destroy correct number of xdp queues upon failure
    55a43bae0886 net: Remove acked SYN flag from packet in the transmit queue correctly
    9bb392ee53af qed: Fix a potential use-after-free in qed_cxt_tables_alloc
    112792ad36c4 iavf: Handle ntuple on/off based on new state machines for flow director
    11c314a5a44a iavf: Introduce new state machines for flow director
    01540ee2366a net/rose: Fix Use-After-Free in rose_ioctl
    2de2a6cbe14f atm: Fix Use-After-Free in do_vcc_ioctl
    3a76dcab2e3a octeontx2-af: Update RSS algorithm index
    d0f0786f8c5a octeontx2-pf: Fix promisc mcam entry action
    34b630626a97 octeontx2-af: fix a use-after-free in rvu_nix_register_reporters
    e4ce3dc7a0ed net: fec: correct queue selection
    a00dbc6dec4b net: vlan: introduce skb_vlan_eth_hdr()
    7cfbb8bea36a atm: solos-pci: Fix potential deadlock on &tx_queue_lock
    35c63d366fff atm: solos-pci: Fix potential deadlock on &cli_queue_lock
    525904a15791 bnxt_en: Fix HWTSTAMP_FILTER_ALL packet timestamp logic
    ac6125174190 bnxt_en: Fix wrong return value check in bnxt_close_nic()
    8217f9362c79 bnxt_en: Save ring error counters across reset
    53cacb8cdc7e bnxt_en: Clear resource reservation during resume
    ab410db6e9aa qca_spi: Fix reset behavior
    7e177e5a40d0 qca_debug: Fix ethtool -G iface tx behavior
    2127142c179c qca_debug: Prevent crash on TX ring changes
    0da41ddfb291 net: ipv6: support reporting otherwise unknown prefix flags in RTM_NEWPREFIX
    514232495aa5 net/mlx5e: Fix possible deadlock on mlx5e_tx_timeout_work
    1e8396aab21d HID: lenovo: Restrict detection of patched firmware only to USB cptkbd
    e0cda159c865 afs: Fix refcount underflow from error handling race
    a7e6477cc3af ksmbd: fix memory leak in smb2_lock()
    8925ab33b391 ext4: fix warning in ext4_dio_write_end_io()
    1c077acf246c powerpc/ftrace: Fix stack teardown in ftrace_no_trace
    34ae53cccf53 r8152: add vendor/device ID pair for ASUS USB-C2500
    cac1218b32d7 r8152: add vendor/device ID pair for D-Link DUB-E250
    893597cbabfb r8152: add USB device driver for config selection
    b80d0c6e5bae perf/x86/uncore: Don't WARN_ON_ONCE() for a broken discovery table

(From OE-Core rev: 15017ac95f0702a162caed2b022709504bd751d4)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7a4364e4733c8b8757927596dcbf7d6230f1da96)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Wang Mingyu
88e9607d71 kea: upgrade 2.4.0 -> 2.4.1
Changelog:
=========
-The library version numbers have been bumped up for the Kea 2.4.1 stable release.
-Fixed interface redetection which had stopped working since Kea 2.3.6.
-Fixed a race condition in free lease queue allocator

fix-multilib-conflict.patch
fix_pid_keactrl.patch
refreshed for 2.4.

(From OE-Core rev: fcf269bd8fc607882960cebc2c6e2e557517647d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7afab39fd1c3239df3bb2fa49b79a5efaaaf9db6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Markus Volk
d18ebf9271 libadwaita: update 1.4.0 -> 1.4.2
=============
Version 1.4.2
=============

- Really fix build with libappstream 1.0

=============
Version 1.4.1
=============

- Fix build with MSVC
- Fix build with libappstream 1.0
- AdwCarousel
  - Fix carousel scroll behavior with page reordering
- AdwComboRow
  - Fix focus when opening the popover
  - Set the correct state on the selected checkmark
- AdwNavigationView
  - Fix a warning message
- AdwTabOverview
  - Allow child focus on out animations
- AdwTabView
  - Keep view alive during ::page-detached
  - Fix crashes when using :pages
- Docs
  - Fix erroneous <child> use in breakpoints migration guide
- Translation updates
  - Russian
  - Serbian

(From OE-Core rev: 45e035fd044491fbd88aedf6b99ae6eddf1611f5)

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7c02a1169197fd5452d5b323dd523f6712245cb6)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Wang Mingyu
18995b95be libva-utils: upgrade 2.20.0 -> 2.20.1
Changelog:
============
-Fix some coverity issues exposed in encode
-Fixed VPP coverity issues

(From OE-Core rev: 3ff4aee01896dc301250d38acf0a67629d317db8)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 2bd1443d047ba56196b2eaa7d59b3c39c9c0f49b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Wang Mingyu
1655d39bed libatomic-ops: upgrade 7.8.0 -> 7.8.2
Changelog:
=========
* Eliminate 'atomic_thread_fence is unsupported with tsan' gcc-11 warning
* Eliminate 'comparing signed/unsigned values' lcc warning in add_chunk_as
* Fix 'undefined reference to AO_pt_lock' if configure is using clang-16
* Fix 'undefined reference to __atomic_load/store/cas_16' Mingw64-gcc error
* Fix 'undefined reference' linker errors if shared build on OpenBSD (CMake)
* Fix get_chunk for case of mmap area is located before AO_initial_heap
* Fix typo in AO_HAVE_compare_and_swap_double name in atomic_ops_stack.h
* Fix typo in comment of run_one_test of test_stack
* Fix typos in comments of atomic_ops_malloc.c and atomic_ops_stack.c/h
* Update cmake minimum required version to 3.5

(From OE-Core rev: cae10312a45a686b118596e0e07000d3fae55f7a)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1dea52da8cd00e6619890b8c4dcece8b5ff83f74)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-31 04:10:24 -10:00
Lee Chee Yang
8b279cacc2 migration-guide: add release notes for 4.3.2
(From yocto-docs rev: b1fd42b9cf0fbdf5792d4ae7eae3a9214302d562)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:48 -10:00
Jörg Sommer
11ee0c1e4e documentation: Add UBOOT_BINARY, extend UBOOT_CONFIG
UBOOT_CONFIG accepts a third parameter for the UBOOT_BINARY that isn't
documented. To show its usage another example from the meta-freescale layer
was picked.

(From yocto-docs rev: f315078495003bdaff111a70908d7a698b2065eb)

Signed-off-by: Jörg Sommer <joerg.sommer@navimatix.de>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:48 -10:00
Enguerrand de Ribaucourt
5c09156703 manuals: document VSCode extension
The VSCode extension is now officially maintained and published by the
Yocto Project so it should be referenced in the manuals to help users
discover it.

I located the most relevant places to reference the extension by looking
at how the old Eclipse plugin was documented in the 2.6 manuals as well
as the current Toaster references.

(From yocto-docs rev: 6294cbeda2809a61b7689dec25d11e99f6f5016b)

Signed-off-by: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@savoirfairelinux.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:48 -10:00
Maxin B. John
049aadc73d ref-manual: classes: remove insserv bbclass
insserv.bbclass was removed from oe-core:

commit e6bb5dbb62
Author: Richard Purdie <richard.purdie@linuxfoundation.org>
Date:   Sun May 10 12:30:49 2015 +0100

insserv: Remove

(From yocto-docs rev: d6da5784877a2c777461263d5a93d703fc0f94d9)

Signed-off-by: Maxin John <maxin.john@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:48 -10:00
Ilya A. Kriveshko
f5f8ec78d4 dev-manual: update license manifest path
After changes in openembedded-core@1a4ab9f, image licenses moved one
directory down into ${SSTATE_PKGARCH} subdir.

(From yocto-docs rev: 244481a93a67c781ae846ef3b8bd8f8f30906a86)

Signed-off-by: Ilya A. Kriveshko <iillyyaa@gmail.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:48 -10:00
Michael Opdenacker
1e3f7444ba contributor-guide: use "apt" instead of "aptitude"
As used in the rest of the manual.

(From yocto-docs rev: dc4a34572bc92b1b69c024c8bdf8816cff6f8db7)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:48 -10:00
Simone Weiß
87f57b7ee0 dev-manual: start.rst: Update use of Download page
The yocto website has changed its structure. Update the section for
Accessing the Downloads page to match the new structure.

(From yocto-docs rev: 3e535a08d50fc2f5c3d1a56a0435545eeaf17091)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Joshua Watt
1bcde5b6a4 rpcbind: Specify state directory under /run
The state directory must be correctly specified as under /run because
RequiresMountsFor doesn't follow symbolic links which means the unit may
run before /run is mounted if the default of /var/run/rpcbind is kept

(From OE-Core rev: 3d5a85f173dffa14a6829edb9e6adbd5a3946d9c)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 561e853e97e2cfa325ed310233577a5e124d9049)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Jeremy A. Puhlman
a63b21a693 create-spdx-2.2: combine spdx can try to write before dir creation
On occasion a file is attmpeded to be opened prior to the
creation of the spdx_workdir. Create the directory before
the open, just in case.

File: '/build/layers/poky/meta/classes/create-spdx-2.2.bbclass', lineno: 1081, function: combine_spdx
     1077:        )
     1078:
     1079:    image_spdx_path = spdx_workdir / (rootfs_name + ".spdx.json")
     1080:
 *** 1081:    with image_spdx_path.open("wb") as f:
     1082:        doc.to_json(f, sort_keys=True, indent=get_json_indent(d))

(From OE-Core rev: 1b90a9c9c8180c080f780c8dd428fad3f55e879d)

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit bb9f2a9c0ff5dcdeaf1a0beb6a614d0d022a2481)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Peter Kjellerstedt
5d5c77bc4c devtool: modify: Handle recipes with a menuconfig task correctly
This avoids the following error when running `devtool modify` on a
recipe that has a menuconfig task, but does not have
KCONFIG_CONFIG_ENABLE_MENUCONFIG set.

  .../temp/run.do_configure.4163366: line 152:
  ${@ oe.types.boolean('${KCONFIG_CONFIG_ENABLE_MENUCONFIG}') }: bad substitution
  WARNING: .../temp/run.do_configure.4163366:152 exit 1 from
  '[ ${@ oe.types.boolean('${KCONFIG_CONFIG_ENABLE_MENUCONFIG}') } = True ]'

(From OE-Core rev: 91192e861f0f764799f0ae9943cf387b18c70820)

Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit e87e6fa84a0c4b5ac8e736dc62f6e08390ba2436)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Richard Purdie
edc3370b86 sstate: Fix dir ownership issues in SSTATE_DIR
We currently use mkdir -p to create missing parent directories within SSTATE_DIR.
Reading the man page for mkdir mentions that parent directories are created with
the current umask, *not* the mode passed upon the commandline.

We could fix this by setting and resetting the umask but since we already have
decent python code able to do this, move to using that injecting a python function
into the chain of functions already present.

This should help fix the occasional sstate directory creation with the wrong
permissions.

[YOCTO #14385]

(From OE-Core rev: 90d1e97b7c8bce0fb49714923989c63d243eb2da)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit ae642a4b038c6946e6c8aa9778bf09099d938a31)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Chen Qi
229061248d sudo: upgrade from 1.9.15p2 to 1.9.15p5
(cherry picked from OE-Core rev 4b2eccc0ee3f2906f9b04de194b9df6e24c2cdf4)

(From OE-Core rev: e2cb6c1b5e90822bf9e73f43f8bb30259d2b75f6)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Xiangyu Chen
5a4036003c sudo: upgrade 1.9.14p3 -> 1.9.15p2
Changelog:
===========
1.9.15p2:
- Fixed a bug on BSD systems where sudo would not restore the
terminal settings on exit if the terminal had parity enabled.

1.9.15p1:
- Fixed a bug introduced in sudo 1.9.15 that prevented LDAP-based
sudoers from being able to read the ldap.conf file.

1.9.15:
- Fixed an undefined symbol problem on older versions of macOS
when "intercept" or "log_subcmds" are enabled in sudoers.
- Fixed "make check" failure related to getpwent(3) wrapping
on NetBSD.
- Fixed the warning message for "sudo -l command" when the command
is not permitted.  There was a missing space between "list" and
the actual command due to changes in sudo 1.9.14.
- Fixed a bug where output could go to the wrong terminal if
"use_pty" is enabled (the default) and the standard input, output
or error is redirected to a different terminal.  Bug #1056.
- The visudo utility will no longer create an empty file when the
specified sudoers file does not exist and the user exits the
editor without making any changes.  GitHub issue #294.
- The AIX and Solaris sudo packages on www.sudo.ws now support
"log_subcmds" and "intercept" with both 32-bit and 64-bit
binaries.  Previously, they only worked when running binaries
with the same word size as the sudo binary.  GitHub issue #289.
- The sudoers source is now logged in the JSON event log.  This
makes it possible to tell which rule resulted in a match.
Running "sudo -ll command" now produces verbose output that
includes matching rule as well as the path to the sudoers file
the matching rule came from.  For LDAP sudoers, the name of the
matching sudoRole is printed instead.
- The embedded copy of zlib has been updated to version 1.3.
- The sudoers plugin has been modified to make it more resilient
to ROWHAMMER attacks on authentication and policy matching.
This addresses CVE-2023-42465.
- The sudoers plugin now constructs the user time stamp file path
name using the user-ID instead of the user name.  This avoids a
potential problem with user names that contain a path separator
('/') being interpreted as part of the path name.  A similar
issue in sudo-rs has been assigned CVE-2023-42456.
- A path separator ('/') in a user, group or host name is now
replaced with an underbar character ('_') when expanding escapes
in @include and @includedir directives as well as the "iolog_file"
and "iolog_dir" sudoers Default settings.
- The "intercept_verify" sudoers option is now only applied when
the "intercept" option is set in sudoers.  Previously, it was
also applied when "log_subcmds" was enabled.  Sudo 1.9.14
contained an incorrect fix for this.  Bug #1058.
- Changes to terminal settings are now performed atomically, where
possible.  If the command is being run in a pseudo-terminal and
the user's terminal is already in raw mode, sudo will not change
the user's terminal settings.  This prevents concurrent sudo
processes from restoring the terminal settings to the wrong values.
GitHub issue #312.
- Reverted a change from sudo 1.9.4 that resulted in PAM session
modules being called with the environment of the command to be
run instead of the environment of the invoking user.
GitHub issue #318.
- New Indonesian translation from translationproject.org.
- The sudo_logsrvd server will now raise its open file descriptor
limit to the maximum allowed value when it starts up.  Each
connection can require up to nine open file descriptors so the
default soft limit may be too low.
- Better log message when rejecting a command if the "intercept"
option is enabled and the "intercept_allow_setid" option is
disabled.  Previously, "command not allowed" would be logged and
the user had no way of knowing what the actual problem was.
- Sudo will now log the invoking user's environment as "submitenv"
in the JSON logs.  The command's environment ("runenv") is no
longer logged for commands rejected by the sudoers file or an
approval plugin.

(cherry picked from OE-Core rev 5ea298680a8f17d3b808a2c43b0182e9c391f663)

(From OE-Core rev: 105ecb87e78b9133e4188a8b5c604ea0e9a47910)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Lee Chee Yang
ddeefb3df3 qemu: 8.1.2 -> 8.1.4
update include fix for CVE-2023-3019.
CVE-2023-3019 : 88e79a2dfd

(From OE-Core rev: 2a2f2b5be2070544f0ab98144e4c31c749b7d504)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Anuj Mittal
ca5733a6dd glib-2.0: upgrade 2.78.1 -> 2.78.3
(From OE-Core rev: 71696c0b89751c1a975025086da0c6f52de00cd8)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 419503d3d3402b683979696f248cd42f05c282b7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Anuj Mittal
8451fb79f5 base-passwd: upgrade 3.6.2 -> 3.6.3
(From OE-Core rev: a13fd3a4182a97ee0c8a2b49519e897b92f3a987)

Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 74d165f5baacd0cd94eb90396b0a3119281df91d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Wang Mingyu
7337063d04 xwayland: upgrade 23.2.2 -> 23.2.3
upgrade include fix for CVE-2023-6377 CVE-2023-6478

(Cherry-pick from OE-Core rev: bf0bb7b94ed4930145af5f1fb3836157daceb6bb)

(From OE-Core rev: 3882f403a756563a90c9e517211adebabfb0499d)

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Robert Yang
7faa0d9b75 nfs-utils: Upgrade 2.6.3 -> 2.6.4
* Remove backported patch 0001-configure.ac-libevent-and-libsqlite3-checked-when-nf.patch.
* Add 0001-reexport.h-Include-unistd.h-to-compile-with-musl.patch to fix build with musl

(From OE-Core rev: fcd5623dbeb302b3f2e9043fd66cc000f81d206b)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
(cherry picked from commit ff416e9fd6a1a65cf59ecd662613581b6190e05e)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Lee Chee Yang
1d282ef078 curl: Fix CVE-2023-46219
Upstream docs for CVE-2023-46219:
https://curl.se/docs/CVE-2023-46219.html

(From OE-Core rev: ef3ade93a0cc249046503920c97813df95d53b3c)

Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-27 08:09:47 -10:00
Simone Weiß
dbc8727bea dev-manual: start.rst: Update use of Download page
The yocto website has changed its structure. Update the section for
Accessing the Downloads page to match the new structure.

(From yocto-docs rev: fda5e5a915d3441252eaf0c7a9ede8d13fb4539e)

Signed-off-by: Simone Weiß <simone.p.weiss@posteo.com>
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Richard Purdie
a48d081bd9 pseudo: Update to pull in syncfs probe fix
Pulls in the changes:

Eilís 'pidge' Ní Fhlannagáin (1):
      subports: Add _GNU_SOURCE for syncfs probe

Richard Purdie (1):
      SECURITY.md: Add file

Wu Zhenyu (1):
      pseudo.1: Fix a typo

(From OE-Core rev: ff0dc585479136e3d031da08ef15e8e5c6e92c8d)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 9aab5be508c0dd88a4d9767f65ba5b6fcd5fb9dd)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Massimiliano Minella
e9623c9751 zstd: fix LICENSE statement
zstd is dual-licensed under BSD _OR_ GPLv2. License wording in the
README for v1.5.5 is misleading, but license headers in the code clearly
state that there is a choice between the two licenses.

(From OE-Core rev: 6c9a5fefeaa9225c193a0445bae869e6844bf34d)

Signed-off-by: Massimiliano Minella <massimiliano.minella@se.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 40f85de590c188c9c3985e64a83efaf06b0b4fbc)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Ross Burton
68ad4cd71a avahi: update URL for new project location
Avahi has moved to a new parent organisation on GitHub, so update the
URLs to match.

(From OE-Core rev: b541fbeb99df15a1548f93ddbd654fb629ebc2ce)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 02caef1567186f250e64ae3ef84fcff33d7323e4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Zahir Hussain
da81312c3d cmake: Unset CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
As discussion in [YOCTO #14717] cmake contains a OEToolchainConfig.cmake
file to configure the toolchain correctly in cross-compile build for recipes
using cmake.

The variable CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES value updates incorrectly
during do_compile the code. Due to this getting sporadic error like below,

fatal error: stdlib.h: No such file or directory
|    75 | #include_next <stdlib.h>
|       |               ^~~~~~~~~~
| compilation terminated.
| ninja: build stopped: subcommand failed.
| WARNING: exit code 1 from a shell command.

As cmake already correctly initializes the variable from environment,
So we have to unset it in the toolchain file to avoid overwriting the
variable definition again.

(From OE-Core rev: 5599eaefee3818c865d71f5b7c3cc04fc01de848)

Signed-off-by: aszh07 <mail2szahir@gmail.com>
Signed-off-by: Zahir Hussain <zahir.basha@kpit.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 5aeada5793af53e8c93940952d4f314474dca4c2)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Joao Marcos Costa
bce087b5e8 documentation.conf: fix do_menuconfig description
The current description is only pertinent to the kernel, even though
do_menuconfig task is used by other projects, such as Busybox and
U-Boot.

Replace "for the kernel" by an agnostic alternative (i.e., "in the
compilation directory").

(From OE-Core rev: adf91e340d5d8121c87585fd7340f947b21396b1)

Signed-off-by: Joao Marcos Costa <joaomarcos.costa@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 52e053bce5e359995ebdaa21d6899f04ad2306a0)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Jason Andryuk
6ed9c8671e linux-firmware: Create bnx2x subpackage
bnx2x is another broadcom ethernet adapter with its own firmware.  Place
it into its own subpackage.

(From OE-Core rev: bb9eeafb13a69fe71919832b89a01ef8b561f7d7)

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 414f71bb692da7ca1899b07ebb689edeb53f8e0d)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Jason Andryuk
95bc902c13 linux-firmware: Change bnx2 packaging
The bnx2 module uses both the mips and rv2p files, so package them all
together.  Remove -mips from the package name, but add an RPROVIDES for
compatibility.

(From OE-Core rev: 49ca6eb5ef93bf90c682ea06c83db147aed250fa)

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 46f2b7b3bebc7efdb4199cdfe386dc16c049d8d7)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Jason Andryuk
b3aeebb469 linux-firmware: Package iwlwifi .pnvm files
The iwlwifi uses the .pnvm files for newer AX210+ cards, so package them
into the iwlwifi-misc subpackage.

(From OE-Core rev: d4f7a9f4715ba2eda753ff6bac07f6905233c3d7)

Signed-off-by: Jason Andryuk <jandryuk@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 056c4de1422ff06745c5669f871a1bb6f5390d01)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Jose Quaresma
0eb72668a8 go: update 1.20.11 -> 1.20.12
Upgrade to latest 1.20.x release [1]:

$ git log --oneline go1.20.11..go1.20.12
97c8ff8d53 (tag: go1.20.12, origin/release-branch.go1.20) [release-branch.go1.20] go1.20.12
6446af942e [release-branch.go1.20] net/http: limit chunked data overhead
77397ffcb2 [release-branch.go1.20] crypto/rand,runtime: revert "switch RtlGenRandom for ProcessPrng"
d77307f855 [release-branch.go1.20] cmd/compile: fix findIndVar so it does not match disjointed loop headers
1bd76576fe [release-branch.go1.20] crypto/rand,runtime: switch RtlGenRandom for ProcessPrng
1b59b017db [release-branch.go1.20] path/filepath: consider \\?\c: as a volume on Windows
46bc33819a [release-branch.go1.20] cmd/go/internal/vcs: error out if the requested repo does not support a secure protocol
e1dc209be8 [release-branch.go1.20] cmd/go/internal/modfetch/codehost: set core.longpaths in Git repos on Windows

[1] https://github.com/golang/go/compare/go1.20.11...go1.20.12

(From OE-Core rev: 3e7981c7e575b0e16a7b7aba47993e9c58a719c5)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 8515842b5c503b9a8840675d9cbcfe147d25c1d4)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Jose Quaresma
df1decb1e1 go: update 1.20.10 -> 1.20.11
Upgrade to latest 1.20.x release [1]:

$ git log --oneline go1.20.10..go1.20.11
1d0d4b149c (tag: go1.20.11) [release-branch.go1.20] go1.20.11
46fb781685 [release-branch.go1.20] path/filepath: fix various issues in parsing Windows paths
998fdce3ae [release-branch.go1.20] net/http: pull http2 underflow fix from x/net/http2
d48639094b [release-branch.go1.20] cmd/link: split text sections for arm 32-bit
c8fdffb790 [release-branch.go1.20] all: tidy dependency versioning after release

[1] https://github.com/golang/go/compare/go1.20.10...go1.20.11

(From OE-Core rev: 0ff60c9bf0332a9b6305e082a6ecae7c963d367e)

Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 09fb378fb9c60c383f0ac068bbe3692f047aa617)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Khem Raj
550894f62b tiff: Backport fixes for CVE-2023-6277
(From OE-Core rev: a2d0f36a89ba7414cb5aade202c0367097f6308b)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d115e17ad7775cf5bbfd402e98e61f362ac96efa)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:08 -10:00
Xiangyu Chen
d8929a6e1a shadow: Fix for CVE-2023-4641
shadow-utils: possible password leak during passwd(1) change

CVE: CVE-2023-4641

Upstream-Status: Backport
[65c88a43a2]

(From OE-Core rev: d6ca15b3df54e2973a8e21814a73016255a1cb9b)

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7942df17d9dfcf690106b8b86506d496e6251327)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-16 07:54:07 -10:00
Michael Opdenacker
61a59d00a0 ref-manual: update tested and supported distros
According to currently active workers
https://autobuilder.yoctoproject.org/typhoon/#/workers
and to the "workers_prev_releases" definition
in https://git.yoctoproject.org/yocto-autobuilder2/tree/config.py

Also correct the text saying that SANITY_TESTED_DISTROS
lists currently tested distros.

Also replace AlmaLinux 8.8 and 9.2 by just AlmaLinux 8 and 9,
as we update our workers anyway.

(From yocto-docs rev: f169122a4594d7733ebc478d34aaf269801fc068)

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-10 05:02:09 -10:00
Joshua Watt
afe1706a77 bitbake: asyncrpc: Add context manager API
Adds context manager API for the asyncrcp client class which allow
writing code that will automatically close the connection like so:

    with hashserv.create_client(address) as client:
       ...

Rework the bitbake-hashclient tool and PR server to use this new API to
fix warnings about unclosed event loops when exiting

(Bitbake rev: 52226a7244968c8dad6f4ee9ccec57ac1979217a)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d01d684a0f6398270fe35ed59b7d28f3fd9b7e41)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2024-01-10 05:02:09 -10:00
206 changed files with 4537 additions and 1100 deletions

View File

@@ -56,25 +56,24 @@ def main():
nonlocal missed_hashes
nonlocal max_time
client = hashserv.create_client(args.address)
with hashserv.create_client(args.address) as client:
for i in range(args.requests):
taskhash = hashlib.sha256()
taskhash.update(args.taskhash_seed.encode('utf-8'))
taskhash.update(str(i).encode('utf-8'))
for i in range(args.requests):
taskhash = hashlib.sha256()
taskhash.update(args.taskhash_seed.encode('utf-8'))
taskhash.update(str(i).encode('utf-8'))
start_time = time.perf_counter()
l = client.get_unihash(METHOD, taskhash.hexdigest())
elapsed = time.perf_counter() - start_time
start_time = time.perf_counter()
l = client.get_unihash(METHOD, taskhash.hexdigest())
elapsed = time.perf_counter() - start_time
with lock:
if l:
found_hashes += 1
else:
missed_hashes += 1
with lock:
if l:
found_hashes += 1
else:
missed_hashes += 1
max_time = max(elapsed, max_time)
pbar.update()
max_time = max(elapsed, max_time)
pbar.update()
max_time = 0
found_hashes = 0
@@ -174,9 +173,8 @@ def main():
func = getattr(args, 'func', None)
if func:
client = hashserv.create_client(args.address)
return func(args, client)
with hashserv.create_client(args.address) as client:
return func(args, client)
return 0

View File

@@ -126,6 +126,12 @@ class AsyncClient(object):
{'ping': {}}
)
async def __aenter__(self):
return self
async def __aexit__(self, exc_type, exc_value, traceback):
await self.close()
class Client(object):
def __init__(self):
@@ -176,3 +182,10 @@ class Client(object):
if sys.version_info >= (3, 6):
self.loop.run_until_complete(self.loop.shutdown_asyncgens())
self.loop.close()
def __enter__(self):
return self
def __exit__(self, exc_type, exc_value, traceback):
self.close()
return False

View File

@@ -344,9 +344,9 @@ def auto_shutdown():
def ping(host, port):
from . import client
conn = client.PRClient()
conn.connect_tcp(host, port)
return conn.ping()
with client.PRClient() as conn:
conn.connect_tcp(host, port)
return conn.ping()
def connect(host, port):
from . import client

View File

@@ -227,7 +227,7 @@ class XhrSetDefaultImageUrl(View):
# same logical name
# * Each project that uses a layer will have its own
# LayerVersion and Project Layer for it
# * During the Paroject delete process, when the last
# * During the Project delete process, when the last
# LayerVersion for a 'local_source_dir' layer is deleted
# then the Layer record is deleted to remove orphans
#
@@ -457,15 +457,18 @@ class XhrLayer(View):
'layerdetailurl':
layer_dep.get_detailspage_url(project.pk)})
# Scan the layer's content and update components
scan_layer_content(layer,layer_version)
# Only scan_layer_content if layer is local
if layer_data.get('local_source_dir', None):
# Scan the layer's content and update components
scan_layer_content(layer,layer_version)
except Layer_Version.DoesNotExist:
return error_response("layer-dep-not-found")
except Project.DoesNotExist:
return error_response("project-not-found")
except KeyError:
return error_response("incorrect-parameters")
except KeyError as e:
_log("KeyError: %s" % e)
return error_response(f"incorrect-parameters")
return JsonResponse({'error': "ok",
'imported_layer': {

View File

@@ -7,3 +7,5 @@ releases.rst
.vscode/
*/svg/*.png
*/svg/*.pdf
styles/*
!styles/config

7
documentation/.vale.ini Normal file
View File

@@ -0,0 +1,7 @@
StylesPath = styles
MinAlertLevel = suggestion
Packages = RedHat, proselint, write-good, alex, Readability, Joblint
Vocab = Yocto, OpenSource
[*.rst]
BasedOnStyles = Vale, RedHat, proselint, write-good, alex, Readability, Joblint

View File

@@ -5,6 +5,9 @@
# from the environment for the first two.
SPHINXOPTS ?= -W --keep-going -j auto
SPHINXBUILD ?= sphinx-build
# Release notes are excluded because they contain contributor names and commit messages which can't be modified
VALEOPTS ?= --no-wrap --glob '!migration-guides/release-notes-*.rst'
VALEDOCS ?= .
SOURCEDIR = .
IMAGEDIRS = */svg
BUILDDIR = _build
@@ -20,7 +23,7 @@ endif
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: all help Makefile clean publish epub latexpdf
.PHONY: all help Makefile clean stylecheck publish epub latexpdf
publish: Makefile html singlehtml
rm -rf $(BUILDDIR)/$(DESTDIR)/
@@ -44,7 +47,15 @@ PNGs := $(foreach dir, $(IMAGEDIRS), $(patsubst %.svg,%.png,$(wildcard $(SOURCED
$(SVG2PNG) --export-filename=$@ $<
clean:
@rm -rf $(BUILDDIR) $(PNGs) $(PDFs) poky.yaml sphinx-static/switchers.js
@rm -rf $(BUILDDIR) $(PNGs) $(PDFs) poky.yaml sphinx-static/switchers.js releases.rst
stylecheck:
vale sync
vale $(VALEOPTS) $(VALEDOCS)
stylecheck:
vale sync
vale $(VALEOPTS) $(VALEDOCS)
epub: $(PNGs)
$(SOURCEDIR)/set_versions.py

View File

@@ -151,6 +151,20 @@ dependencies in a virtual environment:
$ pipenv install
$ pipenv run make html
Style checking the Yocto Project documentation
==============================================
The project is starting to use Vale (https://vale.sh/)
to validate the text style.
To install Vale:
$ pip install vale
To run Vale:
$ make stylecheck
Sphinx theme and CSS customization
==================================

View File

@@ -851,8 +851,7 @@ Before looking at BSP requirements, you should consider the following:
dictating that a specific kernel or kernel version be used in a given
BSP.
Following are the requirements for a released BSP that conform to the
Yocto Project:
The requirements for a released BSP that conform to the Yocto Project are:
- *Layer Name:* The BSP must have a layer name that follows the Yocto
Project standards. For information on BSP layer names, see the
@@ -956,7 +955,7 @@ Yocto Project:
Released BSP Recommendations
----------------------------
Following are recommendations for released BSPs that conform to the
Here are recommendations for released BSPs that conform to the
Yocto Project:
- *Bootable Images:* Released BSPs can contain one or more bootable
@@ -1018,7 +1017,7 @@ the following:
that additional hierarchy and the files would obviously not be able
to reside in a machine-specific directory.
Following is a specific example to help you better understand the
Here is a specific example to help you better understand the
process. This example customizes a recipe by adding a
BSP-specific configuration file named ``interfaces`` to the
``init-ifupdown_1.0.bb`` recipe for machine "xyz" where the BSP layer
@@ -1448,7 +1447,7 @@ metadata used to build the kernel. In this case, a kernel append file
kernel recipe (i.e. ``linux-yocto_6.1.bb``), which is located in
:yocto_git:`/poky/tree/meta/recipes-kernel/linux`.
Following is the contents of the append file::
The contents of the append file are::
KBRANCH:genericx86 = "v6.1/standard/base"
KBRANCH:genericx86-64 = "v6.1/standard/base"

View File

@@ -57,7 +57,7 @@ Set up Git
The first thing to do is to install Git packages. Here is an example
on Debian and Ubuntu::
sudo aptitude install git-core git-email
sudo apt install git-core git-email
Then, you need to set a name and e-mail address that Git will
use to identify your commits::
@@ -221,6 +221,38 @@ to add the upgraded version.
<https://www.kernel.org/doc/html/latest/process/submitting-patches.html#using-reported-by-tested-by-reviewed-by-suggested-by-and-fixes>`__
in the Linux kernel documentation.
Test your changes
-----------------
For each contributions you make, you should test your changes as well.
For this the Yocto Project offers several types of tests. Those tests cover
different areas and it depends on your changes which are feasible. For example run:
- For changes that affect the build environment:
- ``bitbake-selftest``: for changes within BitBake
- ``oe-selftest``: to test combinations of BitBake runs
- ``oe-build-perf-test``: to test the performance of common build scenarios
- For changes in a recipe:
- ``ptest``: run package specific tests, if they exist
- ``testimage``: build an image, boot it and run testcases on it
- If applicable, ensure also the ``native`` and ``nativesdk`` variants builds
- For changes relating to the SDK:
- ``testsdk``: to build, install and run tests against a SDK
- ``testsdk_ext``: to build, install and run tests against an extended SDK
Note that this list just gives suggestions and is not exhaustive. More details can
be found here: :ref:`test-manual/intro:Yocto Project Tests --- Types of Testing Overview`.
Creating Patches
================
@@ -285,8 +317,9 @@ Validating Patches with Patchtest
``patchtest`` is available in ``openembedded-core`` as a tool for making
sure that your patches are well-formatted and contain important info for
maintenance purposes, such as ``Signed-off-by`` and ``Upstream-Status``
tags. Currently, it only supports testing patches for
``openembedded-core`` branches. To setup, perform the following::
tags. Note that no functional testing of the changes will be performed by ``patchtest``.
Currently, it only supports testing patches for ``openembedded-core`` branches.
To setup, perform the following::
pip install -r meta/lib/patchtest/requirements.txt
source oe-init-build-env
@@ -399,7 +432,7 @@ varies by component:
:oe_lists:`bitbake-devel </g/bitbake-devel>`
mailing list.
- *"meta-\*" trees:* These trees contain Metadata. Use the
- *meta-poky* and *meta-yocto-bsp* trees: These trees contain Metadata. Use the
:yocto_lists:`poky </g/poky>` mailing list.
- *Documentation*: For changes to the Yocto Project documentation, use the
@@ -438,7 +471,7 @@ their e-mail clients will default to including your email address in the
conversation anyway.
Anyway, you'll also be able to access the new messages on mailing list archives,
either through a web browser, or for the lists archived on https://lore.kernelorg,
either through a web browser, or for the lists archived on https://lore.kernel.org,
through an individual newsgroup feed or a git repository.
Sending Patches via Email

View File

@@ -32,6 +32,10 @@ build host running Linux.
OpenEmbedded build system, see the
:doc:`/brief-yoctoprojectqs/index` document.
- You can also use the `Yocto Project BitBake
<https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake>`__
extension for Visual Studio Code to build images.
The build process creates an entire Linux distribution from source and
places it in your :term:`Build Directory` under ``tmp/deploy/images``. For
detailed information on the build process using BitBake, see the
@@ -156,7 +160,7 @@ Follow these steps to set up and execute multiple configuration builds:
The location for these multiconfig configuration files is specific.
They must reside in the current :term:`Build Directory` in a sub-directory of
``conf`` named ``multiconfig`` or within a layer's ``conf`` directory
under a directory named ``multiconfig``. Following is an example that defines
under a directory named ``multiconfig``. Here is an example that defines
two configuration files for the "x86" and "arm" multiconfigs:
.. image:: figures/multiconfig_files.png
@@ -771,10 +775,9 @@ your tunings to best consider build times and package feed maintenance.
in the script for information on how to use the tool.
- *BitBake's "-S printdiff" Option:* Using this option causes
BitBake to try to establish the closest signature match it can
(e.g. in the shared state cache) and then run ``bitbake-diffsigs``
over the matches to determine the stamps and delta where these two
stamp trees diverge.
BitBake to try to establish the most recent signature match
(e.g. in the shared state cache) and then compare matched signatures
to determine the stamps and delta where these two stamp trees diverge.
Building Software from an External Source
=========================================

View File

@@ -170,7 +170,7 @@ You can use the ``oe-pkgdata-util`` command-line utility to query
various package-related information. When you use the utility, you must
use it to view information on packages that have already been built.
Following are a few of the available ``oe-pkgdata-util`` subcommands.
Here are a few of the available ``oe-pkgdata-util`` subcommands.
.. note::
@@ -339,7 +339,10 @@ BitBake has determined by doing the following:
:term:`BB_BASEHASH_IGNORE_VARS`
information.
There is also a ``bitbake-diffsigs`` command for comparing two
Debugging signature construction and unexpected task executions
===============================================================
There is a ``bitbake-diffsigs`` command for comparing two
``siginfo`` or ``sigdata`` files. This command can be helpful when
trying to figure out what changed between two versions of a task. If you
call ``bitbake-diffsigs`` with just one file, the command behaves like
@@ -356,8 +359,12 @@ BitBake command-line options::
.. note::
Two common values for `SIGNATURE_HANDLER` are "none" and "printdiff", which
dump only the signature or compare the dumped signature with the cached one,
respectively.
dump only the signature or compare the dumped signature with the most recent one,
respectively. "printdiff" will try to establish the most recent
signature match (e.g. in the sstate cache) and then
compare the matched signatures to determine the stamps and delta
where these two stamp trees diverge. This can be used to determine why
tasks need to be re-run in situations where that is not expected.
Using BitBake with either of these options causes BitBake to dump out
``sigdata`` files in the ``stamps`` directory for every task it would
@@ -608,7 +615,7 @@ logs, keep in mind the goal is to have informative logs while keeping
the console as "silent" as possible. Also, if you want status messages
in the log, use the "debug" loglevel.
Following is an example written in Python. The code handles logging for
Here is an example written in Python. The code handles logging for
a function that determines the number of tasks needed to be run. See the
":ref:`ref-tasks-listtasks`"
section for additional information::
@@ -636,7 +643,7 @@ logs, you have the same goals --- informative with minimal console output.
The syntax you use for recipes written in Bash is similar to that of
recipes written in Python described in the previous section.
Following is an example written in Bash. The code logs the progress of
Here is an example written in Bash. The code logs the progress of
the ``do_my_function`` function::
do_my_function() {
@@ -1221,7 +1228,7 @@ Here are some other tips that you might find useful:
"$@"
}
Following are some usage examples::
Here are some usage examples::
$ g FOO # Search recursively for "FOO"
$ g -i foo # Search recursively for "foo", ignoring case

View File

@@ -16,7 +16,7 @@ OpenEmbedded build system were executing them. Consequently, working
this way can be helpful when debugging a build or preparing software to
be used with the OpenEmbedded build system.
Following is an example that uses ``devshell`` on a target named
Here is an example that uses ``devshell`` on a target named
``matchbox-desktop``::
$ bitbake matchbox-desktop -c devshell

View File

@@ -60,10 +60,10 @@ kernel.
All devices created by ``devtmpfs`` will be owned by ``root`` and have
permissions ``0600``.
To have more control over the device nodes, you can use a device manager
like ``udev`` or ``busybox-mdev``. You choose the device manager by
defining the ``VIRTUAL-RUNTIME_dev_manager`` variable in your machine or
distro configuration file. Alternatively, you can set this variable in
To have more control over the device nodes, you can use a device manager like
``udev`` or ``busybox-mdev``. You choose the device manager by defining the
:term:`VIRTUAL-RUNTIME_dev_manager <VIRTUAL-RUNTIME>` variable in your machine
or distro configuration file. Alternatively, you can set this variable in
your ``local.conf`` configuration file::
VIRTUAL-RUNTIME_dev_manager = "udev"

View File

@@ -82,7 +82,7 @@ Follow these general steps to create your layer without using tools:
LAYERVERSION_yoctobsp = "4"
LAYERSERIES_COMPAT_yoctobsp = "dunfell"
Following is an explanation of the layer configuration file:
Here is an explanation of the layer configuration file:
- :term:`BBPATH`: Adds the layer's
root directory to BitBake's search path. Through the use of the
@@ -191,7 +191,7 @@ following list:
- *Structure Your Layers:* Proper use of overrides within append files
and placement of machine-specific files within your layer can ensure
that a build is not using the wrong Metadata and negatively impacting
a build for a different machine. Following are some examples:
a build for a different machine. Here are some examples:
- *Modify Variables to Support a Different Machine:* Suppose you
have a layer named ``meta-one`` that adds support for building
@@ -513,7 +513,7 @@ In the main recipe, note the :term:`SRC_URI`
variable, which tells the OpenEmbedded build system where to find files
during the build.
Following is the append file, which is named ``formfactor_0.0.bbappend``
Here is the append file, which is named ``formfactor_0.0.bbappend``
and is from the Raspberry Pi BSP Layer named ``meta-raspberrypi``. The
file is in the layer at ``recipes-bsp/formfactor``::
@@ -588,7 +588,7 @@ Directory`. Here is the main ``xserver-xf86-config`` recipe, which is named
fi
}
Following is the append file, which is named ``xserver-xf86-config_%.bbappend``
Here is the append file, which is named ``xserver-xf86-config_%.bbappend``
and is from the Raspberry Pi BSP Layer named ``meta-raspberrypi``. The
file is in the layer at ``recipes-graphics/xorg-xserver``::

View File

@@ -37,7 +37,7 @@ library files.
Some previously released versions of the Yocto Project defined the
static library files through ``${PN}-dev``.
Following is part of the BitBake configuration file, where you can see
Here is the part of the BitBake configuration file, where you can see
how the static library files are defined::
PACKAGE_BEFORE_PN ?= ""
@@ -177,7 +177,7 @@ Additional Implementation Details
---------------------------------
There are generic implementation details as well as details that are specific to
package management systems. Following are implementation details
package management systems. Here are implementation details
that exist regardless of the package management system:
- The typical convention used for the class extension code as used by

View File

@@ -27,7 +27,7 @@ Specifying the ``LIC_FILES_CHKSUM`` Variable
--------------------------------------------
The :term:`LIC_FILES_CHKSUM` variable contains checksums of the license text
in the source code for the recipe. Following is an example of how to
in the source code for the recipe. Here is an example of how to
specify :term:`LIC_FILES_CHKSUM`::
LIC_FILES_CHKSUM = "file://COPYING;md5=xxxx \
@@ -332,7 +332,7 @@ completeness.
The Yocto Project generates a license manifest during image creation
that is located in
``${DEPLOY_DIR}/licenses/<image-name>-<machine>.rootfs-<datestamp>/``
``${DEPLOY_DIR}/licenses/${SSTATE_PKGARCH}/<image-name>-<machine>.rootfs-<datestamp>/``
to assist with any audits.
Providing the Source Code

View File

@@ -104,7 +104,7 @@ contains directories for specific machines such as ``qemuarm`` and
defaults, see the ``meta/recipes-bsp/formfactor/files/config`` file
found in the same area.
Following is an example for "qemuarm" machine::
Here is an example for "qemuarm" machine::
HAVE_TOUCHSCREEN=1
HAVE_KEYBOARD=1

View File

@@ -100,7 +100,7 @@ command::
Running ``recipetool create -o OUTFILE`` creates the base recipe and
locates it properly in the layer that contains your source files.
Following are some syntax examples:
Here are some syntax examples:
- Use this syntax to generate a recipe based on source. Once generated,
the recipe resides in the existing source code layer::
@@ -1232,7 +1232,7 @@ inherit the :ref:`ref-classes-autotools` class, which contains the definitions
of all the steps needed to build an Autotool-based application. The result of
the build is automatically packaged. And, if the application uses NLS for
localization, packages with local information are generated (one package per
language). Following is one example: (``hello_2.3.bb``)::
language). Here is one example: (``hello_2.3.bb``)::
SUMMARY = "GNU Helloworld application"
SECTION = "examples"
@@ -1285,7 +1285,7 @@ Splitting an Application into Multiple Packages
You can use the variables :term:`PACKAGES` and :term:`FILES` to split an
application into multiple packages.
Following is an example that uses the ``libxpm`` recipe. By default,
Here is an example that uses the ``libxpm`` recipe. By default,
this recipe generates a single package that contains the library along
with a few binaries. You can modify the recipe to split the binaries
into separate packages::
@@ -1510,7 +1510,7 @@ in the BitBake User Manual.
when you make the assignment, but this is not generally needed.
- *Quote All Assignments ("value"):* Use double quotes around values in
all variable assignments (e.g. ``"value"``). Following is an example::
all variable assignments (e.g. ``"value"``). Here is an example::
VAR1 = "${OTHERVAR}"
VAR2 = "The version is ${PV}"

View File

@@ -205,9 +205,14 @@ history, see the
The OpenEmbedded build system does not maintain :term:`PR` information as
part of the shared state (sstate) packages. If you maintain an sstate
feed, it's expected that either all your building systems that
contribute to the sstate feed use a shared PR Service, or you do not
run a PR Service on any of your building systems. Having some systems
use a PR Service while others do not leads to obvious problems.
contribute to the sstate feed use a shared PR service, or you do not
run a PR service on any of your building systems.
That's because if you had multiple machines sharing a PR service but
not their sstate feed, you could end up with "diverging" hashes for
the same output artefacts. When presented to the share PR service,
each would be considered as new and would increase the revision
number, causing many unnecessary package upgrades.
For more information on shared state, see the
":ref:`overview-manual/concepts:shared state cache`"
@@ -365,7 +370,7 @@ For more examples that show how to use ``do_split_packages``, see the
directory of the ``poky`` :ref:`source repository <overview-manual/development-environment:yocto project source repositories>`. You can
also find examples in ``meta/classes-recipe/kernel.bbclass``.
Following is a reference that shows ``do_split_packages`` mandatory and
Here is a reference that shows ``do_split_packages`` mandatory and
optional arguments::
Mandatory arguments
@@ -607,6 +612,13 @@ subsequent sections are necessary to configure the target. You should
set these variables before building the image in order to produce a
correctly configured image.
.. note::
Your image will need enough free storage space to run package upgrades,
especially if many of them need to be downloaded at the same time.
You should make sure images are created with enough free space
by setting the :term:`IMAGE_ROOTFS_EXTRA_SPACE` variable.
When your build is complete, your packages reside in the
``${TMPDIR}/deploy/packageformat`` directory. For example, if
``${``\ :term:`TMPDIR`\ ``}`` is
@@ -1123,7 +1135,7 @@ The ``devtool edit-recipe`` command lets you take a look at the recipe::
...
LICENSE:${PN}-vary = "MIT"
Here are three key points in the previous example:
Three key points in the previous example are:
- :term:`SRC_URI` uses the NPM
scheme so that the NPM fetcher is used.

View File

@@ -148,8 +148,8 @@ recipe. By default, ``libfoo.so`` gets packaged into ``${PN}-dev``, which
triggers a QA warning that a non-symlink library is in a ``-dev`` package,
and binaries in the same recipe link to the library in ``${PN}-dev``,
which triggers more QA warnings. To solve this problem, you need to package the
unversioned library into ``${PN}`` where it belongs. The following are the abridged
default :term:`FILES` variables in ``bitbake.conf``::
unversioned library into ``${PN}`` where it belongs. The abridged
default :term:`FILES` variables in ``bitbake.conf`` are::
SOLIBS = ".so.*"
SOLIBSDEV = ".so"

View File

@@ -35,7 +35,7 @@ system were executing them. Consequently, working this way can be
helpful when debugging a build or preparing software to be used with the
OpenEmbedded build system.
Following is an example that uses ``pydevshell`` on a target named
Here is an example that uses ``pydevshell`` on a target named
``matchbox-desktop``::
$ bitbake matchbox-desktop -c pydevshell

View File

@@ -311,7 +311,7 @@ timestamp when it needs to look for an image. Minimally, through the use
of options, you must provide either a machine name, a virtual machine
image (``*wic.vmdk``), or a kernel image (``*.bin``).
Following is the command-line help output for the ``runqemu`` command::
Here is the command-line help output for the ``runqemu`` command::
$ runqemu --help
@@ -353,7 +353,7 @@ Following is the command-line help output for the ``runqemu`` command::
``runqemu`` Command-Line Options
================================
Following is a description of ``runqemu`` options you can provide on the
Here is a description of ``runqemu`` options you can provide on the
command line:
.. note::

View File

@@ -52,6 +52,8 @@ In order to run tests, you need to do the following:
- Be sure to use an absolute path when calling this script
with sudo.
- Ensure that your host has the package ``iptables`` installed.
- The package recipe ``qemu-helper-native`` is required to run
this script. Build the package using the following command::
@@ -191,7 +193,7 @@ perform a one-time setup of your controller image by doing the following:
"controller" image and you can customize the image recipe as you would
any other recipe.
Here are the image recipe requirements:
Image recipe requirements are:
- Inherits ``core-image`` so that kernel modules are installed.
@@ -570,7 +572,7 @@ data:
When set to "true", the package is not automatically installed into
the DUT.
Following is an example JSON file that handles test "foo" installing
Here is an example JSON file that handles test "foo" installing
package "bar" and test "foobar" installing packages "foo" and "bar".
Once the test is complete, the packages are removed from the DUT::

View File

@@ -30,22 +30,29 @@ To make this happen, you must inherit the
INHERIT += "create-spdx"
You then get :term:`SPDX` output in JSON format as an
``IMAGE-MACHINE.spdx.json`` file in ``tmp/deploy/images/MACHINE/`` inside the
:term:`Build Directory`.
Upon building an image, you will then get:
This is a toplevel file accompanied by an ``IMAGE-MACHINE.spdx.index.json``
containing an index of JSON :term:`SPDX` files for individual recipes, together
with an ``IMAGE-MACHINE.spdx.tar.zst`` compressed archive containing all such
files.
- :term:`SPDX` output in JSON format as an ``IMAGE-MACHINE.spdx.json`` file in
``tmp/deploy/images/MACHINE/`` inside the :term:`Build Directory`.
- This toplevel file is accompanied by an ``IMAGE-MACHINE.spdx.index.json``
containing an index of JSON :term:`SPDX` files for individual recipes.
- The compressed archive ``IMAGE-MACHINE.spdx.tar.zst`` contains the index
and the files for the single recipes.
The :ref:`ref-classes-create-spdx` class offers options to include
more information in the output :term:`SPDX` data, such as making the generated
files more human readable (:term:`SPDX_PRETTY`), adding compressed archives of
the files in the generated target packages (:term:`SPDX_ARCHIVE_PACKAGED`),
adding a description of the source files used to generate host tools and target
packages (:term:`SPDX_INCLUDE_SOURCES`) and adding archives of these source
files themselves (:term:`SPDX_ARCHIVE_SOURCES`).
more information in the output :term:`SPDX` data:
- Make the json files more human readable by setting (:term:`SPDX_PRETTY`).
- Add compressed archives of the files in the generated target packages by
setting (:term:`SPDX_ARCHIVE_PACKAGED`).
- Add a description of the source files used to generate host tools and target
packages (:term:`SPDX_INCLUDE_SOURCES`)
- Add archives of these source files themselves (:term:`SPDX_ARCHIVE_SOURCES`).
Though the toplevel :term:`SPDX` output is available in
``tmp/deploy/images/MACHINE/`` inside the :term:`Build Directory`, ancillary
@@ -65,11 +72,12 @@ generated files are available in ``tmp/deploy/spdx/MACHINE`` too, such as:
See also the :term:`SPDX_CUSTOM_ANNOTATION_VARS` variable which allows
to associate custom notes to a recipe.
See the `tools page <https://spdx.dev/resources/tools/>`__ on the :term:`SPDX`
project website for a list of tools to consume and transform the :term:`SPDX`
data generated by the OpenEmbedded build system.
See also Joshua Watt's
See also Joshua Watt's presentations
`Automated SBoM generation with OpenEmbedded and the Yocto Project <https://youtu.be/Q5UQUM6zxVU>`__
presentation at FOSDEM 2023.
at FOSDEM 2023 and
`SPDX in the Yocto Project <https://fosdem.org/2024/schedule/event/fosdem-2024-3318-spdx-in-the-yocto-project/>`__
at FOSDEM 2024.

View File

@@ -33,7 +33,7 @@ auto-scaling ensures that the build system fundamentally takes advantage
of potential parallel operations during the build based on the build
machine's capabilities.
Following are additional factors that can affect build speed:
Additional factors that can affect build speed are:
- File system type: The file system type that the build is being
performed on can also influence performance. Using ``ext4`` is
@@ -88,7 +88,7 @@ that can help you speed up the build:
variable to "1".
- Disable static library generation for recipes derived from
``autoconf`` or ``libtool``: Following is an example showing how to
``autoconf`` or ``libtool``: Here is an example showing how to
disable static libraries and still provide an override to handle
exceptions::

View File

@@ -36,7 +36,7 @@ particular working environment and set of practices.
equipment together and set up your development environment's
hardware topology.
Here are possible roles:
Possible roles are:
- *Application Developer:* This type of developer does application
level work on top of an existing software stack.
@@ -99,7 +99,7 @@ particular working environment and set of practices.
#. *Set up the Application Development Machines:* As mentioned earlier,
application developers are creating applications on top of existing
software stacks. Following are some best practices for setting up
software stacks. Here are some best practices for setting up
machines used for application development:
- Use a pre-built toolchain that contains the software stack
@@ -118,7 +118,7 @@ particular working environment and set of practices.
#. *Set up the Core Development Machines:* As mentioned earlier, core
developers work on the contents of the operating system itself.
Following are some best practices for setting up machines used for
Here are some best practices for setting up machines used for
developing images:
- Have the :term:`OpenEmbedded Build System` available on
@@ -334,7 +334,10 @@ to use the Extensible SDK, see the ":doc:`/sdk-manual/extensible`" Chapter in th
Project Application Development and the Extensible Software Development
Kit (eSDK) manual. If you want to work on the kernel, see the :doc:`/kernel-dev/index`. If you are going to use
Toaster, see the ":doc:`/toaster-manual/setup-and-use`"
section in the Toaster User Manual.
section in the Toaster User Manual. If you are a VSCode user, you can configure
the `Yocto Project BitBake
<https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake>`__
extension accordingly.
Setting Up to Use CROss PlatformS (CROPS)
-----------------------------------------
@@ -426,7 +429,10 @@ section. If you are going to use the Extensible SDK container, see the
Project Application Development and the Extensible Software Development
Kit (eSDK) manual. If you are going to use the Toaster container, see
the ":doc:`/toaster-manual/setup-and-use`"
section in the Toaster User Manual.
section in the Toaster User Manual. If you are a VSCode user, you can configure
the `Yocto Project BitBake
<https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake>`__
extension accordingly.
Setting Up to Use Windows Subsystem For Linux (WSL 2)
-----------------------------------------------------
@@ -554,7 +560,10 @@ Extensible SDK container, see the ":doc:`/sdk-manual/extensible`" Chapter in the
Project Application Development and the Extensible Software Development
Kit (eSDK) manual. If you are going to use the Toaster container, see
the ":doc:`/toaster-manual/setup-and-use`"
section in the Toaster User Manual.
section in the Toaster User Manual. If you are a VSCode user, you can configure
the `Yocto Project BitBake
<https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake>`__
extension accordingly.
Locating Yocto Project Source Files
===================================
@@ -621,7 +630,7 @@ a selection of these components.
Using the Downloads Page
------------------------
The :yocto_home:`Yocto Project Website <>` uses a "DOWNLOADS" page
The :yocto_home:`Yocto Project Website <>` uses a "RELEASES" page
from which you can locate and download tarballs of any Yocto Project
release. Rather than Git repositories, these files represent snapshot
tarballs similar to the tarballs located in the Index of Releases
@@ -630,12 +639,13 @@ described in the ":ref:`dev-manual/start:accessing source archives`" section.
#. *Go to the Yocto Project Website:* Open The
:yocto_home:`Yocto Project Website <>` in your browser.
#. *Get to the Downloads Area:* Select the "DOWNLOADS" item from the
pull-down "SOFTWARE" tab menu near the top of the page.
#. *Get to the Downloads Area:* Select the "RELEASES" item from the
pull-down "DEVELOPMENT" tab menu near the top of the page.
#. *Select a Yocto Project Release:* Use the menu next to "RELEASE" to
display and choose a recent or past supported Yocto Project release
(e.g. &DISTRO_NAME_NO_CAP;, &DISTRO_NAME_NO_CAP_MINUS_ONE;, and so forth).
#. *Select a Yocto Project Release:* On the top of the "RELEASE" page currently
supported releases are displayed, further down past supported Yocto Project
releases are visible. The "Download" links in the rows of the table there
will lead to the download tarballs for the release.
.. note::
@@ -645,9 +655,9 @@ described in the ":ref:`dev-manual/start:accessing source archives`" section.
You can use the "RELEASE ARCHIVE" link to reveal a menu of all Yocto
Project releases.
#. *Download Tools or Board Support Packages (BSPs):* From the
"DOWNLOADS" page, you can download tools or BSPs as well. Just scroll
down the page and look for what you need.
#. *Download Tools or Board Support Packages (BSPs):* Next to the tarballs you
will find download tools or BSPs as well. Just select a Yocto Project
release and look for what you need.
Cloning and Checking Out Branches
=================================

View File

@@ -1295,7 +1295,7 @@ In order to run this task, you must have an existing ``.config`` file.
See the ":ref:`kernel-dev/common:using \`\`menuconfig\`\``" section for
information on how to create a configuration file.
Following is sample output from the :ref:`ref-tasks-kernel_configcheck` task:
Here is sample output from the :ref:`ref-tasks-kernel_configcheck` task:
.. code-block:: none
@@ -1726,7 +1726,7 @@ tree. Using Git is an efficient way to see what has changed in the tree.
What Changed in a Kernel?
-------------------------
Following are a few examples that show how to use Git commands to
Here are a few examples that show how to use Git commands to
examine changes. These examples are by no means the only way to see
changes.

View File

@@ -256,7 +256,7 @@ section in the Yocto Project Development Tasks Manual.
Build History
-------------
Following are changes to Build History:
The changes to Build History are:
- Installed package sizes: ``installed-package-sizes.txt`` for an image
now records the size of the files installed by each package instead
@@ -279,7 +279,7 @@ section in the Yocto Project Development Tasks Manual.
``udev``
--------
Following are changes to ``udev``:
The changes to ``udev`` are:
- ``udev`` no longer brings in ``udev-extraconf`` automatically through
:term:`RRECOMMENDS`, since this was originally
@@ -323,7 +323,7 @@ Removed and Renamed Recipes
Other Changes
-------------
Following is a list of short entries describing other changes:
Here is a list of short entries describing other changes:
- ``run-postinsts``: Make this generic.

View File

@@ -73,8 +73,8 @@ Metadata Must Now Use Python 3 Syntax
The metadata is now required to use Python 3 syntax. For help preparing
metadata, see any of the many Python 3 porting guides available.
Alternatively, you can reference the conversion commits for BitBake and
you can use :term:`OpenEmbedded-Core (OE-Core)` as a guide for changes. Following are
particular areas of interest:
you can use :term:`OpenEmbedded-Core (OE-Core)` as a guide for changes.
Particular areas of interest are:
- subprocess command-line pipes needing locale decoding
@@ -182,7 +182,7 @@ root filesystem, provides an image, and uses the ``nographic`` option::
$ runqemu qemux86-64 tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64.ext4 tmp/deploy/images/qemux86-64/bzImage nographic
Following is a list of variables that can be set in configuration files
Here is a list of variables that can be set in configuration files
such as ``bsp.conf`` to enable the BSP to be booted by ``runqemu``::
QB_SYSTEM_NAME: QEMU name (e.g. "qemu-system-i386")

View File

@@ -91,8 +91,6 @@ occurred:
Removed Recipes
---------------
The following recipes have been removed:
- ``acpitests``: This recipe is not maintained.
- ``autogen-native``: No longer required by Grub, oe-core, or
@@ -213,8 +211,6 @@ recipes you might have. This will avoid breakage in post 2.4 releases.
Package QA Changes
------------------
The following package QA changes took place:
- The "unsafe-references-in-scripts" QA check has been removed.
- If you refer to ``${COREBASE}/LICENSE`` within
@@ -229,8 +225,6 @@ The following package QA changes took place:
``README`` File Changes
-----------------------
The following are changes to ``README`` files:
- The main Poky ``README`` file has been moved to the ``meta-poky``
layer and has been renamed ``README.poky``. A symlink has been
created so that references to the old location work.
@@ -246,8 +240,6 @@ The following are changes to ``README`` files:
Miscellaneous Changes
---------------------
The following are additional changes:
- The ``ROOTFS_PKGMANAGE_BOOTSTRAP`` variable and any references to it
have been removed. You should remove this variable from any custom
recipes.

View File

@@ -87,8 +87,6 @@ The following recipes have been removed:
Scripts and Tools Changes
-------------------------
The following are changes to scripts and tools:
- ``yocto-bsp``, ``yocto-kernel``, and ``yocto-layer``: The
``yocto-bsp``, ``yocto-kernel``, and ``yocto-layer`` scripts
previously shipped with poky but not in OpenEmbedded-Core have been
@@ -119,8 +117,6 @@ The following are changes to scripts and tools:
BitBake Changes
---------------
The following are BitBake changes:
- The ``--runall`` option has changed. There are two different
behaviors people might want:
@@ -153,7 +149,7 @@ The following are BitBake changes:
Python and Python 3 Changes
---------------------------
The following are auto-packaging changes to Python and Python 3:
Here are auto-packaging changes to Python and Python 3:
The script-managed ``python-*-manifest.inc`` files that were previously
used to generate Python and Python 3 packages have been replaced with a
@@ -187,8 +183,6 @@ change please see :yocto_git:`this commit
Miscellaneous Changes
---------------------
The following are additional changes:
- The :ref:`ref-classes-kernel` class supports building packages for multiple kernels.
If your kernel recipe or ``.bbappend`` file mentions packaging at
all, you should replace references to the kernel in package names

View File

@@ -142,7 +142,7 @@ Python changes
classes should be updated to inherit ``setuptools*`` equivalents instead.
- The Python package build process is now based on `wheels <https://pythonwheels.com/>`__.
Here are the new Python packaging classes that should be used:
The new Python packaging classes that should be used are
:ref:`ref-classes-python_flit_core`, :ref:`ref-classes-python_setuptools_build_meta`
and :ref:`ref-classes-python_poetry_core`.

View File

@@ -22,3 +22,5 @@ Release 4.0 (kirkstone)
release-notes-4.0.13
release-notes-4.0.14
release-notes-4.0.15
release-notes-4.0.16
release-notes-4.0.17

View File

@@ -8,3 +8,5 @@ Release 4.3 (nanbield)
migration-4.3
release-notes-4.3
release-notes-4.3.1
release-notes-4.3.2
release-notes-4.3.3

View File

@@ -0,0 +1,191 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release notes for Yocto-4.0.16 (Kirkstone)
------------------------------------------
Security Fixes in Yocto-4.0.16
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- cpio: Fix :cve_mitre:`2023-7207`
- curl: Revert "curl: Backport fix CVE-2023-32001"
- curl: Fix :cve:`2023-46218`
- dropbear:Fix :cve:`2023-48795`
- ffmpeg: Fix :cve:`2022-3964` and :cve:`2022-3965`
- ghostscript: Fix :cve:`2023-46751`
- gnutls: Fix :cve:`2024-0553` and :cve:`2024-0567`
- go: Fix :cve:`2023-39326`
- openssh: Fix :cve:`2023-48795`, :cve:`2023-51384` and :cve:`2023-51385`
- openssl: Fix :cve:`2023-6129` and :cve_mitre:`2023-6237`
- pam: Fix :cve_mitre:`2024-22365`
- perl: Fix :cve:`2023-47038`
- qemu: Fix :cve:`2023-5088`
- sqlite3: Fix :cve:`2023-7104`
- systemd: Fix :cve:`2023-7008`
- tiff: Fix :cve:`2023-6228`
- xserver-xorg: Fix :cve:`2023-6377`, :cve:`2023-6478`, :cve:`2023-6816`, :cve_mitre:`2024-0229`, :cve:`2024-0408`, :cve:`2024-0409`, :cve_mitre:`2024-21885` and :cve_mitre:`2024-21886`
- zlib: Ignore :cve:`2023-6992`
Fixes in Yocto-4.0.16
~~~~~~~~~~~~~~~~~~~~~
- bitbake: asyncrpc: Add context manager API
- bitbake: data: Add missing dependency handling of remove operator
- bitbake: lib/bb: Add workaround for libgcc issues with python 3.8 and 3.9
- bitbake: toastergui: verify that an existing layer path is given
- build-appliance-image: Update to kirkstone head revision
- contributor-guide: add License-Update tag
- contributor-guide: fix command option
- contributor-guide: use "apt" instead of "aptitude"
- cpio: upgrade to 2.14
- cve-update-nvd2-native: faster requests with API keys
- cve-update-nvd2-native: increase the delay between subsequent request failures
- cve-update-nvd2-native: make number of fetch attemtps configurable
- cve-update-nvd2-native: remove unused variable CVE_SOCKET_TIMEOUT
- dev-manual: Discourage the use of SRC_URI[md5sum]
- dev-manual: layers: update link to YP Compatible form
- dev-manual: runtime-testing: fix test module name
- dev-manual: start.rst: update use of Download page
- docs:what-i-wish-id-known.rst: fix URL
- docs: document VSCode extension
- docs:brief-yoctoprojectqs:index.rst: align variable order with default local.conf
- docs:migration-guides: add release notes for 4.0.15
- docs:migration-guides: release 3.5 is actually 4.0
- elfutils: Disable stringop-overflow warning for build host
- externalsrc: Ensure :term:`SRCREV` is processed before accessing :term:`SRC_URI`
- linux-firmware: upgrade to 20231030
- manuals: Add :term:`CONVERSION_CMD` definition
- manuals: Add :term:`UBOOT_BINARY`, extend :term:`UBOOT_CONFIG`
- perl: upgrade to 5.34.3
- poky.conf: bump version for 4.0.16
- pybootchartgui: fix 2 SyntaxWarnings
- python3-ptest: skip test_storlines
- ref-manual: Fix reference to MIRRORS/PREMIRRORS defaults
- ref-manual: classes: remove insserv bbclass
- ref-manual: releases.svg: update nanbield release status
- ref-manual: resources: sync with master branch
- ref-manual: update tested and supported distros
- test-manual: add links to python unittest
- test-manual: add or improve hyperlinks
- test-manual: explicit or fix file paths
- test-manual: resource updates
- test-manual: text and formatting fixes
- test-manual: use working example
- testimage: Exclude wtmp from target-dumper commands
- testimage: drop target_dumper, host_dumper, and monitor_dumper
- tzdata: Upgrade to 2023d
Known Issues in Yocto-4.0.16
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- N/A
Contributors to Yocto-4.0.16
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Aatir Manzur
- Archana Polampalli
- Dhairya Nagodra
- Dmitry Baryshkov
- Enguerrand de Ribaucourt
- Hitendra Prajapati
- Insu Park
- Joshua Watt
- Justin Bronder
- Jörg Sommer
- Khem Raj
- Lee Chee Yang
- mark.yang
- Marta Rybczynska
- Martin Jansa
- Maxin B. John
- Michael Opdenacker
- Paul Barker
- Peter Kjellerstedt
- Peter Marko
- Poonam Jadhav
- Richard Purdie
- Shubham Kulkarni
- Simone Weiß
- Soumya Sambu
- Sourav Pramanik
- Steve Sakoman
- Trevor Gamblin
- Vijay Anusuri
- Vivek Kumbhar
- Yoann Congal
- Yogita Urade
Repositories / Downloads for Yocto-4.0.16
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poky
- Repository Location: :yocto_git:`/poky`
- Branch: :yocto_git:`kirkstone </poky/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.16 </poky/log/?h=yocto-4.0.16>`
- Git Revision: :yocto_git:`54af8c5e80ebf63707ef4e51cc9d374f716da603 </poky/commit/?id=54af8c5e80ebf63707ef4e51cc9d374f716da603>`
- Release Artefact: poky-54af8c5e80ebf63707ef4e51cc9d374f716da603
- sha: a53ec3a661cf56ca40c0fbf1500288c2c20abe94896d66a572bc5ccf5d92e9d6
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.16/poky-54af8c5e80ebf63707ef4e51cc9d374f716da603.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.16/poky-54af8c5e80ebf63707ef4e51cc9d374f716da603.tar.bz2
openembedded-core
- Repository Location: :oe_git:`/openembedded-core`
- Branch: :oe_git:`kirkstone </openembedded-core/log/?h=kirkstone>`
- Tag: :oe_git:`yocto-4.0.16 </openembedded-core/log/?h=yocto-4.0.16>`
- Git Revision: :oe_git:`a744a897f0ea7d34c31c024c13031221f9a85f24 </openembedded-core/commit/?id=a744a897f0ea7d34c31c024c13031221f9a85f24>`
- Release Artefact: oecore-a744a897f0ea7d34c31c024c13031221f9a85f24
- sha: 8c2bc9487597b0caa9f5a1d72b18cfcd1ddc7e6d91f0f051313563d6af95aeec
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.16/oecore-a744a897f0ea7d34c31c024c13031221f9a85f24.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.16/oecore-a744a897f0ea7d34c31c024c13031221f9a85f24.tar.bz2
meta-mingw
- Repository Location: :yocto_git:`/meta-mingw`
- Branch: :yocto_git:`kirkstone </meta-mingw/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.16 </meta-mingw/log/?h=yocto-4.0.16>`
- Git Revision: :yocto_git:`f6b38ce3c90e1600d41c2ebb41e152936a0357d7 </meta-mingw/commit/?id=f6b38ce3c90e1600d41c2ebb41e152936a0357d7>`
- Release Artefact: meta-mingw-f6b38ce3c90e1600d41c2ebb41e152936a0357d7
- sha: 7d57167c19077f4ab95623d55a24c2267a3a3fb5ed83688659b4c03586373b25
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.16/meta-mingw-f6b38ce3c90e1600d41c2ebb41e152936a0357d7.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.16/meta-mingw-f6b38ce3c90e1600d41c2ebb41e152936a0357d7.tar.bz2
meta-gplv2
- Repository Location: :yocto_git:`/meta-gplv2`
- Branch: :yocto_git:`kirkstone </meta-gplv2/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.16 </meta-gplv2/log/?h=yocto-4.0.16>`
- Git Revision: :yocto_git:`d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a </meta-gplv2/commit/?id=d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a>`
- Release Artefact: meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a
- sha: c386f59f8a672747dc3d0be1d4234b6039273d0e57933eb87caa20f56b9cca6d
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.16/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.16/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
bitbake
- Repository Location: :oe_git:`/bitbake`
- Branch: :oe_git:`2.0 </bitbake/log/?h=2.0>`
- Tag: :oe_git:`yocto-4.0.16 </bitbake/log/?h=yocto-4.0.16>`
- Git Revision: :oe_git:`ee090484cc25d760b8c20f18add17b5eff485b40 </bitbake/commit/?id=ee090484cc25d760b8c20f18add17b5eff485b40>`
- Release Artefact: bitbake-ee090484cc25d760b8c20f18add17b5eff485b40
- sha: 479e3a57ae9fbc2aa95292a7554caeef113bbfb28c226ed19547b8dde1c95314
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.16/bitbake-ee090484cc25d760b8c20f18add17b5eff485b40.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.16/bitbake-ee090484cc25d760b8c20f18add17b5eff485b40.tar.bz2
yocto-docs
- Repository Location: :yocto_git:`/yocto-docs`
- Branch: :yocto_git:`kirkstone </yocto-docs/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.16 </yocto-docs/log/?h=yocto-4.0.16>`
- Git Revision: :yocto_git:`aba67b58711019a6ba439b2b77337f813ed799ac </yocto-docs/commit/?id=aba67b58711019a6ba439b2b77337f813ed799ac>`

View File

@@ -0,0 +1,238 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release notes for Yocto-4.0.17 (Kirkstone)
------------------------------------------
Security Fixes in Yocto-4.0.17
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- bind: Fix :cve:`2023-4408`, :cve:`2023-50387`, :cve:`2023-50868`, :cve:`2023-5517` and :cve:`2023-5679`
- binutils: Fix :cve:`2023-39129` and :cve:`2023-39130`
- curl: Fix :cve:`2023-46219`
- curl: Ignore :cve:`2023-42915`
- gcc: Ignore :cve:`2023-4039`
- gdb: Fix :cve:`2023-39129` and :cve:`2023-39130`
- glibc: Ignore :cve:`2023-0687`
- go: Fix :cve:`2023-29406`, :cve:`2023-45285`, :cve:`2023-45287`, :cve:`2023-45289`, :cve:`2023-45290`, :cve:`2024-24784` and :cve:`2024-24785`
- less: Fix :cve:`2022-48624`
- libgit2: Fix :cve:`2024-24575` and :cve:`2024-24577`
- libuv: fix :cve:`2024-24806`
- libxml2: Fix for :cve:`2024-25062`
- linux-yocto/5.15: Fix :cve:`2022-36402`, :cve:`2022-40982`, :cve:`2022-47940`, :cve:`2023-1193`, :cve:`2023-1194`, :cve:`2023-20569`, :cve:`2023-20588`, :cve:`2023-25775`, :cve:`2023-31085`, :cve:`2023-32247`, :cve:`2023-32250`, :cve:`2023-32252`, :cve:`2023-32254`, :cve:`2023-32257`, :cve:`2023-32258`, :cve:`2023-34324`, :cve:`2023-35827`, :cve:`2023-3772`, :cve:`2023-38427`, :cve:`2023-38430`, :cve:`2023-38431`, :cve_mitre:`2023-3867`, :cve:`2023-39189`, :cve:`2023-39192`, :cve:`2023-39193`, :cve:`2023-39194`, :cve:`2023-39198`, :cve:`2023-40283`, :cve:`2023-4128`, :cve:`2023-4206`, :cve:`2023-4207`, :cve:`2023-4208`, :cve:`2023-4244`, :cve:`2023-4273`, :cve:`2023-42752`, :cve:`2023-42753`, :cve:`2023-42754`, :cve:`2023-42755`, :cve:`2023-4563`, :cve:`2023-4569`, :cve:`2023-45871`, :cve:`2023-4623`, :cve:`2023-46343`, :cve:`2023-46813`, :cve:`2023-46838`, :cve:`2023-46862`, :cve:`2023-4881`, :cve:`2023-4921`, :cve:`2023-51042`, :cve:`2023-5158`, :cve:`2023-51779`, :cve_mitre:`2023-52340`, :cve:`2023-52429`, :cve:`2023-52435`, :cve:`2023-52436`, :cve:`2023-52438`, :cve:`2023-52439`, :cve:`2023-52441`, :cve:`2023-52442`, :cve:`2023-52443`, :cve:`2023-52444`, :cve:`2023-52445`, :cve:`2023-52448`, :cve:`2023-52449`, :cve:`2023-52451`, :cve:`2023-52454`, :cve:`2023-52456`, :cve:`2023-52457`, :cve:`2023-52458`, :cve:`2023-52463`, :cve:`2023-52464`, :cve:`2023-5717`, :cve:`2023-6040`, :cve:`2023-6121`, :cve:`2023-6176`, :cve:`2023-6546`, :cve:`2023-6606`, :cve:`2023-6622`, :cve:`2023-6817`, :cve:`2023-6915`, :cve:`2023-6931`, :cve:`2023-6932`, :cve:`2024-0340`, :cve:`2024-0584`, :cve:`2024-0607`, :cve:`2024-0641`, :cve:`2024-0646`, :cve:`2024-1085`, :cve:`2024-1086`, :cve:`2024-1151`, :cve:`2024-22705`, :cve:`2024-23849`, :cve:`2024-23850`, :cve:`2024-23851`, :cve:`2024-24860`, :cve:`2024-26586`, :cve:`2024-26589`, :cve:`2024-26591`, :cve:`2024-26592`, :cve:`2024-26593`, :cve:`2024-26594`, :cve:`2024-26597` and :cve:`2024-26598`
- linux-yocto/5.15: Ignore :cve:`2020-27418`, :cve:`2020-36766`, :cve:`2021-33630`, :cve:`2021-33631`, :cve:`2022-48619`, :cve:`2023-2430`, :cve:`2023-40791`, :cve:`2023-42756`, :cve:`2023-44466`, :cve:`2023-45862`, :cve:`2023-45863`, :cve:`2023-45898`, :cve:`2023-4610`, :cve:`2023-4732`, :cve:`2023-5090`, :cve:`2023-51043`, :cve:`2023-5178`, :cve:`2023-51780`, :cve:`2023-51781`, :cve:`2023-51782`, :cve:`2023-5197`, :cve:`2023-52433`, :cve:`2023-52440`, :cve:`2023-52446`, :cve:`2023-52450`, :cve:`2023-52453`, :cve:`2023-52455`, :cve:`2023-52459`, :cve:`2023-52460`, :cve:`2023-52461`, :cve:`2023-52462`, :cve:`2023-5345`, :cve:`2023-5633`, :cve:`2023-5972`, :cve:`2023-6111`, :cve:`2023-6200`, :cve:`2023-6531`, :cve:`2023-6679`, :cve:`2023-7192`, :cve:`2024-0193`, :cve:`2024-0443`, :cve:`2024-0562`, :cve:`2024-0582`, :cve:`2024-0639`, :cve:`2024-0775`, :cve:`2024-26581`, :cve:`2024-26582`, :cve:`2024-26590`, :cve:`2024-26596` and :cve:`2024-26599`
- linux-yocto/5.10: Fix :cve:`2023-39198`, :cve:`2023-46838`, :cve:`2023-51779`, :cve:`2023-51780`, :cve:`2023-51781`, :cve:`2023-51782`, :cve_mitre:`2023-52340`, :cve:`2023-6040`, :cve:`2023-6121`, :cve:`2023-6606`, :cve:`2023-6817`, :cve:`2023-6915`, :cve:`2023-6931`, :cve:`2023-6932`, :cve:`2024-0584` and :cve:`2024-0646`
- linux-yocto/5.10: Ignore :cve:`2021-33630`, :cve:`2021-33631`, :cve:`2022-1508`, :cve:`2022-36402`, :cve:`2022-48619`, :cve:`2023-2430`, :cve:`2023-4610`, :cve:`2023-46343`, :cve:`2023-51042`, :cve:`2023-51043`, :cve:`2023-5972`, :cve:`2023-6039`, :cve:`2023-6200`, :cve:`2023-6531`, :cve:`2023-6546`, :cve:`2023-6622`, :cve:`2023-6679`, :cve:`2023-7192`, :cve:`2024-0193`, :cve:`2024-0443`, :cve:`2024-0562`, :cve:`2024-0582`, :cve:`2024-0639`, :cve:`2024-0641`, :cve:`2024-0775`, :cve:`2024-1085` and :cve:`2024-22705`
- openssl: Fix :cve:`2024-0727`
- python3-pycryptodome: Fix :cve:`2023-52323`
- qemu: Fix :cve:`2023-42467`, :cve:`2023-6693` and :cve:`2024-24474`
- vim: Fix :cve:`2024-22667`
- xwayland: Fix :cve:`2023-6377` and :cve:`2023-6478`
Fixes in Yocto-4.0.17
~~~~~~~~~~~~~~~~~~~~~
- bind: Upgrade to 9.18.24
- bitbake: bitbake/codeparser.py: address ast module deprecations in py 3.12
- bitbake: bitbake/lib/bs4/tests/test_tree.py: python 3.12 regex
- bitbake: codeparser: replace deprecated ast.Str and 's'
- bitbake: fetch2: Ensure that git LFS objects are available
- bitbake: tests/fetch: Add real git lfs tests and decorator
- bitbake: tests/fetch: git-lfs restore _find_git_lfs
- bitbake: toaster/toastergui: Bug-fix verify given layer path only if import/add local layer
- build-appliance-image: Update to kirkstone head revision
- cmake: Unset CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
- contributor-guide: fix lore URL
- curl: don't enable debug builds
- cve_check: cleanup logging
- dbus: Add missing :term:`CVE_PRODUCT`
- dev-manual: sbom: Rephrase spdx creation
- dev-manual: runtime-testing: gen-tapdevs need iptables installed
- dev-manual: packages: clarify shared :term:`PR` service constraint
- dev-manual: packages: need enough free space
- dev-manual: start: remove idle line
- feature-microblaze-versions.inc: python 3.12 regex
- ghostscript: correct :term:`LICENSE` with AGPLv3
- image-live.bbclass: LIVE_ROOTFS_TYPE support compression
- kernel.bbclass: Set pkg-config variables for building modules
- kernel.bbclass: introduce KERNEL_LOCALVERSION
- kernel: fix localversion in v6.3+
- kernel: make LOCALVERSION consistent between recipes
- ldconfig-native: Fix to point correctly on the DT_NEEDED entries in an ELF file
- librsvg: Fix do_package_qa error for librsvg
- linux-firmware: upgrade to 20231211
- linux-yocto/5.10: update to v5.10.210
- linux-yocto/5.15: update to v5.15.150
- manuals: add minimum RAM requirements
- manuals: suppress excess use of "following" word
- manuals: update disk space requirements
- manuals: update references to buildtools
- manuals: updates for building on Windows (WSL 2)
- meta/lib/oeqa: python 3.12 regex
- meta/recipes: python 3.12 regex
- migration-guide: add release notes for 4.0.16
- oeqa/selftest/oelib/buildhistory: git default branch
- oeqa/selftest/recipetool: downgrade meson version to not use pyproject.toml
- oeqa/selftest/recipetool: expect meson.bb
- oeqa/selftest/recipetool: fix for python 3.12
- oeqa/selftest/runtime_test: only run the virgl tests on qemux86-64
- oeqa: replace deprecated assertEquals
- openssl: Upgrade to 3.0.13
- poky.conf: bump version for 4.0.17
- populate_sdk_ext: use ConfigParser instead of SafeConfigParser
- python3-jinja2: upgrade to 3.1.3
- recipetool/create_buildsys_python: use importlib instead of imp
- ref-manual: system-requirements: recommend buildtools for not supported distros
- ref-manual: system-requirements: add info on buildtools-make-tarball
- ref-manual: release-process: grammar fix
- ref-manual: system-requirements: fix AlmaLinux variable name
- ref-manual: system-requirements: modify anchor
- ref-manual: system-requirements: remove outdated note
- ref-manual: system-requirements: simplify supported distro requirements
- ref-manual: system-requirements: update packages to build docs
- scripts/runqemu: add qmp socket support
- scripts/runqemu: direct mesa to use its own drivers, rather than ones provided by host distro
- scripts/runqemu: fix regex escape sequences
- scripts: python 3.12 regex
- selftest: skip virgl gtk/sdl test on ubuntu 18.04
- systemd: Only add myhostname to nsswitch.conf if in :term:`PACKAGECONFIG`
- tzdata : Upgrade to 2024a
- u-boot: Move UBOOT_INITIAL_ENV back to u-boot.inc
- useradd-example: do not use unsupported clear text password
- vim: upgrade to v9.0.2190
- yocto-bsp: update to v5.15.150
Known Issues in Yocto-4.0.17
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- N/A
Contributors to Yocto-4.0.17
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Adrian Freihofer
- Alassane Yattara
- Alexander Kanavin
- Alexander Sverdlin
- Archana Polampalli
- Baruch Siach
- Bruce Ashfield
- Chen Qi
- Chris Laplante
- Deepthi Hemraj
- Dhairya Nagodra
- Fabien Mahot
- Fabio Estevam
- Hitendra Prajapati
- Hugo SIMELIERE
- Jermain Horsman
- Kai Kang
- Lee Chee Yang
- Ludovic Jozeau
- Michael Opdenacker
- Ming Liu
- Munehisa Kamata
- Narpat Mali
- Nikhil R
- Paul Eggleton
- Paulo Neves
- Peter Marko
- Philip Lorenz
- Poonam Jadhav
- Priyal Doshi
- Ross Burton
- Simone Weiß
- Soumya Sambu
- Steve Sakoman
- Tim Orling
- Trevor Gamblin
- Vijay Anusuri
- Vivek Kumbhar
- Wang Mingyu
- Zahir Hussain
Repositories / Downloads for Yocto-4.0.17
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poky
- Repository Location: :yocto_git:`/poky`
- Branch: :yocto_git:`kirkstone </poky/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.17 </poky/log/?h=yocto-4.0.17>`
- Git Revision: :yocto_git:`6d1a878bbf24c66f7186b270f823fcdf82e35383 </poky/commit/?id=6d1a878bbf24c66f7186b270f823fcdf82e35383>`
- Release Artefact: poky-6d1a878bbf24c66f7186b270f823fcdf82e35383
- sha: 3bc3010340b674f7b0dd0a7997f0167b2240b794fbd4aa28c0c4217bddd15e30
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.17/poky-6d1a878bbf24c66f7186b270f823fcdf82e35383.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.17/poky-6d1a878bbf24c66f7186b270f823fcdf82e35383.tar.bz2
openembedded-core
- Repository Location: :oe_git:`/openembedded-core`
- Branch: :oe_git:`kirkstone </openembedded-core/log/?h=kirkstone>`
- Tag: :oe_git:`yocto-4.0.17 </openembedded-core/log/?h=yocto-4.0.17>`
- Git Revision: :oe_git:`2501534c9581c6c3439f525d630be11554a57d24 </openembedded-core/commit/?id=2501534c9581c6c3439f525d630be11554a57d24>`
- Release Artefact: oecore-2501534c9581c6c3439f525d630be11554a57d24
- sha: 52cc6cce9e920bdce078584b89136e81cc01e0c55616fab5fca6c3e04264c88e
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.17/oecore-2501534c9581c6c3439f525d630be11554a57d24.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.17/oecore-2501534c9581c6c3439f525d630be11554a57d24.tar.bz2
meta-mingw
- Repository Location: :yocto_git:`/meta-mingw`
- Branch: :yocto_git:`kirkstone </meta-mingw/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.17 </meta-mingw/log/?h=yocto-4.0.17>`
- Git Revision: :yocto_git:`f6b38ce3c90e1600d41c2ebb41e152936a0357d7 </meta-mingw/commit/?id=f6b38ce3c90e1600d41c2ebb41e152936a0357d7>`
- Release Artefact: meta-mingw-f6b38ce3c90e1600d41c2ebb41e152936a0357d7
- sha: 7d57167c19077f4ab95623d55a24c2267a3a3fb5ed83688659b4c03586373b25
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.17/meta-mingw-f6b38ce3c90e1600d41c2ebb41e152936a0357d7.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.17/meta-mingw-f6b38ce3c90e1600d41c2ebb41e152936a0357d7.tar.bz2
meta-gplv2
- Repository Location: :yocto_git:`/meta-gplv2`
- Branch: :yocto_git:`kirkstone </meta-gplv2/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.17 </meta-gplv2/log/?h=yocto-4.0.17>`
- Git Revision: :yocto_git:`d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a </meta-gplv2/commit/?id=d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a>`
- Release Artefact: meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a
- sha: c386f59f8a672747dc3d0be1d4234b6039273d0e57933eb87caa20f56b9cca6d
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.17/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.17/meta-gplv2-d2f8b5cdb285b72a4ed93450f6703ca27aa42e8a.tar.bz2
meta-clang
- Repository Location: :yocto_git:`/meta-clang`
- Branch: :yocto_git:`kirkstone </meta-clang/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.17 </meta-clang/log/?h=yocto-4.0.17>`
- Git Revision: :yocto_git:`eebe4ff2e539f3ffb01c5060cc4ca8b226ea8b52 </meta-clang/commit/?id=eebe4ff2e539f3ffb01c5060cc4ca8b226ea8b52>`
- Release Artefact: meta-clang-eebe4ff2e539f3ffb01c5060cc4ca8b226ea8b52
- sha: 3299e96e069a22c0971e903fbc191f2427efffc83d910ac51bf0237caad01d17
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.17/meta-clang-eebe4ff2e539f3ffb01c5060cc4ca8b226ea8b52.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.17/meta-clang-eebe4ff2e539f3ffb01c5060cc4ca8b226ea8b52.tar.bz2
bitbake
- Repository Location: :oe_git:`/bitbake`
- Branch: :oe_git:`2.0 </bitbake/log/?h=2.0>`
- Tag: :oe_git:`yocto-4.0.17 </bitbake/log/?h=yocto-4.0.17>`
- Git Revision: :oe_git:`40fd5f4eef7460ca67f32cfce8e229e67e1ff607 </bitbake/commit/?id=40fd5f4eef7460ca67f32cfce8e229e67e1ff607>`
- Release Artefact: bitbake-40fd5f4eef7460ca67f32cfce8e229e67e1ff607
- sha: 5d20a0e4c5d0fce44bd84778168714a261a30a4b83f67c88df3b8a7e7115e444
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.0.17/bitbake-40fd5f4eef7460ca67f32cfce8e229e67e1ff607.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.0.17/bitbake-40fd5f4eef7460ca67f32cfce8e229e67e1ff607.tar.bz2
yocto-docs
- Repository Location: :yocto_git:`/yocto-docs`
- Branch: :yocto_git:`kirkstone </yocto-docs/log/?h=kirkstone>`
- Tag: :yocto_git:`yocto-4.0.17 </yocto-docs/log/?h=yocto-4.0.17>`
- Git Revision: :yocto_git:`08ce7db2aa3a38deb8f5aa59bafc78542986babb </yocto-docs/commit/?id=08ce7db2aa3a38deb8f5aa59bafc78542986babb>`

View File

@@ -0,0 +1,247 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release notes for Yocto-4.3.2 (Nanbield)
----------------------------------------
Security Fixes in Yocto-4.3.2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- avahi: Fix :cve:`2023-1981`, :cve:`2023-38469`, :cve:`2023-38470`, :cve:`2023-38471`, :cve:`2023-38472` and :cve:`2023-38473`
- curl: Fix :cve:`2023-46218`
- ghostscript: Fix :cve:`2023-46751`
- grub: fix :cve:`2023-4692` and :cve:`2023-4693`
- gstreamer1.0: Fix :cve_mitre:`2023-44446`
- linux-yocto/6.1: Ignore :cve_mitre:`2023-39197`, :cve:`2023-39198`, :cve:`2023-5090`, :cve:`2023-5633`, :cve:`2023-6111`, :cve:`2023-6121` and :cve:`2023-6176`
- linux-yocto/6.5: Ignore :cve:`2022-44034`, :cve_mitre:`2023-39197`, :cve:`2023-39198`, :cve:`2023-5972`, :cve:`2023-6039`, :cve:`2023-6111` and :cve:`2023-6176`
- perl: fix :cve:`2023-47100`
- python3-urllib3: Fix :cve:`2023-45803`
- rust: Fix :cve:`2023-40030`
- vim: Fix :cve:`2023-48231`, :cve:`2023-48232`, :cve:`2023-48233`, :cve:`2023-48234`, :cve:`2023-48235`, :cve:`2023-48236` and :cve:`2023-48237`
- xserver-xorg: Fix :cve:`2023-5367` and :cve:`2023-5380`
- xwayland: Fix :cve:`2023-5367`
Fixes in Yocto-4.3.2
~~~~~~~~~~~~~~~~~~~~
- base-passwd: Upgrade to 3.6.2
- bind: Upgrade to 9.18.20
- binutils: stable 2.41 branch updates
- bitbake: command: Make parseRecipeFile() handle virtual recipes correctly
- bitbake: lib/bb: Add workaround for libgcc issues with python 3.8 and 3.9
- bitbake: toastergui: verify that an existing layer path is given
- bluez5: fix connection for ps5/dualshock controllers
- build-appliance-image: Update to nanbield head revision
- cmake: Upgrade to 3.27.7
- contributor-guide: add License-Update tag
- contributor-guide: fix command option
- cups: Add root,sys,wheel to system groups
- cve-update-nvd2-native: faster requests with API keys
- cve-update-nvd2-native: increase the delay between subsequent request failures
- cve-update-nvd2-native: make number of fetch attemtps configurable
- cve-update-nvd2-native: remove unused variable CVE_SOCKET_TIMEOUT
- dev-manual: Discourage the use of SRC_URI[md5sum]
- dev-manual: layers: update link to YP Compatible form
- dev-manual: runtime-testing: fix test module name
- devtool: finish/update-recipe: restrict mode srcrev to recipes fetched from SCM
- devtool: fix update-recipe dry-run mode
- ell: Upgrade to 0.60
- enchant2: Upgrade to 2.6.2
- ghostscript: Upgrade to 10.02.1
- glib-2.0: Upgrade to 2.78.1
- glibc: stable 2.38 branch updates
- gstreamer1.0: Upgrade to 1.22.7
- gtk: Add rdepend on printbackend for cups
- harfbuzz: Upgrade to 8.2.2
- json-c: fix icecc compilation
- kern-tools: bump :term:`SRCREV` for queue processing changes
- kern-tools: make lower context patches reproducible
- kern-tools: update :term:`SRCREV` to include SECURITY.md file
- kernel-arch: use ccache only for compiler
- kernel-yocto: improve metadata patching
- lib/oe/buildcfg.py: Include missing import
- lib/oe/buildcfg.py: Remove unused parameter
- lib/oe/patch: ensure os.chdir restoring always happens
- lib/oe/path: Deploy files can start only with a dot
- libgcrypt: Upgrade to 1.10.3
- libjpeg-turbo: Upgrade to 3.0.1
- libnewt: Upgrade to 0.52.24
- libnsl2: Upgrade to 2.0.1
- libsolv: Upgrade to 0.7.26
- libxslt: Upgrade to 1.1.39
- linux-firmware: add audio topology symlink to the X13's audio package
- linux-firmware: add missing depenencies on license packages
- linux-firmware: add new fw file to ${PN}-rtl8821
- linux-firmware: add notice file to sdm845 modem firmware
- linux-firmware: create separate packages
- linux-firmware: package Qualcomm Venus 6.0 firmware
- linux-firmware: package Robotics RB5 sensors DSP firmware
- linux-firmware: package firmware for Qualcomm Adreno a702
- linux-firmware: package firmware for Qualcomm QCM2290 / QRB4210
- linux-firmware: Upgrade to 20231030
- linux-yocto-rt/6.1: update to -rt18
- linux-yocto/6.1: cfg: restore CONFIG_DEVMEM
- linux-yocto/6.1: drop removed IMA option
- linux-yocto/6.1: Upgrade to v6.1.68
- linux-yocto/6.5: cfg: restore CONFIG_DEVMEM
- linux-yocto/6.5: cfg: split runtime and symbol debug
- linux-yocto/6.5: drop removed IMA option
- linux-yocto/6.5: fix AB-INT: QEMU kernel panic: No irq handler for vector
- linux-yocto/6.5: Upgrade to v6.5.13
- linux/cve-exclusion6.1: Update to latest kernel point release
- log4cplus: Upgrade to 2.1.1
- lsb-release: use https for :term:`UPSTREAM_CHECK_URI`
- manuals: brief-yoctoprojectqs: align variable order with default local.conf
- manuals: fix URL
- meson: use correct targets for rust binaries
- migration-guide: add release notes for 4.0.14, 4.0.15, 4.2.4, 4.3.1
- migration-guides: release 3.5 is actually 4.0
- migration-guides: reword fix in release-notes-4.3.1
- msmtp: Upgrade to 1.8.25
- oeqa/selftest/tinfoil: Add tests that parse virtual recipes
- openssl: improve handshake test error reporting
- package_ipk: Fix Source: field variable dependency
- patchtest: shorten patch signed-off-by test output
- perf: lift :term:`TARGET_CC_ARCH` modification out of security_flags.inc
- perl: Upgrade to 5.38.2
- perlcross: Upgrade to 1.5.2
- poky.conf: bump version for 4.3.2 release
- python3-ptest: skip test_storlines
- python3-urllib3: Upgrade to 2.0.7
- qemu: Upgrade to 8.1.2
- ref-manual: Fix reference to MIRRORS/PREMIRRORS defaults
- ref-manual: releases.svg: update nanbield release status
- useradd_base: sed -i destroys symlinks
- rootfs-postcommands: sed -i destroys symlinks
- sstate: Ensure sstate searches update file mtime
- strace: backport fix for so_peerpidfd-test
- systemd-boot: Fix build issues on armv7a-linux
- systemd-compat-units.bb: fix postinstall script
- systemd: fix DynamicUser issue
- systemd: update :term:`LICENSE` statement
- tcl: skip async and event tests in run-ptest
- tcl: skip timing-dependent tests in run-ptest
- test-manual: add links to python unittest
- test-manual: add or improve hyperlinks
- test-manual: explicit or fix file paths
- test-manual: resource updates
- test-manual: text and formatting fixes
- test-manual: use working example
- testimage: Drop target_dumper and most of monitor_dumper
- testimage: Exclude wtmp from target-dumper commands
- tzdata: Upgrade to 2023d
- update_gtk_icon_cache: Fix for GTK4-only builds
- useradd_base: Fix sed command line for passwd-expire
- vim: Upgrade to 9.0.2130
- xserver-xorg: Upgrade to 21.1.9
- xwayland: Upgrade to 23.2.2
Known Issues in Yocto-4.3.2
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- N/A
Contributors to Yocto-4.3.2
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Adam Johnston
- Alexander Kanavin
- Anuj Mittal
- Bastian Krause
- Bruce Ashfield
- Chen Qi
- Deepthi Hemraj
- Dhairya Nagodra
- Dmitry Baryshkov
- Fahad Arslan
- Javier Tia
- Jermain Horsman
- Joakim Tjernlund
- Julien Stephan
- Justin Bronder
- Khem Raj
- Lee Chee Yang
- Marco Felsch
- Markus Volk
- Marta Rybczynska
- Massimiliano Minella
- Michael Opdenacker
- Paul Barker
- Peter Kjellerstedt
- Peter Marko
- Randy MacLeod
- Rasmus Villemoes
- Richard Purdie
- Ross Burton
- Shubham Kulkarni
- Simone Weiß
- Steve Sakoman
- Sundeep KOKKONDA
- Tim Orling
- Trevor Gamblin
- Vijay Anusuri
- Viswanath Kraleti
- Vyacheslav Yurkov
- Wang Mingyu
- William Lyu
- Zoltán Böszörményi
Repositories / Downloads for Yocto-4.3.2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poky
- Repository Location: :yocto_git:`/poky`
- Branch: :yocto_git:`nanbield </poky/log/?h=nanbield>`
- Tag: :yocto_git:`yocto-4.3.2 </poky/log/?h=yocto-4.3.2>`
- Git Revision: :yocto_git:`f768ffb8916feb6542fcbe3e946cbf30e247b151 </poky/commit/?id=f768ffb8916feb6542fcbe3e946cbf30e247b151>`
- Release Artefact: poky-f768ffb8916feb6542fcbe3e946cbf30e247b151
- sha: 21ca1695d70aba9b4bd8626d160111feab76206883cd14fe41eb024692bdfd7b
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3.2/poky-f768ffb8916feb6542fcbe3e946cbf30e247b151.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.3.2/poky-f768ffb8916feb6542fcbe3e946cbf30e247b151.tar.bz2
openembedded-core
- Repository Location: :oe_git:`/openembedded-core`
- Branch: :oe_git:`nanbield </openembedded-core/log/?h=nanbield>`
- Tag: :oe_git:`yocto-4.3.2 </openembedded-core/log/?h=yocto-4.3.2>`
- Git Revision: :oe_git:`ff595b937d37d2315386aebf315cea719e2362ea </openembedded-core/commit/?id=ff595b937d37d2315386aebf315cea719e2362ea>`
- Release Artefact: oecore-ff595b937d37d2315386aebf315cea719e2362ea
- sha: a7c6332dc0e09ecc08221e78b11151e8e2a3fd9fa3eaad96a4c03b67012bfb97
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3.2/oecore-ff595b937d37d2315386aebf315cea719e2362ea.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.3.2/oecore-ff595b937d37d2315386aebf315cea719e2362ea.tar.bz2
meta-mingw
- Repository Location: :yocto_git:`/meta-mingw`
- Branch: :yocto_git:`nanbield </meta-mingw/log/?h=nanbield>`
- Tag: :yocto_git:`yocto-4.3.2 </meta-mingw/log/?h=yocto-4.3.2>`
- Git Revision: :yocto_git:`49617a253e09baabbf0355bc736122e9549c8ab2 </meta-mingw/commit/?id=49617a253e09baabbf0355bc736122e9549c8ab2>`
- Release Artefact: meta-mingw-49617a253e09baabbf0355bc736122e9549c8ab2
- sha: 2225115b73589cdbf1e491115221035c6a61679a92a93b2a3cf761ff87bf4ecc
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3.2/meta-mingw-49617a253e09baabbf0355bc736122e9549c8ab2.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.3.2/meta-mingw-49617a253e09baabbf0355bc736122e9549c8ab2.tar.bz2
bitbake
- Repository Location: :oe_git:`/bitbake`
- Branch: :oe_git:`2.6 </bitbake/log/?h=2.6>`
- Tag: :oe_git:`yocto-4.3.2 </bitbake/log/?h=yocto-4.3.2>`
- Git Revision: :oe_git:`72bf75f0b2e7f36930185e18a1de8277ce7045d8 </bitbake/commit/?id=72bf75f0b2e7f36930185e18a1de8277ce7045d8>`
- Release Artefact: bitbake-72bf75f0b2e7f36930185e18a1de8277ce7045d8
- sha: 0b6ccd4796ccd211605090348a3d4378358c839ae1bb4c35964d0f36f2663187
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3.2/bitbake-72bf75f0b2e7f36930185e18a1de8277ce7045d8.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.3.2/bitbake-72bf75f0b2e7f36930185e18a1de8277ce7045d8.tar.bz2
yocto-docs
- Repository Location: :yocto_git:`/yocto-docs`
- Branch: :yocto_git:`nanbield </yocto-docs/log/?h=nanbield>`
- Tag: :yocto_git:`yocto-4.3.2 </yocto-docs/log/?h=yocto-4.3.2>`
- Git Revision: :yocto_git:`fac88b9e80646a68b31975c915a718a9b6b2b439 </yocto-docs/commit/?id=fac88b9e80646a68b31975c915a718a9b6b2b439>`

View File

@@ -0,0 +1,200 @@
.. SPDX-License-Identifier: CC-BY-SA-2.0-UK
Release notes for Yocto-4.3.3 (Nanbield)
----------------------------------------
Security Fixes in Yocto-4.3.3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- curl: Fix :cve:`2023-46219`
- glibc: Ignore fixed :cve:`2023-0687` and :cve:`2023-5156`
- linux-yocto/6.1: Ignore :cve:`2022-48619`, :cve:`2023-4610`, :cve:`2023-5178`, :cve:`2023-5972`, :cve:`2023-6040`, :cve:`2023-6531`, :cve:`2023-6546`, :cve:`2023-6622`, :cve:`2023-6679`, :cve:`2023-6817`, :cve:`2023-6931`, :cve:`2023-6932`, :cve:`2023-7192`, :cve:`2024-0193` and :cve:`2024-0443`
- linux-yocto/6.1: Fix :cve:`2023-1193`, :cve_mitre:`2023-51779`, :cve:`2023-51780`, :cve:`2023-51781`, :cve:`2023-51782` and :cve:`2023-6606`
- qemu: Fix :cve:`2023-3019`
- shadow: Fix :cve:`2023-4641`
- sqlite3: Fix :cve:`2024-0232`
- sqlite3: drop obsolete CVE ignore :cve:`2023-36191`
- sudo: Fix :cve:`2023-42456` and :cve:`2023-42465`
- tiff: Fix :cve:`2023-6277`
- xwayland: Fix :cve:`2023-6377` and :cve:`2023-6478`
Fixes in Yocto-4.3.3
~~~~~~~~~~~~~~~~~~~~
- aspell: upgrade to 0.60.8.1
- avahi: update URL for new project location
- base-passwd: upgrade to 3.6.3
- bitbake: asyncrpc: Add context manager API
- bitbake: toaster/toastergui: Bug-fix verify given layer path only if import/add local layer
- build-appliance-image: Update to nanbield head revision
- classes-global/sstate: Fix variable typo
- cmake: Unset CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES
- contributor-guide: fix lore URL
- contributor-guide: use "apt" instead of "aptitude"
- create-spdx-2.2: combine spdx can try to write before dir creation
- curl: Disable test 1091 due to intermittent failures
- curl: Disable two intermittently failing tests
- dev-manual: gen-tapdevs need iptables installed
- dev-manual: start.rst: Update use of Download page
- dev-manual: update license manifest path
- devtool: deploy: provide max_process to strip_execs
- devtool: modify: Handle recipes with a menuconfig task correctly
- docs: document VSCode extension
- dtc: preserve version also from shallow git clones
- elfutils: Update license information
- glib-2.0: upgrade to 2.78.3
- glibc-y2038-tests: do not run tests using 32 bit time APIs
- go: upgrade to 1.20.12
- grub: fs/fat: Don't error when mtime is 0
- gstreamer1.0: upgrade to 1.22.8
- icon-naming-utils: take tarball from debian
- kea: upgrade to 2.4.1
- lib/prservice: Improve lock handling robustness
- libadwaita: upgrade to 1.4.2
- libatomic-ops: upgrade to 7.8.2
- libva-utils: upgrade to 2.20.1
- linux-firmware: Change bnx2 packaging
- linux-firmware: Create bnx2x subpackage
- linux-firmware: Fix the linux-firmware-bcm4373 :term:`FILES` variable
- linux-firmware: Package iwlwifi .pnvm files
- linux-yocto/6.1: security/cfg: add configs to harden protection
- linux-yocto/6.1: update to v6.1.73
- meta/documentation.conf: fix do_menuconfig description
- migration-guide: add release notes for 4.0.16
- migration-guide: add release notes for 4.3.2
- ncurses: Fix - tty is hung after reset
- nfs-utils: Update Upstream-Status
- nfs-utils: upgrade to 2.6.4
- oeqa/selftest/prservice: Improve test robustness
- package.py: OEHasPackage: Add :term:`MLPREFIX` to packagename
- poky.conf: bump version for 4.3.3 release
- pseudo: Update to pull in syncfs probe fix
- python3-license-expression: Fix the ptest failure
- qemu.bbclass: fix a python TypeError
- qemu: upgrade to 8.1.4
- ref-manual: Add UBOOT_BINARY, extend :term:`UBOOT_CONFIG`
- ref-manual: classes: remove insserv bbclass
- ref-manual: update tested and supported distros
- release-notes-4.3: fix spacing
- rootfs.py: check depmodwrapper execution result
- rpcbind: Specify state directory under /run
- scripts/runqemu: fix regex escape sequences
- sqlite3: upgrade to 3.43.2
- sstate: Fix dir ownership issues in :term:`SSTATE_DIR`
- sudo: upgrade to 1.9.15p5
- tcl: Fix prepending to run-ptest script
- uninative-tarball.xz - reproducibility fix
- xwayland: upgrade to 23.2.3
- zstd: fix :term:`LICENSE` statement
Known Issues in Yocto-4.3.3
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- N/A
Contributors to Yocto-4.3.3
~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Alassane Yattara
- Alexander Kanavin
- Anuj Mittal
- Baruch Siach
- Bruce Ashfield
- Chen Qi
- Clay Chang
- Enguerrand de Ribaucourt
- Ilya A. Kriveshko
- Jason Andryuk
- Jeremy A. Puhlman
- Joao Marcos Costa
- Jose Quaresma
- Joshua Watt
- Jörg Sommer
- Khem Raj
- Lee Chee Yang
- Markus Volk
- Massimiliano Minella
- Maxin B. John
- Michael Opdenacker
- Ming Liu
- Mingli Yu
- Peter Kjellerstedt
- Peter Marko
- Richard Purdie
- Robert Berger
- Robert Yang
- Rodrigo M. Duarte
- Ross Burton
- Saul Wold
- Simone Weiß
- Soumya Sambu
- Steve Sakoman
- Trevor Gamblin
- Wang Mingyu
- William Lyu
- Xiangyu Chen
- Yang Xu
- Zahir Hussain
Repositories / Downloads for Yocto-4.3.3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
poky
- Repository Location: :yocto_git:`/poky`
- Branch: :yocto_git:`nanbield </poky/log/?h=nanbield>`
- Tag: :yocto_git:`yocto-4.3.3 </poky/log/?h=yocto-4.3.3>`
- Git Revision: :yocto_git:`d3b27346c3a4a7ef7ec517e9d339d22bda74349d </poky/commit/?id=d3b27346c3a4a7ef7ec517e9d339d22bda74349d>`
- Release Artefact: poky-d3b27346c3a4a7ef7ec517e9d339d22bda74349d
- sha: 2db39f1bf7bbcee039e9970eed1f6f9233bcc95d675159647c9a2a334fc81eb0
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3.3/poky-d3b27346c3a4a7ef7ec517e9d339d22bda74349d.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.3.3/poky-d3b27346c3a4a7ef7ec517e9d339d22bda74349d.tar.bz2
openembedded-core
- Repository Location: :oe_git:`/openembedded-core`
- Branch: :oe_git:`nanbield </openembedded-core/log/?h=nanbield>`
- Tag: :oe_git:`yocto-4.3.3 </openembedded-core/log/?h=yocto-4.3.3>`
- Git Revision: :oe_git:`0584d01f623e1f9b0fef4dfa95dd66de6cbfb7b3 </openembedded-core/commit/?id=0584d01f623e1f9b0fef4dfa95dd66de6cbfb7b3>`
- Release Artefact: oecore-0584d01f623e1f9b0fef4dfa95dd66de6cbfb7b3
- sha: 730de0d5744f139322402ff9a6b2483c6ab929f704cec06258ae51de1daebe3d
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3.3/oecore-0584d01f623e1f9b0fef4dfa95dd66de6cbfb7b3.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.3.3/oecore-0584d01f623e1f9b0fef4dfa95dd66de6cbfb7b3.tar.bz2
meta-mingw
- Repository Location: :yocto_git:`/meta-mingw`
- Branch: :yocto_git:`nanbield </meta-mingw/log/?h=nanbield>`
- Tag: :yocto_git:`yocto-4.3.3 </meta-mingw/log/?h=yocto-4.3.3>`
- Git Revision: :yocto_git:`49617a253e09baabbf0355bc736122e9549c8ab2 </meta-mingw/commit/?id=49617a253e09baabbf0355bc736122e9549c8ab2>`
- Release Artefact: meta-mingw-49617a253e09baabbf0355bc736122e9549c8ab2
- sha: 2225115b73589cdbf1e491115221035c6a61679a92a93b2a3cf761ff87bf4ecc
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3.3/meta-mingw-49617a253e09baabbf0355bc736122e9549c8ab2.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.3.3/meta-mingw-49617a253e09baabbf0355bc736122e9549c8ab2.tar.bz2
bitbake
- Repository Location: :oe_git:`/bitbake`
- Branch: :oe_git:`2.6 </bitbake/log/?h=2.6>`
- Tag: :oe_git:`yocto-4.3.3 </bitbake/log/?h=yocto-4.3.3>`
- Git Revision: :oe_git:`380a9ac97de5774378ded5e37d40b79b96761a0c </bitbake/commit/?id=380a9ac97de5774378ded5e37d40b79b96761a0c>`
- Release Artefact: bitbake-380a9ac97de5774378ded5e37d40b79b96761a0c
- sha: 78f579b9d29e72d09b6fb10ac62aa925104335e92d2afb3155bc9ab1994e36c1
- Download Locations:
http://downloads.yoctoproject.org/releases/yocto/yocto-4.3.3/bitbake-380a9ac97de5774378ded5e37d40b79b96761a0c.tar.bz2
http://mirrors.kernel.org/yocto/yocto/yocto-4.3.3/bitbake-380a9ac97de5774378ded5e37d40b79b96761a0c.tar.bz2
yocto-docs
- Repository Location: :yocto_git:`/yocto-docs`
- Branch: :yocto_git:`nanbield </yocto-docs/log/?h=nanbield>`
- Tag: :yocto_git:`yocto-4.3.3 </yocto-docs/log/?h=yocto-4.3.3>`
- Git Revision: :yocto_git:`dde4b815db82196af086847f68ee27d7902b4ffa </yocto-docs/commit/?id=dde4b815db82196af086847f68ee27d7902b4ffa>`

View File

@@ -94,7 +94,7 @@ New Features / Enhancements in 4.3
API to access the kernel tracefs directory (from meta-openembedded)
- `libxmlb <https://github.com/hughsie/libxmlb>`__: A library to help create
and query binary XML blobs (from meta-oe)
and query binary XML blobs (from meta-oe)
- ``musl-legacy-error``: glibc ``error()`` API implementation still needed
by a few packages.

View File

@@ -37,7 +37,7 @@ to each data source as a layer. For information on layers, see the
":ref:`dev-manual/layers:understanding and creating layers`"
section of the Yocto Project Development Tasks Manual.
Following are some brief details on these core components. For
Here are some brief details on these core components. For
additional information on how these components interact during a build,
see the
":ref:`overview-manual/concepts:openembedded build system concepts`"
@@ -1321,7 +1321,7 @@ can initialize the environment before using the tools.
All the output files for an SDK are written to the ``deploy/sdk`` folder
inside the :term:`Build Directory` as shown in the previous figure. Depending
on the type of SDK, there are several variables to configure these files.
Here are the variables associated with an extensible SDK:
The variables associated with an extensible SDK are:
- :term:`DEPLOY_DIR`: Points to
the ``deploy`` directory.
@@ -1375,7 +1375,7 @@ This next list, shows the variables associated with a standard SDK:
Lists packages that make up the target part of the SDK (i.e. the part
built for the target hardware).
- :term:`SDKPATH`: Defines the
- :term:`SDKPATHINSTALL`: Defines the
default SDK installation path offered by the installation script.
- :term:`SDK_HOST_MANIFEST`:
@@ -2238,7 +2238,7 @@ which is integrating ``sayhello`` in our root file system:
#. Add ``sayhello`` to :term:`IMAGE_INSTALL` to integrate it into
the root file system
The following are the contents of ``libhello/Makefile``::
The contents of ``libhello/Makefile`` are::
LIB=libhello.so
@@ -2266,7 +2266,7 @@ The following are the contents of ``libhello/Makefile``::
and ``CFLAGS`` as BitBake will set them as environment variables according
to your build configuration.
The following are the contents of ``libhello/hellolib.h``::
The contents of ``libhello/hellolib.h`` are::
#ifndef HELLOLIB_H
#define HELLOLIB_H
@@ -2275,7 +2275,7 @@ The following are the contents of ``libhello/hellolib.h``::
#endif
The following are the contents of ``libhello/hellolib.c``::
The contents of ``libhello/hellolib.c`` are::
#include <stdio.h>
@@ -2283,7 +2283,7 @@ The following are the contents of ``libhello/hellolib.c``::
puts("Hello from a Yocto demo \n");
}
The following are the contents of ``sayhello/Makefile``::
The contents of ``sayhello/Makefile`` are::
EXEC=sayhello
LDFLAGS += -lhello
@@ -2296,7 +2296,7 @@ The following are the contents of ``sayhello/Makefile``::
clean:
rm -rf $(EXEC) *.o
The following are the contents of ``sayhello/sayhello.c``::
The contents of ``sayhello/sayhello.c`` are::
#include <hellolib.h>
@@ -2305,7 +2305,7 @@ The following are the contents of ``sayhello/sayhello.c``::
return 0;
}
The following are the contents of ``libhello_0.1.bb``::
The contents of ``libhello_0.1.bb`` are::
SUMMARY = "Hello demo library"
DESCRIPTION = "Hello shared library used in Yocto demo"
@@ -2328,7 +2328,7 @@ The following are the contents of ``libhello_0.1.bb``::
oe_soinstall ${PN}.so.${PV} ${D}${libdir}
}
The following are the contents of ``sayhello_0.1.bb``::
The contents of ``sayhello_0.1.bb`` are::
SUMMARY = "SayHello demo"
DESCRIPTION = "SayHello project used in Yocto demo"

View File

@@ -131,6 +131,14 @@ are several ways of working in the Yocto Project environment:
Toaster and on how to use Toaster in general, see the
:doc:`/toaster-manual/index`.
- *Using the VSCode Extension:* You can use the `Yocto Project BitBake
<https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake>`__
extension for Visual Studio Code to start your BitBake builds through a
graphical user interface.
Learn more about the VSCode Extension on the `extension's marketplace page
<https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake>`__.
Yocto Project Source Repositories
=================================

View File

@@ -340,6 +340,18 @@ the Yocto Project:
view information about builds. For information on Toaster, see the
:doc:`/toaster-manual/index`.
- *VSCode IDE Extension:* The `Yocto Project BitBake
<https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake>`__
extension for Visual Studio Code provides a rich set of features for working
with BitBake recipes. The extension provides syntax highlighting,
hover tips, and completion for BitBake files as well as embedded Python and
Bash languages. Additional views and commands allow you to efficiently
browse, build and edit recipes. It also provides SDK integration for
cross-compiling and debugging through ``devtool``.
Learn more about the VSCode Extension on the `extension's frontpage
<https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake>`__.
Production Tools
----------------
@@ -605,6 +617,14 @@ Build Host runs, you have several choices.
For information about and how to use Toaster, see the
:doc:`/toaster-manual/index`.
- *Using the VSCode Extension:* You can use the `Yocto Project BitBake
<https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake>`__
extension for Visual Studio Code to start your BitBake builds through a
graphical user interface.
Learn more about the VSCode Extension on the `extension's marketplace page
<https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake>`__
Reference Embedded Distribution (Poky)
======================================
@@ -717,7 +737,7 @@ workflow:
.. image:: figures/YP-flow-diagram.png
:width: 100%
Following is a brief summary of the "workflow":
Here is a brief summary of the "workflow":
#. Developers specify architecture, policies, patches and configuration
details.

File diff suppressed because it is too large Load Diff

View File

@@ -392,7 +392,7 @@ and BusyBox. It could have been called "kconfig" too.
``compress_doc``
================
Enables compression for man pages and info pages. This class is intended
Enables compression for manual and info pages. This class is intended
to be inherited globally. The default compression mechanism is gz (gzip)
but you can select an alternative mechanism by setting the
:term:`DOC_COMPRESS` variable.
@@ -664,7 +664,7 @@ information about using :ref:`ref-classes-devshell`.
The :ref:`ref-classes-devupstream` class uses
:term:`BBCLASSEXTEND` to add a variant of the
recipe that fetches from an alternative URI (e.g. Git) instead of a
tarball. Following is an example::
tarball. Here is an example::
BBCLASSEXTEND = "devupstream:target"
SRC_URI:class-devupstream = "git://git.example.com/example;branch=main"
@@ -1217,8 +1217,8 @@ Please keep in mind that the QA checks
are meant to detect real or potential problems in the packaged
output. So exercise caution when disabling these checks.
Here are the tests you can list with the :term:`WARN_QA` and
:term:`ERROR_QA` variables:
The tests you can list with the :term:`WARN_QA` and
:term:`ERROR_QA` variables are:
- ``already-stripped:`` Checks that produced binaries have not
already been stripped prior to the build system extracting debug
@@ -1538,16 +1538,6 @@ Here are the tests you can list with the :term:`WARN_QA` and
automatically get these versions. Consequently, you should only need
to explicitly add dependencies to binary driver recipes.
.. _ref-classes-insserv:
``insserv``
===========
The :ref:`ref-classes-insserv` class uses the ``insserv`` utility to update the order
of symbolic links in ``/etc/rc?.d/`` within an image based on
dependencies specified by LSB headers in the ``init.d`` scripts
themselves.
.. _ref-classes-kernel:
``kernel``
@@ -3210,7 +3200,7 @@ The :ref:`ref-classes-uboot-config` class provides support for U-Boot configurat
a machine. Specify the machine in your recipe as follows::
UBOOT_CONFIG ??= <default>
UBOOT_CONFIG[foo] = "config,images"
UBOOT_CONFIG[foo] = "config,images,binary"
You can also specify the machine using this method::
@@ -3227,7 +3217,7 @@ information.
The :ref:`ref-classes-uboot-sign` class provides support for U-Boot verified boot.
It is intended to be inherited from U-Boot recipes.
Here are variables used by this class:
The variables used by this class are:
- :term:`SPL_MKIMAGE_DTCOPTS`: DTC options for U-Boot ``mkimage`` when
building the FIT image.

View File

@@ -378,7 +378,7 @@ command::
Unless you provide a specific recipe name on the command line, the
command checks all recipes in all configured layers.
Following is a partial example table that reports on all the recipes::
Here is a partial example table that reports on all the recipes::
$ devtool check-upgrade-status
...
@@ -598,7 +598,7 @@ The ``devtool status`` command has no command-line options::
$ devtool status
Following is sample output after using
Here is sample output after using
:ref:`devtool add <ref-manual/devtool-reference:adding a new recipe to the workspace layer>`
to create and add the ``mtr_0.86.bb`` recipe to the ``workspace`` directory::

View File

@@ -90,7 +90,7 @@ HTTPS requests and direct them to the ``http://`` sources mirror. You
can use ``file://`` URLs to point to local directories or network shares
as well.
Here are other options::
Another option is to set::
BB_NO_NETWORK = "1"
@@ -106,7 +106,7 @@ This statement limits the build system to pulling source from the
:term:`PREMIRRORS` only. Again, this technique is useful for reproducing
builds.
Here is another technique::
Here is yet another technique::
BB_GENERATE_MIRROR_TARBALLS = "1"
@@ -135,7 +135,7 @@ Most source fetching by the OpenEmbedded build system is done by
single user or can be in ``/usr/local/etc/wgetrc`` as a global user
file.
Following is the applicable code for setting various proxy types in the
Here is the applicable code for setting various proxy types in the
``.wgetrc`` file. By default, these settings are disabled with comments.
To use them, remove the comments::

View File

@@ -268,7 +268,7 @@ you can add several different predefined packages such as development
utilities or packages with debug information needed to investigate
application problems or profile applications.
Here are the image features available for all images:
The image features available for all images are:
- *allow-empty-password:* Allows Dropbear and OpenSSH to accept
logins from accounts having an empty password string.

View File

@@ -32,7 +32,7 @@ that contain image recipe files::
$ ls meta*/recipes*/images/*.bb
Following is a list of supported recipes:
Here is a list of supported recipes:
- ``build-appliance-image``: An example virtual machine that contains
all the pieces required to run builds using the build system as well

View File

@@ -14,7 +14,7 @@ Major and Minor Release Cadence
The Yocto Project delivers major releases (e.g. &DISTRO;) using a six
month cadence roughly timed each April and October of the year.
Following are examples of some major YP releases with their codenames
Here are examples of some major YP releases with their codenames
also shown. See the ":ref:`ref-manual/release-process:major release codenames`"
section for information on codenames used with major releases.
@@ -29,8 +29,8 @@ major holidays in various geographies.
The Yocto project delivers minor (point) releases on an unscheduled
basis and are usually driven by the accumulation of enough significant
fixes or enhancements to the associated major release. Following are
some example past point releases:
fixes or enhancements to the associated major release.
Some example past point releases are:
- 4.1.3
- 4.0.8
@@ -175,7 +175,7 @@ consists of the following pieces:
piece of software. The test allows the packages to be run within a
target image.
- ``oe-selftest``: Tests combination BitBake invocations. These tests
- ``oe-selftest``: Tests combinations of BitBake invocations. These tests
operate outside the OpenEmbedded build system itself. The
``oe-selftest`` can run all tests by default or can run selected
tests or test suites.

View File

@@ -169,6 +169,11 @@ Here is a list of resources you might find helpful:
the :term:`OpenEmbedded Build System`, which uses
BitBake, that reports build information.
- `Yocto Project BitBake extension for VSCode
<https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake>`__:
This extension provides a rich feature set when working with BitBake recipes
within the Visual Studio Code IDE.
- :yocto_wiki:`FAQ </FAQ>`: A list of commonly asked
questions and their answers.

View File

@@ -537,7 +537,7 @@ recipe-specific :term:`WORKDIR` directories. Thus, the
This directory holds information that BitBake uses for accounting
purposes to track what tasks have run and when they have run. The
directory is sub-divided by architecture, package name, and version.
Following is an example::
Here is an example::
stamps/all-poky-linux/distcc-config/1.0-r0.do_build-2fdd....2do

View File

@@ -62,8 +62,6 @@ supported on the following distributions:
- Ubuntu 22.04 (LTS)
- Fedora 37
- Fedora 38
- CentOS Stream 8
@@ -74,19 +72,18 @@ supported on the following distributions:
- OpenSUSE Leap 15.4
- AlmaLinux 8.8
- AlmaLinux 8
- AlmaLinux 9.2
- AlmaLinux 9
The following distribution versions are still tested (being listed
in :term:`SANITY_TESTED_DISTROS`), even though the organizations
publishing them no longer make updates publicly available:
- Rocky 9
The following distribution versions are still tested, even though the
organizations publishing them no longer make updates publicly available:
- Ubuntu 18.04 (LTS)
- Ubuntu 22.10
- OpenSUSE Leap 15.3
- Ubuntu 23.04
Note that the Yocto Project doesn't have access to private updates
that some of these versions may have. Therefore, our testing has
@@ -95,7 +92,11 @@ limited value if you have access to such updates.
Finally, here are the distribution versions which were previously
tested on former revisions of "&DISTRO_NAME;", but no longer are:
*This list is currently empty*
- Ubuntu 22.10
- Fedora 37
- OpenSUSE Leap 15.3
.. note::
@@ -167,8 +168,8 @@ with a supported Ubuntu or Debian Linux distribution::
Here are the packages needed to build Project documentation manuals::
$ sudo apt install make python3-pip inkscape texlive-latex-extra
&PIP3_HOST_PACKAGES_DOC;
$ sudo apt install git make inkscape texlive-latex-extra
$ sudo apt install sphinx python3-saneyaml python3-sphinx-rtd-theme
Fedora Packages
---------------
@@ -180,7 +181,7 @@ with a supported Fedora Linux distribution::
Here are the packages needed to build Project documentation manuals::
$ sudo dnf install make python3-pip which inkscape texlive-fncychap
$ sudo dnf install git make python3-pip which inkscape texlive-fncychap
&PIP3_HOST_PACKAGES_DOC;
openSUSE Packages
@@ -193,7 +194,7 @@ with a supported openSUSE distribution::
Here are the packages needed to build Project documentation manuals::
$ sudo zypper install make python3-pip which inkscape texlive-fncychap
$ sudo zypper install git make python3-pip which inkscape texlive-fncychap
&PIP3_HOST_PACKAGES_DOC;
@@ -220,7 +221,7 @@ with a supported AlmaLinux distribution::
Here are the packages needed to build Project documentation manuals::
$ sudo dnf install make python3-pip which inkscape texlive-fncychap
$ sudo dnf install git make python3-pip which inkscape texlive-fncychap
&PIP3_HOST_PACKAGES_DOC;
.. _system-requirements-buildtools:

View File

@@ -470,9 +470,29 @@ You can run this task using BitBake as follows::
$ bitbake -c cleanall recipe
Typically, you would not normally use the :ref:`ref-tasks-cleanall` task. Do so only
if you want to start fresh with the :ref:`ref-tasks-fetch`
task.
You should never use the :ref:`ref-tasks-cleanall` task in a normal
scenario. If you want to start fresh with the :ref:`ref-tasks-fetch` task,
use instead::
$ bitbake -f -c fetch recipe
.. note::
The reason to prefer ``bitbake -f -c fetch`` is that the
:ref:`ref-tasks-cleanall` task would break in some cases, such as::
$ bitbake -c fetch recipe
$ bitbake -c cleanall recipe-native
$ bitbake -c unpack recipe
because after step 1 there is a stamp file for the
:ref:`ref-tasks-fetch` task of ``recipe``, and it won't be removed at
step 2 because step 2 uses a different work directory. So the unpack task
at step 3 will try to extract the downloaded archive and fail as it has
been deleted in step 2.
Note that this also applies to BitBake from concurrent processes when a
shared download directory (:term:`DL_DIR`) is setup.
.. _ref-tasks-cleansstate:
@@ -494,6 +514,18 @@ When you run the :ref:`ref-tasks-cleansstate` task, the OpenEmbedded build syste
no longer uses any sstate. Consequently, building the recipe from
scratch is guaranteed.
.. note::
Using :ref:`ref-tasks-cleansstate` with a shared :term:`SSTATE_DIR` is
not recommended because it could trigger an error during the build of a
separate BitBake instance. This is because the builds check sstate "up
front" but download the files later, so it if is deleted in the
meantime, it will cause an error but not a total failure as it will
rebuild it.
The reliable and preferred way to force a new build is to use ``bitbake
-f`` instead.
.. note::
The :ref:`ref-tasks-cleansstate` task cannot remove sstate from a remote sstate

View File

@@ -4,7 +4,7 @@
Yocto Project Terms
*******************
Following is a list of terms and definitions users new to the Yocto Project
Here is a list of terms and definitions users new to the Yocto Project
development environment might find helpful. While some of these terms are
universal, the list includes them just in case:
@@ -67,7 +67,7 @@ universal, the list includes them just in case:
:term:`TOPDIR` variable points to the :term:`Build Directory`.
You have a lot of flexibility when creating the :term:`Build Directory`.
Following are some examples that show how to create the directory. The
Here are some examples that show how to create the directory. The
examples assume your :term:`Source Directory` is named ``poky``:
- Create the :term:`Build Directory` inside your Source Directory and let

View File

@@ -311,7 +311,7 @@ system and gives an overview of their function and contents.
:term:`BB_ALLOWED_NETWORKS`
Specifies a space-delimited list of hosts that the fetcher is allowed
to use to obtain the required source code. Following are
to use to obtain the required source code. Here are
considerations surrounding this variable:
- This host list is only used if :term:`BB_NO_NETWORK` is either not set
@@ -2292,7 +2292,7 @@ system and gives an overview of their function and contents.
:term:`DOC_COMPRESS`
When inheriting the :ref:`ref-classes-compress_doc`
class, this variable sets the compression policy used when the
OpenEmbedded build system compresses man pages and info pages. By
OpenEmbedded build system compresses manual and info pages. By
default, the compression method used is gz (gzip). Other policies
available are xz and bz2.
@@ -3234,6 +3234,14 @@ system and gives an overview of their function and contents.
GROUPADD_PARAM:${PN} = "-r netdev"
More than one group can be added by separating each set of different
groups' parameters with a semicolon.
Here is an example adding multiple groups from the ``useradd-example.bb``
file in the ``meta-skeleton`` layer::
GROUPADD_PARAM:${PN} = "-g 880 group1; -g 890 group2"
For information on the standard Linux shell command
``groupadd``, see https://linux.die.net/man/8/groupadd.
@@ -6557,7 +6565,7 @@ system and gives an overview of their function and contents.
The :term:`PREFERRED_PROVIDER` variable is set with the name (:term:`PN`) of
the recipe you prefer to provide "virtual/kernel".
Following are more examples::
Here are more examples::
PREFERRED_PROVIDER_virtual/xserver = "xserver-xf86"
PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
@@ -6742,11 +6750,11 @@ system and gives an overview of their function and contents.
.. note::
A corresponding mechanism for virtual runtime dependencies
(packages) exists. However, the mechanism does not depend on any
special functionality beyond ordinary variable assignments. For
example, ``VIRTUAL-RUNTIME_dev_manager`` refers to the package of
the component that manages the ``/dev`` directory.
A corresponding mechanism for virtual runtime dependencies (packages)
exists. However, the mechanism does not depend on any special
functionality beyond ordinary variable assignments. For example,
:term:`VIRTUAL-RUNTIME_dev_manager <VIRTUAL-RUNTIME>` refers to the
package of the component that manages the ``/dev`` directory.
Setting the "preferred provider" for runtime dependencies is as
simple as using the following assignment in a configuration file::
@@ -7612,6 +7620,10 @@ system and gives an overview of their function and contents.
configuration will not take effect.
:term:`SDKPATH`
Defines the path used to collect the SDK components and build the
installer.
:term:`SDKPATHINSTALL`
Defines the path offered to the user for installation of the SDK that
is generated by the OpenEmbedded build system. The path appears as
the default location for installing the SDK when you run the SDK's
@@ -7621,7 +7633,7 @@ system and gives an overview of their function and contents.
:term:`SDKTARGETSYSROOT`
The full path to the sysroot used for cross-compilation within an SDK
as it will be when installed into the default
:term:`SDKPATH`.
:term:`SDKPATHINSTALL`.
:term:`SECTION`
The section in which packages should be categorized. Package
@@ -7913,6 +7925,11 @@ system and gives an overview of their function and contents.
image), compared to just using the :ref:`ref-classes-create-spdx` class
with no option.
:term:`SPDX_NAMESPACE_PREFIX`
This option could be used in order to change the prefix of ``spdxDocument``
and the prefix of ``documentNamespace``. It is set by default to
``http://spdx.org/spdxdoc``.
:term:`SPDX_PRETTY`
This option makes the SPDX output more human-readable, using
identation and newlines, instead of the default output in a
@@ -9383,23 +9400,30 @@ system and gives an overview of their function and contents.
See the machine include files in the :term:`Source Directory`
for these features.
:term:`UBOOT_BINARY`
Specifies the name of the binary build by U-Boot.
:term:`UBOOT_CONFIG`
Configures the :term:`UBOOT_MACHINE` and can
also define :term:`IMAGE_FSTYPES` for individual
cases.
Configures one or more U-Boot configurations to build. Each
configuration can define the :term:`UBOOT_MACHINE` and optionally the
:term:`IMAGE_FSTYPES` and the :term:`UBOOT_BINARY`.
Following is an example from the ``meta-fsl-arm`` layer. ::
Here is an example from the ``meta-freescale`` layer. ::
UBOOT_CONFIG ??= "sd"
UBOOT_CONFIG[sd] = "mx6qsabreauto_config,sdcard"
UBOOT_CONFIG[eimnor] = "mx6qsabreauto_eimnor_config"
UBOOT_CONFIG[nand] = "mx6qsabreauto_nand_config,ubifs"
UBOOT_CONFIG[spinor] = "mx6qsabreauto_spinor_config"
UBOOT_CONFIG ??= "sdcard-ifc-secure-boot sdcard-ifc sdcard-qspi lpuart qspi secure-boot nor"
UBOOT_CONFIG[nor] = "ls1021atwr_nor_defconfig"
UBOOT_CONFIG[sdcard-ifc] = "ls1021atwr_sdcard_ifc_defconfig,,u-boot-with-spl-pbl.bin"
UBOOT_CONFIG[sdcard-qspi] = "ls1021atwr_sdcard_qspi_defconfig,,u-boot-with-spl-pbl.bin"
UBOOT_CONFIG[lpuart] = "ls1021atwr_nor_lpuart_defconfig"
UBOOT_CONFIG[qspi] = "ls1021atwr_qspi_defconfig"
UBOOT_CONFIG[secure-boot] = "ls1021atwr_nor_SECURE_BOOT_defconfig"
UBOOT_CONFIG[sdcard-ifc-secure-boot] = "ls1021atwr_sdcard_ifc_SECURE_BOOT_defconfig,,u-boot-with-spl-pbl.bin"
In this example, "sd" is selected as the configuration of the possible four for the
:term:`UBOOT_MACHINE`. The "sd" configuration defines
"mx6qsabreauto_config" as the value for :term:`UBOOT_MACHINE`, while the
"sdcard" specifies the :term:`IMAGE_FSTYPES` to use for the U-Boot image.
In this example, all possible seven configurations are selected. Each
configuration specifies "..._defconfig" as :term:`UBOOT_MACHINE`, and
the "sd..." configurations define an individual name for
:term:`UBOOT_BINARY`. No configuration defines a second parameter for
:term:`IMAGE_FSTYPES` to use for the U-Boot image.
For more information on how the :term:`UBOOT_CONFIG` is handled, see the
:ref:`ref-classes-uboot-config` class.
@@ -9861,6 +9885,33 @@ system and gives an overview of their function and contents.
Additionally, you should also set the
:term:`USERADD_ERROR_DYNAMIC` variable.
:term:`VIRTUAL-RUNTIME`
:term:`VIRTUAL-RUNTIME` is a commonly used prefix for defining virtual
packages for runtime usage, typically for use in :term:`RDEPENDS`
or in image definitions.
An example is ``VIRTUAL-RUNTIME_base-utils`` that makes it possible
to either use BusyBox based utilities::
VIRTUAL-RUNTIME_base-utils = "busybox"
or their full featured implementations from GNU Coreutils
and other projects::
VIRTUAL-RUNTIME_base-utils = "packagegroup-core-base-utils"
Here are two examples using this virtual runtime package. The
first one is in :yocto_git:`initramfs-framework_1.0.bb
</poky/tree/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb?h=scarthgap>`::
RDEPENDS:${PN} += "${VIRTUAL-RUNTIME_base-utils}"
The second example is in the :yocto_git:`core-image-initramfs-boot
</poky/tree/meta/recipes-core/images/core-image-initramfs-boot.bb?h=scarthgap>`
image definition::
PACKAGE_INSTALL = "${INITRAMFS_SCRIPTS} ${VIRTUAL-RUNTIME_base-utils} base-passwd"
:term:`VOLATILE_LOG_DIR`
Specifies the persistence of the target's ``/var/log`` directory,
which is used to house postinstall target log files.
@@ -9922,7 +9973,7 @@ system and gives an overview of their function and contents.
With the :term:`WKS_FILE_DEPENDS` variable, you have the possibility to
specify a list of additional dependencies (e.g. native tools,
bootloaders, and so forth), that are required to build Wic images.
Following is an example::
Here is an example::
WKS_FILE_DEPENDS = "some-native-tool"

View File

@@ -66,7 +66,7 @@ Follow these steps to locate and hand-install the toolchain:
poky-glibc-x86_64-core-image-sato-core2-64-qemux86-64-toolchain-&DISTRO;.sh
#. *Run the Installer:* Be sure you have execution privileges and run
the installer. Following is an example from the ``Downloads``
the installer. Here is an example from the ``Downloads``
directory::
$ ~/Downloads/poky-glibc-x86_64-core-image-sato-core2-64-qemux86-64-toolchain-&DISTRO;.sh
@@ -165,12 +165,12 @@ build the SDK installer. Follow these steps:
variable inside your ``local.conf`` file before building the
SDK installer. Doing so ensures that the eventual SDK
installation process installs the appropriate library packages
as part of the SDK. Following is an example using ``libc``
as part of the SDK. Here is an example using ``libc``
static development libraries: TOOLCHAIN_TARGET_TASK:append = "
libc-staticdev"
#. *Run the Installer:* You can now run the SDK installer from
``tmp/deploy/sdk`` in the :term:`Build Directory`. Following is an example::
``tmp/deploy/sdk`` in the :term:`Build Directory`. Here is an example::
$ cd poky/build/tmp/deploy/sdk
$ ./poky-glibc-x86_64-core-image-sato-core2-64-toolchain-ext-&DISTRO;.sh
@@ -235,7 +235,7 @@ Follow these steps to extract the root filesystem:
This script is located in the top-level directory in which you
installed the toolchain (e.g. ``poky_sdk``).
Following is an example based on the toolchain installed in the
Here is an example based on the toolchain installed in the
":ref:`sdk-manual/appendix-obtain:locating pre-built sdk installers`" section::
$ source poky_sdk/environment-setup-core2-64-poky-linux
@@ -243,7 +243,7 @@ Follow these steps to extract the root filesystem:
#. *Extract the Root Filesystem:* Use the ``runqemu-extract-sdk``
command and provide the root filesystem image.
Following is an example command that extracts the root filesystem
Here is an example command that extracts the root filesystem
from a previously built root filesystem image that was downloaded
from the :yocto_dl:`Index of Releases </releases/yocto/yocto-&DISTRO;/machines/>`.
This command extracts the root filesystem into the ``core2-64-sato``

View File

@@ -74,7 +74,7 @@ Setting up the Extensible SDK environment directly in a Yocto build
$ bitbake meta-ide-support
$ bitbake -c populate_sysroot gtk+3
# or any other target or native item that the application developer would need
$ bitbake build-sysroots
$ bitbake build-sysroots -c build_native_sysroot && bitbake build-sysroots -c build_target_sysroot
Setting up the Extensible SDK from a standalone installer
---------------------------------------------------------
@@ -1226,8 +1226,12 @@ In this scenario, the Yocto build tooling, e.g. ``bitbake``
is directly accessible to build additional items, and it
can simply be executed directly::
$ bitbake curl-native
# Add newly built native items to native sysroot
$ bitbake build-sysroots -c build_native_sysroot
$ bitbake mesa
$ bitbake build-sysroots
# Add newly built target items to target sysroot
$ bitbake build-sysroots -c build_target_sysroot
When using a standalone installer for the Extensible SDK
--------------------------------------------------------

View File

@@ -66,7 +66,7 @@ The SDK development environment consists of the following:
In summary, the extensible and standard SDK share many features.
However, the extensible SDK has powerful development tools to help you
more quickly develop applications. Following is a table that summarizes
more quickly develop applications. Here is a table that summarizes
the primary differences between the standard and extensible SDK types
when considering which to build:

View File

@@ -5,6 +5,21 @@ documentation is created.
It is currently a work in progress.
## Automatic style validation
There is an ongoing effort to automate style validation
through the [Vale](https://vale.sh/). To try it, run:
$ make stylecheck
Note that this just applies to text. Therefore, the syntax
conventions described below still apply.
If you wish to add a new word to an "accept.txt" file
(./styles/config/vocabularies/<Vocab>/accept.txt),
make sure the spelling and capitalization matches
what Wikipedia or the project defining this word uses.
## Text standards
### Bulleted lists

View File

@@ -0,0 +1,20 @@
autovivification
blkparse
blktrace
callee
debugfs
ftrace
KernelShark
Kprobe
LTTng
perf
profiler
subcommand
subnode
superset
Sysprof
systemd
toolchain
tracepoint
Uprobe
wget

View File

@@ -0,0 +1,5 @@
BitBake
BSP
crosstap
OpenEmbedded
Yocto

View File

@@ -365,7 +365,7 @@ Perform the following steps to install Toaster:
/etc/apache2/conf.d/toaster.conf
Following is a sample Apache configuration for Toaster you can follow:
Here is a sample Apache configuration for Toaster you can follow:
.. code-block:: apache
@@ -495,7 +495,7 @@ The Toaster web interface allows you to do the following:
Toaster Web Interface Videos
----------------------------
Following are several videos that show how to use the Toaster GUI:
Here are several videos that show how to use the Toaster GUI:
- *Build Configuration:* This
`video <https://www.youtube.com/watch?v=qYgDZ8YzV6w>`__ overviews and

View File

@@ -214,6 +214,13 @@ contact us with other suggestions.
OpenEmbedded build system. If you are interested in using this type of
interface to create images, see the :doc:`/toaster-manual/index`.
* **Discover the VSCode extension**: The `Yocto Project BitBake
<https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake>`__
extension for the Visual Studio Code IDE provides language features and
commands for working with the Yocto Project. If you are interested in using
this extension, visit its `marketplace page
<https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake>`__.
* **Have Available the Yocto Project Reference Manual**: Unlike the rest of
the Yocto Project manual set, this manual is comprised of material suited
for reference rather than procedures. You can get build details, a closer

View File

@@ -1,6 +1,6 @@
DISTRO = "poky"
DISTRO_NAME = "Poky (Yocto Project Reference Distro)"
DISTRO_VERSION = "4.3.2"
DISTRO_VERSION = "4.3.4"
DISTRO_CODENAME = "nanbield"
SDK_VENDOR = "-pokysdk"
SDK_VERSION = "${@d.getVar('DISTRO_VERSION').replace('snapshot-${METADATA_REVISION}', 'snapshot')}"

View File

@@ -18,5 +18,5 @@ do_install() {
FILES:${PN} += "\
${exec_prefix} \
${sysconfdir \
${sysconfdir} \
"

View File

@@ -336,7 +336,7 @@ def sstate_install(ss, d):
for lock in locks:
bb.utils.unlockfile(lock)
sstate_install[vardepsexclude] += "SSTATE_ALLOW_OVERLAP_FILES STATE_MANMACH SSTATE_MANFILEPREFIX"
sstate_install[vardepsexclude] += "SSTATE_ALLOW_OVERLAP_FILES SSTATE_MANMACH SSTATE_MANFILEPREFIX"
sstate_install[vardeps] += "${SSTATEPOSTINSTFUNCS}"
def sstate_installpkg(ss, d):
@@ -703,7 +703,7 @@ def sstate_package(ss, d):
if d.getVar('SSTATE_SKIP_CREATION') == '1':
return
sstate_create_package = ['sstate_report_unihash', 'sstate_create_package']
sstate_create_package = ['sstate_report_unihash', 'sstate_create_pkgdirs', 'sstate_create_package']
if d.getVar('SSTATE_SIG_KEY'):
sstate_create_package.append('sstate_sign_package')
@@ -810,6 +810,12 @@ python sstate_task_postfunc () {
}
sstate_task_postfunc[dirs] = "${WORKDIR}"
python sstate_create_pkgdirs () {
# report_unihash can change SSTATE_PKG and mkdir -p in shell doesn't own intermediate directories
# correctly so do this in an intermediate python task
with bb.utils.umask(0o002):
bb.utils.mkdirhier(os.path.dirname(d.getVar('SSTATE_PKG')))
}
#
# Shell function to generate a sstate package from a directory
@@ -822,7 +828,6 @@ sstate_create_package () {
return
fi
mkdir --mode=0775 -p `dirname ${SSTATE_PKG}`
TFILE=`mktemp ${SSTATE_PKG}.XXXXXXXX`
OPT="-cS"

View File

@@ -63,9 +63,9 @@ python () {
d.appendVarFlag("emit_pkgdata", "vardepsexclude", " MULTILIB_VARIANTS")
d.appendVarFlag("write_specfile", "vardepsexclude", " MULTILIBS")
d.appendVarFlag("do_package", "vardepsexclude", " package_do_shlibs")
d.setVar("qemu_wrapper_cmdline", "def qemu_wrapper_cmdline(data, rootfs_path, library_paths):\n return 'false'")
elif bb.data.inherits_class('packagegroup', d) and not bb.data.inherits_class('nativesdk', d):
bb.error("Please ensure recipe %s sets PACKAGE_ARCH before inherit packagegroup" % d.getVar("FILE"))
}
def qemu_wrapper_cmdline(data, rootfs_path, library_paths):
return 'false'

View File

@@ -239,6 +239,8 @@ KERNEL_EXTRA_ARGS ?= ""
EXTRA_OEMAKE += ' CC="${KERNEL_CC}" LD="${KERNEL_LD}" OBJCOPY="${KERNEL_OBJCOPY}" STRIP="${KERNEL_STRIP}"'
EXTRA_OEMAKE += ' HOSTCC="${BUILD_CC}" HOSTCFLAGS="${BUILD_CFLAGS}" HOSTLDFLAGS="${BUILD_LDFLAGS}" HOSTCPP="${BUILD_CPP}"'
EXTRA_OEMAKE += ' HOSTCXX="${BUILD_CXX}" HOSTCXXFLAGS="${BUILD_CXXFLAGS}"'
# Only for newer kernels (5.19+), native pkg-config variables are set for older kernels when building kernel and modules
EXTRA_OEMAKE += ' HOSTPKG_CONFIG="pkg-config-native"'
KERNEL_ALT_IMAGETYPE ??= ""
@@ -356,9 +358,6 @@ kernel_do_compile() {
export PKG_CONFIG_LIBDIR="$PKG_CONFIG_DIR"
export PKG_CONFIG_SYSROOT_DIR=""
# for newer kernels (5.19+) there's a dedicated variable
export HOSTPKG_CONFIG="pkg-config-native"
if [ "${KERNEL_DEBUG_TIMESTAMPS}" != "1" ]; then
# kernel sources do not use do_unpack, so SOURCE_DATE_EPOCH may not
# be set....
@@ -408,6 +407,13 @@ addtask transform_kernel after do_compile before do_install
do_compile_kernelmodules() {
unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS MACHINE
# setup native pkg-config variables (kconfig scripts call pkg-config directly, cannot generically be overriden to pkg-config-native)
export PKG_CONFIG_DIR="${STAGING_DIR_NATIVE}${libdir_native}/pkgconfig"
export PKG_CONFIG_PATH="$PKG_CONFIG_DIR:${STAGING_DATADIR_NATIVE}/pkgconfig"
export PKG_CONFIG_LIBDIR="$PKG_CONFIG_DIR"
export PKG_CONFIG_SYSROOT_DIR=""
if [ "${KERNEL_DEBUG_TIMESTAMPS}" != "1" ]; then
# kernel sources do not use do_unpack, so SOURCE_DATE_EPOCH may not
# be set....

View File

@@ -285,7 +285,7 @@ python check_sdk_sysroots() {
dir_walk(SCAN_ROOT)
}
SDKTAROPTS = "--owner=root --group=root"
SDKTAROPTS = "--owner=root --group=root --clamp-mtime --mtime=@${SOURCE_DATE_EPOCH}"
fakeroot archive_sdk() {
# Package it up

View File

@@ -34,7 +34,7 @@ def qemu_wrapper_cmdline(data, rootfs_path, library_paths):
if qemu_binary == "qemu-allarch":
qemu_binary = "qemuwrapper"
qemu_options = data.getVar("QEMU_OPTIONS")
qemu_options = data.getVar("QEMU_OPTIONS") or ""
return "PSEUDO_UNLOAD=1 " + qemu_binary + " " + qemu_options + " -L " + rootfs_path\
+ " -E LD_LIBRARY_PATH=" + ":".join(library_paths) + " "

View File

@@ -1075,7 +1075,7 @@ def combine_spdx(d, rootfs_name, rootfs_deploydir, rootfs_spdxid, packages, spdx
"%s:%s" % (runtime_ref.externalDocumentId, runtime_doc.SPDXID),
comment="Runtime dependencies for %s" % name
)
bb.utils.mkdirhier(spdx_workdir)
image_spdx_path = spdx_workdir / (rootfs_name + ".spdx.json")
with image_spdx_path.open("wb") as f:

View File

@@ -418,6 +418,9 @@ def check_cves(d, patched_cves):
cves_status.append([product, False])
conn.close()
diff_ignore = list(set(cve_ignore) - set(cves_ignored))
if diff_ignore:
oe.qa.handle_error("cve_status_not_in_db", "Found CVE (%s) with CVE_STATUS set that are not found in database for this component" % " ".join(diff_ignore), d)
if not cves_in_recipe:
bb.note("No CVE records for products in recipe %s" % (pn))

View File

@@ -104,6 +104,7 @@ python () {
# If we deltask do_patch, there's no dependency to ensure do_unpack gets run, so add one
# Note that we cannot use d.appendVarFlag() here because deps is expected to be a list object, not a string
d.setVarFlag('do_configure', 'deps', (d.getVarFlag('do_configure', 'deps', False) or []) + ['do_unpack'])
d.setVarFlag('do_populate_lic', 'deps', (d.getVarFlag('do_populate_lic', 'deps', False) or []) + ['do_unpack'])
for task in d.getVar("SRCTREECOVEREDTASKS").split():
if local_srcuri and task in fetch_tasks:

View File

@@ -195,6 +195,7 @@ python multilib_virtclass_handler_global () {
# from a copy of the datastore
localdata = bb.data.createCopy(d)
localdata.delVar("KERNEL_VERSION")
localdata.delVar("KERNEL_VERSION_PKG_NAME")
variants = (e.data.getVar("MULTILIB_VARIANTS") or "").split()

View File

@@ -102,7 +102,6 @@ PTESTS_SLOW = "\
libgcrypt \
libmodule-build-perl \
lttng-tools \
mdadm \
openssh \
openssl \
parted \
@@ -131,6 +130,7 @@ PTESTS_PROBLEMS:append:x86 = " valgrind"
# ifupdown \ # Tested separately in lib/oeqa/selftest/cases/imagefeatures.py
# libinput \ # Tests need an unloaded system to be reliable
# libpam \ # Needs pam DISTRO_FEATURE
# mdadm \ # tests are flaky in AB.
# numactl \ # qemu not (yet) configured for numa; all tests are skipped
# libseccomp \ # tests failed: 38; add to slow tests once addressed
# python3-numpy \ # requires even more RAM and (possibly) disk space; multiple failures
@@ -143,6 +143,7 @@ PTESTS_PROBLEMS = "\
libinput \
libpam \
libseccomp \
mdadm \
numactl \
python3-license-expression \
python3-numpy \

View File

@@ -6,10 +6,10 @@
# to the distro running on the build machine.
#
UNINATIVE_MAXGLIBCVERSION = "2.38"
UNINATIVE_VERSION = "4.3"
UNINATIVE_MAXGLIBCVERSION = "2.39"
UNINATIVE_VERSION = "4.4"
UNINATIVE_URL ?= "http://downloads.yoctoproject.org/releases/uninative/${UNINATIVE_VERSION}/"
UNINATIVE_CHECKSUM[aarch64] ?= "8df05f4a41455018b4303b2e0ea4eac5c960b5a13713f6dbb33dfdb3e32753ec"
UNINATIVE_CHECKSUM[i686] ?= "bea76b4a97c9ba0077c0dd1295f519cd599dbf71f0ca1c964471c4cdb043addd"
UNINATIVE_CHECKSUM[x86_64] ?= "1c35f09a75c4096749bbe1e009df4e3968cde151424062cf4aa3ed89db22b030"
UNINATIVE_CHECKSUM[aarch64] ?= "b61876130f494f75092f21086b4a64ea5fb064045769bf1d32e9cb6af17ea8ec"
UNINATIVE_CHECKSUM[i686] ?= "9f28627828f0082cc0344eede4d9a861a9a064bfa8f36e072e46212f0fe45fcc"
UNINATIVE_CHECKSUM[x86_64] ?= "d81c54284be2bb886931fc87281d58177a2cd381cf99d1981f8923039a72a302"

View File

@@ -28,7 +28,7 @@ do_kernel_configcheck[doc] = "Validates the kernel configuration for a linux-yoc
do_kernel_configme[doc] = "Assembles the kernel configuration for a linux-yocto style kernel"
do_kernel_link_images[doc] = "Creates a symbolic link in arch/$arch/boot for vmlinux and vmlinuz kernel images"
do_listtasks[doc] = "Lists all defined tasks for a target"
do_menuconfig[doc] = "Runs 'make menuconfig' for the kernel"
do_menuconfig[doc] = "Runs 'make menuconfig' in the compilation directory"
do_package[doc] = "Analyzes the content of the holding area and splits it into subsets based on available packages and files"
do_package_index[doc] = "Creates or updates the index in the Package Feed area"
do_package_qa[doc] = "Runs QA checks on packaged files"

View File

@@ -79,20 +79,19 @@ def get_patched_cves(d):
import re
import oe.patch
pn = d.getVar("PN")
cve_match = re.compile("CVE:( CVE\-\d{4}\-\d+)+")
cve_match = re.compile(r"CVE:( CVE-\d{4}-\d+)+")
# Matches the last "CVE-YYYY-ID" in the file name, also if written
# in lowercase. Possible to have multiple CVE IDs in a single
# file name, but only the last one will be detected from the file name.
# However, patch files contents addressing multiple CVE IDs are supported
# (cve_match regular expression)
cve_file_name_match = re.compile(".*([Cc][Vv][Ee]\-\d{4}\-\d+)")
cve_file_name_match = re.compile(r".*(CVE-\d{4}-\d+)", re.IGNORECASE)
patched_cves = set()
bb.debug(2, "Looking for patches that solves CVEs for %s" % pn)
for url in oe.patch.src_patches(d):
patches = oe.patch.src_patches(d)
bb.debug(2, "Scanning %d patches for CVEs" % len(patches))
for url in patches:
patch_file = bb.fetch.decodeurl(url)[2]
# Check patch file name for CVE ID
@@ -100,7 +99,7 @@ def get_patched_cves(d):
if fname_match:
cve = fname_match.group(1).upper()
patched_cves.add(cve)
bb.debug(2, "Found CVE %s from patch file name %s" % (cve, patch_file))
bb.debug(2, "Found %s from patch file name %s" % (cve, patch_file))
# Remote patches won't be present and compressed patches won't be
# unpacked, so say we're not scanning them
@@ -231,7 +230,7 @@ def decode_cve_status(d, cve):
Convert CVE_STATUS into status, detail and description.
"""
status = d.getVarFlag("CVE_STATUS", cve)
if status is None:
if not status:
return ("", "", "")
status_split = status.split(':', 1)
@@ -240,7 +239,7 @@ def decode_cve_status(d, cve):
status_mapping = d.getVarFlag("CVE_CHECK_STATUSMAP", detail)
if status_mapping is None:
bb.warn('Invalid detail %s for CVE_STATUS[%s] = "%s", fallback to Unpatched' % (detail, cve, status))
bb.warn('Invalid detail "%s" for CVE_STATUS[%s] = "%s", fallback to Unpatched' % (detail, cve, status))
status_mapping = "Unpatched"
return (status_mapping, detail, description)

View File

@@ -78,8 +78,7 @@ def prserv_export_tofile(d, metainfo, datainfo, lockdown, nomax=False):
bb.utils.mkdirhier(d.getVar('PRSERV_DUMPDIR'))
df = d.getVar('PRSERV_DUMPFILE')
#write data
lf = bb.utils.lockfile("%s.lock" % df)
with open(df, "a") as f:
with open(df, "a") as f, bb.utils.fileslocked(["%s.lock" % df]) as locks:
if metainfo:
#dump column info
f.write("#PR_core_ver = \"%s\"\n\n" % metainfo['core_ver']);
@@ -113,7 +112,6 @@ def prserv_export_tofile(d, metainfo, datainfo, lockdown, nomax=False):
if not nomax:
for i in idx:
f.write("PRAUTO_%s_%s = \"%s\"\n" % (str(datainfo[idx[i]]['version']),str(datainfo[idx[i]]['pkgarch']),str(datainfo[idx[i]]['value'])))
bb.utils.unlockfile(lf)
def prserv_check_avail(d):
host_params = list([_f for _f in (d.getVar("PRSERV_HOST") or '').split(':') if _f])

View File

@@ -131,6 +131,9 @@ def get_source_date_epoch_from_youngest_file(d, sourcedir):
files = [f for f in files if not f[0] == '.']
for fname in files:
if fname == "singletask.lock":
# Ignore externalsrc/devtool lockfile [YOCTO #14921]
continue
filename = os.path.join(root, fname)
try:
mtime = int(os.lstat(filename).st_mtime)

View File

@@ -349,7 +349,8 @@ class Rootfs(object, metaclass=ABCMeta):
bb.utils.mkdirhier(versioned_modules_dir)
bb.note("Running depmodwrapper for %s ..." % versioned_modules_dir)
self._exec_shell_cmd(['depmodwrapper', '-a', '-b', self.image_rootfs, kernel_ver, kernel_package_name])
if self._exec_shell_cmd(['depmodwrapper', '-a', '-b', self.image_rootfs, kernel_ver, kernel_package_name]):
bb.fatal("Kernel modules dependency generation failed")
"""
Create devfs:

View File

@@ -38,11 +38,12 @@ class OEHasPackage(OETestDecorator):
if isinstance(self.need_pkgs, str):
self.need_pkgs = [self.need_pkgs,]
mlprefix = self.case.td.get("MLPREFIX")
for pkg in self.need_pkgs:
if pkg.startswith('!'):
unneed_pkgs.add(pkg[1:])
unneed_pkgs.add(mlprefix + pkg[1:])
else:
need_pkgs.add(pkg)
need_pkgs.add(mlprefix + pkg)
if unneed_pkgs:
msg = 'Checking if %s is not installed' % ', '.join(unneed_pkgs)

View File

@@ -14,6 +14,8 @@ from oeqa.selftest.case import OESelftestTestCase
from oeqa.utils.commands import runCmd, bitbake, get_bb_var
from oeqa.utils.network import get_free_port
import bb.utils
class BitbakePrTests(OESelftestTestCase):
@classmethod
@@ -21,6 +23,16 @@ class BitbakePrTests(OESelftestTestCase):
super(BitbakePrTests, cls).setUpClass()
cls.pkgdata_dir = get_bb_var('PKGDATA_DIR')
cls.exported_db_path = os.path.join(cls.builddir, 'export.inc')
cls.current_db_path = os.path.join(get_bb_var('PERSISTENT_DIR'), 'prserv.sqlite3')
def cleanup(self):
# Ensure any memory resident bitbake is stopped
bitbake("-m")
# Remove any existing export file or prserv database
bb.utils.remove(self.exported_db_path)
bb.utils.remove(self.current_db_path + "*")
def get_pr_version(self, package_name):
package_data_file = os.path.join(self.pkgdata_dir, 'runtime', package_name)
package_data = ftools.read_file(package_data_file)
@@ -49,6 +61,7 @@ class BitbakePrTests(OESelftestTestCase):
self.assertEqual(res.status, 0, msg=res.output)
def config_pr_tests(self, package_name, package_type='rpm', pr_socket='localhost:0'):
self.cleanup()
config_package_data = 'PACKAGE_CLASSES = "package_%s"' % package_type
self.write_config(config_package_data)
config_server_data = 'PRSERV_HOST = "%s"' % pr_socket
@@ -68,24 +81,24 @@ class BitbakePrTests(OESelftestTestCase):
self.assertTrue(pr_2 - pr_1 == 1, "New PR %s did not increment as expected (from %s), difference should be 1" % (pr_2, pr_1))
self.assertTrue(stamp_1 != stamp_2, "Different pkg rev. but same stamp: %s" % stamp_1)
self.cleanup()
def run_test_pr_export_import(self, package_name, replace_current_db=True):
self.config_pr_tests(package_name)
self.increment_package_pr(package_name)
pr_1 = self.get_pr_version(package_name)
exported_db_path = os.path.join(self.builddir, 'export.inc')
export_result = runCmd("bitbake-prserv-tool export %s" % exported_db_path, ignore_status=True)
export_result = runCmd("bitbake-prserv-tool export %s" % self.exported_db_path, ignore_status=True)
self.assertEqual(export_result.status, 0, msg="PR Service database export failed: %s" % export_result.output)
self.assertTrue(os.path.exists(exported_db_path), msg="%s didn't exist, tool output %s" % (exported_db_path, export_result.output))
self.assertTrue(os.path.exists(self.exported_db_path), msg="%s didn't exist, tool output %s" % (self.exported_db_path, export_result.output))
if replace_current_db:
current_db_path = os.path.join(get_bb_var('PERSISTENT_DIR'), 'prserv.sqlite3')
self.assertTrue(os.path.exists(current_db_path), msg="Path to current PR Service database is invalid: %s" % current_db_path)
os.remove(current_db_path)
self.assertTrue(os.path.exists(self.current_db_path), msg="Path to current PR Service database is invalid: %s" % self.current_db_path)
os.remove(self.current_db_path)
import_result = runCmd("bitbake-prserv-tool import %s" % exported_db_path, ignore_status=True)
os.remove(exported_db_path)
import_result = runCmd("bitbake-prserv-tool import %s" % self.exported_db_path, ignore_status=True)
#os.remove(self.exported_db_path)
self.assertEqual(import_result.status, 0, msg="PR Service database import failed: %s" % import_result.output)
self.increment_package_pr(package_name)
@@ -93,6 +106,8 @@ class BitbakePrTests(OESelftestTestCase):
self.assertTrue(pr_2 - pr_1 == 1, "New PR %s did not increment as expected (from %s), difference should be 1" % (pr_2, pr_1))
self.cleanup()
def test_import_export_replace_db(self):
self.run_test_pr_export_import('m4')

View File

@@ -0,0 +1,70 @@
From e43f3d93b28cce852c110c7a8e40d8311bcd8bb1 Mon Sep 17 00:00:00 2001
From: Robbie Harwood <rharwood@redhat.com>
Date: Fri, 15 Jul 2022 16:13:02 -0400
Subject: [PATCH] fs/fat: Don't error when mtime is 0
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
In the wild, we occasionally see valid ESPs where some file modification
times are 0. For instance:
├── [Dec 31 1979] EFI
│ ├── [Dec 31 1979] BOOT
│ │ ├── [Dec 31 1979] BOOTX64.EFI
│ │ └── [Dec 31 1979] fbx64.efi
│ └── [Jun 27 02:41] fedora
│ ├── [Dec 31 1979] BOOTX64.CSV
│ ├── [Dec 31 1979] fonts
│ ├── [Mar 14 03:35] fw
│ │ ├── [Mar 14 03:35] fwupd-359c1169-abd6-4a0d-8bce-e4d4713335c1.cap
│ │ ├── [Mar 14 03:34] fwupd-9d255c4b-2d88-4861-860d-7ee52ade9463.cap
│ │ └── [Mar 14 03:34] fwupd-b36438d8-9128-49d2-b280-487be02d948b.cap
│ ├── [Dec 31 1979] fwupdx64.efi
│ ├── [May 10 10:47] grub.cfg
│ ├── [Jun 3 12:38] grub.cfg.new.new
│ ├── [May 10 10:41] grub.cfg.old
│ ├── [Jun 27 02:41] grubenv
│ ├── [Dec 31 1979] grubx64.efi
│ ├── [Dec 31 1979] mmx64.efi
│ ├── [Dec 31 1979] shim.efi
│ ├── [Dec 31 1979] shimx64.efi
│ └── [Dec 31 1979] shimx64-fedora.efi
└── [Dec 31 1979] FSCK0000.REC
5 directories, 17 files
This causes grub-probe failure, which in turn causes grub-mkconfig
failure. They are valid filesystems that appear intact, and the Linux
FAT stack is able to mount and manipulate them without complaint.
The check for mtime of 0 has been present since
20def1a3c3952982395cd7c3ea7e78638527962b (fat: support file
modification times).
Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/grub.git/commit/?id=e43f3d93b28cce852c110c7a8e40d8311bcd8bb1]
Signed-off-by: Robbie Harwood <rharwood@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Signed-off-by: Ming Liu <liu.ming50@gmail.com>
---
grub-core/fs/fat.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/grub-core/fs/fat.c b/grub-core/fs/fat.c
index 0951b2e63..c5efed724 100644
--- a/grub-core/fs/fat.c
+++ b/grub-core/fs/fat.c
@@ -1027,9 +1027,6 @@ grub_fat_dir (grub_device_t device, const char *path, grub_fs_dir_hook_t hook,
grub_le_to_cpu16 (ctxt.dir.w_date),
&info.mtime);
#endif
- if (info.mtimeset == 0)
- grub_error (GRUB_ERR_OUT_OF_RANGE,
- "invalid modification timestamp for %s", path);
if (hook (ctxt.filename, &info, hook_data))
break;
--
2.34.1

View File

@@ -44,6 +44,7 @@ SRC_URI = "${GNU_MIRROR}/grub/grub-${PV}.tar.gz \
file://0001-fs-ext2-Ignore-checksum-seed-incompat-feature.patch \
file://CVE-2023-4692.patch \
file://CVE-2023-4693.patch \
file://0001-fs-fat-Don-t-error-when-mtime-is-0.patch \
"
SRC_URI[sha256sum] = "23b64b4c741569f9426ed2e3d0e6780796fca081bee4c99f62aa3f53ae803f5f"

View File

@@ -6,7 +6,7 @@ IPv4 Link-Local Addresses" (IETF RFC3927), a protocol for automatic IP address \
configuration from the link-local 169.254.0.0/16 range without the need for a central \
server.'
HOMEPAGE = "http://avahi.org"
BUGTRACKER = "https://github.com/lathiat/avahi/issues"
BUGTRACKER = "https://github.com/avahi/avahi/issues"
SECTION = "network"
# major part is under LGPL-2.1-or-later, but several .dtd, .xsl, initscripts and
@@ -37,8 +37,7 @@ SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/avahi-${PV}.tar.gz \
file://CVE-2023-38473.patch \
"
GITHUB_BASE_URI = "https://github.com/lathiat/avahi/releases/"
SRC_URI[md5sum] = "229c6aa30674fc43c202b22c5f8c2be7"
GITHUB_BASE_URI = "https://github.com/avahi/avahi/releases/"
SRC_URI[sha256sum] = "060309d7a333d38d951bc27598c677af1796934dbd98e1024e7ad8de798fedda"
CVE_STATUS[CVE-2021-26720] = "not-applicable-platform: Issue only affects Debian/SUSE"

View File

@@ -1,4 +1,4 @@
From 246087f89e9434b726c7884e4c0964f71084f091 Mon Sep 17 00:00:00 2001
From 5ae30329f168c1e8d2e0c3831988a4f3e9096e39 Mon Sep 17 00:00:00 2001
From: Paul Gortmaker <paul.gortmaker@windriver.com>
Date: Tue, 9 Jun 2015 11:22:00 -0400
Subject: [PATCH] bind: ensure searching for json headers searches sysroot
@@ -33,10 +33,10 @@ Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 10e8bf6..bf20690 100644
index 2ab8ddd..92fe983 100644
--- a/configure.ac
+++ b/configure.ac
@@ -814,7 +814,7 @@ AS_CASE([$with_lmdb],
@@ -761,7 +761,7 @@ AS_CASE([$with_lmdb],
[no],[],
[auto|yes], [PKG_CHECK_MODULES([LMDB], [lmdb],
[ac_lib_lmdb_found=yes],

View File

@@ -20,7 +20,7 @@ SRC_URI = "https://ftp.isc.org/isc/bind9/${PV}/${BPN}-${PV}.tar.xz \
file://0001-avoid-start-failure-with-bind-user.patch \
"
SRC_URI[sha256sum] = "4b891ebf58d3f2a7ac3dd2682990f528a3448eaa1c992ddc5c141b8587a98ec5"
SRC_URI[sha256sum] = "709d73023c9115ddad3bab65b6c8c79a590196d0d114f5d0ca2533dbd52ddf66"
UPSTREAM_CHECK_URI = "https://ftp.isc.org/isc/bind9/"
# follow the ESV versions divisible by 2

View File

@@ -1,4 +1,4 @@
From d027b1d85a8c1a0193b6e4a00083d3038d699a59 Mon Sep 17 00:00:00 2001
From 06ebd1b2ced426c420ed162980eca194f9f918ae Mon Sep 17 00:00:00 2001
From: Kai Kang <kai.kang@windriver.com>
Date: Tue, 22 Sep 2020 15:02:33 +0800
Subject: [PATCH] There are conflict of config files between kea and lib32-kea:
@@ -35,10 +35,10 @@ index e6ae8b8..50a3092 100644
// "param1": "foo"
// }
diff --git a/src/bin/keactrl/kea-dhcp4.conf.pre b/src/bin/keactrl/kea-dhcp4.conf.pre
index 26bf163..49ddb0a 100644
index 6edb8a1..b2a7385 100644
--- a/src/bin/keactrl/kea-dhcp4.conf.pre
+++ b/src/bin/keactrl/kea-dhcp4.conf.pre
@@ -252,7 +252,7 @@
@@ -255,7 +255,7 @@
// // of all devices serviced by Kea, including their identifiers
// // (like MAC address), their location in the network, times
// // when they were active etc.
@@ -47,7 +47,7 @@ index 26bf163..49ddb0a 100644
// "parameters": {
// "path": "/var/lib/kea",
// "base-name": "kea-forensic4"
@@ -269,7 +269,7 @@
@@ -272,7 +272,7 @@
// // of specific options or perhaps even a combination of several
// // options and fields to uniquely identify a client. Those scenarios
// // are addressed by the Flexible Identifiers hook application.

View File

@@ -1,4 +1,4 @@
From 18f4f6206c248d6169aa67b3ecf16bf54e9292e8 Mon Sep 17 00:00:00 2001
From c878a356712606549f7f188b62f7d1cae08a176e Mon Sep 17 00:00:00 2001
From: Armin kuster <akuster808@gmail.com>
Date: Wed, 14 Oct 2020 22:48:31 -0700
Subject: [PATCH] Busybox does not support ps -p so use pgrep
@@ -13,10 +13,10 @@ Signed-off-by: Armin kuster <akuster808@gmail.com>
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/bin/keactrl/keactrl.in b/src/bin/keactrl/keactrl.in
index ae5bd8e..e9f9b73 100644
index 450e997..c353ca9 100644
--- a/src/bin/keactrl/keactrl.in
+++ b/src/bin/keactrl/keactrl.in
@@ -151,8 +151,8 @@ check_running() {
@@ -149,8 +149,8 @@ check_running() {
# Get the PID from the PID file (if it exists)
get_pid_from_file "${proc_name}"
if [ ${_pid} -gt 0 ]; then

View File

@@ -19,7 +19,7 @@ SRC_URI = "http://ftp.isc.org/isc/kea/${PV}/${BP}.tar.gz \
file://0001-src-lib-log-logger_unittest_support.cc-do-not-write-.patch \
file://0001-kea-fix-reproducible-build-failure.patch \
"
SRC_URI[sha256sum] = "3a33cd08dc3319ff544e6bbf2c0429042106f4051ebe115dc1bb2625c95003f7"
SRC_URI[sha256sum] = "815c61f5c271caa4a1db31dd656eb50a7f6ea973da3690f7c8581408e180131a"
inherit autotools systemd update-rc.d upstream-version-is-even

View File

@@ -1,80 +0,0 @@
From b62a3fe424026b73ec6b1934483b16863c7dff23 Mon Sep 17 00:00:00 2001
From: Wiktor Jaskulski <wjaskulski@adva.com>
Date: Thu, 11 May 2023 15:28:23 -0400
Subject: [PATCH] configure.ac: libevent and libsqlite3 checked when nfsv4 is
disabled
Upstream-Status: Backport
(http://git.linux-nfs.org/?p=steved/nfs-utils.git;a=commit;h=bc4a5deef9f820c55fdac3c0070364c17cd91cca)
Signed-off-by: Steve Dickson <steved@redhat.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
---
configure.ac | 38 +++++++++++++++-----------------------
1 file changed, 15 insertions(+), 23 deletions(-)
diff --git a/configure.ac b/configure.ac
index 4ade528d..519cacbf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -335,42 +335,34 @@ AC_CHECK_HEADER(rpc/rpc.h, ,
AC_MSG_ERROR([Header file rpc/rpc.h not found - maybe try building with --enable-tirpc]))
CPPFLAGS="${nfsutils_save_CPPFLAGS}"
+dnl check for libevent libraries and headers
+AC_LIBEVENT
+
+dnl Check for sqlite3
+AC_SQLITE3_VERS
+
+case $libsqlite3_cv_is_recent in
+yes) ;;
+unknown)
+ dnl do not fail when cross-compiling
+ AC_MSG_WARN([assuming sqlite is at least v3.3]) ;;
+*)
+ AC_MSG_ERROR([nfsdcld requires sqlite-devel]) ;;
+esac
+
if test "$enable_nfsv4" = yes; then
- dnl check for libevent libraries and headers
- AC_LIBEVENT
dnl check for the keyutils libraries and headers
AC_KEYUTILS
- dnl Check for sqlite3
- AC_SQLITE3_VERS
-
if test "$enable_nfsdcld" = "yes"; then
AC_CHECK_HEADERS([libgen.h sys/inotify.h], ,
AC_MSG_ERROR([Cannot find header needed for nfsdcld]))
-
- case $libsqlite3_cv_is_recent in
- yes) ;;
- unknown)
- dnl do not fail when cross-compiling
- AC_MSG_WARN([assuming sqlite is at least v3.3]) ;;
- *)
- AC_MSG_ERROR([nfsdcld requires sqlite-devel]) ;;
- esac
fi
if test "$enable_nfsdcltrack" = "yes"; then
AC_CHECK_HEADERS([libgen.h sys/inotify.h], ,
AC_MSG_ERROR([Cannot find header needed for nfsdcltrack]))
-
- case $libsqlite3_cv_is_recent in
- yes) ;;
- unknown)
- dnl do not fail when cross-compiling
- AC_MSG_WARN([assuming sqlite is at least v3.3]) ;;
- *)
- AC_MSG_ERROR([nfsdcltrack requires sqlite-devel]) ;;
- esac
fi
else
--
2.41.0

View File

@@ -0,0 +1,34 @@
From 45597a58e98f351b18db8444292b1cf6dd0cd810 Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Sat, 9 Dec 2023 23:34:08 -0800
Subject: [PATCH] reexport.h: Include unistd.h to compile with musl
Fixed error when compile with musl
reexport.c: In function 'reexpdb_init':
reexport.c:62:17: error: implicit declaration of function 'sleep' [-Werror=implicit-function-declaration]
62 | sleep(1);
Upstream-Status: Submitted [https://marc.info/?l=linux-nfs&m=170254661824522&w=2]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
support/reexport/reexport.h | 1 +
1 files changed, 1 insertions(+)
diff --git a/support/reexport/reexport.h b/support/reexport/reexport.h
index 85fd59c..02f8684 100644
--- a/support/reexport/reexport.h
+++ b/support/reexport/reexport.h
@@ -1,6 +1,8 @@
#ifndef REEXPORT_H
#define REEXPORT_H
+#include <unistd.h>
+
#include "nfslib.h"
enum {
--
2.42.0

View File

@@ -30,11 +30,11 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/nfs-utils/${PV}/nfs-utils-${PV}.tar.x
file://bugfix-adjust-statd-service-name.patch \
file://0001-Makefile.am-fix-undefined-function-for-libnsm.a.patch \
file://clang-warnings.patch \
file://0001-configure.ac-libevent-and-libsqlite3-checked-when-nf.patch \
file://0001-locktest-Makefile.am-Do-not-use-build-flags.patch \
file://0001-tools-locktest-Use-intmax_t-to-print-off_t.patch \
file://0001-locktest-Makefile.am-Do-not-use-build-flags.patch \
file://0001-tools-locktest-Use-intmax_t-to-print-off_t.patch \
file://0001-reexport.h-Include-unistd.h-to-compile-with-musl.patch \
"
SRC_URI[sha256sum] = "38d89e853a71d3c560ff026af3d969d75e24f782ff68324e76261fe0344459e1"
SRC_URI[sha256sum] = "01b3b0fb9c7d0bbabf5114c736542030748c788ec2fd9734744201e9b0a1119d"
# Only kernel-module-nfsd is required here (but can be built-in) - the nfsd module will
# pull in the remainder of the dependencies.

View File

@@ -0,0 +1,58 @@
From ba8a599395f8b770c76316b5f5b0f3838567014f Mon Sep 17 00:00:00 2001
From: Tom Cosgrove <tom.cosgrove@arm.com>
Date: Tue, 26 Mar 2024 13:18:00 +0000
Subject: [PATCH] aarch64: fix BTI in bsaes assembly code
In Arm systems where BTI is enabled but the Crypto extensions are not (more
likely in FVPs than in real hardware), the bit-sliced assembler code will
be used. However, this wasn't annotated with BTI instructions when BTI was
enabled, so the moment libssl jumps into this code it (correctly) aborts.
Solve this by adding the missing BTI landing pads.
Upstream-Status: Submitted [https://github.com/openssl/openssl/pull/23982]
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
crypto/aes/asm/bsaes-armv8.pl | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/crypto/aes/asm/bsaes-armv8.pl b/crypto/aes/asm/bsaes-armv8.pl
index b3c97e439f..c3c5ff3e05 100644
--- a/crypto/aes/asm/bsaes-armv8.pl
+++ b/crypto/aes/asm/bsaes-armv8.pl
@@ -1018,6 +1018,7 @@ _bsaes_key_convert:
// Initialisation vector overwritten with last quadword of ciphertext
// No output registers, usual AAPCS64 register preservation
ossl_bsaes_cbc_encrypt:
+ AARCH64_VALID_CALL_TARGET
cmp x2, #128
bhs .Lcbc_do_bsaes
b AES_cbc_encrypt
@@ -1270,7 +1271,7 @@ ossl_bsaes_cbc_encrypt:
// Output text filled in
// No output registers, usual AAPCS64 register preservation
ossl_bsaes_ctr32_encrypt_blocks:
-
+ AARCH64_VALID_CALL_TARGET
cmp x2, #8 // use plain AES for
blo .Lctr_enc_short // small sizes
@@ -1476,6 +1477,7 @@ ossl_bsaes_ctr32_encrypt_blocks:
// Output ciphertext filled in
// No output registers, usual AAPCS64 register preservation
ossl_bsaes_xts_encrypt:
+ AARCH64_VALID_CALL_TARGET
// Stack layout:
// sp ->
// nrounds*128-96 bytes: key schedule
@@ -1921,6 +1923,7 @@ ossl_bsaes_xts_encrypt:
// Output plaintext filled in
// No output registers, usual AAPCS64 register preservation
ossl_bsaes_xts_decrypt:
+ AARCH64_VALID_CALL_TARGET
// Stack layout:
// sp ->
// nrounds*128-96 bytes: key schedule
--
2.34.1

View File

@@ -1,22 +0,0 @@
The perl script adds random suffixes to the local function names to ensure
it doesn't clash with other parts of openssl. Set the random number seed
to something predictable so the assembler files are generated consistently
and our own reproducible builds tests pass.
Upstream-Status: Pending
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Index: openssl-3.1.0/crypto/modes/asm/aes-gcm-avx512.pl
===================================================================
--- openssl-3.1.0.orig/crypto/modes/asm/aes-gcm-avx512.pl
+++ openssl-3.1.0/crypto/modes/asm/aes-gcm-avx512.pl
@@ -191,6 +191,9 @@ my $CTX_OFFSET_HTable = (16 * 6);
# ;;; Helper functions
# ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
+# Ensure the local labels are reproduicble
+srand(10000);
+
# ; Generates "random" local labels
sub random_string() {
my @chars = ('a' .. 'z', 'A' .. 'Z', '0' .. '9', '_');

View File

@@ -11,15 +11,15 @@ SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz \
file://run-ptest \
file://0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch \
file://0001-Configure-do-not-tweak-mips-cflags.patch \
file://fix_random_labels.patch \
file://0001-Added-handshake-history-reporting-when-test-fails.patch \
file://bti.patch \
"
SRC_URI:append:class-nativesdk = " \
file://environment.d-openssl.sh \
"
SRC_URI[sha256sum] = "840af5366ab9b522bde525826be3ef0fb0af81c6a9ebd84caa600fea1731eee3"
SRC_URI[sha256sum] = "6ae015467dabf0469b139ada93319327be24b98251ffaeceda0221848dc09262"
inherit lib_package multilib_header multilib_script ptest perlnative manpages
MULTILIB_SCRIPTS = "${PN}-bin:${bindir}/c_rehash"
@@ -187,6 +187,7 @@ PTEST_BUILD_HOST_PATTERN = "perl_version ="
do_install_ptest () {
install -d ${D}${PTEST_PATH}/test
install -m755 ${B}/test/p_test.so ${D}${PTEST_PATH}/test
install -m755 ${B}/test/p_minimal.so ${D}${PTEST_PATH}/test
install -m755 ${B}/test/provider_internal_test.cnf ${D}${PTEST_PATH}/test
# Prune the build tree

View File

@@ -0,0 +1,213 @@
From f6f7cead3661ceeef54b21f7e799c0afc98537ec Mon Sep 17 00:00:00 2001
From: Jouni Malinen <j@w1.fi>
Date: Sat, 8 Jul 2023 19:55:32 +0300
Subject: [PATCH] PEAP client: Update Phase 2 authentication requirements
The previous PEAP client behavior allowed the server to skip Phase 2
authentication with the expectation that the server was authenticated
during Phase 1 through TLS server certificate validation. Various PEAP
specifications are not exactly clear on what the behavior on this front
is supposed to be and as such, this ended up being more flexible than
the TTLS/FAST/TEAP cases. However, this is not really ideal when
unfortunately common misconfiguration of PEAP is used in deployed
devices where the server trust root (ca_cert) is not configured or the
user has an easy option for allowing this validation step to be skipped.
Change the default PEAP client behavior to be to require Phase 2
authentication to be successfully completed for cases where TLS session
resumption is not used and the client certificate has not been
configured. Those two exceptions are the main cases where a deployed
authentication server might skip Phase 2 and as such, where a more
strict default behavior could result in undesired interoperability
issues. Requiring Phase 2 authentication will end up disabling TLS
session resumption automatically to avoid interoperability issues.
Allow Phase 2 authentication behavior to be configured with a new phase1
configuration parameter option:
'phase2_auth' option can be used to control Phase 2 (i.e., within TLS
tunnel) behavior for PEAP:
* 0 = do not require Phase 2 authentication
* 1 = require Phase 2 authentication when client certificate
(private_key/client_cert) is no used and TLS session resumption was
not used (default)
* 2 = require Phase 2 authentication in all cases
Signed-off-by: Jouni Malinen <j@w1.fi>
CVE: CVE-2023-52160
Upstream-Status: Backport [https://w1.fi/cgit/hostap/commit/?id=8e6485a1bcb0baffdea9e55255a81270b768439c]
Signed-off-by: Claus Stovgaard <claus.stovgaard@gmail.com>
---
src/eap_peer/eap_config.h | 8 ++++++
src/eap_peer/eap_peap.c | 40 +++++++++++++++++++++++++++---
src/eap_peer/eap_tls_common.c | 6 +++++
src/eap_peer/eap_tls_common.h | 5 ++++
wpa_supplicant/wpa_supplicant.conf | 7 ++++++
5 files changed, 63 insertions(+), 3 deletions(-)
diff --git a/src/eap_peer/eap_config.h b/src/eap_peer/eap_config.h
index 3238f74..047eec2 100644
--- a/src/eap_peer/eap_config.h
+++ b/src/eap_peer/eap_config.h
@@ -469,6 +469,14 @@ struct eap_peer_config {
* 1 = use cryptobinding if server supports it
* 2 = require cryptobinding
*
+ * phase2_auth option can be used to control Phase 2 (i.e., within TLS
+ * tunnel) behavior for PEAP:
+ * 0 = do not require Phase 2 authentication
+ * 1 = require Phase 2 authentication when client certificate
+ * (private_key/client_cert) is no used and TLS session resumption was
+ * not used (default)
+ * 2 = require Phase 2 authentication in all cases
+ *
* EAP-WSC (WPS) uses following options: pin=Device_Password and
* uuid=Device_UUID
*
diff --git a/src/eap_peer/eap_peap.c b/src/eap_peer/eap_peap.c
index 12e30df..6080697 100644
--- a/src/eap_peer/eap_peap.c
+++ b/src/eap_peer/eap_peap.c
@@ -67,6 +67,7 @@ struct eap_peap_data {
u8 cmk[20];
int soh; /* Whether IF-TNCCS-SOH (Statement of Health; Microsoft NAP)
* is enabled. */
+ enum { NO_AUTH, FOR_INITIAL, ALWAYS } phase2_auth;
};
@@ -114,6 +115,19 @@ static void eap_peap_parse_phase1(struct eap_peap_data *data,
wpa_printf(MSG_DEBUG, "EAP-PEAP: Require cryptobinding");
}
+ if (os_strstr(phase1, "phase2_auth=0")) {
+ data->phase2_auth = NO_AUTH;
+ wpa_printf(MSG_DEBUG,
+ "EAP-PEAP: Do not require Phase 2 authentication");
+ } else if (os_strstr(phase1, "phase2_auth=1")) {
+ data->phase2_auth = FOR_INITIAL;
+ wpa_printf(MSG_DEBUG,
+ "EAP-PEAP: Require Phase 2 authentication for initial connection");
+ } else if (os_strstr(phase1, "phase2_auth=2")) {
+ data->phase2_auth = ALWAYS;
+ wpa_printf(MSG_DEBUG,
+ "EAP-PEAP: Require Phase 2 authentication for all cases");
+ }
#ifdef EAP_TNC
if (os_strstr(phase1, "tnc=soh2")) {
data->soh = 2;
@@ -142,6 +156,7 @@ static void * eap_peap_init(struct eap_sm *sm)
data->force_peap_version = -1;
data->peap_outer_success = 2;
data->crypto_binding = OPTIONAL_BINDING;
+ data->phase2_auth = FOR_INITIAL;
if (config && config->phase1)
eap_peap_parse_phase1(data, config->phase1);
@@ -454,6 +469,20 @@ static int eap_tlv_validate_cryptobinding(struct eap_sm *sm,
}
+static bool peap_phase2_sufficient(struct eap_sm *sm,
+ struct eap_peap_data *data)
+{
+ if ((data->phase2_auth == ALWAYS ||
+ (data->phase2_auth == FOR_INITIAL &&
+ !tls_connection_resumed(sm->ssl_ctx, data->ssl.conn) &&
+ !data->ssl.client_cert_conf) ||
+ data->phase2_eap_started) &&
+ !data->phase2_eap_success)
+ return false;
+ return true;
+}
+
+
/**
* eap_tlv_process - Process a received EAP-TLV message and generate a response
* @sm: Pointer to EAP state machine allocated with eap_peer_sm_init()
@@ -568,6 +597,11 @@ static int eap_tlv_process(struct eap_sm *sm, struct eap_peap_data *data,
" - force failed Phase 2");
resp_status = EAP_TLV_RESULT_FAILURE;
ret->decision = DECISION_FAIL;
+ } else if (!peap_phase2_sufficient(sm, data)) {
+ wpa_printf(MSG_INFO,
+ "EAP-PEAP: Server indicated Phase 2 success, but sufficient Phase 2 authentication has not been completed");
+ resp_status = EAP_TLV_RESULT_FAILURE;
+ ret->decision = DECISION_FAIL;
} else {
resp_status = EAP_TLV_RESULT_SUCCESS;
ret->decision = DECISION_UNCOND_SUCC;
@@ -887,8 +921,7 @@ continue_req:
/* EAP-Success within TLS tunnel is used to indicate
* shutdown of the TLS channel. The authentication has
* been completed. */
- if (data->phase2_eap_started &&
- !data->phase2_eap_success) {
+ if (!peap_phase2_sufficient(sm, data)) {
wpa_printf(MSG_DEBUG, "EAP-PEAP: Phase 2 "
"Success used to indicate success, "
"but Phase 2 EAP was not yet "
@@ -1199,8 +1232,9 @@ static struct wpabuf * eap_peap_process(struct eap_sm *sm, void *priv,
static bool eap_peap_has_reauth_data(struct eap_sm *sm, void *priv)
{
struct eap_peap_data *data = priv;
+
return tls_connection_established(sm->ssl_ctx, data->ssl.conn) &&
- data->phase2_success;
+ data->phase2_success && data->phase2_auth != ALWAYS;
}
diff --git a/src/eap_peer/eap_tls_common.c b/src/eap_peer/eap_tls_common.c
index c1837db..a53eeb1 100644
--- a/src/eap_peer/eap_tls_common.c
+++ b/src/eap_peer/eap_tls_common.c
@@ -239,6 +239,12 @@ static int eap_tls_params_from_conf(struct eap_sm *sm,
sm->ext_cert_check = !!(params->flags & TLS_CONN_EXT_CERT_CHECK);
+ if (!phase2)
+ data->client_cert_conf = params->client_cert ||
+ params->client_cert_blob ||
+ params->private_key ||
+ params->private_key_blob;
+
return 0;
}
diff --git a/src/eap_peer/eap_tls_common.h b/src/eap_peer/eap_tls_common.h
index 9ac0012..3348634 100644
--- a/src/eap_peer/eap_tls_common.h
+++ b/src/eap_peer/eap_tls_common.h
@@ -79,6 +79,11 @@ struct eap_ssl_data {
* tls_v13 - Whether TLS v1.3 or newer is used
*/
int tls_v13;
+
+ /**
+ * client_cert_conf: Whether client certificate has been configured
+ */
+ bool client_cert_conf;
};
diff --git a/wpa_supplicant/wpa_supplicant.conf b/wpa_supplicant/wpa_supplicant.conf
index 6619d6b..d63f73c 100644
--- a/wpa_supplicant/wpa_supplicant.conf
+++ b/wpa_supplicant/wpa_supplicant.conf
@@ -1321,6 +1321,13 @@ fast_reauth=1
# * 0 = do not use cryptobinding (default)
# * 1 = use cryptobinding if server supports it
# * 2 = require cryptobinding
+# 'phase2_auth' option can be used to control Phase 2 (i.e., within TLS
+# tunnel) behavior for PEAP:
+# * 0 = do not require Phase 2 authentication
+# * 1 = require Phase 2 authentication when client certificate
+# (private_key/client_cert) is no used and TLS session resumption was
+# not used (default)
+# * 2 = require Phase 2 authentication in all cases
# EAP-WSC (WPS) uses following options: pin=<Device Password> or
# pbc=1.
#

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