[OE-core] [PATCH v2] strace: Disable bluetooth support by default

2023-12-12 Thread Yoann Congal
The bluetooth support adds a bluez5 dependency (and,recursively, a lot
of other stuff). Disable it by default to avoid having to build all of
this when it is not needed.

This decrease the number of tasks run for a core-image-minimal build by
~1000 (-21%).

To re-enable bluetooth support in strace, add "bluez" to strace
PACKAGECONFIG. For example, in local.conf:
  PACKAGECONFIG:append:pn-strace = "bluez"

Fixes [YOCTO #15323]

Signed-off-by: Yoann Congal 
Suggested-by: Ross Burton 
---
v1->v2:
* Fixed local.conf example (thanks Tim)
* Added Suggested-by: Ross (thanks Ross)
* Removed an extra empty line
---
 meta/recipes-devtools/strace/strace_6.6.bb | 4 
 1 file changed, 4 deletions(-)

diff --git a/meta/recipes-devtools/strace/strace_6.6.bb 
b/meta/recipes-devtools/strace/strace_6.6.bb
index a3de7941cf..eeffe477b3 100644
--- a/meta/recipes-devtools/strace/strace_6.6.bb
+++ b/meta/recipes-devtools/strace/strace_6.6.bb
@@ -22,10 +22,6 @@ inherit autotools ptest
 # Not yet ported to rv32
 COMPATIBLE_HOST:riscv32 = "null"
 
-PACKAGECONFIG:class-target ??= "\
-${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
-"
-
 PACKAGECONFIG[bluez] = 
"ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,bluez5"
 PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind"
 
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192269): 
https://lists.openembedded.org/g/openembedded-core/message/192269
Mute This Topic: https://lists.openembedded.org/mt/103145986/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] strace: Disable bluetooth support by default

2023-12-12 Thread Yoann Congal


Le 13/12/2023 à 04:45, Tim Orling a écrit :
> 
> 
> On Tue, Dec 12, 2023 at 3:37 PM Yoann Congal  > wrote:
> 
> The bluetooth support adds a bluez5 dependency (and,recursively, a lot
> of other stuff). Disable it by default to avoid having to build all of
> this when it is not needed.
> 
> This decrease the number of tasks run for a core-image-minimal build by
> ~1000 (-21%).
> 
> To re-enable bluetooth support in strace, add "bluez" to strace
> PACKAGECONFIG. For example, in local.conf:
>   PACKAGECONFIG:append:pn-strace = "bluetooth"
> 
> typo: = “bluez” unless you meant to reference the DISTRO_FEATURE?

You are right, I meant
  PACKAGECONFIG:append:pn-strace = "bluez"
I've tested it, fixed it... and forgot to fix the commit -_-

Thanks! I will send a v2 shortly

> 
> 
> 
> Fixes [YOCTO #15323]
> 
> Signed-off-by: Yoann Congal  >
> ---
>  meta/recipes-devtools/strace/strace_6.6.bb  | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/meta/recipes-devtools/strace/strace_6.6.bb 
>  b/meta/recipes-devtools/strace/strace_6.6.bb 
> 
> index a3de7941cf..c355b45b20 100644
> --- a/meta/recipes-devtools/strace/strace_6.6.bb 
> +++ b/meta/recipes-devtools/strace/strace_6.6.bb 
> @@ -22,9 +22,6 @@ inherit autotools ptest
>  # Not yet ported to rv32
>  COMPATIBLE_HOST:riscv32 = "null"
> 
> -PACKAGECONFIG:class-target ??= "\
> -    ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', 
> d)} \
> -"
> 
>  PACKAGECONFIG[bluez] = 
> "ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,bluez5"
>  PACKAGECONFIG[libunwind] = 
> "--with-libunwind,--without-libunwind,libunwind"
> -- 
> 2.30.2
> 
> 
> 
> 

-- 
Yoann Congal
Smile ECS - Tech Expert

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192268): 
https://lists.openembedded.org/g/openembedded-core/message/192268
Mute This Topic: https://lists.openembedded.org/mt/103140540/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][kirkstone][PATCH 1/1] perl: update 5.34.1 -> 5.34.3

2023-12-12 Thread Soumya via lists.openembedded.org
From: Soumya Sambu 

This includes security fix for CVE-2023-47038

Changes:
https://metacpan.org/release/PEVANS/perl-5.34.3/changes

Signed-off-by: Soumya Sambu 
---
 .../0001-Makefile-check-the-file-if-patched-or-not.patch  | 4 ++--
 .../perl-cross/{perlcross_1.3.7.bb => perlcross_1.5.2.bb} | 2 +-
 meta/recipes-devtools/perl/{perl_5.34.1.bb => perl_5.34.3.bb} | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-devtools/perl-cross/{perlcross_1.3.7.bb => 
perlcross_1.5.2.bb} (92%)
 rename meta/recipes-devtools/perl/{perl_5.34.1.bb => perl_5.34.3.bb} (99%)

diff --git 
a/meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch
 
b/meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch
index 8c8f3b717c..0ef9b27439 100644
--- 
a/meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch
+++ 
b/meta/recipes-devtools/perl-cross/files/0001-Makefile-check-the-file-if-patched-or-not.patch
@@ -21,8 +21,8 @@ index f4a26f5..7bc748e 100644
  # Original versions are not saved anymore; patch generally takes care of this,
  # and if that fails, reaching for the source tarball is the safest option.
  $(CROSSPATCHED): %.applied: %.patch
--  patch -p1 -i $< && touch $@
-+  test ! -f $@ && (patch -p1 -i $< && touch $@) || echo "$@ exist"
+-  $(cpatch) -p1 -i $< && touch $@
++  test ! -f $@ && ($(cpatch) -p1 -i $< && touch $@) || echo "$@ exist"
  
  # ---[ common 
]-
  
diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.3.7.bb 
b/meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb
similarity index 92%
rename from meta/recipes-devtools/perl-cross/perlcross_1.3.7.bb
rename to meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb
index 99a9ca1027..ac4dff33bb 100644
--- a/meta/recipes-devtools/perl-cross/perlcross_1.3.7.bb
+++ b/meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb
@@ -18,7 +18,7 @@ SRC_URI = 
"https://github.com/arsv/perl-cross/releases/download/${PV}/perl-cross
"
 UPSTREAM_CHECK_URI = "https://github.com/arsv/perl-cross/releases/;
 
-SRC_URI[perl-cross.sha256sum] = 
"77f13ca84a63025053852331b72d4046c1f90ded98bd45ccedea738621907335"
+SRC_URI[perl-cross.sha256sum] = 
"584dc54c48dca25e032b676a15bef377c1fed9de318b4fc140292a5dbf326e90"
 
 S = "${WORKDIR}/perl-cross-${PV}"
 
diff --git a/meta/recipes-devtools/perl/perl_5.34.1.bb 
b/meta/recipes-devtools/perl/perl_5.34.3.bb
similarity index 99%
rename from meta/recipes-devtools/perl/perl_5.34.1.bb
rename to meta/recipes-devtools/perl/perl_5.34.3.bb
index db306d0be3..e8b518adc9 100644
--- a/meta/recipes-devtools/perl/perl_5.34.1.bb
+++ b/meta/recipes-devtools/perl/perl_5.34.3.bb
@@ -29,7 +29,7 @@ SRC_URI:append:class-target = " \
file://encodefix.patch \
 "
 
-SRC_URI[perl.sha256sum] = 
"357951a491b0ba1ce3611263922feec78ccd581dddc24a446b033e25acf242a1"
+SRC_URI[perl.sha256sum] = 
"5b12f62863332b2a5f54102af9cdf8c010877e4bf3294911edbd594b2a1e8ede"
 
 S = "${WORKDIR}/perl-${PV}"
 
-- 
2.40.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192267): 
https://lists.openembedded.org/g/openembedded-core/message/192267
Mute This Topic: https://lists.openembedded.org/mt/103144638/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][kirkstone][PATCH] ghostscript: Backport fix for CVE-2023-46751

2023-12-12 Thread Vijay Anusuri via lists.openembedded.org
From: Vijay Anusuri 

Upstream-Status: Backport 
[https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=5d2da96e81c7455338302c71a291088a8396245a]

Signed-off-by: Vijay Anusuri 
---
 .../ghostscript/CVE-2023-46751.patch  | 41 +++
 .../ghostscript/ghostscript_9.55.0.bb |  1 +
 2 files changed, 42 insertions(+)
 create mode 100644 
meta/recipes-extended/ghostscript/ghostscript/CVE-2023-46751.patch

diff --git a/meta/recipes-extended/ghostscript/ghostscript/CVE-2023-46751.patch 
b/meta/recipes-extended/ghostscript/ghostscript/CVE-2023-46751.patch
new file mode 100644
index 00..6fe5590892
--- /dev/null
+++ b/meta/recipes-extended/ghostscript/ghostscript/CVE-2023-46751.patch
@@ -0,0 +1,41 @@
+From 5d2da96e81c7455338302c71a291088a8396245a Mon Sep 17 00:00:00 2001
+From: Chris Liddell 
+Date: Mon, 16 Oct 2023 16:49:40 +0100
+Subject: [PATCH] Bug 707264: Fix tiffsep(1) requirement for seekable output
+ files
+
+In the device initialization redesign, tiffsep and tiffsep1 lost the 
requirement
+for the output files to be seekable.
+
+Fixing that highlighted a problem with the error handling in
+gdev_prn_open_printer_seekable() where closing the erroring file would leave a
+dangling pointer, and lead to a crash.
+
+Upstream-Status: Backport 
[https://git.ghostscript.com/?p=ghostpdl.git;a=commit;h=5d2da96e81c7455338302c71a291088a8396245a]
+CVE: CVE-2023-46751
+Signed-off-by: Vijay Anusuri 
+---
+ base/gdevprn.c | 1 +
+ devices/gdevtsep.c | 1 +
+ 2 files changed, 2 insertions(+)
+
+--- a/base/gdevprn.c
 b/base/gdevprn.c
+@@ -1251,6 +1251,7 @@ gdev_prn_open_printer_seekable(gx_device
+   && !IS_LIBCTX_STDERR(pdev->memory, gp_get_file(ppdev->file))) {
+ 
+ code = gx_device_close_output_file(pdev, ppdev->fname, 
ppdev->file);
++ppdev->file = NULL;
+ if (code < 0)
+ return code;
+ }
+--- a/devices/gdevtsep.c
 b/devices/gdevtsep.c
+@@ -738,6 +738,7 @@ tiffsep_initialize_device_procs(gx_devic
+ {
+ gdev_prn_initialize_device_procs(dev);
+ 
++set_dev_proc(dev, output_page, gdev_prn_output_page_seekable);
+ set_dev_proc(dev, open_device, tiffsep_prn_open);
+ set_dev_proc(dev, close_device, tiffsep_prn_close);
+ set_dev_proc(dev, map_color_rgb, tiffsep_decode_color);
diff --git a/meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb 
b/meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb
index 7f4050755c..e0d1e4618f 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_9.55.0.bb
@@ -42,6 +42,7 @@ SRC_URI_BASE = 
"https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/d
 file://CVE-2023-36664-0002.patch \
 file://CVE-2023-38559.patch \
 file://CVE-2023-43115.patch \
+file://CVE-2023-46751.patch \
 "
 
 SRC_URI = "${SRC_URI_BASE} \
-- 
2.25.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192266): 
https://lists.openembedded.org/g/openembedded-core/message/192266
Mute This Topic: https://lists.openembedded.org/mt/103144322/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [nanbield][patch 6/6] perf: lift TARGET_CC_ARCH modification out of security_flags.inc

2023-12-12 Thread Lee Chee Yang
From: Rasmus Villemoes 

Building perf without security_flags.inc being included in one's
distro results in the buildpaths warning

WARNING: perf-1.0-r9 do_package_qa: QA Issue: File /usr/bin/trace in
package perf contains reference to TMPDIR

because the ${DEBUG_PREFIX_MAP} does not get used. Most recipes get
that from CFLAGS, but the perf recipe explicitly unsets that.

Now ${SELECTED_OPTIMIZATION} of course contains more than just
${DEBUG_FLAGS}/${DEBUG_PREFIX_MAP}. For most TUs, perf's build system
adds its own optimization flags (-O6 for odd reasons), so for those
including the -O2 or -Og doesn't change anything. But looking at the
.o.cmd files show that there are some TUs which currently get built
without any -O flag. So for those adding the distro's
SELECTED_OPTIMIZATION seem to be the right thing to do.

(cherry-picked from Oe-Core rev: aa01c9122ef4a2159df503ef6ed25e802277f13a)

Signed-off-by: Rasmus Villemoes 
Signed-off-by: Luca Ceresoli 
Signed-off-by: Richard Purdie 
Signed-off-by: Lee Chee Yang 
---
 meta/conf/distro/include/security_flags.inc | 1 -
 meta/recipes-kernel/perf/perf.bb| 9 +
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/meta/conf/distro/include/security_flags.inc 
b/meta/conf/distro/include/security_flags.inc
index 2972f05b4e..d97a6edb0f 100644
--- a/meta/conf/distro/include/security_flags.inc
+++ b/meta/conf/distro/include/security_flags.inc
@@ -69,4 +69,3 @@ SECURITY_LDFLAGS:pn-xserver-xorg = "${SECURITY_X_LDFLAGS}"
 TARGET_CC_ARCH:append:pn-binutils = " ${SELECTED_OPTIMIZATION}"
 TARGET_CC_ARCH:append:pn-gcc = " ${SELECTED_OPTIMIZATION}"
 TARGET_CC_ARCH:append:pn-gdb = " ${SELECTED_OPTIMIZATION}"
-TARGET_CC_ARCH:append:pn-perf = " ${SELECTED_OPTIMIZATION}"
diff --git a/meta/recipes-kernel/perf/perf.bb b/meta/recipes-kernel/perf/perf.bb
index 675acfaf26..a392166e73 100644
--- a/meta/recipes-kernel/perf/perf.bb
+++ b/meta/recipes-kernel/perf/perf.bb
@@ -73,6 +73,15 @@ SPDX_S = "${S}/tools/perf"
 # supported kernel.
 LDFLAGS="-ldl -lutil"
 
+# Perf's build system adds its own optimization flags for most TUs,
+# overriding the flags included here. But for some, perf does not add
+# any -O option, so ensure the distro's chosen optimization gets used
+# for those. Since ${SELECTED_OPTIMIZATION} always includes
+# ${DEBUG_FLAGS} which in turn includes ${DEBUG_PREFIX_MAP}, this also
+# ensures perf is built with appropriate -f*-prefix-map options,
+# avoiding the 'buildpaths' QA warning.
+TARGET_CC_ARCH += "${SELECTED_OPTIMIZATION}"
+
 EXTRA_OEMAKE = '\
 V=1 \
 VF=1 \
-- 
2.37.3


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192265): 
https://lists.openembedded.org/g/openembedded-core/message/192265
Mute This Topic: https://lists.openembedded.org/mt/103144256/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [nanbield][patch 5/6] ghostscript: upgrade 10.02.0 -> 10.02.1

2023-12-12 Thread Lee Chee Yang
From: Wang Mingyu 

upgrade include CVE-2023-46751.

(cherry pick from Oe-Core rev: 9492c2d51a08fbd4c107540a5a833b1a3fb70504 )

Signed-off-by: Wang Mingyu 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Lee Chee Yang 
---
 .../{ghostscript_10.02.0.bb => ghostscript_10.02.1.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/ghostscript/{ghostscript_10.02.0.bb => 
ghostscript_10.02.1.bb} (97%)

diff --git a/meta/recipes-extended/ghostscript/ghostscript_10.02.0.bb 
b/meta/recipes-extended/ghostscript/ghostscript_10.02.1.bb
similarity index 97%
rename from meta/recipes-extended/ghostscript/ghostscript_10.02.0.bb
rename to meta/recipes-extended/ghostscript/ghostscript_10.02.1.bb
index 4bad0f86e1..18c296128a 100644
--- a/meta/recipes-extended/ghostscript/ghostscript_10.02.0.bb
+++ b/meta/recipes-extended/ghostscript/ghostscript_10.02.1.bb
@@ -28,7 +28,7 @@ SRC_URI = 
"https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/downlo
file://configure.ac-add-option-to-explicitly-disable-neon.patch \
"
 
-SRC_URI[sha256sum] = 
"e54062f166708d84ca82de9f8304a04344466080f936118b88082bd55ed6dc97"
+SRC_URI[sha256sum] = 
"e429e4f5b01615a4f0f93a4128e8a1a4d932dff983b1774174c79c0630717ad9"
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+3"
-- 
2.37.3


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192264): 
https://lists.openembedded.org/g/openembedded-core/message/192264
Mute This Topic: https://lists.openembedded.org/mt/103144254/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [nanbield][patch 4/6] perl: 5.38.0 -> 5.38.2

2023-12-12 Thread Lee Chee Yang
From: Lee Chee Yang 

update include fix for CVE-2023-47100.

Signed-off-by: Lee Chee Yang 
---
 meta/recipes-devtools/perl/{perl_5.38.0.bb => perl_5.38.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/perl/{perl_5.38.0.bb => perl_5.38.2.bb} (99%)

diff --git a/meta/recipes-devtools/perl/perl_5.38.0.bb 
b/meta/recipes-devtools/perl/perl_5.38.2.bb
similarity index 99%
rename from meta/recipes-devtools/perl/perl_5.38.0.bb
rename to meta/recipes-devtools/perl/perl_5.38.2.bb
index 639664e355..a9d684cfc5 100644
--- a/meta/recipes-devtools/perl/perl_5.38.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.38.2.bb
@@ -26,7 +26,7 @@ SRC_URI:append:class-target = " \
file://encodefix.patch \
 "
 
-SRC_URI[perl.sha256sum] = 
"213ef58089d2f2c972ea353517dc60ec3656f050dcc027666e118b508423e517"
+SRC_URI[perl.sha256sum] = 
"a0a31534451eb7b83c7d6594a497543a54d488bc90ca00f5e34762577f40655e"
 
 B = "${WORKDIR}/perl-${PV}-build"
 
-- 
2.37.3


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192263): 
https://lists.openembedded.org/g/openembedded-core/message/192263
Mute This Topic: https://lists.openembedded.org/mt/103144253/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [nanbield][patch 2/6] grub: fix CVE-2023-4692 CVE-2023-4693

2023-12-12 Thread Lee Chee Yang
From: Lee Chee Yang 

checkout CVE-2023-4692.patch from OE-Core rev:
c89835b37366dde6c74f8221fd5a295ecabf8225

checkout CVE-2023-4693.patch from OE-Core rev:
1a098dba85ec1b875512d75f7eca9026e781

Signed-off-by: Lee Chee Yang 
---
 .../grub/files/CVE-2023-4692.patch| 97 +++
 .../grub/files/CVE-2023-4693.patch| 62 
 meta/recipes-bsp/grub/grub2.inc   |  2 +
 3 files changed, 161 insertions(+)
 create mode 100644 meta/recipes-bsp/grub/files/CVE-2023-4692.patch
 create mode 100644 meta/recipes-bsp/grub/files/CVE-2023-4693.patch

diff --git a/meta/recipes-bsp/grub/files/CVE-2023-4692.patch 
b/meta/recipes-bsp/grub/files/CVE-2023-4692.patch
new file mode 100644
index 00..4780e35b7a
--- /dev/null
+++ b/meta/recipes-bsp/grub/files/CVE-2023-4692.patch
@@ -0,0 +1,97 @@
+From  43651027d24e62a7a463254165e1e46e42aecdea Mon Sep 17 00:00:00 2001
+From: Maxim Suhanov 
+Date: Thu, 16 Nov 2023 07:21:50 +
+Subject: [PATCH] fs/ntfs: Fix an OOB write when parsing the $ATTRIBUTE_LIST
+ attribute for the $MFT file
+
+When parsing an extremely fragmented $MFT file, i.e., the file described
+using the $ATTRIBUTE_LIST attribute, current NTFS code will reuse a buffer
+containing bytes read from the underlying drive to store sector numbers,
+which are consumed later to read data from these sectors into another buffer.
+
+These sectors numbers, two 32-bit integers, are always stored at predefined
+offsets, 0x10 and 0x14, relative to first byte of the selected entry within
+the $ATTRIBUTE_LIST attribute. Usually, this won't cause any problem.
+
+However, when parsing a specially-crafted file system image, this may cause
+the NTFS code to write these integers beyond the buffer boundary, likely
+causing the GRUB memory allocator to misbehave or fail. These integers contain
+values which are controlled by on-disk structures of the NTFS file system.
+
+Such modification and resulting misbehavior may touch a memory range not
+assigned to the GRUB and owned by firmware or another EFI application/driver.
+
+This fix introduces checks to ensure that these sector numbers are never
+written beyond the boundary.
+
+Fixes: CVE-2023-4692
+
+Reported-by: Maxim Suhanov 
+Signed-off-by: Maxim Suhanov 
+Reviewed-by: Daniel Kiper 
+
+CVE: CVE-2023-4692
+Upstream-Status: Backport 
[https://git.savannah.gnu.org/cgit/grub.git/commit/?id=43651027d24e62a7a463254165e1e46e42aecdea]
+
+Signed-off-by: Yogita Urade 
+---
+ grub-core/fs/ntfs.c | 18 +-
+ 1 file changed, 17 insertions(+), 1 deletion(-)
+
+diff --git a/grub-core/fs/ntfs.c b/grub-core/fs/ntfs.c
+index 2f34f76..6009e49 100644
+--- a/grub-core/fs/ntfs.c
 b/grub-core/fs/ntfs.c
+@@ -184,7 +184,7 @@ find_attr (struct grub_ntfs_attr *at, grub_uint8_t attr)
+ }
+   if (at->attr_end)
+ {
+-  grub_uint8_t *pa;
++  grub_uint8_t *pa, *pa_end;
+
+   at->emft_buf = grub_malloc (at->mft->data->mft_size << 
GRUB_NTFS_BLK_SHR);
+   if (at->emft_buf == NULL)
+@@ -209,11 +209,13 @@ find_attr (struct grub_ntfs_attr *at, grub_uint8_t attr)
+   }
+ at->attr_nxt = at->edat_buf;
+ at->attr_end = at->edat_buf + u32at (pa, 0x30);
++pa_end = at->edat_buf + n;
+   }
+   else
+   {
+ at->attr_nxt = at->attr_end + u16at (pa, 0x14);
+ at->attr_end = at->attr_end + u32at (pa, 4);
++pa_end = at->mft->buf + (at->mft->data->mft_size << 
GRUB_NTFS_BLK_SHR);
+   }
+   at->flags |= GRUB_NTFS_AF_ALST;
+   while (at->attr_nxt < at->attr_end)
+@@ -230,6 +232,13 @@ find_attr (struct grub_ntfs_attr *at, grub_uint8_t attr)
+ at->flags |= GRUB_NTFS_AF_GPOS;
+ at->attr_cur = at->attr_nxt;
+ pa = at->attr_cur;
++
++if ((pa >= pa_end) || (pa_end - pa < 0x18))
++  {
++grub_error (GRUB_ERR_BAD_FS, "can\'t parse attribute list");
++return NULL;
++  }
++
+ grub_set_unaligned32 ((char *) pa + 0x10,
+   grub_cpu_to_le32 (at->mft->data->mft_start));
+ grub_set_unaligned32 ((char *) pa + 0x14,
+@@ -240,6 +249,13 @@ find_attr (struct grub_ntfs_attr *at, grub_uint8_t attr)
+   {
+ if (*pa != attr)
+   break;
++
++  if ((pa >= pa_end) || (pa_end - pa < 0x18))
++{
++grub_error (GRUB_ERR_BAD_FS, "can\'t parse attribute list");
++return NULL;
++  }
++
+ if (read_attr
+ (at, pa + 0x10,
+  u32at (pa, 0x10) * (at->mft->data->mft_size << 
GRUB_NTFS_BLK_SHR),
+--
+2.40.0
diff --git a/meta/recipes-bsp/grub/files/CVE-2023-4693.patch 
b/meta/recipes-bsp/grub/files/CVE-2023-4693.patch
new file mode 100644
index 00..1b6013d86d
--- /dev/null
+++ b/meta/recipes-bsp/grub/files/CVE-2023-4693.patch
@@ -0,0 +1,62 @@
+From 0ed2458cc4eff6d9a9199527e2a0b6d445802f94 Mon Sep 17 00:00:00 2001
+From: Maxim Suhanov 

[OE-core] [nanbield][patch 3/6] perlcross: update to 1.5.2

2023-12-12 Thread Lee Chee Yang
From: Lee Chee Yang 

remove upstreamed 
0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch

Signed-off-by: Lee Chee Yang 
---
 ...mt.sh-add-32-bit-integer-format-defi.patch | 28 ---
 .../{perlcross_1.5.bb => perlcross_1.5.2.bb}  |  3 +-
 2 files changed, 1 insertion(+), 30 deletions(-)
 delete mode 100644 
meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch
 rename meta/recipes-devtools/perl-cross/{perlcross_1.5.bb => 
perlcross_1.5.2.bb} (86%)

diff --git 
a/meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch
 
b/meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch
deleted file mode 100644
index 4de4a5b955..00
--- 
a/meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 920abf3dc39c851a655b719622c76a6f0dc9981d Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Tue, 5 Sep 2023 19:47:33 +0200
-Subject: [PATCH] cnf/configure_pfmt.sh: add 32 bit integer format definitions
-
-These started to matter in perl 5.38 where they are used to print
-line numbers.
-
-Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/143]
-Signed-off-by: Alexander Kanavin 

- cnf/configure_pfmt.sh | 6 ++
- 1 file changed, 6 insertions(+)
-
-diff --git a/cnf/configure_pfmt.sh b/cnf/configure_pfmt.sh
-index 8f93da1..7bb4b6f 100644
 a/cnf/configure_pfmt.sh
-+++ b/cnf/configure_pfmt.sh
-@@ -52,3 +52,9 @@ else
-   define uvxformat '"lx"'
-   define uvXUformat '"lX"'
- fi
-+
-+define i32dformat 'PRId32'
-+define u32uformat 'PRIu32'
-+define u32oformat 'PRIo32'
-+define u32xformat 'PRIx32'
-+define u32XUformat 'PRIX32'
diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.5.bb 
b/meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb
similarity index 86%
rename from meta/recipes-devtools/perl-cross/perlcross_1.5.bb
rename to meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb
index 7ca4977b97..b41c182fad 100644
--- a/meta/recipes-devtools/perl-cross/perlcross_1.5.bb
+++ b/meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb
@@ -15,11 +15,10 @@ SRC_URI = 
"${GITHUB_BASE_URI}/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-c
file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
file://determinism.patch \
file://0001-Makefile-check-the-file-if-patched-or-not.patch \
-   
file://0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch \
"
 GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/;
 
-SRC_URI[perl-cross.sha256sum] = 
"d744a390939e2ebb9a12f6725b4d9c19255a141d90031eff90ea183fdfcbf211"
+SRC_URI[perl-cross.sha256sum] = 
"584dc54c48dca25e032b676a15bef377c1fed9de318b4fc140292a5dbf326e90"
 
 S = "${WORKDIR}/perl-cross-${PV}"
 
-- 
2.37.3


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192262): 
https://lists.openembedded.org/g/openembedded-core/message/192262
Mute This Topic: https://lists.openembedded.org/mt/103144251/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [nanbield][patch 1/6] avahi: add CVE-2023-38473.patch to SRC_URL

2023-12-12 Thread Lee Chee Yang
From: Lee Chee Yang 

patch file added since Oe-Core rev a9203c46cd64c3ec5e5b00e381bbac85733f85df but 
not part of SRC_URI.

Signed-off-by: Lee Chee Yang 
---
 meta/recipes-connectivity/avahi/avahi_0.8.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-connectivity/avahi/avahi_0.8.bb 
b/meta/recipes-connectivity/avahi/avahi_0.8.bb
index aa395beaf9..bfd945c7ae 100644
--- a/meta/recipes-connectivity/avahi/avahi_0.8.bb
+++ b/meta/recipes-connectivity/avahi/avahi_0.8.bb
@@ -34,6 +34,7 @@ SRC_URI = 
"${GITHUB_BASE_URI}/download/v${PV}/avahi-${PV}.tar.gz \
file://CVE-2023-38471-1.patch \
file://CVE-2023-38471-2.patch \
file://CVE-2023-38472.patch \
+   file://CVE-2023-38473.patch \
"
 
 GITHUB_BASE_URI = "https://github.com/lathiat/avahi/releases/;
-- 
2.37.3


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192260): 
https://lists.openembedded.org/g/openembedded-core/message/192260
Mute This Topic: https://lists.openembedded.org/mt/103144248/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH] strace: Disable bluetooth support by default

2023-12-12 Thread Tim Orling
On Tue, Dec 12, 2023 at 3:37 PM Yoann Congal  wrote:

> The bluetooth support adds a bluez5 dependency (and,recursively, a lot
> of other stuff). Disable it by default to avoid having to build all of
> this when it is not needed.
>
> This decrease the number of tasks run for a core-image-minimal build by
> ~1000 (-21%).
>
> To re-enable bluetooth support in strace, add "bluez" to strace
> PACKAGECONFIG. For example, in local.conf:
>   PACKAGECONFIG:append:pn-strace = "bluetooth"

typo: = “bluez” unless you meant to reference the DISTRO_FEATURE?

>
>
> Fixes [YOCTO #15323]
>
> Signed-off-by: Yoann Congal 
> ---
>  meta/recipes-devtools/strace/strace_6.6.bb | 3 ---
>  1 file changed, 3 deletions(-)
>
> diff --git a/meta/recipes-devtools/strace/strace_6.6.bb
> b/meta/recipes-devtools/strace/strace_6.6.bb
> index a3de7941cf..c355b45b20 100644
> --- a/meta/recipes-devtools/strace/strace_6.6.bb
> +++ b/meta/recipes-devtools/strace/strace_6.6.bb
> @@ -22,9 +22,6 @@ inherit autotools ptest
>  # Not yet ported to rv32
>  COMPATIBLE_HOST:riscv32 = "null"
>
> -PACKAGECONFIG:class-target ??= "\
> -${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)}
> \
> -"
>
>  PACKAGECONFIG[bluez] =
> "ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,bluez5"
>  PACKAGECONFIG[libunwind] =
> "--with-libunwind,--without-libunwind,libunwind"
> --
> 2.30.2
>
>
> 
>
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192259): 
https://lists.openembedded.org/g/openembedded-core/message/192259
Mute This Topic: https://lists.openembedded.org/mt/103140540/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [PATCH v4] openssh: Add PACKAGECONFIG option to customize sshd mode

2023-12-12 Thread Yu, Mingli
Hi Alex,

The SYSTEMD_SERVICE variable is used to control per-service preset now and we 
use PACKAGECONFIG to help define the variable for SYSTEMD_SERVICE as below.
SYSTEMD_PACKAGES = "${PN}-sshd"
SYSTEMD_SERVICE:${PN}-sshd = 
"${@bb.utils.contains('PACKAGECONFIG','systemd-sshd-socket-mode','sshd.socket', 
'', d)} 
${@bb.utils.contains('PACKAGECONFIG','systemd-sshd-service-mode','sshd.service',
 '', d)}"

Thanks,

From: Alex Kiernan 
Sent: Thursday, December 7, 2023 20:11
To: Yu, Mingli 
Cc: openembedded-core@lists.openembedded.org 

Subject: Re: [OE-core] [PATCH v4] openssh: Add PACKAGECONFIG option to 
customize sshd mode

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know 
the content is safe.

On Thu, Dec 7, 2023 at 2:10 AM Yu, Mingli  wrote:
>
> Hi Alex,
>
> Thanks for your suggestion!
>
> Both sshd.socket and sshd.service belong to openssh-sshd package, so using 
> SYSTEMD_AUTO_ENABLE can't enable one of them,  it just can enable both or 
> disable both.
>

Yes, it would need changes to support per-service presets, which I
suspect would be generally useful.

> Thanks,
> 
> From: Alex Kiernan 
> Sent: Wednesday, December 6, 2023 18:37
> To: Yu, Mingli 
> Cc: openembedded-core@lists.openembedded.org 
> 
> Subject: Re: [OE-core] [PATCH v4] openssh: Add PACKAGECONFIG option to 
> customize sshd mode
>
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender and 
> know the content is safe.
>
> On Wed, Dec 6, 2023 at 8:56 AM Yu, Mingli  wrote:
> >
> > From: Mingli Yu 
> >
> > Add systemd-sshd-socket-mode PACKAGECONFIG option to choose sshd.socket
> > and systemd-sshd-service-mode PACKAGECONFIG option to choose installing
> > sshd.service.
> >
> > The systemd-sshd-socket-mode PACKAGECONFIG option is enabled by default
> > and user can customize the above two PACKAGECONFIG option to choose the
> > sshd mode.
> >
> > Signed-off-by: Mingli Yu 
> > ---
> > Changed in v3:
> > rebase based on 
> > https://lore.kernel.org/all/20231201140947.792594-1-xiangyu.c...@eng.windriver.com/
> >
> > Changed in v4:
> > make it possible to install both sshd.socket and sshd.service
>
> I'm wondering if we should make SYSTEMD_AUTO_ENABLE settable per
> service, so you could then install both and manage which one is active
> with a preset.
>
> > .../openssh/openssh_9.5p1.bb  | 25 ++-
> >  1 file changed, 19 insertions(+), 6 deletions(-)
> >
> > diff --git a/meta/recipes-connectivity/openssh/openssh_9.5p1.bb 
> > b/meta/recipes-connectivity/openssh/openssh_9.5p1.bb
> > index 2c1c821ea9..58dd030c64 100644
> > --- a/meta/recipes-connectivity/openssh/openssh_9.5p1.bb
> > +++ b/meta/recipes-connectivity/openssh/openssh_9.5p1.bb
> > @@ -50,16 +50,20 @@ INITSCRIPT_NAME:${PN}-sshd = "sshd"
> >  INITSCRIPT_PARAMS:${PN}-sshd = "defaults 9"
> >
> >  SYSTEMD_PACKAGES = "${PN}-sshd"
> > -SYSTEMD_SERVICE:${PN}-sshd = "sshd.socket sshd.service"
> > +SYSTEMD_SERVICE:${PN}-sshd = 
> > "${@bb.utils.contains('PACKAGECONFIG','systemd-sshd-socket-mode','sshd.socket',
> >  '', d)} 
> > ${@bb.utils.contains('PACKAGECONFIG','systemd-sshd-service-mode','sshd.service',
> >  '', d)}"
> >
> >  inherit autotools-brokensep ptest pkgconfig
> >
> > -PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
> > +# systemd-sshd-socket-mode means sshd.socket and systemd-sshd-service-mode
> > +# corresponding to sshd.service
> > +PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} 
> > systemd-sshd-socket-mode"
> >  PACKAGECONFIG[kerberos] = "--with-kerberos5,--without-kerberos5,krb5"
> >  PACKAGECONFIG[ldns] = "--with-ldns,--without-ldns,ldns"
> >  PACKAGECONFIG[libedit] = "--with-libedit,--without-libedit,libedit"
> >  PACKAGECONFIG[manpages] = "--with-mantype=man,--with-mantype=cat"
> >  PACKAGECONFIG[systemd] = "--with-systemd,--without-systemd,systemd"
> > +PACKAGECONFIG[systemd-sshd-socket-mode] = ""
> > +PACKAGECONFIG[systemd-sshd-service-mode] = ""
> >
> >  EXTRA_AUTORECONF += "--exclude=aclocal"
> >
> > @@ -124,15 +128,24 @@ do_install:append () {
> > echo "HostKey /var/run/ssh/ssh_host_ed25519_key" >> 
> > ${D}${sysconfdir}/ssh/sshd_config_readonly
> >
> > install -d ${D}${systemd_system_unitdir}
> > -   install -c -m 0644 ${WORKDIR}/sshd.socket 
> > ${D}${systemd_system_unitdir}
> > -   install -c -m 0644 ${WORKDIR}/sshd.service 
> > ${D}${systemd_system_unitdir}
> > -   install -c -m 0644 ${WORKDIR}/sshd@.service 
> > ${D}${systemd_system_unitdir}
> > +   if 
> > ${@bb.utils.contains('PACKAGECONFIG','systemd-sshd-socket-mode','true','false',d)};
> >  then
> > +   install -c -m 0644 ${WORKDIR}/sshd.socket 
> > ${D}${systemd_system_unitdir}
> > +   install -c -m 0644 ${WORKDIR}/sshd@.service 
> > 

[OE-core] [PATCH 1/2] perlcross: update to 1.5.2

2023-12-12 Thread Lee Chee Yang
From: Lee Chee Yang 

remove upstreamed 
0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch

Signed-off-by: Lee Chee Yang 
---
 ...mt.sh-add-32-bit-integer-format-defi.patch | 28 ---
 .../{perlcross_1.5.bb => perlcross_1.5.2.bb}  |  3 +-
 2 files changed, 1 insertion(+), 30 deletions(-)
 delete mode 100644 
meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch
 rename meta/recipes-devtools/perl-cross/{perlcross_1.5.bb => 
perlcross_1.5.2.bb} (86%)

diff --git 
a/meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch
 
b/meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch
deleted file mode 100644
index 4de4a5b955..00
--- 
a/meta/recipes-devtools/perl-cross/files/0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 920abf3dc39c851a655b719622c76a6f0dc9981d Mon Sep 17 00:00:00 2001
-From: Alexander Kanavin 
-Date: Tue, 5 Sep 2023 19:47:33 +0200
-Subject: [PATCH] cnf/configure_pfmt.sh: add 32 bit integer format definitions
-
-These started to matter in perl 5.38 where they are used to print
-line numbers.
-
-Upstream-Status: Submitted [https://github.com/arsv/perl-cross/pull/143]
-Signed-off-by: Alexander Kanavin 

- cnf/configure_pfmt.sh | 6 ++
- 1 file changed, 6 insertions(+)
-
-diff --git a/cnf/configure_pfmt.sh b/cnf/configure_pfmt.sh
-index 8f93da1..7bb4b6f 100644
 a/cnf/configure_pfmt.sh
-+++ b/cnf/configure_pfmt.sh
-@@ -52,3 +52,9 @@ else
-   define uvxformat '"lx"'
-   define uvXUformat '"lX"'
- fi
-+
-+define i32dformat 'PRId32'
-+define u32uformat 'PRIu32'
-+define u32oformat 'PRIo32'
-+define u32xformat 'PRIx32'
-+define u32XUformat 'PRIX32'
diff --git a/meta/recipes-devtools/perl-cross/perlcross_1.5.bb 
b/meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb
similarity index 86%
rename from meta/recipes-devtools/perl-cross/perlcross_1.5.bb
rename to meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb
index 7ca4977b97..b41c182fad 100644
--- a/meta/recipes-devtools/perl-cross/perlcross_1.5.bb
+++ b/meta/recipes-devtools/perl-cross/perlcross_1.5.2.bb
@@ -15,11 +15,10 @@ SRC_URI = 
"${GITHUB_BASE_URI}/download/${PV}/perl-cross-${PV}.tar.gz;name=perl-c
file://0001-perl-cross-add-LDFLAGS-when-linking-libperl.patch \
file://determinism.patch \
file://0001-Makefile-check-the-file-if-patched-or-not.patch \
-   
file://0001-cnf-configure_pfmt.sh-add-32-bit-integer-format-defi.patch \
"
 GITHUB_BASE_URI = "https://github.com/arsv/perl-cross/releases/;
 
-SRC_URI[perl-cross.sha256sum] = 
"d744a390939e2ebb9a12f6725b4d9c19255a141d90031eff90ea183fdfcbf211"
+SRC_URI[perl-cross.sha256sum] = 
"584dc54c48dca25e032b676a15bef377c1fed9de318b4fc140292a5dbf326e90"
 
 S = "${WORKDIR}/perl-cross-${PV}"
 
-- 
2.37.3


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192256): 
https://lists.openembedded.org/g/openembedded-core/message/192256
Mute This Topic: https://lists.openembedded.org/mt/103142432/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 2/2] perl: 5.38.0 -> 5.38.2

2023-12-12 Thread Lee Chee Yang
From: Lee Chee Yang 

update include fix for CVE-2023-47100.

Signed-off-by: Lee Chee Yang 
---
 meta/recipes-devtools/perl/{perl_5.38.0.bb => perl_5.38.2.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/perl/{perl_5.38.0.bb => perl_5.38.2.bb} (99%)

diff --git a/meta/recipes-devtools/perl/perl_5.38.0.bb 
b/meta/recipes-devtools/perl/perl_5.38.2.bb
similarity index 99%
rename from meta/recipes-devtools/perl/perl_5.38.0.bb
rename to meta/recipes-devtools/perl/perl_5.38.2.bb
index 639664e355..a9d684cfc5 100644
--- a/meta/recipes-devtools/perl/perl_5.38.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.38.2.bb
@@ -26,7 +26,7 @@ SRC_URI:append:class-target = " \
file://encodefix.patch \
 "
 
-SRC_URI[perl.sha256sum] = 
"213ef58089d2f2c972ea353517dc60ec3656f050dcc027666e118b508423e517"
+SRC_URI[perl.sha256sum] = 
"a0a31534451eb7b83c7d6594a497543a54d488bc90ca00f5e34762577f40655e"
 
 B = "${WORKDIR}/perl-${PV}-build"
 
-- 
2.37.3


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192257): 
https://lists.openembedded.org/g/openembedded-core/message/192257
Mute This Topic: https://lists.openembedded.org/mt/103142433/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [yocto] QA notification for completed autobuilder build (yocto-3.1.30.rc2)

2023-12-12 Thread Jing Hui Tham
Hi all,
 
Intel and WR YP QA is planning for QA execution for YP build yocto-3.1.30.rc2. 
We are planning to execute following tests for this cycle:
 
OEQA-manual tests for following module:
1. OE-Core
2. BSP-hw

Runtime auto test for following platforms:
1. MinnowBoard Turbot - 32bit
2. Kaby Lake (7th Generation Intel(r) Core(tm) Processors)
3. Tiger Lake (11th Generation Intel(r) Core(tm) Processors)
4. Alder Lake-S (12th Generation Intel(r) Core(tm) Processors)
5. Raptor Lake-P (13th Generation Intel(r) Core(tm) Processors)
6. Edgerouter
7. Beaglebone

 
ETA for completion next Monday, December 18.
 
Best regards,
Jing Hui

> -Original Message-
> From: yo...@lists.yoctoproject.org  On Behalf
> Of Pokybuild User
> Sent: Tuesday, December 12, 2023 2:10 PM
> To: yo...@lists.yoctoproject.org
> Cc: qa-build-notificat...@lists.yoctoproject.org
> Subject: [yocto] QA notification for completed autobuilder build (yocto-
> 3.1.30.rc2)
> 
> 
> A build flagged for QA (yocto-3.1.30.rc2) was completed on the autobuilder
> and is available at:
> 
> 
> https://autobuilder.yocto.io/pub/releases/yocto-3.1.30.rc2
> 
> 
> Build URL:
> https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6320
> 
> Build hash information:
> 
> bitbake: c0d60794a32e3f8bbfbbd6800d87ef2782aacf2c
> meta-agl: 512d244d48ba0d33f609f425a6e8a907b178cdac
> meta-arm: b75b8ce1ac10dc3521c0f710a4cf79bc7e985cfd
> meta-aws: e317ca5861b23dad5d0b2468fbe3b4b1ef367194
> meta-gplv2: 60b251c25ba87e946a0ca4cdc8d17b1cb09292ac
> meta-intel: e482213f37828216c7a7df68ff353652cc865ec1
> meta-mingw: 7bdc58e6c5d1054b1b6ad5c4e480a95e995ccbae
> meta-openembedded: 9135c7ea7350d5d241f4afc3b28087122ebe2d19
> meta-virtualization: 35c723774ee06b3c1831f00a2cbf25cbeae132e1
> oecore: 55157aa2f8b157b1cc63e1134d9eba6db0cf16da
> poky: dbe19706ec01c1eaa1d377a792e7d825054050b0
> 
> 
> 
> This is an automated message from the Yocto Project Autobuilder
> Git: git://git.yoctoproject.org/yocto-autobuilder2
> Email: richard.pur...@linuxfoundation.org
> 
> 
> 

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192255): 
https://lists.openembedded.org/g/openembedded-core/message/192255
Mute This Topic: https://lists.openembedded.org/mt/103142213/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [master] [PATCH] cve-update-nvd2-native: increase the delay between subsequent request failures

2023-12-12 Thread Yuta Hayama

On 2023/12/12 11:54, Yuta Hayama via lists.openembedded.org wrote:
> I think you are right that HTTP 403 does not look like reaching the rate limit
> (As Yoann noted, 429 would feel right). The HTTP 403 error returned may be
> because the request is being sent from a single PC, so I will try
> cve-update-nvd2-native:do_fetch on three different PCs. This would be closer
> to the actual use case I have indicated.


I have been trying to test running cve-update-nvd2-native:do_fetch on three
PCs at the same time. The result was that only one machine continued to make
successful requests until do_fetch completed, while the other two failed with
.

It seems that only one person can fetch in my assumed situation, no matter how
much we try to adjust the delay time...
 As a specific example, multiple cve-update-nvd2-native:do_fetch runs
 in parallel can easily reach the rate limit. It can be assumed that
 this situation will occur if several people run bitbake in one office.
 (often unaware of each
 other...)

Also, the following was my misunderstanding.
> Perhaps someone has not read the documentation
> about rate limiting, so the server is putting a delay before returning a
> response.
> That is, I think a single bitbake will not cause the issue.

The reason it takes a few seconds for the server to respond is probably that
the response is too long and the server is struggling.

In fact, if we send requests repeatedly that shorten the response, the response
will come back in a relatively short time, eventually reaching the rate limit.
And the HTTP error code at that time seems to be 403 for some reason. This is
the operation that clearly causes the rate limit to be reached, but it still
does not look like it will be 429.
Below is an example of test code:
---
import urllib.request
import time

cves = \
['CVE-2019-14899',
'CVE-2021-3714',
'CVE-2021-3864',
'CVE-2022-0400',
'CVE-2022-1247',
'CVE-2022-3219',
'CVE-2022-36402',
'CVE-2022-38096',
'CVE-2022-4543',
'CVE-2022-46456',
'CVE-2023-0687',
'CVE-2023-1386',
'CVE-2023-25584',
'CVE-2023-3019',
'CVE-2023-3397',
'CVE-2023-3640',
'CVE-2023-38559',
'CVE-2023-40030',
'CVE-2023-4010',
'CVE-2023-4039',
'CVE-2023-42363',
'CVE-2023-42364',
'CVE-2023-42365',
'CVE-2023-42366',
'CVE-2023-46407',
'CVE-2023-47100',
'CVE-2023-49292',
'CVE-2023-5088',
'CVE-2023-5156',
'CVE-2023-6238',]

for cve in cves:
url = 'https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=' + cve
print('URL:', url)
res = urllib.request.urlopen(url)
print('.urlopen() done.')
#time.sleep(6)
---

Anyway, the question of HTTP error codes still remains, but unfortunately the
situation of multiple people fetching at the same time seems to be difficult
to deal with.


Regards,

Yuta Hayama

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192254): 
https://lists.openembedded.org/g/openembedded-core/message/192254
Mute This Topic: https://lists.openembedded.org/mt/103049968/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] strace: Disable bluetooth support by default

2023-12-12 Thread Yoann Congal
The bluetooth support adds a bluez5 dependency (and,recursively, a lot
of other stuff). Disable it by default to avoid having to build all of
this when it is not needed.

This decrease the number of tasks run for a core-image-minimal build by
~1000 (-21%).

To re-enable bluetooth support in strace, add "bluez" to strace
PACKAGECONFIG. For example, in local.conf:
  PACKAGECONFIG:append:pn-strace = "bluetooth"

Fixes [YOCTO #15323]

Signed-off-by: Yoann Congal 
---
 meta/recipes-devtools/strace/strace_6.6.bb | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/meta/recipes-devtools/strace/strace_6.6.bb 
b/meta/recipes-devtools/strace/strace_6.6.bb
index a3de7941cf..c355b45b20 100644
--- a/meta/recipes-devtools/strace/strace_6.6.bb
+++ b/meta/recipes-devtools/strace/strace_6.6.bb
@@ -22,9 +22,6 @@ inherit autotools ptest
 # Not yet ported to rv32
 COMPATIBLE_HOST:riscv32 = "null"
 
-PACKAGECONFIG:class-target ??= "\
-${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \
-"
 
 PACKAGECONFIG[bluez] = 
"ac_cv_header_bluetooth_bluetooth_h=yes,ac_cv_header_bluetooth_bluetooth_h=no,bluez5"
 PACKAGECONFIG[libunwind] = "--with-libunwind,--without-libunwind,libunwind"
-- 
2.30.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192253): 
https://lists.openembedded.org/g/openembedded-core/message/192253
Mute This Topic: https://lists.openembedded.org/mt/103140540/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [RFC PATCH v2] qemurunner.py: continue to drain stdout after login:

2023-12-12 Thread Alex Bennée
Khem Raj  writes:

> I am on arch so no py-bt with gdb out of box but here is bt
>
> #0  0x7fa1e54ee367 in wait4 () from
> /mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
> #1  0x7fa1e5a858b9 in ?? () from
> /mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
> #2  0x7fa1e598e94a in ?? () from
> /mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
> #3  0x7fa1e594bf03 in PyObject_Vectorcall () from
> /mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
> #4  0x7fa1e5900063 in _PyEval_EvalFrameDefault () from
> /mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
> #5  0x7fa1e5a1da40 in ?? () from
> /mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
> #6  0x7fa1e5a1daf5 in PyEval_EvalCode () from
> /mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
> #7  0x7fa1e5a5deb3 in ?? () from
> /mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
> #8  0x7fa1e5a5e0d6 in ?? () from
> /mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
> #9  0x7fa1e5a5e1b0 in ?? () from
> /mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
> #10 0x7fa1e5a60b9b in _PyRun_SimpleFileObject () from
> /mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
> #11 0x7fa1e5a6111c in _PyRun_AnyFileObject () from
> /mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
> #12 0x7fa1e5a7ddf0 in Py_RunMain () from
> /mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
> #13 0x7fa1e5a7e32a in Py_BytesMain () from
> /mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
> #14 0x7fa1e5423efb in __libc_start_call_main () from
> /mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
> #15 0x7fa1e5423fb9 in __libc_start_main () from
> /mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
> #16 0x5581e2c53075 in _start ()
>
> since its using native libs and bins there is no debug info perhaps
> due to it being stripped and not kept around as well.

No - it won't work without debug symbols to poke around in pythons
runtime. Can you share the log?

Do you see anything from:

self.logger.warning('Extra log data read: %s\n' % 
(data.decode('utf-8', errors='backslashreplace')))
except Exception as e:
self.logger.warning('Extra log data exception %s' % repr(e))


maybe we should have a: self.stop_thread() once we catch the exception?

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192252): 
https://lists.openembedded.org/g/openembedded-core/message/192252
Mute This Topic: https://lists.openembedded.org/mt/10335/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][kirkstone 4/5] gstreamer1.0-plugins-base: enable glx/opengl support

2023-12-12 Thread Steve Sakoman
From: Alexander Kanavin 

This is required by latest webkit when built with x11 support.

(From OE-Core rev: 024edebf6f722ae4d05411be348730d9eeb3bd7c)

Signed-off-by: Alexander Kanavin 
Signed-off-by: Richard Purdie 
Signed-off-by: Claus Stovgaard 
Signed-off-by: Steve Sakoman 
---
 .../gstreamer/gstreamer1.0-plugins-base_1.20.7.bb   | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git 
a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.7.bb 
b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.7.bb
index 8822c6a905..8dfa70aea3 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.7.bb
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.20.7.bb
@@ -21,7 +21,8 @@ inherit gobject-introspection
 
 # opengl packageconfig factored out to make it easy for distros
 # and BSP layers to choose OpenGL APIs/platforms/window systems
-PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 
egl', '', d)}"
+PACKAGECONFIG_X11 = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl 
glx', '', d)}"
+PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 
egl ${PACKAGECONFIG_X11}', '', d)}"
 
 PACKAGECONFIG ??= " \
 ${GSTREAMER_ORC} \
@@ -32,7 +33,7 @@ PACKAGECONFIG ??= " \
 "
 
 OPENGL_APIS = 'opengl gles2'
-OPENGL_PLATFORMS = 'egl'
+OPENGL_PLATFORMS = 'egl glx'
 
 X11DEPENDS = "virtual/libx11 libsm libxrender libxv"
 X11ENABLEOPTS = "-Dx11=enabled -Dxvideo=enabled -Dxshm=enabled"
@@ -61,6 +62,7 @@ PACKAGECONFIG[gles2]= ",,virtual/libgles2"
 
 # OpenGL platform packageconfigs
 PACKAGECONFIG[egl]  = ",,virtual/egl"
+PACKAGECONFIG[glx]  = ",,virtual/libgl"
 
 # OpenGL window systems (except for X11)
 PACKAGECONFIG[gbm]  = ",,virtual/libgbm libgudev libdrm"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192250): 
https://lists.openembedded.org/g/openembedded-core/message/192250
Mute This Topic: https://lists.openembedded.org/mt/103139650/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][kirkstone 5/5] openssh: drop sudo from ptest dependencies

2023-12-12 Thread Steve Sakoman
From: Mikko Rapeli 

The tests don't actually need sudo on core-image-ptest-openssh.
Based on logs seen in
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178 it seems
that socket errors from sudo are creeping into stderr which are failing
the banner ptest from openssh. Removing sudo should help removing
the stderr messages and possibly cure the banner test failures.

(From OE-Core rev: 47e754f483b674b207bfddcc8d4c5d9a3008e102)

Signed-off-by: Mikko Rapeli 
Signed-off-by: Richard Purdie 
Signed-off-by: Steve Sakoman 
---
 meta/recipes-connectivity/openssh/openssh/run-ptest | 2 +-
 meta/recipes-connectivity/openssh/openssh_8.9p1.bb  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-connectivity/openssh/openssh/run-ptest 
b/meta/recipes-connectivity/openssh/openssh/run-ptest
index 8a9b770d59..9a406e9b65 100755
--- a/meta/recipes-connectivity/openssh/openssh/run-ptest
+++ b/meta/recipes-connectivity/openssh/openssh/run-ptest
@@ -5,7 +5,7 @@ export SKIP_UNIT=1
 
 cd regress
 sed -i "/\t\tagent-ptrace /d" Makefile
-make -k BUILDDIR=`pwd`/.. .OBJDIR=`pwd` .CURDIR=`pwd` SUDO="sudo" tests \
+make -k BUILDDIR=`pwd`/.. .OBJDIR=`pwd` .CURDIR=`pwd` SUDO="" tests \
 | sed -u -e 's/^skipped/SKIP: /g' -e 's/^ok /PASS: /g' -e 
's/^failed/FAIL: /g'
 
 SSHAGENT=`which ssh-agent`
diff --git a/meta/recipes-connectivity/openssh/openssh_8.9p1.bb 
b/meta/recipes-connectivity/openssh/openssh_8.9p1.bb
index da7ab7716c..32761b8bb8 100644
--- a/meta/recipes-connectivity/openssh/openssh_8.9p1.bb
+++ b/meta/recipes-connectivity/openssh/openssh_8.9p1.bb
@@ -170,7 +170,7 @@ RDEPENDS:${PN}-sshd += "${PN}-keygen 
${@bb.utils.contains('DISTRO_FEATURES', 'pa
 # conflict with each other
 RDEPENDS:${PN}-dev = ""
 # gdb would make attach-ptrace test pass rather than skip but not worth the 
build dependencies
-RDEPENDS:${PN}-ptest += "${PN}-sftp ${PN}-misc ${PN}-sftp-server make sed sudo 
coreutils"
+RDEPENDS:${PN}-ptest += "${PN}-sftp ${PN}-misc ${PN}-sftp-server make sed 
coreutils"
 
 RPROVIDES:${PN}-ssh = "ssh"
 RPROVIDES:${PN}-sshd = "sshd"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192251): 
https://lists.openembedded.org/g/openembedded-core/message/192251
Mute This Topic: https://lists.openembedded.org/mt/103139652/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][kirkstone 3/5] gnutls: Backport fix for CVE-2023-5981

2023-12-12 Thread Steve Sakoman
From: Vijay Anusuri 

Upstream-Status: Backport [import from debian 
https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/gnutls28/3.7.3-4ubuntu1.3/gnutls28_3.7.3-4ubuntu1.3.debian.tar.xz
Upstream-Commit: 
https://gitlab.com/gnutls/gnutls/-/commit/29d6298d0b04cfff970b993915db71ba3f580b6d]

References:
https://ubuntu.com/security/CVE-2023-5981

Signed-off-by: Vijay Anusuri 
Signed-off-by: Steve Sakoman 
---
 .../gnutls/gnutls/CVE-2023-5981.patch | 206 ++
 meta/recipes-support/gnutls/gnutls_3.7.4.bb   |   1 +
 2 files changed, 207 insertions(+)
 create mode 100644 meta/recipes-support/gnutls/gnutls/CVE-2023-5981.patch

diff --git a/meta/recipes-support/gnutls/gnutls/CVE-2023-5981.patch 
b/meta/recipes-support/gnutls/gnutls/CVE-2023-5981.patch
new file mode 100644
index 00..33e498b8e5
--- /dev/null
+++ b/meta/recipes-support/gnutls/gnutls/CVE-2023-5981.patch
@@ -0,0 +1,206 @@
+Backport of:
+
+From 29d6298d0b04cfff970b993915db71ba3f580b6d Mon Sep 17 00:00:00 2001
+From: Daiki Ueno 
+Date: Mon, 23 Oct 2023 09:26:57 +0900
+Subject: [PATCH] auth/rsa_psk: side-step potential side-channel
+
+This removes branching that depends on secret data, porting changes
+for regular RSA key exchange from
+4804febddc2ed958e5ae774de2a8f85edeeff538 and
+80a6ce8ddb02477cd724cd5b2944791aaddb702a.  This also removes the
+allow_wrong_pms as it was used sorely to control debug output
+depending on the branching.
+
+Signed-off-by: Daiki Ueno 
+
+Upstream-Status: Backport [import from debian 
https://launchpad.net/ubuntu/+archive/primary/+sourcefiles/gnutls28/3.7.3-4ubuntu1.3/gnutls28_3.7.3-4ubuntu1.3.debian.tar.xz
+Upstream-Commit: 
https://gitlab.com/gnutls/gnutls/-/commit/29d6298d0b04cfff970b993915db71ba3f580b6d]
+CVE: CVE-2023-5981
+Signed-off-by: Vijay Anusuri 
+---
+ lib/auth/rsa.c |  2 +-
+ lib/auth/rsa_psk.c | 90 ++
+ lib/gnutls_int.h   |  4 ---
+ lib/priority.c |  1 -
+ 4 files changed, 35 insertions(+), 62 deletions(-)
+
+--- a/lib/auth/rsa.c
 b/lib/auth/rsa.c
+@@ -207,7 +207,7 @@ proc_rsa_client_kx(gnutls_session_t sess
+session->key.key.size);
+   /* After this point, any conditional on failure that cause differences
+* in execution may create a timing or cache access pattern side
+-   * channel that can be used as an oracle, so treat very carefully */
++   * channel that can be used as an oracle, so tread carefully */
+ 
+   /* Error handling logic:
+* In case decryption fails then don't inform the peer. Just use the
+--- a/lib/auth/rsa_psk.c
 b/lib/auth/rsa_psk.c
+@@ -264,14 +264,13 @@ _gnutls_proc_rsa_psk_client_kx(gnutls_se
+ {
+   gnutls_datum_t username;
+   psk_auth_info_t info;
+-  gnutls_datum_t plaintext;
+   gnutls_datum_t ciphertext;
+   gnutls_datum_t pwd_psk = { NULL, 0 };
+   int ret, dsize;
+-  int randomize_key = 0;
+   ssize_t data_size = _data_size;
+   gnutls_psk_server_credentials_t cred;
+   gnutls_datum_t premaster_secret = { NULL, 0 };
++  volatile uint8_t ver_maj, ver_min;
+ 
+   cred = (gnutls_psk_server_credentials_t)
+   _gnutls_get_cred(session, GNUTLS_CRD_PSK);
+@@ -327,71 +326,47 @@ _gnutls_proc_rsa_psk_client_kx(gnutls_se
+   }
+   ciphertext.size = dsize;
+ 
+-  ret =
+-  gnutls_privkey_decrypt_data(session->internals.selected_key, 0,
+-  , );
+-  if (ret < 0 || plaintext.size != GNUTLS_MASTER_SIZE) {
+-  /* In case decryption fails then don't inform
+-   * the peer. Just use a random key. (in order to avoid
+-   * attack against pkcs-1 formatting).
+-   */
+-  gnutls_assert();
+-  _gnutls_debug_log
+-  ("auth_rsa_psk: Possible PKCS #1 format attack\n");
+-  if (ret >= 0) {
+-  gnutls_free(plaintext.data);
+-  }
+-  randomize_key = 1;
+-  } else {
+-  /* If the secret was properly formatted, then
+-   * check the version number.
+-   */
+-  if (_gnutls_get_adv_version_major(session) !=
+-  plaintext.data[0]
+-  || (session->internals.allow_wrong_pms == 0
+-  && _gnutls_get_adv_version_minor(session) !=
+-  plaintext.data[1])) {
+-  /* No error is returned here, if the version number 
check
+-   * fails. We proceed normally.
+-   * That is to defend against the attack described in 
the paper
+-   * "Attacking RSA-based sessions in SSL/TLS" by 
Vlastimil Klima,
+-   * Ondej Pokorny and Tomas Rosa.
+-   */
+-  gnutls_assert();
+-  _gnutls_debug_log
+-  ("auth_rsa: Possible 

[OE-core][kirkstone 2/5] bluez5: fix CVE-2023-45866

2023-12-12 Thread Steve Sakoman
From: Archana Polampalli 

Bluetooth HID Hosts in BlueZ may permit an unauthenticated Peripheral role
HID Device to initiate and establish an encrypted connection, and accept HID
keyboard reports,potentially permitting injection of HID messages when no user
interaction has occurred in the Central role to authorize such access. An 
example
affected package is bluez 5.64-0ubuntu1 in Ubuntu 22.04LTS. NOTE: in some cases,
a CVE-2020-0556 mitigation would have already addressed this Bluetooth HID 
Hosts issue.

References:
https://nvd.nist.gov/vuln/detail/CVE-2023-45866

Upstream patches:
https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/profiles/input?id=25a471a83e02e1effb15d5a488b3f0085eaeb675

Signed-off-by: Archana Polampalli 
Signed-off-by: Steve Sakoman 
---
 meta/recipes-connectivity/bluez5/bluez5.inc   |  1 +
 .../bluez5/bluez5/CVE-2023-45866.patch| 56 +++
 2 files changed, 57 insertions(+)
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/CVE-2023-45866.patch

diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc 
b/meta/recipes-connectivity/bluez5/bluez5.inc
index a8eaba1dd6..7786b65670 100644
--- a/meta/recipes-connectivity/bluez5/bluez5.inc
+++ b/meta/recipes-connectivity/bluez5/bluez5.inc
@@ -54,6 +54,7 @@ SRC_URI = 
"${KERNELORG_MIRROR}/linux/bluetooth/bluez-${PV}.tar.xz \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 
'file://0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch', d)} \

file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \
file://0001-test-gatt-Fix-hung-issue.patch \
+  file://CVE-2023-45866.patch \
"
 S = "${WORKDIR}/bluez-${PV}"
 
diff --git a/meta/recipes-connectivity/bluez5/bluez5/CVE-2023-45866.patch 
b/meta/recipes-connectivity/bluez5/bluez5/CVE-2023-45866.patch
new file mode 100644
index 00..5bb31d866a
--- /dev/null
+++ b/meta/recipes-connectivity/bluez5/bluez5/CVE-2023-45866.patch
@@ -0,0 +1,56 @@
+From 25a471a83e02e1effb15d5a488b3f0085eaeb675 Mon Sep 17 00:00:00 2001
+From: Luiz Augusto von Dentz 
+Date: Tue, 10 Oct 2023 13:03:12 -0700
+Subject: [PATCH] input.conf: Change default of ClassicBondedOnly
+
+This changes the default of ClassicBondedOnly since defaulting to false
+is not inline with HID specification which mandates the of Security Mode
+4:
+
+BLUETOOTH SPECIFICATION Page 84 of 123
+Human Interface Device (HID) Profile:
+
+  5.4.3.4.2 Security Modes
+  Bluetooth HID Hosts shall use Security Mode 4 when interoperating with
+  Bluetooth HID devices that are compliant to the Bluetooth Core
+  Specification v2.1+EDR[6].
+
+Upstream-Status: Backport
+[https://git.kernel.org/pub/scm/bluetooth/bluez.git/commit/profiles/input?id=25a471a83e02e1effb15d5a488b3f0085eaeb675]
+
+CVE: CVE-2023-45866
+
+Signed-off-by: Archana Polampalli 
+---
+ profiles/input/device.c   | 2 +-
+ profiles/input/input.conf | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/profiles/input/device.c b/profiles/input/device.c
+index 4a50ea9..4310dd1 100644
+--- a/profiles/input/device.c
 b/profiles/input/device.c
+@@ -81,7 +81,7 @@ struct input_device {
+
+ static int idle_timeout = 0;
+ static bool uhid_enabled = false;
+-static bool classic_bonded_only = false;
++static bool classic_bonded_only = true;
+
+ void input_set_idle_timeout(int timeout)
+ {
+diff --git a/profiles/input/input.conf b/profiles/input/input.conf
+index 4c70bc5..d8645f3 100644
+--- a/profiles/input/input.conf
 b/profiles/input/input.conf
+@@ -17,7 +17,7 @@
+ # platforms may want to make sure that input connections only come from bonded
+ # device connections. Several older mice have been known for not supporting
+ # pairing/encryption.
+-# Defaults to false to maximize device compatibility.
++# Defaults to true for security.
+ #ClassicBondedOnly=true
+
+ # LE upgrade security
+--
+2.40.0
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192248): 
https://lists.openembedded.org/g/openembedded-core/message/192248
Mute This Topic: https://lists.openembedded.org/mt/103139648/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][kirkstone 1/5] avahi: backport CVE-2023-1981 & CVE's follow-up patches

2023-12-12 Thread Steve Sakoman
From: Vijay Anusuri 

import patches from ubuntu to fix
 CVE-2023-1981
 CVE-2023-38469-2
 CVE-2023-38470-2
 CVE-2023-38471-2

Upstream-Status: Backport [import from ubuntu 
https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches?h=ubuntu/jammy-security
Upstream commit
https://github.com/lathiat/avahi/commit/a2696da2f2c50ac43b6c4903f72290d5c3fa9f6f
&
https://github.com/lathiat/avahi/commit/c6cab87df290448a63323c8ca759baa516166237
&
https://github.com/lathiat/avahi/commit/94cb6489114636940ac683515417990b55b5d66c
&
https://github.com/lathiat/avahi/commit/b675f70739f404342f7f78635d6e2dcd85a13460]

Ref: 
https://git.openembedded.org/openembedded-core-contrib/commit/?h=stable/nanbield-nut=a9203c46cd64c3ec5e5b00e381bbac85733f85df

Signed-off-by: Vijay Anusuri 
Signed-off-by: Steve Sakoman 
---
 meta/recipes-connectivity/avahi/avahi_0.8.bb  | 10 ++-
 .../avahi/files/CVE-2023-1981.patch   | 58 +
 ...023-38469.patch => CVE-2023-38469-1.patch} |  0
 .../avahi/files/CVE-2023-38469-2.patch| 65 +++
 ...023-38470.patch => CVE-2023-38470-1.patch} |  0
 .../avahi/files/CVE-2023-38470-2.patch| 52 +++
 ...023-38471.patch => CVE-2023-38471-1.patch} |  0
 .../avahi/files/CVE-2023-38471-2.patch| 52 +++
 .../avahi/files/CVE-2023-38472.patch  | 44 ++---
 9 files changed, 256 insertions(+), 25 deletions(-)
 create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-1981.patch
 rename meta/recipes-connectivity/avahi/files/{CVE-2023-38469.patch => 
CVE-2023-38469-1.patch} (100%)
 create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-38469-2.patch
 rename meta/recipes-connectivity/avahi/files/{CVE-2023-38470.patch => 
CVE-2023-38470-1.patch} (100%)
 create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-38470-2.patch
 rename meta/recipes-connectivity/avahi/files/{CVE-2023-38471.patch => 
CVE-2023-38471-1.patch} (100%)
 create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-38471-2.patch

diff --git a/meta/recipes-connectivity/avahi/avahi_0.8.bb 
b/meta/recipes-connectivity/avahi/avahi_0.8.bb
index af5284a252..5d1c86978a 100644
--- a/meta/recipes-connectivity/avahi/avahi_0.8.bb
+++ b/meta/recipes-connectivity/avahi/avahi_0.8.bb
@@ -26,9 +26,13 @@ SRC_URI = 
"https://github.com/lathiat/avahi/releases/download/v${PV}/avahi-${PV}
file://0001-Fix-opening-etc-resolv.conf-error.patch \
file://handle-hup.patch \
file://local-ping.patch \
-   file://CVE-2023-38471.patch \
-   file://CVE-2023-38470.patch \
-   file://CVE-2023-38469.patch \
+   file://CVE-2023-1981.patch \
+   file://CVE-2023-38469-1.patch \
+   file://CVE-2023-38469-2.patch \
+   file://CVE-2023-38470-1.patch \
+   file://CVE-2023-38470-2.patch \
+   file://CVE-2023-38471-1.patch \
+   file://CVE-2023-38471-2.patch \
file://CVE-2023-38472.patch \
file://CVE-2023-38473.patch \
"
diff --git a/meta/recipes-connectivity/avahi/files/CVE-2023-1981.patch 
b/meta/recipes-connectivity/avahi/files/CVE-2023-1981.patch
new file mode 100644
index 00..4d7924d13a
--- /dev/null
+++ b/meta/recipes-connectivity/avahi/files/CVE-2023-1981.patch
@@ -0,0 +1,58 @@
+From a2696da2f2c50ac43b6c4903f72290d5c3fa9f6f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= 
+Date: Thu, 17 Nov 2022 01:51:53 +0100
+Subject: [PATCH] Emit error if requested service is not found
+
+It currently just crashes instead of replying with error. Check return
+value and emit error instead of passing NULL pointer to reply.
+
+Fixes #375
+
+Upstream-Status: Backport [import from ubuntu 
https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches/CVE-2023-1981.patch?h=ubuntu/jammy-security
+Upstream commit 
https://github.com/lathiat/avahi/commit/a2696da2f2c50ac43b6c4903f72290d5c3fa9f6f]
+CVE: CVE-2023-1981
+Signed-off-by: Vijay Anusuri 
+---
+ avahi-daemon/dbus-protocol.c | 20 ++--
+ 1 file changed, 14 insertions(+), 6 deletions(-)
+
+diff --git a/avahi-daemon/dbus-protocol.c b/avahi-daemon/dbus-protocol.c
+index 70d7687bc..406d0b441 100644
+--- a/avahi-daemon/dbus-protocol.c
 b/avahi-daemon/dbus-protocol.c
+@@ -375,10 +375,14 @@ static DBusHandlerResult 
dbus_get_alternative_host_name(DBusConnection *c, DBusM
+ }
+ 
+ t = avahi_alternative_host_name(n);
+-avahi_dbus_respond_string(c, m, t);
+-avahi_free(t);
++if (t) {
++avahi_dbus_respond_string(c, m, t);
++avahi_free(t);
+ 
+-return DBUS_HANDLER_RESULT_HANDLED;
++return DBUS_HANDLER_RESULT_HANDLED;
++} else {
++return avahi_dbus_respond_error(c, m, AVAHI_ERR_NOT_FOUND, "Hostname 
not found");
++}
+ }
+ 
+ static DBusHandlerResult dbus_get_alternative_service_name(DBusConnection *c, 
DBusMessage *m, DBusError *error) {
+@@ -389,10 +393,14 @@ static 

[OE-core][kirkstone 0/5] Patch review

2023-12-12 Thread Steve Sakoman
Please review this set of changes for kirkstone and have comments back by
end of day Thursday, December 14

Passed a-full on autobuilder:

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6324

The following changes since commit 09ecafaf0e128c4dea062d359de37cbef461aed2:

  native: Clear TUNE_FEATURES/ABIEXTENSION (2023-12-07 08:09:37 -1000)

are available in the Git repository at:

  https://git.openembedded.org/openembedded-core-contrib stable/kirkstone-nut
  
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/kirkstone-nut

Alexander Kanavin (1):
  gstreamer1.0-plugins-base: enable glx/opengl support

Archana Polampalli (1):
  bluez5: fix CVE-2023-45866

Mikko Rapeli (1):
  openssh: drop sudo from ptest dependencies

Vijay Anusuri (2):
  avahi: backport CVE-2023-1981 & CVE's follow-up patches
  gnutls: Backport fix for CVE-2023-5981

 meta/recipes-connectivity/avahi/avahi_0.8.bb  |  10 +-
 .../avahi/files/CVE-2023-1981.patch   |  58 +
 ...023-38469.patch => CVE-2023-38469-1.patch} |   0
 .../avahi/files/CVE-2023-38469-2.patch|  65 ++
 ...023-38470.patch => CVE-2023-38470-1.patch} |   0
 .../avahi/files/CVE-2023-38470-2.patch|  52 +
 ...023-38471.patch => CVE-2023-38471-1.patch} |   0
 .../avahi/files/CVE-2023-38471-2.patch|  52 +
 .../avahi/files/CVE-2023-38472.patch  |  44 ++--
 meta/recipes-connectivity/bluez5/bluez5.inc   |   1 +
 .../bluez5/bluez5/CVE-2023-45866.patch|  56 +
 .../openssh/openssh/run-ptest |   2 +-
 .../openssh/openssh_8.9p1.bb  |   2 +-
 .../gstreamer1.0-plugins-base_1.20.7.bb   |   6 +-
 .../gnutls/gnutls/CVE-2023-5981.patch | 206 ++
 meta/recipes-support/gnutls/gnutls_3.7.4.bb   |   1 +
 16 files changed, 526 insertions(+), 29 deletions(-)
 create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-1981.patch
 rename meta/recipes-connectivity/avahi/files/{CVE-2023-38469.patch => 
CVE-2023-38469-1.patch} (100%)
 create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-38469-2.patch
 rename meta/recipes-connectivity/avahi/files/{CVE-2023-38470.patch => 
CVE-2023-38470-1.patch} (100%)
 create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-38470-2.patch
 rename meta/recipes-connectivity/avahi/files/{CVE-2023-38471.patch => 
CVE-2023-38471-1.patch} (100%)
 create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-38471-2.patch
 create mode 100644 meta/recipes-connectivity/bluez5/bluez5/CVE-2023-45866.patch
 create mode 100644 meta/recipes-support/gnutls/gnutls/CVE-2023-5981.patch

-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192246): 
https://lists.openembedded.org/g/openembedded-core/message/192246
Mute This Topic: https://lists.openembedded.org/mt/103139645/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [RFC PATCH v2] qemurunner.py: continue to drain stdout after login:

2023-12-12 Thread Khem Raj
I am on arch so no py-bt with gdb out of box but here is bt

#0  0x7fa1e54ee367 in wait4 () from
/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#1  0x7fa1e5a858b9 in ?? () from
/mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
#2  0x7fa1e598e94a in ?? () from
/mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
#3  0x7fa1e594bf03 in PyObject_Vectorcall () from
/mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
#4  0x7fa1e5900063 in _PyEval_EvalFrameDefault () from
/mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
#5  0x7fa1e5a1da40 in ?? () from
/mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
#6  0x7fa1e5a1daf5 in PyEval_EvalCode () from
/mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
#7  0x7fa1e5a5deb3 in ?? () from
/mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
#8  0x7fa1e5a5e0d6 in ?? () from
/mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
#9  0x7fa1e5a5e1b0 in ?? () from
/mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
#10 0x7fa1e5a60b9b in _PyRun_SimpleFileObject () from
/mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
#11 0x7fa1e5a6111c in _PyRun_AnyFileObject () from
/mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
#12 0x7fa1e5a7ddf0 in Py_RunMain () from
/mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
#13 0x7fa1e5a7e32a in Py_BytesMain () from
/mnt/b/yoe/master/build/tmp/work/qemux86_64-yoe-linux/core-image-ptest-gstreamer1.0/1.0/recipe-sysroot-native/usr/bin/python3-native/../../lib/libpython3.11.so.1.0
#14 0x7fa1e5423efb in __libc_start_call_main () from
/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#15 0x7fa1e5423fb9 in __libc_start_main () from
/mnt/b/yoe/master/build/tmp/sysroots-uninative/x86_64-linux/lib/libc.so.6
#16 0x5581e2c53075 in _start ()

since its using native libs and bins there is no debug info perhaps
due to it being stripped and not kept around as well.

On Tue, Dec 12, 2023 at 10:51 AM Alex Bennée  wrote:
>
> Khem Raj  writes:
>
> > this version hangs the run forever.
>
> Do you have a reproducer? In my "make test" case it works fine.
>
> Alternatively you could gdb attach to the hanging python and use py-bt
> to generate a python backtrace.
>
> >
> > On Mon, Dec 11, 2023 at 7:57 AM Alex Bennée  wrote:
> >>
> >> If qemurunner doesn't continuously drain stdout we will eventually
> >> cause QEMU to block while trying to write to the pipe. This can
> >> manifest itself if the guest has for example configured its serial
> >> ports to output via stdio even if the test itself is using a TCP
> >> console or SSH to run things.
> >>
> >> To do this:
> >>
> >>   - always create a logging thread regardless of serial_ports
> >>   - use a semaphore between main and logging threads
> >>   - move the login detection into the logging thread
> >>   - wait until the second acquire before continuing
> >>
> >> This doesn't address a potential overflow of stderr although generally
> >> stderr from QEMU will be a lot less likely to block due to the volume
> >> of data.
> >>
> >> Signed-off-by: Alex Bennée 
> >> Cc: Mikko Rapeli 
> >> ---
> >>  meta/lib/oeqa/utils/qemurunner.py | 128 ++
> >>  1 file changed, 78 insertions(+), 50 deletions(-)
> >>
> >> diff --git a/meta/lib/oeqa/utils/qemurunner.py 
> >> b/meta/lib/oeqa/utils/qemurunner.py
> >> index 29fe271976..b768c08f04 100644
> >> --- a/meta/lib/oeqa/utils/qemurunner.py
> >> +++ b/meta/lib/oeqa/utils/qemurunner.py
> >> @@ -207,8 +207,7 @@ class QemuRunner:
> >>  self.logger.info("QMP Available for connection at %s" % 
> >> (qmp_port2))
> 

Re: [OE-core] [PATCH RFC] bitbake.conf/pseudo: Switch from exclusion list to inclusion list

2023-12-12 Thread Seebs
On Tue, 12 Dec 2023 12:44:47 -0600
"Mark Hatle"  wrote:

> /tmp - used by the compiler (and tons of other tooling) for temporary
> files, we need this for sure.

If memory serves, this is basically why it was an IGNORE path list
originally. If we ever accessed anything outside of pseudo, we'd get
leakage. The basic pattern looks like:

* file gets created outside of our workspace
* we then copy it in using something that tries to preserve ownership
* since file wasn't being tracked through pseudo, it has real UID on it
* now we've copied something into our workspace using that UID

The very early design, back in our pre-Yocto build system, imagined a
single unified database being used for the entire build process,
persistently. That was maybe not the best design idea, but it was
how we'd been using fakeroot and I didn't really revisit it at the
time. Also, we had a *lot* of cross-pollination between components, so
things would end up copying in or referring to files that were part
of another package, without using the intermediate archived form, so...

Wild times. Definitely one of those things where, with the wisdom of
hindsight, I know enough about the problem that if you asked me to do
it today I'd probably confidently tell you that it's not possible. :)

-s

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192244): 
https://lists.openembedded.org/g/openembedded-core/message/192244
Mute This Topic: https://lists.openembedded.org/mt/103113368/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [RFC PATCH v2] qemurunner.py: continue to drain stdout after login:

2023-12-12 Thread Alex Bennée
Khem Raj  writes:

> this version hangs the run forever.

Do you have a reproducer? In my "make test" case it works fine.

Alternatively you could gdb attach to the hanging python and use py-bt
to generate a python backtrace.

>
> On Mon, Dec 11, 2023 at 7:57 AM Alex Bennée  wrote:
>>
>> If qemurunner doesn't continuously drain stdout we will eventually
>> cause QEMU to block while trying to write to the pipe. This can
>> manifest itself if the guest has for example configured its serial
>> ports to output via stdio even if the test itself is using a TCP
>> console or SSH to run things.
>>
>> To do this:
>>
>>   - always create a logging thread regardless of serial_ports
>>   - use a semaphore between main and logging threads
>>   - move the login detection into the logging thread
>>   - wait until the second acquire before continuing
>>
>> This doesn't address a potential overflow of stderr although generally
>> stderr from QEMU will be a lot less likely to block due to the volume
>> of data.
>>
>> Signed-off-by: Alex Bennée 
>> Cc: Mikko Rapeli 
>> ---
>>  meta/lib/oeqa/utils/qemurunner.py | 128 ++
>>  1 file changed, 78 insertions(+), 50 deletions(-)
>>
>> diff --git a/meta/lib/oeqa/utils/qemurunner.py 
>> b/meta/lib/oeqa/utils/qemurunner.py
>> index 29fe271976..b768c08f04 100644
>> --- a/meta/lib/oeqa/utils/qemurunner.py
>> +++ b/meta/lib/oeqa/utils/qemurunner.py
>> @@ -207,8 +207,7 @@ class QemuRunner:
>>  self.logger.info("QMP Available for connection at %s" % (qmp_port2))
>>
>>  try:
>> -if self.serial_ports >= 2:
>> -self.threadsock, threadport = self.create_socket()
>> +self.threadsock, threadport = self.create_socket()
>>  self.server_socket, self.serverport = self.create_socket()
>>  except socket.error as msg:
>>  self.logger.error("Failed to create listening socket: %s" % 
>> msg[1])
>> @@ -243,6 +242,7 @@ class QemuRunner:
>>  # to be a proper fix but this will suffice for now.
>>  self.runqemu = subprocess.Popen(launch_cmd, shell=True, 
>> stdout=subprocess.PIPE, stderr=subprocess.STDOUT, stdin=subprocess.PIPE, 
>> preexec_fn=os.setpgrp, env=env, cwd=self.tmpdir)
>>  output = self.runqemu.stdout
>> +output_drain = output
>>  launch_time = time.time()
>>
>>  #
>> @@ -431,21 +431,30 @@ class QemuRunner:
>>  self.logger.debug("Target IP: %s" % self.ip)
>>  self.logger.debug("Server IP: %s" % self.server_ip)
>>
>> -if self.serial_ports >= 2:
>> -self.thread = LoggingThread(self.log, self.threadsock, 
>> self.logger)
>> -self.thread.start()
>> -if not self.thread.connection_established.wait(self.boottime):
>> -self.logger.error("Didn't receive a console connection from 
>> qemu. "
>> - "Here is the qemu command line used:\n%s\nand "
>> - "output from runqemu:\n%s" % (cmdline, out))
>> -self.stop_thread()
>> -return False
>> +# Create and hold onto the login semaphore, this will block
>> +# the LoggingThread until we are ready
>> +login_semaphore = threading.Semaphore()
>> +login_semaphore.acquire()
>> +
>> +self.thread = LoggingThread(self.log, self.threadsock,
>> +self.runqemu.stdout, 
>> self.boot_patterns['search_reached_prompt'],
>> +self.logger, login_semaphore)
>> +
>> +self.thread.start()
>> +login_semaphore.release()
>> +
>> +# if not self.thread.connection_established.wait(self.boottime):
>> +# self.logger.error("Didn't receive a console connection from 
>> qemu. "
>> +#   "Here is the qemu command line 
>> used:\n%s\nand "
>> +#   "output from runqemu:\n%s" % (cmdline, out))
>> +# self.stop_thread()
>> +# return False
>>
>>  self.logger.debug("Output from runqemu:\n%s", out)
>>  self.logger.debug("Waiting at most %d seconds for login banner 
>> (%s)" %
>>(self.boottime, time.strftime("%D %H:%M:%S")))
>>  endtime = time.time() + self.boottime
>> -filelist = [self.server_socket, self.runqemu.stdout]
>> +filelist = [self.server_socket]
>>  reachedlogin = False
>>  stopread = False
>>  qemusock = None
>> @@ -464,46 +473,19 @@ class QemuRunner:
>>  filelist.remove(self.server_socket)
>>  self.logger.debug("Connection from %s:%s" % addr)
>>  else:
>> -# try to avoid reading only a single character at a time
>> -time.sleep(0.1)
>> -if hasattr(file, 'read'):
>> -read = file.read(1024)
>> -elif 

Re: [OE-core] [PATCH RFC] bitbake.conf/pseudo: Switch from exclusion list to inclusion list

2023-12-12 Thread Mark Hatle



On 12/11/23 2:35 PM, Ross Burton wrote:

On 11 Dec 2023, at 17:35, Richard Purdie via lists.openembedded.org 
 wrote:


Currently, pseudo tracks all files referenced within it's presence unless
they're listed in an exclusion list. The exclusion list has grown to be
fairly unwieldy.

This patch swaps PSEUDO_IGNORE_PATHS for PSEUDO_INCLUDE_PATHS which in
theory should be easier and more explicit to maintain.


I’ve never understood the rationale behind exclude over include (then again 
there’s lots I don’t understand), so I’m very much for this in principle.


History:

It was originally everything, because files were referenced, linked and copied 
around random parts of the system and/or build and needed preservation of 
components.  This was very early Yocto Project and before.  (Psuedo existed for 
many years before OE/YP used it!)


Then the build/work directories became more standardized, and the components 
'copying in' from elsewhere was greatly reduced... but there were points where 
reference files were still used (think .m4 files or tex templates for instance 
for the kinds of things...)  Since we didn't know what all of the reference 
points (to the host) were, we decided to be conservative to add exclusion.


So excluding paths where we could count on owners/groups (and more importantly 
permissions) being standard became the norm.  That's why the primary exclusion was:


/usr/,/etc/,/lib,/dev/,/run/

Over time though we've gotten our dependencies understood and really severely 
limited the external components we use in the build.  (including .m4, autoconf, 
tex, etc etc etc..)   So moving to an INCLUDE seems to make more sense to me. 
Since we have a clear understanding of the path structure we use


/tmp - used by the compiler (and tons of other tooling) for temporary files, we 
need this for sure.


/proc - there are referenced entries that MIGHT be needed, especially links to 
/proc/mounts (where the link inherits perms)


/dev - I'm not sure if this is needed, but things like /dev/null and /dev/shm, 
another tmpfs, mean we probably need to track this.


/run - often contains other short-term temp files, especially for things like 
trying to process pre/post package scripting on rootfs configuration.



Then the items in WORKDIR of course.  IN THE PAST, we needed source code to be 
covered both to handle symlink references, as well as specific copy functions. 
But I suspect this is not needed any longer.  The actual build directory also is 
likely not needed anymore (but had been in the past!)  Leaving us the image, 
package, rootfs, etc directories.


So I think this maps well to "how did we get here".


The one question I ask, is why we're using ',' as a separator and not ':' like 
standard Unix style paths.  But I suspect the answer is Windows level 
support  but I'd be very tempted to move it back to ':' to make this more 
standard like other path separators.  (But that can be done at another time!)



--Mark



Ross






-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192242): 
https://lists.openembedded.org/g/openembedded-core/message/192242
Mute This Topic: https://lists.openembedded.org/mt/103113368/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-core] [RFC PATCH v2] qemurunner.py: continue to drain stdout after login:

2023-12-12 Thread Khem Raj
this version hangs the run forever.

On Mon, Dec 11, 2023 at 7:57 AM Alex Bennée  wrote:
>
> If qemurunner doesn't continuously drain stdout we will eventually
> cause QEMU to block while trying to write to the pipe. This can
> manifest itself if the guest has for example configured its serial
> ports to output via stdio even if the test itself is using a TCP
> console or SSH to run things.
>
> To do this:
>
>   - always create a logging thread regardless of serial_ports
>   - use a semaphore between main and logging threads
>   - move the login detection into the logging thread
>   - wait until the second acquire before continuing
>
> This doesn't address a potential overflow of stderr although generally
> stderr from QEMU will be a lot less likely to block due to the volume
> of data.
>
> Signed-off-by: Alex Bennée 
> Cc: Mikko Rapeli 
> ---
>  meta/lib/oeqa/utils/qemurunner.py | 128 ++
>  1 file changed, 78 insertions(+), 50 deletions(-)
>
> diff --git a/meta/lib/oeqa/utils/qemurunner.py 
> b/meta/lib/oeqa/utils/qemurunner.py
> index 29fe271976..b768c08f04 100644
> --- a/meta/lib/oeqa/utils/qemurunner.py
> +++ b/meta/lib/oeqa/utils/qemurunner.py
> @@ -207,8 +207,7 @@ class QemuRunner:
>  self.logger.info("QMP Available for connection at %s" % (qmp_port2))
>
>  try:
> -if self.serial_ports >= 2:
> -self.threadsock, threadport = self.create_socket()
> +self.threadsock, threadport = self.create_socket()
>  self.server_socket, self.serverport = self.create_socket()
>  except socket.error as msg:
>  self.logger.error("Failed to create listening socket: %s" % 
> msg[1])
> @@ -243,6 +242,7 @@ class QemuRunner:
>  # to be a proper fix but this will suffice for now.
>  self.runqemu = subprocess.Popen(launch_cmd, shell=True, 
> stdout=subprocess.PIPE, stderr=subprocess.STDOUT, stdin=subprocess.PIPE, 
> preexec_fn=os.setpgrp, env=env, cwd=self.tmpdir)
>  output = self.runqemu.stdout
> +output_drain = output
>  launch_time = time.time()
>
>  #
> @@ -431,21 +431,30 @@ class QemuRunner:
>  self.logger.debug("Target IP: %s" % self.ip)
>  self.logger.debug("Server IP: %s" % self.server_ip)
>
> -if self.serial_ports >= 2:
> -self.thread = LoggingThread(self.log, self.threadsock, 
> self.logger)
> -self.thread.start()
> -if not self.thread.connection_established.wait(self.boottime):
> -self.logger.error("Didn't receive a console connection from 
> qemu. "
> - "Here is the qemu command line used:\n%s\nand "
> - "output from runqemu:\n%s" % (cmdline, out))
> -self.stop_thread()
> -return False
> +# Create and hold onto the login semaphore, this will block
> +# the LoggingThread until we are ready
> +login_semaphore = threading.Semaphore()
> +login_semaphore.acquire()
> +
> +self.thread = LoggingThread(self.log, self.threadsock,
> +self.runqemu.stdout, 
> self.boot_patterns['search_reached_prompt'],
> +self.logger, login_semaphore)
> +
> +self.thread.start()
> +login_semaphore.release()
> +
> +# if not self.thread.connection_established.wait(self.boottime):
> +# self.logger.error("Didn't receive a console connection from 
> qemu. "
> +#   "Here is the qemu command line 
> used:\n%s\nand "
> +#   "output from runqemu:\n%s" % (cmdline, out))
> +# self.stop_thread()
> +# return False
>
>  self.logger.debug("Output from runqemu:\n%s", out)
>  self.logger.debug("Waiting at most %d seconds for login banner (%s)" 
> %
>(self.boottime, time.strftime("%D %H:%M:%S")))
>  endtime = time.time() + self.boottime
> -filelist = [self.server_socket, self.runqemu.stdout]
> +filelist = [self.server_socket]
>  reachedlogin = False
>  stopread = False
>  qemusock = None
> @@ -464,46 +473,19 @@ class QemuRunner:
>  filelist.remove(self.server_socket)
>  self.logger.debug("Connection from %s:%s" % addr)
>  else:
> -# try to avoid reading only a single character at a time
> -time.sleep(0.1)
> -if hasattr(file, 'read'):
> -read = file.read(1024)
> -elif hasattr(file, 'recv'):
> -read = file.recv(1024)
> -else:
> -self.logger.error('Invalid file type: %s\n%s' % 
> (file))
> -read = b''
> -
> -self.logger.debug2('Partial boot log:\n%s' % 
> 

Re: [OE-Core][PATCH 7/7] rust: Upgrade 1.73.0 -> 1.74.0

2023-12-12 Thread Alex Kiernan
On Tue, Dec 12, 2023 at 4:51 PM Alex Kiernan via
lists.openembedded.org 
wrote:
>
> On Tue, Dec 12, 2023 at 4:27 PM Randy MacLeod via
> lists.openembedded.org
>  wrote:
> >
> > On 2023-12-12 11:25 a.m., Randy MacLeod wrote:
> >
> > On 2023-12-12 5:41 a.m., Alex Kiernan via lists.openembedded.org wrote:
> >
> > On Sat, Dec 9, 2023 at 2:06 PM Alex Kiernan via lists.openembedded.org
> >  wrote:
> >
> > On Sat, Dec 9, 2023 at 12:18 PM Alexandre Belloni
> >  wrote:
> >
> > Hello Alex,
> >
> > rust 1.74.0 is not reproducible:
> > https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20231208-rfbproj4/packages/diff-html/
> >
> > Thanks, I think :)
> >
> > One observation, which might be useful, these failures are all inside
> > the same module src/llvm-project/compiler-rt/lib/builtins which are
> > just a bunch of intrinsics. And as far as I can see it looks like it's
> > just the object name mangling that's not reproducible.
> >
> > FYI:
> >
> > In the weekly YP tech call, we talked about Rust and Richard said that he'd 
> > merge
> > 1.71 to master since it's progress and it unblocks some ptest works that 
> > Tim was working on.
> >
> > We can then just jump directly from 1.71 to 1.74 if ( when! ) we can make 
> > that reproducible.
> >
> > Or even  to rust-1.74.1:
> >
> >https://blog.rust-lang.org/2023/12/07/Rust-1.74.1.html
> >
>
> Yeah, I did 1.74.1 earlier today
> (https://github.com/akiernan/poky/commit/f408e74e37ac8cd6d0e4d9715317f69a039ad50f)
> - can post a patch for that if we want to give it a whirl? There's
> definitely some reproducibility fixes in there (e.g.
> https://github.com/rust-lang/rust/issues/112586) but I'm not convinced
> any of them are what we're seeing (which appear to really be in pieces
> of LLVM).
>

I just realised that because we now have two consecutive versions,
diffing the 1.71.1...1.72.0 trees was feasible... for the llvm-project
submodule, the changes are tiny (10 files, mostly RISCV specific or
tests, nothing that looks even slightly like the issue we're seeing).
So I suspect wherever the problem comes from its not actually inside
here.

-- 
Alex Kiernan

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192240): 
https://lists.openembedded.org/g/openembedded-core/message/192240
Mute This Topic: https://lists.openembedded.org/mt/103055169/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 1/2] usergrouptests.py: Test that postinst-useradd-* run in order

2023-12-12 Thread Eilís 'pidge' Ní Fhlannagáin
This tests for 13904, that postinst-useradd-* run in order.

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin 
---
 .../selftest-users/asecondgroup.bb| 31 +++
 .../selftest-users/bfirstgroup.bb | 29 +
 .../selftest-users/cthirdgroup.bb | 30 ++
 .../recipes-test/selftest-users/groupdep.bb   | 25 +++
 .../lib/oeqa/selftest/cases/usergrouptests.py |  7 +
 5 files changed, 122 insertions(+)
 create mode 100644 meta-selftest/recipes-test/selftest-users/asecondgroup.bb
 create mode 100644 meta-selftest/recipes-test/selftest-users/bfirstgroup.bb
 create mode 100644 meta-selftest/recipes-test/selftest-users/cthirdgroup.bb
 create mode 100644 meta-selftest/recipes-test/selftest-users/groupdep.bb

diff --git a/meta-selftest/recipes-test/selftest-users/asecondgroup.bb 
b/meta-selftest/recipes-test/selftest-users/asecondgroup.bb
new file mode 100644
index 000..0ab4ba2a81f
--- /dev/null
+++ b/meta-selftest/recipes-test/selftest-users/asecondgroup.bb
@@ -0,0 +1,31 @@
+SUMMARY = "asecondgroup"
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+LICENSE = "MIT"
+
+DEPENDS = "coreutils-native"
+
+
+S = "${WORKDIR}"
+
+inherit useradd allarch
+USERADD_DEPENDS = "bfirstgroup"
+
+USERADD_PACKAGES = "${PN}"
+
+USERADD_PARAM:${PN} = "-r -g grouptest3 -G grouptest2 -s /sbin/nologin gt4"
+GROUPADD_PARAM:${PN} = "-r grouptest3"
+
+TESTDIR = "${D}${sysconfdir}/creategroup"
+
+do_install() {
+   install -d   ${TESTDIR}
+   install -d   ${TESTDIR}/dir
+   touch${TESTDIR}/file
+   ln -s ./file ${TESTDIR}/symlink
+   install -d   ${TESTDIR}/fifotest
+   mkfifo   ${TESTDIR}/fifotest/fifo
+}
+
+FILES:${PN} = "${sysconfdir}/creategroup/*"
+
diff --git a/meta-selftest/recipes-test/selftest-users/bfirstgroup.bb 
b/meta-selftest/recipes-test/selftest-users/bfirstgroup.bb
new file mode 100644
index 000..e9e2ab21d57
--- /dev/null
+++ b/meta-selftest/recipes-test/selftest-users/bfirstgroup.bb
@@ -0,0 +1,29 @@
+SUMMARY = "bfirstgroup"
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+LICENSE = "MIT"
+
+DEPENDS = "coreutils-native"
+
+S = "${WORKDIR}"
+
+inherit useradd allarch
+
+
+USERADD_PACKAGES = "${PN}"
+USERADD_PARAM:${PN} = "-r -g grouptest2 -s /sbin/nologin gt3"
+GROUPADD_PARAM:${PN} = "-r grouptest2"
+
+TESTDIR = "${D}${sysconfdir}/creategroup"
+
+do_install() {
+   install -d   ${TESTDIR}
+   install -d   ${TESTDIR}/dir
+   touch${TESTDIR}/file
+   ln -s ./file ${TESTDIR}/symlink
+   install -d   ${TESTDIR}/fifotest
+   mkfifo   ${TESTDIR}/fifotest/fifo
+
+}
+
+FILES:${PN} = "${sysconfdir}/creategroup/*"
diff --git a/meta-selftest/recipes-test/selftest-users/cthirdgroup.bb 
b/meta-selftest/recipes-test/selftest-users/cthirdgroup.bb
new file mode 100644
index 000..fda4b670ef5
--- /dev/null
+++ b/meta-selftest/recipes-test/selftest-users/cthirdgroup.bb
@@ -0,0 +1,30 @@
+SUMMARY = "asecondgroup"
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+LICENSE = "MIT"
+
+DEPENDS = "coreutils-native"
+
+
+S = "${WORKDIR}"
+
+inherit useradd allarch
+USERADD_DEPENDS = "asecondgroup"
+
+USERADD_PACKAGES = "${PN}"
+
+USERADD_PARAM:${PN} = "-r -g grouptest4 -G grouptest3 -s /sbin/nologin gt5"
+GROUPADD_PARAM:${PN} = "-r grouptest4"
+
+TESTDIR = "${D}${sysconfdir}/creategroup"
+
+do_install() {
+   install -d   ${TESTDIR}
+   install -d   ${TESTDIR}/dir
+   touch${TESTDIR}/file
+   ln -s ./file ${TESTDIR}/symlink
+   install -d   ${TESTDIR}/fifotest
+   mkfifo   ${TESTDIR}/fifotest/fifo
+}
+
+FILES:${PN} = "${sysconfdir}/creategroup/*"
diff --git a/meta-selftest/recipes-test/selftest-users/groupdep.bb 
b/meta-selftest/recipes-test/selftest-users/groupdep.bb
new file mode 100644
index 000..ef2f0865725
--- /dev/null
+++ b/meta-selftest/recipes-test/selftest-users/groupdep.bb
@@ -0,0 +1,25 @@
+SUMMARY = "groupdep"
+LIC_FILES_CHKSUM = 
"file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
+
+LICENSE = "MIT"
+
+DEPENDS = "coreutils-native cthirdgroup"
+
+S = "${WORKDIR}"
+
+TESTDIR = "${D}${sysconfdir}/creategroup"
+
+do_install() {
+   install -d   ${TESTDIR}
+   install -d   ${TESTDIR}/dir
+   touch${TESTDIR}/file
+   ln -s ./file ${TESTDIR}/symlink
+   install -d   ${TESTDIR}/fifotest
+   mkfifo   ${TESTDIR}/fifotest/fifo
+   chown  gt3:grouptest2 ${TESTDIR}/file
+   chown -R gt3:grouptest2 ${TESTDIR}/dir
+   chown -h gt4:grouptest3 ${TESTDIR}/symlink
+   chown -R gt4:grouptest3 ${TESTDIR}/fifotest
+}
+
+FILES:${PN} = "${sysconfdir}/creategroup/*"
diff --git a/meta/lib/oeqa/selftest/cases/usergrouptests.py 
b/meta/lib/oeqa/selftest/cases/usergrouptests.py
index a331ca9f2c4..3beccc5ce7e 100644
--- 

[OE-core] [PATCH 2/2] staging: ensure postinst-useradd is run in order

2023-12-12 Thread Eilís 'pidge' Ní Fhlannagáin
This patch is based off the work of Piotr Łobacz found here:
https://bugzilla.yoctoproject.org/attachment.cgi?id=4972=diff

The one issue with this is I'm not entirely certain that errors are
filtering up from postinsts, as the test for base-passwd's postinst
declares that if it's not found, we'll just call it later, but if so,
I'm not seeing where exactly that's happening.

Signed-off-by: Eilís 'pidge' Ní Fhlannagáin 
---
 meta/classes-global/staging.bbclass |  6 +--
 meta/classes/useradd.bbclass| 74 ++---
 2 files changed, 49 insertions(+), 31 deletions(-)

diff --git a/meta/classes-global/staging.bbclass 
b/meta/classes-global/staging.bbclass
index cf1e4600fd6..e879333aeb9 100644
--- a/meta/classes-global/staging.bbclass
+++ b/meta/classes-global/staging.bbclass
@@ -245,7 +245,7 @@ def staging_populate_sysroot_dir(targetsysroot, 
nativesysroot, native, d):
 continue
 
 staging_processfixme(fixme, targetdir, targetsysroot, nativesysroot, d)
-for p in postinsts:
+for p in sorted(postinsts):
 subprocess.check_output(p, shell=True, stderr=subprocess.STDOUT)
 
 #
@@ -629,9 +629,9 @@ python extend_recipe_sysroot() {
 for f in fixme:
 staging_processfixme(fixme[f], f, recipesysroot, recipesysrootnative, 
d)
 
-for p in postinsts:
+for p in sorted(postinsts):
 subprocess.check_output(p, shell=True, stderr=subprocess.STDOUT)
-
+
 for dep in manifests:
 c = setscenedeps[dep][0]
 os.symlink(manifests[dep], depdir + "/" + c + ".complete")
diff --git a/meta/classes/useradd.bbclass b/meta/classes/useradd.bbclass
index 0997b3da7a5..b044b926d99 100644
--- a/meta/classes/useradd.bbclass
+++ b/meta/classes/useradd.bbclass
@@ -103,6 +103,18 @@ fi
 }
 
 useradd_sysroot () {
+   user_group_groupmems_add_sysroot user
+}
+
+groupadd_sysroot () {
+   user_group_groupmems_add_sysroot group
+}
+
+groupmemsadd_sysroot () {
+   user_group_groupmems_add_sysroot groupmems
+}
+
+user_group_groupmems_add_sysroot () {
# Pseudo may (do_prepare_recipe_sysroot) or may not 
(do_populate_sysroot_setscene) be running 
# at this point so we're explicit about the environment so pseudo can 
load if 
# not already present.
@@ -130,10 +142,19 @@ useradd_sysroot () {
exit 0
fi
 
-   # Add groups and users defined for all recipe packages
-   GROUPADD_PARAM="${@get_all_cmd_params(d, 'groupadd')}"
-   USERADD_PARAM="${@get_all_cmd_params(d, 'useradd')}"
-   GROUPMEMS_PARAM="${@get_all_cmd_params(d, 'groupmems')}"
+   if test "x$1" = "xgroup"; then
+   GROUPADD_PARAM="${@get_all_cmd_params(d, 'groupadd')}"
+   fi
+   if test "x$1" = "xuser"; then
+   USERADD_PARAM="${@get_all_cmd_params(d, 'useradd')}"
+   fi
+   if test "x$1" = "xgroupmems"; then
+   GROUPMEMS_PARAM="${@get_all_cmd_params(d, 'groupmems')}"
+   fi
+   if test "x$1" = "x"; then
+   bbwarn "missing type of passwd db action"
+   exit 0
+   fi
 
# Tell the system to use the environment vars
UA_SYSROOT=1
@@ -148,29 +169,26 @@ useradd_sysroot () {
 EXTRA_STAGING_FIXMES += "PSEUDO_SYSROOT PSEUDO_LOCALSTATEDIR LOGFIFO"
 
 python useradd_sysroot_sstate () {
-scriptfile = None
-task = d.getVar("BB_CURRENTTASK")
-if task == "package_setscene":
-bb.build.exec_func("useradd_sysroot", d)
-elif task == "prepare_recipe_sysroot":
-# Used to update this recipe's own sysroot so the user/groups are 
available to do_install
-
-# If do_populate_sysroot is triggered and we write the file here, 
there would be an overlapping
-# files. See 
usergrouptests.UserGroupTests.test_add_task_between_p_sysroot_and_package
-scriptfile = 
d.expand("${RECIPE_SYSROOT}${bindir}/postinst-useradd-${PN}-recipedebug")
-
-bb.build.exec_func("useradd_sysroot", d)
-elif task == "populate_sysroot":
-# Used when installed in dependent task sysroots
-scriptfile = 
d.expand("${SYSROOT_DESTDIR}${bindir}/postinst-useradd-${PN}")
-
-if scriptfile:
-bb.utils.mkdirhier(os.path.dirname(scriptfile))
-with open(scriptfile, 'w') as script:
-script.write("#!/bin/sh\n")
-bb.data.emit_func("useradd_sysroot", script, d)
-script.write("useradd_sysroot\n")
-os.chmod(scriptfile, 0o755)
+for type, sort_prefix in [("group", "01"), ("user", "02"), ("groupmems", 
"03")]:
+scriptfile = None
+task = d.getVar("BB_CURRENTTASK")
+if task == "package_setscene":
+bb.build.exec_func(f"{type}add_sysroot", d)
+elif task == "prepare_recipe_sysroot":
+# Used to update this recipe's own sysroot so the user/groups are 
available to do_install
+scriptfile = d.expand("${RECIPE_SYSROOT}${bindir}/" 
f"postinst-useradd-{sort_prefix}{type}" 

Re: [OE-Core][PATCH 7/7] rust: Upgrade 1.73.0 -> 1.74.0

2023-12-12 Thread Alex Kiernan
On Tue, Dec 12, 2023 at 4:27 PM Randy MacLeod via
lists.openembedded.org
 wrote:
>
> On 2023-12-12 11:25 a.m., Randy MacLeod wrote:
>
> On 2023-12-12 5:41 a.m., Alex Kiernan via lists.openembedded.org wrote:
>
> On Sat, Dec 9, 2023 at 2:06 PM Alex Kiernan via lists.openembedded.org
>  wrote:
>
> On Sat, Dec 9, 2023 at 12:18 PM Alexandre Belloni
>  wrote:
>
> Hello Alex,
>
> rust 1.74.0 is not reproducible:
> https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20231208-rfbproj4/packages/diff-html/
>
> Thanks, I think :)
>
> One observation, which might be useful, these failures are all inside
> the same module src/llvm-project/compiler-rt/lib/builtins which are
> just a bunch of intrinsics. And as far as I can see it looks like it's
> just the object name mangling that's not reproducible.
>
> FYI:
>
> In the weekly YP tech call, we talked about Rust and Richard said that he'd 
> merge
> 1.71 to master since it's progress and it unblocks some ptest works that Tim 
> was working on.
>
> We can then just jump directly from 1.71 to 1.74 if ( when! ) we can make 
> that reproducible.
>
> Or even  to rust-1.74.1:
>
>https://blog.rust-lang.org/2023/12/07/Rust-1.74.1.html
>

Yeah, I did 1.74.1 earlier today
(https://github.com/akiernan/poky/commit/f408e74e37ac8cd6d0e4d9715317f69a039ad50f)
- can post a patch for that if we want to give it a whirl? There's
definitely some reproducibility fixes in there (e.g.
https://github.com/rust-lang/rust/issues/112586) but I'm not convinced
any of them are what we're seeing (which appear to really be in pieces
of LLVM).

-- 
Alex Kiernan

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192237): 
https://lists.openembedded.org/g/openembedded-core/message/192237
Mute This Topic: https://lists.openembedded.org/mt/103055169/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-Core][PATCH 7/7] rust: Upgrade 1.73.0 -> 1.74.0

2023-12-12 Thread Randy MacLeod via lists.openembedded.org

On 2023-12-12 11:25 a.m., Randy MacLeod wrote:

On 2023-12-12 5:41 a.m., Alex Kiernan via lists.openembedded.org wrote:

On Sat, Dec 9, 2023 at 2:06 PM Alex Kiernan via lists.openembedded.org
  wrote:

On Sat, Dec 9, 2023 at 12:18 PM Alexandre Belloni
  wrote:

Hello Alex,

rust 1.74.0 is not reproducible:
https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20231208-rfbproj4/packages/diff-html/


Thanks, I think :)


One observation, which might be useful, these failures are all inside
the same module src/llvm-project/compiler-rt/lib/builtins which are
just a bunch of intrinsics. And as far as I can see it looks like it's
just the object name mangling that's not reproducible.


FYI:

In the weekly YP tech call, we talked about Rust and Richard said that 
he'd merge
1.71 to master since it's progress and it unblocks some ptest works 
that Tim was working on.


We can then just jump directly from 1.71 to 1.74 if ( when! ) we can 
make that reproducible.



Or even  to rust-1.74.1:

https://blog.rust-lang.org/2023/12/07/Rust-1.74.1.html

../Randy



Richard said that he started with 1.74 from Alex's patch-set and
when he found that it wasn't reproducible, he simply worked his way 
backward.


../Randy









--
# Randy MacLeod
# Wind River Linux



--
# Randy MacLeod
# Wind River Linux

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192236): 
https://lists.openembedded.org/g/openembedded-core/message/192236
Mute This Topic: https://lists.openembedded.org/mt/103055169/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-Core][PATCH 7/7] rust: Upgrade 1.73.0 -> 1.74.0

2023-12-12 Thread Randy MacLeod via lists.openembedded.org

On 2023-12-12 5:41 a.m., Alex Kiernan via lists.openembedded.org wrote:

On Sat, Dec 9, 2023 at 2:06 PM Alex Kiernan via lists.openembedded.org
  wrote:

On Sat, Dec 9, 2023 at 12:18 PM Alexandre Belloni
  wrote:

Hello Alex,

rust 1.74.0 is not reproducible:
https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20231208-rfbproj4/packages/diff-html/


Thanks, I think :)


One observation, which might be useful, these failures are all inside
the same module src/llvm-project/compiler-rt/lib/builtins which are
just a bunch of intrinsics. And as far as I can see it looks like it's
just the object name mangling that's not reproducible.


FYI:

In the weekly YP tech call, we talked about Rust and Richard said that 
he'd merge
1.71 to master since it's progress and it unblocks some ptest works that 
Tim was working on.


We can then just jump directly from 1.71 to 1.74 if ( when! ) we can 
make that reproducible.


Richard said that he started with 1.74 from Alex's patch-set and
when he found that it wasn't reproducible, he simply worked his way 
backward.


../Randy










--
# Randy MacLeod
# Wind River Linux

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192235): 
https://lists.openembedded.org/g/openembedded-core/message/192235
Mute This Topic: https://lists.openembedded.org/mt/103055169/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[yocto] Yocto Project Status 12 December 2023 (WW49)

2023-12-12 Thread Stephen Jolley
Current Dev Position: YP 5.0 M1

Next Deadline: 4th December 2023 YP 5.0 M1 build

Next Team Meetings:

   -

   Bug Triage meeting Thursday December 14th at 7:30 am PST (
   https://zoom.us/j/454367603?pwd=ZGxoa2ZXL3FkM3Y0bFd5aVpHVVZ6dz09)
   -

   Weekly Project Engineering Sync Tuesday December 12th at 8 am PST (
   https://zoom.us/j/990892712?pwd=cHU1MjhoM2x6ck81bkcrYjRrcmJsUT09)
   
   -

   Twitch -  See https://www.twitch.tv/theyoctojester


Key Status/Updates:

   -

   YP 4.2.4 and YP 4.3.1 were released
   -

   YP 4.3.1 carries a release note about the intermittent failures that are
   causing problems for the builds, we’re lacking capacity to address several
   of them.
   -

   YP 3.1.30 rc2 is in QA.
   -

   The YP 5.0 M1 build is still pending, we’re hoping for several
   intermittent issue fixes first
   -

   The intermittent issues on the autobuilder are causing problems for
   master branch development and stable releases and this is slowing down
   patch testing and merging. We simply don't have enough people to fix the
   issues quickly enough and the people we do have are struggling. This is now
   slowly down point release approvals too as a knock on effect.
   -

   We plan to disable the rust selftest code in the hope this allows us to
   upgrade the version since we’re rapidly falling behind. The upgrades also
   break zvariant and the limited reproducibility testing we had working
   unfortunately.
   -

   Several important fixes for useradd functionality have merged.
   -

   Patches for python-maturin support have been proposed but there are
   challenges with reproducibility currently hindering merging.
   -

   Regarding bugs, even if you can’t fix a bug, submitting a failing test
   case that can reproduce the issue significantly improves the chances it
   might get fixed.


Ways to contribute:

   -

   As people are likely aware, the project has a number of components which
   are either unmaintained, or have people with little to no time trying to
   keep them alive. These components include: devtool, toaster, wic, oeqa,
   autobuilder, CROPs containers, pseudo and more. Many have open bugs. Help
   is welcome in trying to better look after these components!
   -

   There are bugs identified as possible for newcomers to the project:
   https://wiki.yoctoproject.org/wiki/Newcomers
   -

   There are bugs that are currently unassigned for YP 5.0. See:
   
https://wiki.yoctoproject.org/wiki/Bug_Triage#Medium+_5.0_Unassigned_Enhancements/Bugs
   -

   We’d welcome new maintainers for recipes in OE-Core. Please see the list
   at:
   
http://git.yoctoproject.org/cgit.cgi/poky/tree/meta/conf/distro/include/maintainers.inc
   and discuss with the existing maintainer, or ask on the OE-Core mailing
   list. We will likely move a chunk of these to “Unassigned” soon to help
   facilitate this.
   -

   Help is very much welcome in trying to resolve our autobuilder
   intermittent issues. You can see the list of failures we’re continuing to
   see by searching for the “AB-INT” tag in bugzilla:
   https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=AB-INT.
   -

   Help us resolve CVE issues: CVE metrics
   
   -

   We have a growing number of bugs in bugzilla, any help with them is
   appreciated.


YP 5.0 Milestone Dates:

   -

   YP 5.0 M1 build date 2023/12/04
   -

   YP 5.0 M1 Release date 2023/12/15
   -

   YP 5.0 M2 build date  2024/01/15
   -

   YP 5.0 M2 Release date 2024/01/24
   -

   YP 5.0 M3 build date  2024/02/19
   -

   YP 5.0 M3 Release date 2024/03/01
   -

   YP 5.0 M4 build date  2024/04/01
   -

   YP 5.0 M4 Release date 2024/04/30


Upcoming dot releases:

   -

   YP 4.2.4 is released.
   -

   YP 4.3.1 is released.
   -

   YP 3.1.30 is in QA.
   -

   YP 3.1.30 Release date 2023/12/22
   -

   YP 4.0.15 build date 2023/12/18
   -

   YP 4.0.15 Release date 2023/12/29
   -

   YP 4.3.2 build date 2024/01/08
   -

   YP 4.3.2 Release date 2024/01/19
   -

   YP 3.1.31 build date 2024/01/22
   -

   YP 3.1.31 Release date 2024/02/02
   -

   YP 4.0.16 build date 2024/01/29
   -

   YP 4.0.16 Release date 2024/02/09
   -

   YP 4.3.3 build date 2024/02/12
   -

   YP 4.3.3 Release date 2024/02/23
   -

   YP 3.1.32 build date 2024/03/04
   -

   YP 3.1.32 Release date 2024/03/15
   -

   YP 4.0.17 build date 2024/03/11
   -

   YP 4.0.17 Release date 2024/03/22
   -

   YP 4.3.4 build date 2024/03/25
   -

   YP 4.3.4 Release date 2024/04/05
   -

   YP 3.1.33 build date 2024/04/15
   -

   YP 3.1.33 Release date 2024/04/26
   -

   YP 4.0.18 build date 2024/04/22
   -

   YP 4.0.18 Release date 2024/05/03
   -

   YP 4.0.19 build date 2024/06/03
   -

   YP 4.0.19 Release date 2024/06/14


Tracking Metrics:

   -

   WDD 2589 (last week 2565) (
   https://wiki.yoctoproject.org/charts/combo.html)
   -

   OE-Core/Poky Patch Metrics
   -

  Total patches 

[OE-core][nanbield 29/29] sstate: Ensure sstate searches update file mtime

2023-12-12 Thread Steve Sakoman
From: Richard Purdie 

Commands like "bitbake XXX -S printdiff" search for sstate files but don't 
download
them. This means that local files aren't touched as the download code would do, 
meaning
the sstate cleanup scripts can delete them. This can then lead to obtuse build 
failures.

Have the search code touch local files in the same way as the main code paths 
would to
avoid these files disappearing.

Move the function to a common touch() function in lib/oe instead of duplicating 
code.

Signed-off-by: Richard Purdie 
(cherry picked from commit a27fc0bd5706ab5b9c68a0271fcf57377a678cdf)
Signed-off-by: Steve Sakoman 
---
 meta/classes-global/sstate.bbclass | 12 ++--
 meta/lib/oe/utils.py   | 12 
 2 files changed, 14 insertions(+), 10 deletions(-)

diff --git a/meta/classes-global/sstate.bbclass 
b/meta/classes-global/sstate.bbclass
index 2676f18e0a..5b27a1f0f9 100644
--- a/meta/classes-global/sstate.bbclass
+++ b/meta/classes-global/sstate.bbclass
@@ -937,6 +937,7 @@ def sstate_checkhashes(sq_data, d, siginfo=False, 
currentcount=0, summary=True,
 sstatefile = d.expand("${SSTATE_DIR}/" + getsstatefile(tid, siginfo, 
d))
 
 if os.path.exists(sstatefile):
+oe.utils.touch(sstatefile)
 found.add(tid)
 bb.debug(2, "SState: Found valid sstate file %s" % sstatefile)
 else:
@@ -1183,16 +1184,7 @@ python sstate_eventhandler() {
 if not os.path.exists(siginfo):
 bb.siggen.dump_this_task(siginfo, d)
 else:
-try:
-os.utime(siginfo, None)
-except PermissionError:
-pass
-except OSError as e:
-# Handle read-only file systems gracefully
-import errno
-if e.errno != errno.EROFS:
-raise e
-
+oe.utils.touch(siginfo)
 }
 
 SSTATE_PRUNE_OBSOLETEWORKDIR ?= "1"
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py
index a3b1bb1087..14a7d07ef0 100644
--- a/meta/lib/oe/utils.py
+++ b/meta/lib/oe/utils.py
@@ -7,6 +7,7 @@
 import subprocess
 import multiprocessing
 import traceback
+import errno
 
 def read_file(filename):
 try:
@@ -528,3 +529,14 @@ def directory_size(root, blocksize=4096):
 total += sum(roundup(getsize(os.path.join(root, name))) for name in 
files)
 total += roundup(getsize(root))
 return total
+
+# Update the mtime of a file, skip if permission/read-only issues
+def touch(filename):
+try:
+os.utime(filename, None)
+except PermissionError:
+pass
+except OSError as e:
+# Handle read-only file systems gracefully
+if e.errno != errno.EROFS:
+raise e
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192233): 
https://lists.openembedded.org/g/openembedded-core/message/192233
Mute This Topic: https://lists.openembedded.org/mt/103130320/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][nanbield 28/29] meson: use correct targets for rust binaries

2023-12-12 Thread Steve Sakoman
From: Dmitry Baryshkov 

Follow the example of rust and cargo classes and pass RUST_HOST_SYS and
RUST_BUILD_SYS to rustc's --target argument instead of bare HOST_SYS and
BUILD_SYS.

Signed-off-by: Dmitry Baryshkov 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 1471c6c076f544ccd6f0722c82878311199881a7)
Signed-off-by: Steve Sakoman 
---
 meta/classes-recipe/meson.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes-recipe/meson.bbclass 
b/meta/classes-recipe/meson.bbclass
index d08a83d555..a85d120d77 100644
--- a/meta/classes-recipe/meson.bbclass
+++ b/meta/classes-recipe/meson.bbclass
@@ -79,7 +79,7 @@ llvm-config = 'llvm-config'
 cups-config = 'cups-config'
 g-ir-scanner = '${STAGING_BINDIR}/g-ir-scanner-wrapper'
 g-ir-compiler = '${STAGING_BINDIR}/g-ir-compiler-wrapper'
-${@rust_tool(d, "HOST_SYS")}
+${@rust_tool(d, "RUST_HOST_SYS")}
 ${@"exe_wrapper = '${WORKDIR}/meson-qemuwrapper'" if 
d.getVar('EXEWRAPPER_ENABLED') == 'True' else ""}
 
 [built-in options]
@@ -116,7 +116,7 @@ readelf = ${@meson_array('BUILD_READELF', d)}
 objcopy = ${@meson_array('BUILD_OBJCOPY', d)}
 llvm-config = '${STAGING_BINDIR_NATIVE}/llvm-config'
 pkgconfig = 'pkg-config-native'
-${@rust_tool(d, "BUILD_SYS")}
+${@rust_tool(d, "RUST_BUILD_SYS")}
 
 [built-in options]
 c_args = ${@meson_array('BUILD_CFLAGS', d)}
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192232): 
https://lists.openembedded.org/g/openembedded-core/message/192232
Mute This Topic: https://lists.openembedded.org/mt/103130318/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][nanbield 27/29] oeqa/selftest/tinfoil: Add tests that parse virtual recipes

2023-12-12 Thread Steve Sakoman
From: Peter Kjellerstedt 

Running `devtool search gcc` would result in errors for virtual recipes.
The reason was the newly introduced :layer- override.

When tinfoil parsed the recipes using the parseRecipeFile() function, it
failed to properly identify the layername for virtual recipes, which
resulted in the errors.

Add tests that exercise these code paths through parseRecipeFile().

Signed-off-by: Peter Kjellerstedt 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
Signed-off-by: Steve Sakoman 
---
 meta/lib/oeqa/selftest/cases/tinfoil.py | 25 -
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oeqa/selftest/cases/tinfoil.py 
b/meta/lib/oeqa/selftest/cases/tinfoil.py
index dd13c20402..21c8686b2a 100644
--- a/meta/lib/oeqa/selftest/cases/tinfoil.py
+++ b/meta/lib/oeqa/selftest/cases/tinfoil.py
@@ -48,6 +48,17 @@ class TinfoilTests(OESelftestTestCase):
 rd = tinfoil.parse_recipe_file(best[3])
 self.assertEqual(testrecipe, rd.getVar('PN'))
 
+def test_parse_virtual_recipe(self):
+with bb.tinfoil.Tinfoil() as tinfoil:
+tinfoil.prepare(config_only=False, quiet=2)
+testrecipe = 'nativesdk-gcc'
+best = tinfoil.find_best_provider(testrecipe)
+if not best:
+self.fail('Unable to find recipe providing %s' % testrecipe)
+rd = tinfoil.parse_recipe_file(best[3])
+self.assertEqual(testrecipe, rd.getVar('PN'))
+self.assertIsNotNone(rd.getVar('FILE_LAYERNAME'))
+
 def test_parse_recipe_copy_expand(self):
 with bb.tinfoil.Tinfoil() as tinfoil:
 tinfoil.prepare(config_only=False, quiet=2)
@@ -66,7 +77,7 @@ class TinfoilTests(OESelftestTestCase):
 localdata.setVar('PN', 'hello')
 self.assertEqual('hello', localdata.getVar('BPN'))
 
-# The config_data API tp parse_recipe_file is used by:
+# The config_data API to parse_recipe_file is used by:
 # layerindex-web layerindex/update_layer.py
 def test_parse_recipe_custom_data(self):
 with bb.tinfoil.Tinfoil() as tinfoil:
@@ -80,6 +91,18 @@ class TinfoilTests(OESelftestTestCase):
 rd = tinfoil.parse_recipe_file(best[3], config_data=localdata)
 self.assertEqual("testval", rd.getVar('TESTVAR'))
 
+def test_parse_virtual_recipe_custom_data(self):
+with bb.tinfoil.Tinfoil() as tinfoil:
+tinfoil.prepare(config_only=False, quiet=2)
+localdata = bb.data.createCopy(tinfoil.config_data)
+localdata.setVar("TESTVAR", "testval")
+testrecipe = 'nativesdk-gcc'
+best = tinfoil.find_best_provider(testrecipe)
+if not best:
+self.fail('Unable to find recipe providing %s' % testrecipe)
+rd = tinfoil.parse_recipe_file(best[3], config_data=localdata)
+self.assertEqual("testval", rd.getVar('TESTVAR'))
+
 def test_list_recipes(self):
 with bb.tinfoil.Tinfoil() as tinfoil:
 tinfoil.prepare(config_only=False, quiet=2)
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192231): 
https://lists.openembedded.org/g/openembedded-core/message/192231
Mute This Topic: https://lists.openembedded.org/mt/103130317/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][nanbield 26/29] update_gtk_icon_cache: Fix for GTK4-only builds

2023-12-12 Thread Steve Sakoman
From: Zoltán Böszörményi 

Try to execute both gtk-update-icon-cache and
gtk4-update-icon-cache after checking whether the
commands are available.

This attempts to match what gtk-icon-cache.bbclass is doing.

This fixes running update_gtk_icon_cache during do_rootfs
for an image that contains only GTK4 related packages.

Signed-off-by: Zoltán Böszörményi 
Signed-off-by: Steve Sakoman 
---
 scripts/postinst-intercepts/update_gtk_icon_cache | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/scripts/postinst-intercepts/update_gtk_icon_cache 
b/scripts/postinst-intercepts/update_gtk_icon_cache
index 99367a2855..a92bd840c6 100644
--- a/scripts/postinst-intercepts/update_gtk_icon_cache
+++ b/scripts/postinst-intercepts/update_gtk_icon_cache
@@ -11,7 +11,11 @@ 
$STAGING_DIR_NATIVE/${libdir_native}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders --u
 
 for icondir in $D/usr/share/icons/*/ ; do
 if [ -d $icondir ] ; then
-gtk-update-icon-cache -fqt  $icondir
+for gtkuic_cmd in gtk-update-icon-cache gtk4-update-icon-cache ; do
+if [ -n "$(which $gtkuic_cmd)" ]; then
+$gtkuic_cmd -fqt  $icondir
+fi
+done
 fi
 done
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192230): 
https://lists.openembedded.org/g/openembedded-core/message/192230
Mute This Topic: https://lists.openembedded.org/mt/103130316/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][nanbield 24/29] linux-yocto/6.5: update to v6.5.13

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

4631960b4700 Linux 6.5.13
a9d6c0c5a6bd net/mlx5e: Track xmit submission to PTP WQ after populating 
metadata map
c712654d6f36 net/mlx5e: Avoid referencing skb after free-ing in drop path 
of mlx5e_sq_xmit_wqe
2c9de867ca28 tracing: Have trace_event_file have ref counters
1f59a2a92855 powerpc/powernv: Fix fortify source warnings in opal-prd.c
7aded92aeb75 drm/amd/display: Change the DMCUB mailbox memory location from 
FB to inbox
353bc3849241 drm/amd/display: Enable fast plane updates on DCN3.2 and above
5b14cf37b9f0 drm/amd/display: fix a NULL pointer dereference in 
amdgpu_dm_i2c_xfer()
562176ea823a drm/amd/display: Fix DSC not Enabled on Direct MST Sink
5b37ee61b89d drm/amd/display: Guard against invalid RPTR/WPTR being set
f3385c9b8ed4 drm/amdgpu: Fix possible null pointer dereference
ed8fc80b1950 drm/amdgpu: lower CS errors to debug severity
b827ed7014a0 drm/amdgpu: fix error handling in amdgpu_bo_list_get()
7c6574dd032c drm/amdgpu: fix error handling in amdgpu_vm_init
8c3b198fac82 drm/amdgpu: don't use ATRM for external devices
6f6177558004 drm/amdgpu: add a retry for IP discovery init
a5bd0c0d3189 drm/amdgpu: fix GRBM read timeout when do mes_self_test
045d5eec88d2 drm/amdgpu: don't use pci_is_thunderbolt_attached()
02eb46bb2150 drm/amdgpu/smu13: drop compute workload workaround
5392874af8ab drm/amd/pm: Fix error of MACO flag setting code
5d614170fa1f drm/i915: Flush WC GGTT only on required platforms
1e019d6bcb44 drm/i915: Fix potential spectre vulnerability
0990bd1ff1bf drm/i915: Bump GLK CDCLK frequency when driving multiple pipes
9dfc6bc4a6a2 drm/i915/mtl: Support HBR3 rate with C10 phy and eDP in MTL
59d2eee68804 drm: bridge: it66121: ->get_edid callback must not return err 
pointers
f0a11733bd03 drm/amd/pm: Handle non-terminated overdrive commands.
e3b83d87c93e ext4: fix racy may inline data check in dio write
8b7e09f9b955 ext4: properly sync file size update after O_SYNC direct IO
13859f9e6493 ext4: add missed brelse in update_backups
edfb7b8d36ab ext4: remove gdb backup copy for meta bg in 
setup_new_flex_group_blocks
079d796c58f2 ext4: correct the start block of counting reserved clusters
8547701c3b0a ext4: correct return value of ext4_convert_meta_bg
ec51fb39b173 ext4: mark buffer new if it is unwritten to avoid stale data 
exposure
a9ceb3e26c7c ext4: correct offset of gdb backup in non meta_bg group to 
update_backups
aaa3bd727255 ext4: apply umask if ACL support is disabled
d1769a4c92b3 ext4: make sure allocate pending entry not fail
a937cf1c90d1 ext4: fix race between writepages and remount
cdbfce536cfa Revert "net: r8169: Disable multicast filter for RTL8168H and 
RTL8107E"
e33abcd82f9c media: qcom: camss: Fix csid-gen2 for test pattern generator
51792b41ee52 media: qcom: camss: Fix invalid clock enable bit disjunction
4122d47ad139 media: qcom: camss: Fix set CSI2_RX_CFG1_VC_MODE when VC is 
greater than 3
c25c6d618eda media: qcom: camss: Fix missing vfe_lite clocks check
d8cd7a8645c2 media: qcom: camss: Fix VFE-480 vfe_disable_output()
e428d0f3e42f media: qcom: camss: Fix VFE-17x vfe_disable_output()
820b967c0384 media: qcom: camss: Fix vfe_get() error jump
2dbb91675d6b media: qcom: camss: Fix pm_domain_on sequence in probe
967a522b5123 mmc: sdhci-pci-gli: GL9750: Mask the replay timer timeout of 
AER
ddb96a13b277 r8169: add handling DASH when DASH is disabled
89a0fc500471 r8169: fix network lost after resume on DASH systems
533108f04a57 selftests: mptcp: fix fastclose with csum failure
c8e74731fff0 mptcp: fix setsockopt(IP_TOS) subflow locking
e729027888e9 mptcp: add validity check for sending RM_ADDR
342b528c0e84 mptcp: deal with large GSO size
9a7982259028 mm: kmem: drop __GFP_NOFAIL when allocating objcg vectors
77227943445e mm: fix for negative counter: nr_file_hugepages
641061405579 mmc: sdhci-pci-gli: A workaround to allow GL9750 to enter ASPM 
L1.2
5fb6a480a0fa riscv: kprobes: allow writing to x0
c93d4b75f58e riscv: correct pt_level name via pgtable_l5/4_enabled
85efe51890ef riscv: mm: Update the comment of CONFIG_PAGE_OFFSET
05b2911ac941 riscv: put interrupt entries into .irqentry.text
8d497507ce26 riscv: Using TOOLCHAIN_HAS_ZIHINTPAUSE marco replace 
zihintpause
9c3115d8549a LoongArch: Mark __percpu functions as always inline
4ce011ebb640 NFSD: Update nfsd_cache_append() to use xdr_stream
90ceb1e85869 nfsd: fix file memleak on client_opens_release
3cdc6b90ef59 dm-verity: don't use blocking calls from tasklets
f6af719e355d dm-bufio: fix no-sleep mode
02d2f24aaeee drm/mediatek/dp: fix memory leak on ->get_edid callback error 
path
d82dbbb169f2 drm/mediatek/dp: fix memory leak on ->get_edid callback audio 

[OE-core][nanbield 25/29] linux-yocto: update CVE exclusions

2023-12-12 Thread Steve Sakoman
From: Ross Burton 

Signed-off-by: Ross Burton 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit 34835847442c15ebe12970bc31b6a949e66da48e)
Signed-off-by: Steve Sakoman 
---
 .../linux/cve-exclusion_6.1.inc   | 26 +++
 .../linux/cve-exclusion_6.5.inc   | 22 +---
 2 files changed, 40 insertions(+), 8 deletions(-)

diff --git a/meta/recipes-kernel/linux/cve-exclusion_6.1.inc 
b/meta/recipes-kernel/linux/cve-exclusion_6.1.inc
index a8df51f321..650b83a900 100644
--- a/meta/recipes-kernel/linux/cve-exclusion_6.1.inc
+++ b/meta/recipes-kernel/linux/cve-exclusion_6.1.inc
@@ -1,9 +1,9 @@
 
 # Auto-generated CVE metadata, DO NOT EDIT BY HAND.
-# Generated at 2023-11-03 13:24:16.070181+00:00 for version 6.1.57
+# Generated at 2023-12-05 13:22:34.961692+00:00 for version 6.1.65
 
 python check_kernel_cve_status_version() {
-this_version = "6.1.57"
+this_version = "6.1.65"
 kernel_version = d.getVar("LINUX_VERSION")
 if kernel_version != this_version:
 bb.warn("Kernel CVE status needs updating: generated for %s but kernel 
is %s" % (this_version, kernel_version))
@@ -4524,7 +4524,7 @@ CVE_STATUS[CVE-2022-43945] = "fixed-version: Fixed from 
version 6.1rc1"
 
 # CVE-2022-44033 needs backporting (fixed from 6.4rc1)
 
-# CVE-2022-44034 has no known resolution
+# CVE-2022-44034 needs backporting (fixed from 6.4rc1)
 
 # CVE-2022-4543 has no known resolution
 
@@ -5016,6 +5016,10 @@ CVE_STATUS[CVE-2023-39193] = "cpe-stable-backport: 
Backported in 6.1.53"
 
 CVE_STATUS[CVE-2023-39194] = "cpe-stable-backport: Backported in 6.1.47"
 
+CVE_STATUS[CVE-2023-39197] = "cpe-stable-backport: Backported in 6.1.39"
+
+CVE_STATUS[CVE-2023-39198] = "cpe-stable-backport: Backported in 6.1.47"
+
 CVE_STATUS[CVE-2023-4004] = "cpe-stable-backport: Backported in 6.1.42"
 
 # CVE-2023-4010 has no known resolution
@@ -5102,7 +5106,7 @@ CVE_STATUS[CVE-2023-4881] = "cpe-stable-backport: 
Backported in 6.1.54"
 
 CVE_STATUS[CVE-2023-4921] = "cpe-stable-backport: Backported in 6.1.54"
 
-# CVE-2023-5090 needs backporting (fixed from 6.6rc7)
+CVE_STATUS[CVE-2023-5090] = "cpe-stable-backport: Backported in 6.1.62"
 
 CVE_STATUS[CVE-2023-5158] = "cpe-stable-backport: Backported in 6.1.57"
 
@@ -5112,7 +5116,19 @@ CVE_STATUS[CVE-2023-5197] = "cpe-stable-backport: 
Backported in 6.1.56"
 
 CVE_STATUS[CVE-2023-5345] = "cpe-stable-backport: Backported in 6.1.56"
 
-# CVE-2023-5633 needs backporting (fixed from 6.6rc6)
+CVE_STATUS[CVE-2023-5633] = "fixed-version: only affects 6.2 onwards"
 
 # CVE-2023-5717 needs backporting (fixed from 6.1.60)
 
+# CVE-2023-5972 needs backporting (fixed from 6.6rc7)
+
+# CVE-2023-6039 needs backporting (fixed from 6.5rc5)
+
+CVE_STATUS[CVE-2023-6111] = "fixed-version: only affects 6.6rc3 onwards"
+
+# CVE-2023-6121 needs backporting (fixed from 6.7rc3)
+
+CVE_STATUS[CVE-2023-6176] = "cpe-stable-backport: Backported in 6.1.54"
+
+# CVE-2023-6238 has no known resolution
+
diff --git a/meta/recipes-kernel/linux/cve-exclusion_6.5.inc 
b/meta/recipes-kernel/linux/cve-exclusion_6.5.inc
index d48b0e1493..046c3f95c3 100644
--- a/meta/recipes-kernel/linux/cve-exclusion_6.5.inc
+++ b/meta/recipes-kernel/linux/cve-exclusion_6.5.inc
@@ -1,9 +1,9 @@
 
 # Auto-generated CVE metadata, DO NOT EDIT BY HAND.
-# Generated at 2023-11-03 13:24:25.010946+00:00 for version 6.5.7
+# Generated at 2023-12-05 13:22:43.339114+00:00 for version 6.5.13
 
 python check_kernel_cve_status_version() {
-this_version = "6.5.7"
+this_version = "6.5.13"
 kernel_version = d.getVar("LINUX_VERSION")
 if kernel_version != this_version:
 bb.warn("Kernel CVE status needs updating: generated for %s but kernel 
is %s" % (this_version, kernel_version))
@@ -4524,7 +4524,7 @@ CVE_STATUS[CVE-2022-44032] = "fixed-version: Fixed from 
version 6.4rc1"
 
 CVE_STATUS[CVE-2022-44033] = "fixed-version: Fixed from version 6.4rc1"
 
-# CVE-2022-44034 has no known resolution
+CVE_STATUS[CVE-2022-44034] = "fixed-version: Fixed from version 6.4rc1"
 
 # CVE-2022-4543 has no known resolution
 
@@ -5016,6 +5016,10 @@ CVE_STATUS[CVE-2023-39191] = "fixed-version: Fixed from 
version 6.3rc1"
 
 CVE_STATUS[CVE-2023-39194] = "fixed-version: Fixed from version 6.5rc7"
 
+CVE_STATUS[CVE-2023-39197] = "fixed-version: Fixed from version 6.5rc1"
+
+CVE_STATUS[CVE-2023-39198] = "fixed-version: Fixed from version 6.5rc7"
+
 CVE_STATUS[CVE-2023-4004] = "fixed-version: Fixed from version 6.5rc3"
 
 # CVE-2023-4010 has no known resolution
@@ -5116,3 +5120,15 @@ CVE_STATUS[CVE-2023-4732] = "fixed-version: Fixed from 
version 5.14rc1"
 
 # CVE-2023-5717 needs backporting (fixed from 6.6rc7)
 
+CVE_STATUS[CVE-2023-5972] = "cpe-stable-backport: Backported in 6.5.9"
+
+CVE_STATUS[CVE-2023-6039] = "fixed-version: Fixed from version 6.5rc5"
+
+CVE_STATUS[CVE-2023-6111] = "fixed-version: only affects 6.6rc3 onwards"
+
+# CVE-2023-6121 needs backporting (fixed from 

[OE-core][nanbield 23/29] linux-yocto/6.5: update to v6.5.12

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

fa1be4637aad Linux 6.5.12
39ee8317876f btrfs: make found_logical_ret parameter mandatory for function 
queue_scrub_stripe()
1c44debc30d2 perf parse-events: Fix driver config term
9a955334c112 bpf, x86: initialize the variable "first_off" in save_args()
3dccc81f9ea9 btrfs: use u64 for buffer sizes in the tree search ioctls
7fbd30155906 Revert "mmc: core: Capture correct oemid-bits for eMMC cards"
2ee1f00866ac Revert "PCI/ASPM: Disable only ASPM_STATE_L1 when driver, 
disables L1"
b592cec2a478 x86/amd_nb: Use Family 19h Models 60h-7Fh Function 4 IDs
9e1c7fe85391 io_uring/net: ensure socket is marked connected on connect 
retry
c0ba439a4333 selftests: mptcp: fix wait_rm_addr/sf parameters
8a0ba7e4b2e8 Revert "drm/ast: report connection status on Display Port."
718dfd5b1646 tracing/kprobes: Fix the order of argument descriptions
afc10d0ca630 fbdev: fsl-diu-fb: mark wr_reg_wa() static
6e6676c34078 ALSA: hda/realtek: Add support dual speaker for Dell
18d26f9baca7 fbdev: imsttfb: fix a resource leak in probe
32310dbf0aa9 fbdev: imsttfb: fix double free in probe()
7446c44198a5 arm64/arm: arm_pmuv3: perf: Don't truncate 64-bit registers
68b1ad75906b spi: spi-zynq-qspi: add spi-mem to driver kconfig dependencies
033ade77d851 ASoC: dapm: fix clock get name
18795fc33915 ASoC: hdmi-codec: register hpd callback on component probe
a3ef9afd315a ASoC: mediatek: mt8186_mt6366_rt1019_rt5682s: trivial: fix 
error messages
2f769f4c557b drm/syncobj: fix DRM_SYNCOBJ_WAIT_FLAGS_WAIT_AVAILABLE
fe131f6d71c5 drm/vc4: tests: Fix UAF in the mock helpers
b2628d195a02 module/decompress: use kvmalloc() consistently
990345880a1c RISC-V: Don't fail in riscv_of_parent_hartid() for disabled 
HARTs
c59f92817719 net/sched: act_ct: Always fill offloading tuple iifidx
61fd0c64e3bf netfilter: nat: fix ipv6 nat redirect with mapped and scoped 
addresses
a95ea2622afb netfilter: xt_recent: fix (increase) ipv6 literal buffer length
52f7f210bd3d i2c: iproc: handle invalid slave state
f706e2c9adf2 net: enetc: shorten enetc_setup_xdp_prog() error message to 
fit NETLINK_MAX_FMTMSG_LEN
93e7f8feacb1 r8169: respect userspace disabling IFF_MULTICAST
dbe7967095a5 vsock/virtio: remove socket from connected/bound list on 
shutdown
0828d76ba2f9 blk-core: use pr_warn_ratelimited() in bio_check_ro()
879947f4180b nbd: fix uaf in nbd_open
d5d744277c03 tg3: power down device only on SYSTEM_POWER_OFF
57efa187cda5 riscv: boot: Fix creation of loader.bin
209a13dc04d0 nvme: fix error-handling for io_uring nvme-passthrough
bf6571bb260b net/smc: put sk reference if close work was canceled
8d6a49fc39ed net/smc: allow cdc msg send rather than drop it with NULL 
sndbuf_desc
6904598dd970 net/smc: fix dangling sock under state SMC_APPFINCLOSEWAIT
a63ff94ae244 octeontx2-pf: Free pending and dropped SQEs
d888fcdaa87d selftests: pmtu.sh: fix result checking
5917a439643b net: stmmac: xgmac: Enable support for multiple Flexible PPS 
outputs
aeb378667a00 Fix termination state for idr_for_each_entry_ul()
28220ff13ac3 net: r8169: Disable multicast filter for RTL8168H and RTL8107E
0577f93e8481 dccp/tcp: Call security_inet_conn_request() after setting IPv6 
addresses.
9e5386d494fd dccp: Call security_inet_conn_request() after setting IPv4 
addresses.
59f1841a9b14 net: page_pool: add missing free_percpu when page_pool_init 
fail
c84f297964fe octeontx2-pf: Fix holes in error code
b3e4e1162368 octeontx2-pf: Fix error codes
688f277d0592 inet: shrink struct flowi_common
d5574d0ad4c4 bpf: Check map->usercnt after timer->timer is assigned
fe4d6a419062 rxrpc: Fix two connection reaping bugs
abc1582119e8 tipc: Change nla_policy for bearer-related names to 
NLA_NUL_STRING
1787b9f0729d hsr: Prevent use after free in prp_create_tagged_frame()
0a720d0259ad llc: verify mac len before reading mac header
f1fd72c06d8e watchdog: ixp4xx: Make sure restart always works
cc56c4d17721 Input: synaptics-rmi4 - fix use after free in 
rmi_unregister_function()
3448b7ba8c56 pwm: brcmstb: Utilize appropriate clock APIs in suspend/resume
98965075e630 pwm: sti: Reduce number of allocations and drop usage of 
chip_data
da97367c938d drm/amdgpu: don't put MQDs in VRAM on ARM | ARM64
5bb28ff319bf drm/amdgpu/gfx10,11: use memcpy_to/fromio for MQDs
f6ac81f82692 regmap: prevent noinc writes from clobbering cache
f232770077e8 cpupower: fix reference to nonexistent document
531129a7e935 media: cec: meson: always include meson sub-directory in 
Makefile
d4076de583f3 media: platform: mtk-mdp3: fix uninitialized variable in 
mdp_path_config()
af9c02dd5962 media: imx-jpeg: notify source chagne event when the first 
picture parsed
963ac643508a media: 

[OE-core][nanbield 20/29] linux-yocto/6.5: update to v6.5.10

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

43a868577dfc Linux 6.5.10
062c1ba88b4f accel/ivpu/37xx: Fix missing VPUIP interrupts
cdb4daffc2d4 mm/damon/sysfs: check DAMOS regions update progress from 
before_terminate()
a5c9f6289625 platform/x86: Add s2idle quirk for more Lenovo laptops
adebf494e425 clk: stm32: Fix a signedness issue in 
clk_stm32_composite_determine_rate()
302479e2d4c4 clk: socfpga: gate: Account for the divider in determine_rate
5193aec42c45 clk: Sanitize possible_parent_show to Handle Return Value of 
of_clk_get_parent_name
d1e039180f81 sparc32: fix a braino in fault handling in 
csum_and_copy_..._user()
516177805997 perf/core: Fix potential NULL deref
25de47d0d6e7 x86/cpu: Add model number for Intel Arrow Lake mobile processor
3256ad9bb4ce x86/i8259: Skip probing when ACPI/MADT advertises PCAT 
compatibility
7f864ab94da3 x86/tsc: Defer marking TSC unstable to a worker
cfa5aa4a5ea2 nvmem: imx: correct nregs for i.MX6UL
4f6c3da9a978 nvmem: imx: correct nregs for i.MX6SLL
3e325ac1eec9 nvmem: imx: correct nregs for i.MX6ULL
bc0991e8e1fb misc: fastrpc: Unmap only if buffer is unmapped from DSP
8e4afa8598d9 misc: fastrpc: Clean buffers on remote invocation failures
c2400bfd8ce4 misc: fastrpc: Free DMA handles for RPC calls with no arguments
0351f86266f6 misc: fastrpc: Reset metadata buffer to avoid incorrect free
96790d33261c tracing/kprobes: Fix the description of variable length 
arguments
63de22fdf851 tracing/kprobes: Fix symbol counting logic by looking at 
modules as well
001b2dc822d3 i2c: aspeed: Fix i2c bus hang in slave read
20062e7a248f i2c: stm32f7: Fix PEC handling in case of SMBUS transfers
e505ca5d9ac0 i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node()
135e2858ab78 i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node()
2f7671a14960 i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node()
5f6dc4a12d79 iio: adc: xilinx-xadc: Correct temperature offset/scale for 
UltraScale
f763aa29992d iio: adc: xilinx-xadc: Don't clobber preset 
voltage/temperature thresholds
f2bd3c005aba iio: exynos-adc: request second interupt only when touchscreen 
mode is used
0a9bb3fa6870 iio: afe: rescale: Accept only offset channels
56e08ccc9697 io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid
1c43576ac2d1 kasan: print the original fault addr when access invalid shadow
6cf937305199 blk-throttle: check for overflow in calculate_bytes_allowed
c031d9a8383d scsi: sd: Introduce manage_shutdown device flag
927c770488fe iavf: in iavf_down, disable queues when removing the driver
de306715bc3f drm/i915/mcr: Hold GT forcewake during steering operations
a90e92e77bb6 drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO
180069f6b8e8 net/sched: act_ct: additional checks for outdated flows
533c24b368d7 netfilter: flowtable: GC pushes back packets to classic path
36cf7d1d79ec i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR
4c898bdfc6a1 drm/i915/perf: Determine context valid in OA reports
9ba154363a09 gtp: fix fragmentation needed check with gso
62376a558db3 gtp: uapi: fix GTPA_MAX
450d6bf74c28 net/handshake: fix file ref count in handshake_nl_accept_doit()
8279cd3af8bf wifi: mac80211: don't drop all unprotected public action frames
943431ee2a17 wifi: cfg80211: fix assoc response warning on failed links
989ac939b1a5 wifi: cfg80211: pass correct pointer to rdev_inform_bss()
9617c77f0c0e tcp: fix wrong RTO timeout when received SACK reneging
a22e19386109 r8152: Release firmware if we have an error in probe
0fd9553632fd r8152: Cancel hw_phy_work if we have an error in probe
56e8946e1a25 r8152: Run the unload routine if we have errors during probe
90b49a273de0 r8152: Increase USB control msg timeout to 5000ms as per spec
c11f5c496f65 net: usb: smsc95xx: Fix uninit-value access in 
smsc95xx_read_reg
0d3295a43c63 net: ieee802154: adf7242: Fix some potential buffer overflow 
in adf7242_stats_show()
8e0e94bf5b4a net: ethernet: adi: adin1110: Fix uninitialized variable
fdba00877119 igc: Fix ambiguity in the ethtool advertising
cf6fd6e0a831 neighbour: fix various data-races
5f9d1995d040 net: do not leave an empty skb in write queue
7462118b2083 igb: Fix potential memory leak in igb_add_ethtool_nfc_entry
fd9d5ad3c865 treewide: Spelling fix in comment
7e5beb46db3a i40e: Fix I40E_FLAG_VF_VLAN_PRUNING value
f927602db213 iavf: initialize waitqueues before starting watchdog_task
bcbf3f442903 r8169: fix the KCSAN reported data race in rtl_rx while 
reading desc->opts1
03599d8d353a r8169: fix the KCSAN reported data-race in rtl_tx while 
reading TxDescArray[entry].opts1
23473ffd3aec r8169: fix the KCSAN reported data-race in rtl_tx() while 
reading tp->cur_tx
3dacf771d6e4 clk: ti: 

[OE-core][nanbield 22/29] linux-yocto/6.5: update to v6.5.11

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

799441832db1 Linux 6.5.11
dd1756d79179 ASoC: SOF: sof-pci-dev: Fix community key quirk detection
aab16960e6e7 ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection
575d3966a7da serial: core: Fix runtime PM handling for pending tx
9f625a9ec6ad misc: pci_endpoint_test: Add deviceID for J721S2 PCIe EP 
device support
fe3545fb7c39 dt-bindings: serial: rs485: Add rs485-rts-active-high
71a913eb5331 tty: 8250: Add Brainboxes Oxford Semiconductor-based quirks
7ffbf5db6963 tty: 8250: Add support for Intashield IX cards
8435b1f55760 tty: 8250: Add support for additional Brainboxes PX cards
21b8147a36f8 tty: 8250: Fix up PX-803/PX-857
98f984ff81de tty: 8250: Fix port count of PX-257
256a534427e9 tty: 8250: Add support for Intashield IS-100
933dde5b2082 tty: 8250: Add support for Brainboxes UP cards
a4a09f0ed3cd tty: 8250: Add support for additional Brainboxes UC cards
ca7f138b2c52 tty: 8250: Remove UC-257 and UC-431
19d34b73234a tty: n_gsm: fix race condition in status line change on dead 
connections
fd277724946d Bluetooth: hci_bcm4377: Mark bcm4378/bcm4387 as BROKEN_LE_CODED
885108988763 usb: raw-gadget: properly handle interrupted requests
9ee038590d80 usb: typec: tcpm: Fix NULL pointer dereference in 
tcpm_pd_svdm()
de5ac4d46304 usb: typec: tcpm: Add additional checks for contaminant
80105fc04b44 usb: storage: set 1.50 as the lower bcdDevice for older "Super 
Top" compatibility
c99f302ea679 PCI: Prevent xHCI driver from claiming AMD VanGogh USB3 DRD 
device
52d89332fbc6 ALSA: usb-audio: add quirk flag to enable native DSD for 
McIntosh devices
c75a5e421b07 mmap: fix error paths with dup_anon_vma()
578c20ab383f mmap: fix vma_iterator in error path of vma_merge()
cd91606eff46 perf evlist: Avoid frequency mode for the dummy event
65d457433a08 power: supply: core: Use blocking_notifier_call_chain to avoid 
RCU complaint
a58f5fabcab0 rust: types: make `Opaque` be `!Unpin`
7fba72536eb5 rust: make `UnsafeCell` the outer type in `Opaque`
07256dc046b1 drm/amd/display: Don't use fsleep for PSR exit waits
4ec5def87694 ceph_wait_on_conflict_unlink(): grab reference before dropping 
->d_lock
fd652af1e1f9 io_uring: kiocb_done() should *not* trust ->ki_pos if 
->{read,write}_iter() failed
fd318cc5b221 powerpc/mm: Fix boot crash with FLATMEM
c1d14ab7d666 r8152: Check for unplug in r8153b_ups_en() / r8153c_ups_en()
b233d39f7e15 r8152: Check for unplug in rtl_phy_patch_request()
19471af243b2 net: chelsio: cxgb4: add an error code check in t4_load_phy_fw
17002b8f2606 riscv: dts: thead: set dma-noncoherent to soc bus
9f0400d31e56 drm/amdgpu: Reserve fences for VM update
6ca3c25f5472 platform/mellanox: mlxbf-tmfifo: Fix a warning message
6cca6f997088 netfilter: nf_tables: audit log object reset once per table
99d311781fe5 LoongArch: Disable WUC for pgprot_writecombine() like 
ioremap_wc()
6b43fea5f245 LoongArch: Replace kmap_atomic() with kmap_local_page() in 
copy_user_highpage()
c86a4fbc2d5a LoongArch: Export symbol invalid_pud_table for modules building
74f9c03ecf79 LoongArch: Use SYM_CODE_* to annotate exception handlers
19fe554e5fcf gpu/drm: Eliminate DRM_SCHED_PRIORITY_UNSET
4ca54e8b459d drm/amdgpu: Unset context priority is now invalid
4debab37b1bc ASoC: da7219: Correct the process of setting up Gnd switch in 
AAD
22da32b45717 scsi: mpt3sas: Fix in error path
8377f82beacf fbdev: uvesafb: Call cn_del_callback() at the end of 
uvesafb_exit()
0a997e68 fbdev: omapfb: fix some error codes
93ff3297b04a drm/ttm: Reorder sys manager cleanup step
0074d0980bf8 s390/kasan: handle DCSS mapping in memory holes
652d60ecb7a5 ASoC: codecs: tas2780: Fix log of failed reset via I2C.
4dd62532e05c ASoC: rt5650: fix the wrong result of key button
ce5329ee79e5 efi: fix memory leak in krealloc failure handling
c76be4af694e x86/efistub: Don't try to print after ExitBootService()
5c4e4f31643d net/mlx5: Bridge, fix peer entry ageing in LAG mode
ead8d9a6b6ff netfilter: nfnetlink_log: silence bogus compiler warning
988ed1c96c42 ASoC: soc-dapm: Add helper for comparing widget name
c68a8c5b50b9 spi: npcm-fiu: Fix UMA reads when dummy.nbytes == 0
6777f23bca89 fs/ntfs3: Avoid possible memory leak
b9ec0e799a2d fs/ntfs3: Fix directory element type detection
0030ccd87a87 fs/ntfs3: Fix NULL pointer dereference on error in 
attr_allocate_frame()
3228a2e0e5a7 fs/ntfs3: Fix possible NULL-ptr-deref in ni_readpage_cmpr()
d408008a881a fs/ntfs3: Do not allow to change label if volume is read-only
da05aa786c20 fs/ntfs3: Add more info into /proc/fs/ntfs3//volinfo
31baaf864b39 fs/ntfs3: Fix alternative boot searching
1d7dd485108d fs/ntfs3: Add more attributes checks in mi_enum_attr()
  

[OE-core][nanbield 19/29] linux-yocto/6.5: cfg: restore CONFIG_DEVMEM

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

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

1/1 [
Author: C. Andy Martin
Email: c...@myfastmail.com
Subject: security.cfg: restore strict-only /dev/mem access
Date: Fri, 27 Oct 2023 11:22:06 -0400

CONFIG_DEVMEM was mistakenly not enabled, which defeats
CONFIG_STRICT_DEVMEM and friends, as it completely removes all
/dev/mem support.

Signed-off-by: C. Andy Martin 
Signed-off-by: Bruce Ashfield 
]

Signed-off-by: Bruce Ashfield 
Signed-off-by: Richard Purdie 
(cherry picked from commit c459be32000d703aad179a4bf5ef2479813f0404)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb   | 2 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb | 2 +-
 meta/recipes-kernel/linux/linux-yocto_6.5.bb  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb
index b34351529d..552df49949 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb
@@ -15,7 +15,7 @@ python () {
 }
 
 SRCREV_machine ?= "a19b0be3292c96a0cc9c0ebb8f9d104d6a4d3e10"
-SRCREV_meta ?= "6e1f2cc45e8c78278fea51b7cfd0bf1180e5605a"
+SRCREV_meta ?= "fa8ffc924f6d91ea09c9f792a5bb8a184ec1657a"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https
 \

git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.5;destsuffix=${KMETA};protocol=https"
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb
index abf548b2c8..194c5c10f2 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb
@@ -18,7 +18,7 @@ KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
 SRCREV_machine ?= "4e79d57b9c5cc230d2d8cb40c393515fedfed134"
-SRCREV_meta ?= "6e1f2cc45e8c78278fea51b7cfd0bf1180e5605a"
+SRCREV_meta ?= "fa8ffc924f6d91ea09c9f792a5bb8a184ec1657a"
 
 PV = "${LINUX_VERSION}+git"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto_6.5.bb 
b/meta/recipes-kernel/linux/linux-yocto_6.5.bb
index 120a3afe25..bec4b7c049 100644
--- a/meta/recipes-kernel/linux/linux-yocto_6.5.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_6.5.bb
@@ -29,7 +29,7 @@ SRCREV_machine:qemux86 ?= 
"11bbc8db249543905b6fe9b660575202fa0e3ed0"
 SRCREV_machine:qemux86-64 ?= "11bbc8db249543905b6fe9b660575202fa0e3ed0"
 SRCREV_machine:qemumips64 ?= "3b119ebc63b9889194b0125bfae96ee5830e538c"
 SRCREV_machine ?= "11bbc8db249543905b6fe9b660575202fa0e3ed0"
-SRCREV_meta ?= "6e1f2cc45e8c78278fea51b7cfd0bf1180e5605a"
+SRCREV_meta ?= "fa8ffc924f6d91ea09c9f792a5bb8a184ec1657a"
 
 # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and 
you'll
 # get the /base branch, which is pure upstream -stable, and the same
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192223): 
https://lists.openembedded.org/g/openembedded-core/message/192223
Mute This Topic: https://lists.openembedded.org/mt/103130304/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][nanbield 21/29] linux-yocto/6.5: cfg: split runtime and symbol debug

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

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

1/1 [
Author: Bruce Ashfield
Email: bruce.ashfi...@gmail.com
Subject: debug: move PREEMPT_DEBUG to a runtime debug fragment
Date: Thu, 9 Nov 2023 12:08:31 -0500

For tools like spdx and debuggers to work with the kernel, we
require extra information. That is provided by the DEBUG_INFO
flags.

In that same fragment, some runtime debugging is being enabled
and that adds signficant overhead to the kernel.

Let's start a new runtime debug fragment with DEBUG_PREEMPT
and locking. We can add more to this in the future.

Signed-off-by: Bruce Ashfield 
]

Signed-off-by: Bruce Ashfield 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit 8cd829de8e8770aa4a46e984f6ef2cab3194fd29)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb   | 2 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb | 2 +-
 meta/recipes-kernel/linux/linux-yocto_6.5.bb  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb
index f004339749..abe788f03d 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_6.5.bb
@@ -15,7 +15,7 @@ python () {
 }
 
 SRCREV_machine ?= "833c5da68398da64271c26188b9e15286e8e725c"
-SRCREV_meta ?= "e4ddfaf695039a7fc41815e24f57c29e30c0"
+SRCREV_meta ?= "699ca25eafb4b8244966a27e3bbef3d5891fb7e8"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https
 \

git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.5;destsuffix=${KMETA};protocol=https"
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb
index cc75c0c702..ca1c17a84e 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_6.5.bb
@@ -18,7 +18,7 @@ KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
 SRCREV_machine ?= "16b52743d64980d531e120aec62c9220b695a269"
-SRCREV_meta ?= "e4ddfaf695039a7fc41815e24f57c29e30c0"
+SRCREV_meta ?= "699ca25eafb4b8244966a27e3bbef3d5891fb7e8"
 
 PV = "${LINUX_VERSION}+git"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto_6.5.bb 
b/meta/recipes-kernel/linux/linux-yocto_6.5.bb
index 5cdf0e02d0..43ab8c2776 100644
--- a/meta/recipes-kernel/linux/linux-yocto_6.5.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_6.5.bb
@@ -29,7 +29,7 @@ SRCREV_machine:qemux86 ?= 
"128116621dee1ddbc7cf5f58cddc708d7b823600"
 SRCREV_machine:qemux86-64 ?= "128116621dee1ddbc7cf5f58cddc708d7b823600"
 SRCREV_machine:qemumips64 ?= "b63329018323409369e952c84ac6481e68a9b6af"
 SRCREV_machine ?= "128116621dee1ddbc7cf5f58cddc708d7b823600"
-SRCREV_meta ?= "e4ddfaf695039a7fc41815e24f57c29e30c0"
+SRCREV_meta ?= "699ca25eafb4b8244966a27e3bbef3d5891fb7e8"
 
 # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and 
you'll
 # get the /base branch, which is pure upstream -stable, and the same
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192225): 
https://lists.openembedded.org/g/openembedded-core/message/192225
Mute This Topic: https://lists.openembedded.org/mt/103130307/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][nanbield 17/29] linux-yocto/6.1: update to v6.1.62

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

fb2635ac69ab Linux 6.1.62
585da49ad62c ASoC: SOF: sof-pci-dev: Fix community key quirk detection
c1c15b09f456 ALSA: hda: intel-dsp-config: Fix JSL Chromebook quirk detection
5c59879031ea misc: pci_endpoint_test: Add deviceID for J721S2 PCIe EP 
device support
6bebd303ad7e tty: 8250: Add Brainboxes Oxford Semiconductor-based quirks
3017a17ad6b9 tty: 8250: Add support for Intashield IX cards
c3444894e855 tty: 8250: Add support for additional Brainboxes PX cards
31ebf431ed02 tty: 8250: Fix up PX-803/PX-857
bfe9bde05fcd tty: 8250: Fix port count of PX-257
b75ee2d9d792 tty: 8250: Add support for Intashield IS-100
cdd260b220d9 tty: 8250: Add support for Brainboxes UP cards
8af676c69815 tty: 8250: Add support for additional Brainboxes UC cards
abcb12f3192d tty: 8250: Remove UC-257 and UC-431
df6cfab66ff2 tty: n_gsm: fix race condition in status line change on dead 
connections
23107989be8e usb: raw-gadget: properly handle interrupted requests
e7a802447c49 usb: typec: tcpm: Fix NULL pointer dereference in 
tcpm_pd_svdm()
6f17be270003 usb: storage: set 1.50 as the lower bcdDevice for older "Super 
Top" compatibility
b25a2f247083 PCI: Prevent xHCI driver from claiming AMD VanGogh USB3 DRD 
device
977ae4dbe231 ALSA: usb-audio: add quirk flag to enable native DSD for 
McIntosh devices
9411dbe2c66c mmap: fix error paths with dup_anon_vma()
21ca008c53a5 mm/mempolicy: fix set_mempolicy_home_node() previous VMA 
pointer
7ab62e3415fb x86: KVM: SVM: always update the x2avic msr interception
e83359126567 perf evlist: Avoid frequency mode for the dummy event
b3eed048 power: supply: core: Use blocking_notifier_call_chain to avoid 
RCU complaint
803cc77a3acc ceph_wait_on_conflict_unlink(): grab reference before dropping 
->d_lock
9eab5008db6c io_uring: kiocb_done() should *not* trust ->ki_pos if 
->{read,write}_iter() failed
ed0ba37e7b9b powerpc/mm: Fix boot crash with FLATMEM
31ae7876da36 r8152: Check for unplug in r8153b_ups_en() / r8153c_ups_en()
f90656fbf618 r8152: Check for unplug in rtl_phy_patch_request()
98567c9d849b net: chelsio: cxgb4: add an error code check in t4_load_phy_fw
ff86d69b2e50 drm/amdgpu: Reserve fences for VM update
8e4a77ba25ec platform/mellanox: mlxbf-tmfifo: Fix a warning message
0f2840dabfea netfilter: nf_tables: audit log object reset once per table
ec80ad4585d7 LoongArch: Replace kmap_atomic() with kmap_local_page() in 
copy_user_highpage()
afe80b58eea3 LoongArch: Export symbol invalid_pud_table for modules building
9f9b2ec53aca gpu/drm: Eliminate DRM_SCHED_PRIORITY_UNSET
cafa191b27dd drm/amdgpu: Unset context priority is now invalid
0eb733b53ebf scsi: mpt3sas: Fix in error path
4e000daf394a fbdev: uvesafb: Call cn_del_callback() at the end of 
uvesafb_exit()
50736464a75a fbdev: omapfb: fix some error codes
6a87b333ba47 drm/ttm: Reorder sys manager cleanup step
9951b2309ea7 ASoC: codecs: tas2780: Fix log of failed reset via I2C.
b7ed4aa0c2e6 ASoC: rt5650: fix the wrong result of key button
8e1a6594d782 efi: fix memory leak in krealloc failure handling
678edd2dfd55 netfilter: nfnetlink_log: silence bogus compiler warning
c6f6a505277f spi: npcm-fiu: Fix UMA reads when dummy.nbytes == 0
6a7a2d5a0864 fs/ntfs3: Avoid possible memory leak
84aabd18c8d7 fs/ntfs3: Fix directory element type detection
3bff4bb7f9c7 fs/ntfs3: Fix NULL pointer dereference on error in 
attr_allocate_frame()
c8cbae3cbbc4 fs/ntfs3: Fix possible NULL-ptr-deref in ni_readpage_cmpr()
6fe32f79abea fs/ntfs3: Use kvmalloc instead of kmalloc(... __GFP_NOWARN)
92f9c7c7ddbf fs/ntfs3: Write immediately updated ntfs state
fc91bb3e1b2b fs/ntfs3: Add ckeck in ni_update_parent()
768e857ac3e0 fbdev: atyfb: only use ioremap_uc() on i386 and ia64
dd6d75eb00ee Input: synaptics-rmi4 - handle reset delay when using SMBus 
trsnsport
c64c237275b4 powerpc/85xx: Fix math emulation exception
96c7aac8d804 dmaengine: ste_dma40: Fix PM disable depth imbalance in 
d40_probe
9ef4697548c2 irqchip/stm32-exti: add missing DT IRQ flag translation
7378415da048 irqchip/riscv-intc: Mark all INTC nodes as initialized
d3204c0fdd33 net: sched: cls_u32: Fix allocation size in u32_init()
f15dbcda2ce8 ASoC: tlv320adc3xxx: BUG: Correct micbias setting
30ed99860437 coresight: tmc-etr: Disable warnings for allocation failures
6618e7a740de ASoC: simple-card: fixup asoc_simple_probe() error handling

Signed-off-by: Bruce Ashfield 
Signed-off-by: Alexandre Belloni 
Signed-off-by: Richard Purdie 
(cherry picked from commit 611da3dcd87a595be77f72bea3d2637d5d869ae5)
Signed-off-by: Steve Sakoman 
---
 .../linux/linux-yocto-rt_6.1.bb   |  6 ++--
 .../linux/linux-yocto-tiny_6.1.bb |  6 ++--
 

[OE-core][nanbield 18/29] linux-yocto/6.1: update to v6.1.65

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

c6114c845984 Linux 6.1.65
66ecd1cd8b0c io_uring: fix off-by one bvec index
812171018e47 USB: dwc3: qcom: fix wakeup after probe deferral
72ef87bb8e5d USB: dwc3: qcom: fix software node leak on probe errors
fc7b2fe26769 usb: dwc3: set the dma max_seg_size
92b9eca53de8 usb: dwc3: Fix default mode initialization
451c5a61722d USB: dwc2: write HCINT with INTMASK applied
d9be7a129778 usb: typec: tcpm: Skip hard reset when in error recovery
c15cb712da41 USB: serial: option: don't claim interface 4 for ZTE MF290
5a657b34fe83 USB: serial: option: fix FM101R-GL defines
4fccb016ffcd USB: serial: option: add Fibocom L7xx modules
f70b0b6fd8c6 usb: cdnsp: Fix deadlock issue during using NCM gadget
f9ba5dd0d9c9 bcache: fixup lock c->root error
c736af32a82b bcache: fixup init dirty data errors
c37aca3dd513 bcache: prevent potential division by zero error
366f3648f10e bcache: check return value from btree_node_alloc_replacement()
4241b51f3ef8 dm-delay: fix a race between delay_presuspend and delay_bio
c4d395751079 hv_netvsc: Mark VF as slave before exposing it to user-mode
5dd83db613be hv_netvsc: Fix race of register_netdevice_notifier and VF 
register
e8ef65c17460 hv_netvsc: fix race of netvsc and VF register_netdevice
043c8e0306e2 USB: serial: option: add Luat Air72*U series products
dc96fde8fcb2 s390/dasd: protect device queue against concurrent access
b964a0a3910b io_uring/fs: consider link->flags when getting path for LINKAT
12f497158900 bcache: fixup multi-threaded bch_sectors_dirty_init() wake-up 
race
fa9bacc1d5d6 md: fix bi_status reporting in md_end_clone_io
415f644b1f59 bcache: replace a mistaken IS_ERR() by IS_ERR_OR_NULL() in 
btree_gc_coalesce()
354d162ba527 swiotlb-xen: provide the "max_mapping_size" method
05591c0d1761 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CVA
1ed904f424d4 arm64: dts: imx8mn-var-som: add 20ms delay to ethernet 
regulator enable
5d9ddbf4b5e7 NFSD: Fix checksum mismatches in the duplicate reply cache
b597f3c85d2e NFSD: Fix "start of NFS reply" pointer passed to 
nfsd_cache_update()
d7eb37615b93 ext4: make sure allocate pending entry not fail
8384d8c5cc39 ext4: fix slab-use-after-free in ext4_es_insert_extent()
9164978bce49 ext4: using nofail preallocation in ext4_es_insert_extent()
614b383d0158 ext4: using nofail preallocation in 
ext4_es_insert_delayed_block()
51cef2a5c6f9 ext4: using nofail preallocation in ext4_es_remove_extent()
f1c236936674 ext4: use pre-allocated es in __es_remove_extent()
ce581f8631a4 ext4: use pre-allocated es in __es_insert_extent()
594a5f00e50c ext4: factor out __es_alloc_extent() and __es_free_extent()
9381ff651224 ext4: add a new helper to check if es must be kept
3a14f4fd7bda media: qcom: camss: Fix genpd cleanup
df5bb7b408cc media: qcom: camss: Fix V4L2 async notifier error path
fdfcdf969719 media: qcom: Initialise V4L2 async notifier later
153a4396c304 media: camss: Convert to platform remove callback returning 
void
4ae3c85e7369 media: camss: Split power domain management
8bdcaa7c03f6 MIPS: KVM: Fix a build warning about variable set but not used
e9c3d6b09c21 cifs: fix leak of iface for primary channel
b24d42b52bd1 cifs: account for primary channel in the interface list
548893404c44 cifs: distribute channels across interfaces based on speed
5607a415d49c cifs: print last update time for interface list
f4dff371119b smb3: allow dumping session and tcon id to improve stats 
analysis and debugging
fbc666a9ac5a cifs: minor cleanup of some headers
c2d336140a10 lockdep: Fix block chain corruption
e9611e840431 USB: dwc3: qcom: fix ACPI platform device leak
eaa315288b32 USB: dwc3: qcom: fix resource leaks on probe deferral
0e485f12ebb7 nvmet: nul-terminate the NQNs passed in the connect command
573fa2b70808 i40e: Fix adding unsupported cloud filters
f7f3e69cedb9 i40e: use ERR_PTR error print in i40e messages
27f5dd22af56 arm64: mm: Fix "rodata=on" when 
CONFIG_RODATA_FULL_DEFAULT_ENABLED=y
558b8ee45f7f mm,kfence: decouple kfence from page granularity mapping 
judgement
48b3ee0134db afs: Fix file locking on R/O volumes to operate in local mode
f9cf17836ec3 afs: Return ENOENT if no cell DNS record can be found
8025fd0706c8 net: axienet: Fix check for partial TX checksum
3481ff38118c amd-xgbe: propagate the correct speed and duplex status
73d114dd5703 amd-xgbe: handle the corner-case during tx completion
4bcc07bb360e amd-xgbe: handle corner-case during sfp hotplug
76b088b63958 octeontx2-pf: Fix ntuple rule creation to direct packet to VF 
with higher Rx queue than its PF
97703eb199a3 arm/xen: fix xen_vcpu_info allocation alignment
94a0ae698b4d net/smc: avoid data corruption 

[OE-core][nanbield 16/29] linux-yocto/6.1: update to v6.1.61

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

4a61839152cc Linux 6.1.61
5926b0886d0c objtool/x86: add missing embedded_insn check
2afa9f7eb15c ext4: avoid overlapping preallocations due to overflow
fcefddf3a151 ext4: fix BUG in ext4_mb_new_inode_pa() due to overflow
495c4c58d684 ext4: add two helper functions extent_logical_end() and 
pa_logical_end()
d022e4ea9c2f platform/x86: Add s2idle quirk for more Lenovo laptops
48ebeab0eda1 clk: Sanitize possible_parent_show to Handle Return Value of 
of_clk_get_parent_name
65e5a9890e03 sparc32: fix a braino in fault handling in 
csum_and_copy_..._user()
8b8cde8ebb87 perf/core: Fix potential NULL deref
5e232f2205f2 x86/cpu: Add model number for Intel Arrow Lake mobile processor
63cc3d5d343d x86/i8259: Skip probing when ACPI/MADT advertises PCAT 
compatibility
37495846b1ef nvmem: imx: correct nregs for i.MX6UL
116671d25915 nvmem: imx: correct nregs for i.MX6SLL
b90b8633ef62 nvmem: imx: correct nregs for i.MX6ULL
cc87c73eac2d misc: fastrpc: Unmap only if buffer is unmapped from DSP
38c5faf2a984 misc: fastrpc: Clean buffers on remote invocation failures
7737e9384e2d misc: fastrpc: Free DMA handles for RPC calls with no arguments
1e8851b51300 misc: fastrpc: Reset metadata buffer to avoid incorrect free
5a35fc1c0091 tracing/kprobes: Fix the description of variable length 
arguments
91b95e3b4ac8 i2c: aspeed: Fix i2c bus hang in slave read
11602cadc9b4 i2c: stm32f7: Fix PEC handling in case of SMBUS transfers
ff0312a156cf i2c: muxes: i2c-demux-pinctrl: Use of_get_i2c_adapter_by_node()
f9a7b3b33c84 i2c: muxes: i2c-mux-gpmux: Use of_get_i2c_adapter_by_node()
48a365ae4f31 i2c: muxes: i2c-mux-pinctrl: Use of_get_i2c_adapter_by_node()
6ec84059b5e1 iio: adc: xilinx-xadc: Correct temperature offset/scale for 
UltraScale
e26fd381bf11 iio: adc: xilinx-xadc: Don't clobber preset 
voltage/temperature thresholds
cb01837e0f7a iio: exynos-adc: request second interupt only when touchscreen 
mode is used
7a641bc52f00 iio: afe: rescale: Accept only offset channels
9236d2ea6465 io_uring/fdinfo: lock SQ thread while retrieving thread cpu/pid
1684909df3f4 kasan: print the original fault addr when access invalid shadow
6a5b845b57b1 blk-throttle: check for overflow in calculate_bytes_allowed
bb20a245df9c scsi: sd: Introduce manage_shutdown device flag
93fa5786f972 iavf: in iavf_down, disable queues when removing the driver
f7f660df65a1 drm/logicvc: Kconfig: select REGMAP and REGMAP_MMIO
cb115b6688b6 i40e: Fix wrong check for I40E_TXR_FLAGS_WB_ON_ITR
144f93c62239 gtp: fix fragmentation needed check with gso
039a050740fc gtp: uapi: fix GTPA_MAX
664a358b7966 tcp: fix wrong RTO timeout when received SACK reneging
5b100bb0449c r8152: Release firmware if we have an error in probe
ecb51a434e3d r8152: Cancel hw_phy_work if we have an error in probe
87376143df3f r8152: Run the unload routine if we have errors during probe
ee73f937c5e9 r8152: Increase USB control msg timeout to 5000ms as per spec
9eb275fec602 net: usb: smsc95xx: Fix uninit-value access in 
smsc95xx_read_reg
7c799bc32232 net: ieee802154: adf7242: Fix some potential buffer overflow 
in adf7242_stats_show()
55b01c5a847e net: ethernet: adi: adin1110: Fix uninitialized variable
9d2b588fae86 igc: Fix ambiguity in the ethtool advertising
fa28949c72db neighbour: fix various data-races
c166dd51b628 igb: Fix potential memory leak in igb_add_ethtool_nfc_entry
9a194064fab6 treewide: Spelling fix in comment
b1ad0a147d08 i40e: Fix I40E_FLAG_VF_VLAN_PRUNING value
d8ac13acfbf7 iavf: initialize waitqueues before starting watchdog_task
66e879507b12 r8169: fix the KCSAN reported data race in rtl_rx while 
reading desc->opts1
d10140916e6f r8169: fix the KCSAN reported data-race in rtl_tx while 
reading TxDescArray[entry].opts1
4138a02c8953 r8169: fix the KCSAN reported data-race in rtl_tx() while 
reading tp->cur_tx
29f365f4c3b8 clk: ti: Fix missing omap5 mcbsp functional clock and aliases
2ba943c6d9eb clk: ti: Fix missing omap4 mcbsp functional clock and aliases
8d8346ed3968 firmware/imx-dsp: Fix use_after_free in 
imx_dsp_setup_channels()
df4169fc9b8a ARM: OMAP: timer32K: fix all kernel-doc warnings
6c668e2f338b drm/dp_mst: Fix NULL deref in 
get_mst_branch_device_by_guid_helper()
024251bab25d drm/amd: Disable ASPM for VI w/ all Intel systems
eded5f5261b8 drm/i915/pmu: Check if pmu is closed before stopping event
4f46c177c03d nfsd: lock_rename() needs both directories to live on the same 
fs
3262ff5826e1 maple_tree: add GFP_KERNEL to allocations in 
mas_expected_entries()
b1b2750de123 hugetlbfs: extend hugetlb_vma_lock to private VMAs
c9b066f6920d mm/migrate: fix do_pages_move for compat pointers
a6fbf025e3cf mm/page_alloc: correct 

[OE-core][nanbield 15/29] linux-yocto/6.1: cfg: restore CONFIG_DEVMEM

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

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

1/1 [
Author: C. Andy Martin
Email: c...@myfastmail.com
Subject: security.cfg: restore strict-only /dev/mem access
Date: Fri, 27 Oct 2023 11:22:06 -0400

CONFIG_DEVMEM was mistakenly not enabled, which defeats
CONFIG_STRICT_DEVMEM and friends, as it completely removes all
/dev/mem support.

Signed-off-by: C. Andy Martin 
Signed-off-by: Bruce Ashfield 
]

Signed-off-by: Bruce Ashfield 
Signed-off-by: Richard Purdie 
(cherry picked from commit dfc0cc113eabb1160b6bfd630fa75c6a3cb9c7a5)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb   | 2 +-
 meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb | 2 +-
 meta/recipes-kernel/linux/linux-yocto_6.1.bb  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
index 6ebf533bb0..408fac718e 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-rt_6.1.bb
@@ -15,7 +15,7 @@ python () {
 }
 
 SRCREV_machine ?= "0dad5306907b9e6fb89103dfba80dbd0edafcdb6"
-SRCREV_meta ?= "0553e01ca003e82d32d9b85c0275568e8ce67274"
+SRCREV_meta ?= "3ec1b83af3b59f07cf04e1264fbd30fe2f2f873b"
 
 SRC_URI = 
"git://git.yoctoproject.org/linux-yocto.git;branch=${KBRANCH};name=machine;protocol=https
 \

git://git.yoctoproject.org/yocto-kernel-cache;type=kmeta;name=meta;branch=yocto-6.1;destsuffix=${KMETA};protocol=https"
diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb 
b/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
index af98525c4f..9bf6001353 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_6.1.bb
@@ -18,7 +18,7 @@ KMETA = "kernel-meta"
 KCONF_BSP_AUDIT_LEVEL = "2"
 
 SRCREV_machine ?= "780d811bb97bf34f2be6cab28d5a8b099154c40d"
-SRCREV_meta ?= "0553e01ca003e82d32d9b85c0275568e8ce67274"
+SRCREV_meta ?= "3ec1b83af3b59f07cf04e1264fbd30fe2f2f873b"
 
 PV = "${LINUX_VERSION}+git"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto_6.1.bb 
b/meta/recipes-kernel/linux/linux-yocto_6.1.bb
index 9f17f244f8..f497ccedd9 100644
--- a/meta/recipes-kernel/linux/linux-yocto_6.1.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_6.1.bb
@@ -29,7 +29,7 @@ SRCREV_machine:qemux86 ?= 
"780d811bb97bf34f2be6cab28d5a8b099154c40d"
 SRCREV_machine:qemux86-64 ?= "780d811bb97bf34f2be6cab28d5a8b099154c40d"
 SRCREV_machine:qemumips64 ?= "9f25eb5709ab8af0ece7306014d5e8b7c6150c68"
 SRCREV_machine ?= "780d811bb97bf34f2be6cab28d5a8b099154c40d"
-SRCREV_meta ?= "0553e01ca003e82d32d9b85c0275568e8ce67274"
+SRCREV_meta ?= "3ec1b83af3b59f07cf04e1264fbd30fe2f2f873b"
 
 # set your preferred provider of linux-yocto to 'linux-yocto-upstream', and 
you'll
 # get the /base branch, which is pure upstream -stable, and the same
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192219): 
https://lists.openembedded.org/g/openembedded-core/message/192219
Mute This Topic: https://lists.openembedded.org/mt/103130300/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][nanbield 14/29] kernel-yocto: improve metadata patching

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

The ability to patch the kernel-yocto metadata was added to support
debug and easier test cycles on kernel-cache provided fragments. As
such, it was very simple and has limited functionality.

That being said, it is an available feature and can be improved to
handle patches that fail to apply.

The main kernel patching is already handled by the kern-tools, so
we extend the patching of the meta-data to same tools and inherit
more functinality from the scripts.

[YOCTO #15266]

Signed-off-by: Bruce Ashfield 
Signed-off-by: Richard Purdie 
(cherry picked from commit e867addd6c2f508f7a95e7e750d37f3d19d8)
Signed-off-by: Steve Sakoman 
---
 meta/classes-recipe/kernel-yocto.bbclass | 30 
 1 file changed, 25 insertions(+), 5 deletions(-)

diff --git a/meta/classes-recipe/kernel-yocto.bbclass 
b/meta/classes-recipe/kernel-yocto.bbclass
index 4ac977b122..4b7c0b829f 100644
--- a/meta/classes-recipe/kernel-yocto.bbclass
+++ b/meta/classes-recipe/kernel-yocto.bbclass
@@ -176,12 +176,32 @@ do_kernel_metadata() {
# kernel source tree, where they'll be used later.
check_git_config
patches="${@" ".join(find_patches(d,'kernel-meta'))}"
-   for p in $patches; do
+   if [ -n "$patches" ]; then
(
-   cd ${WORKDIR}/kernel-meta
-   git am -s $p
-   )
-   done
+   cd ${WORKDIR}/kernel-meta
+
+   # take the SRC_URI patches, and create a series file
+   # this is required to support some better processing
+   # of issues with the patches
+   rm -f series
+   for p in $patches; do
+   cp $p .
+   echo "$(basename $p)" >> series
+   done
+
+   # process the series with kgit-s2q, which is what is
+   # handling the rest of the kernel. This allows us
+   # more flexibility for handling failures or advanced
+   # mergeing functinoality
+   message=$(kgit-s2q --gen -v --patches 
${WORKDIR}/kernel-meta 2>&1)
+   if [ $? -ne 0 ]; then
+   # setup to try the patch again
+   kgit-s2q --prev
+   bberror "Problem applying patches to: 
${WORKDIR}/kernel-meta"
+   bbfatal_log "\n($message)"
+   fi
+   )
+   fi
fi
 
sccs_from_src_uri="${@" ".join(find_sccs(d))}"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192218): 
https://lists.openembedded.org/g/openembedded-core/message/192218
Mute This Topic: https://lists.openembedded.org/mt/103130299/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][nanbield 13/29] kern-tools: update SRCREV to include SECURITY.md file

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

To be compliant with the recent security policy, bumping
the SRCREV to pickup the SECUIRTY.md of the kern-tools
repository. It's contents are repeated below:

   How to Report a Potential Vulnerability?
   

   If you would like to report a public issue (for example, one with a released
   CVE number), please report it using the 
[https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Security
   Security Bugzilla].  If you have a patch ready, submit it following the same 
procedure as any
   other patch as described in README.md.

   If you are dealing with a not-yet released or urgent issue, please send a
   message to security AT yoctoproject DOT org, including as many details as
   possible: the layer or software module affected, the recipe and its version,
   and any example code, if available.

   Branches maintained with security fixes
   ---

   See [https://wiki.yoctoproject.org/wiki/Stable_Release_and_LTS Stable 
release and LTS]
   for detailed info regarding the policies and maintenance of Stable branches.

   The [https://wiki.yoctoproject.org/wiki/Releases Release page] contains a 
list of all
   releases of the Yocto Project. Versions in grey are no longer actively 
maintained with
   security patches, but well-tested patches may still be accepted for them for
   significant issues.

Signed-off-by: Bruce Ashfield 
Signed-off-by: Richard Purdie 
(cherry picked from commit fbdfc28b290ea3ed2dc3dbbaf461adc2839eb8f2)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-kernel/kern-tools/kern-tools-native_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb 
b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
index e4b5eea659..941160ea9c 100644
--- a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
+++ b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "\
 
 DEPENDS = "git-native"
 
-SRCREV = "0ae81fdbb1ae1546371206aeb3f5fb530dff8ddc"
+SRCREV = "7160ebe8b865dd6028aef278efa219433db93f7e"
 PV = "0.3+git"
 
 inherit native
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192217): 
https://lists.openembedded.org/g/openembedded-core/message/192217
Mute This Topic: https://lists.openembedded.org/mt/103130298/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][nanbield 12/29] kern-tools: bump SRCREV for queue processing changes

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

Bumping the SRCREV to pickup a new option to the patch and
merge queue handling scripts.

The new option '--prev' allows us to change the behaviour
of a subsequent runs to retry a failed patch, versus skipping
it.

Signed-off-by: Bruce Ashfield 
Signed-off-by: Richard Purdie 
(cherry picked from commit 231256485ae528773a4da9fad8bf4baff26fc0d2)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-kernel/kern-tools/kern-tools-native_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb 
b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
index e109cd7454..e4b5eea659 100644
--- a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
+++ b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "\
 
 DEPENDS = "git-native"
 
-SRCREV = "270f9ccc5e2998cd1f3ed1e32d02e356793e4680"
+SRCREV = "0ae81fdbb1ae1546371206aeb3f5fb530dff8ddc"
 PV = "0.3+git"
 
 inherit native
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192216): 
https://lists.openembedded.org/g/openembedded-core/message/192216
Mute This Topic: https://lists.openembedded.org/mt/103130297/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][nanbield 11/29] kern-tools: make lower context patches reproducible

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

It could be argued that it should be an error to have a
reduced context patch now that we've had many years to
ensure that our kernel path queues are clean.

But there are still some supported scenarios where a
patch is on multiple branches and reduced context makes
sense.

Applying the following patch to make sure these are
reproducible like the primary mode of application.

   kgit-s2q: use additional git-am options with reduced context as well

Signed-off-by: Bruce Ashfield 
Signed-off-by: Richard Purdie 
(cherry picked from commit a76a31419e8f3c612699bc45dfc7637d6d542c08)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-kernel/kern-tools/kern-tools-native_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb 
b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
index 3fcfe4b4c3..e109cd7454 100644
--- a/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
+++ b/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "\
 
 DEPENDS = "git-native"
 
-SRCREV = "6645d3897cc2eeb1237ee0e2ff5342bd73ee0875"
+SRCREV = "270f9ccc5e2998cd1f3ed1e32d02e356793e4680"
 PV = "0.3+git"
 
 inherit native
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192215): 
https://lists.openembedded.org/g/openembedded-core/message/192215
Mute This Topic: https://lists.openembedded.org/mt/103130294/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][nanbield 10/29] linux-yocto/6.5: update to v6.5.9

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

d0e42510ae83 Linux 6.5.9
f879295c92b1 selftests: mptcp: join: correctly check for no RST
85577dd61990 mptcp: avoid sending RST when closing the initial subflow
1978b69212ed Bluetooth: hci_sock: Correctly bounds check and pad 
HCI_MON_NEW_INDEX name
2a3c9d689d6b kbuild: remove old Rust docs output path
8436370b5a79 docs: rust: update Rust docs output path
479935768842 net: rfkill: reduce data->mtx scope in rfkill_fop_open
2ca5210807f1 Bluetooth: hci_sock: fix slab oob read in create_monitor_event
5a7b9ca3ec2c net: move altnames together with the netdevice
b583bfcc5a36 efi/unaccepted: Fix soft lockups caused by parallel memory 
acceptance
1a19b7394a6c phy: qcom-qmp-combo: initialize PCS_USB registers
5389ae6d399d phy: qcom-qmp-combo: Square out 8550 POWER_STATE_CONFIG1
43196ab56d1a phy: qcom-qmp-usb: split PCS_USB init table for sc8280xp and 
sa8775p
ddf000488df4 phy: qcom-qmp-usb: initialize PCS_USB registers
2a90676f997a phy: mapphone-mdm6600: Fix pinctrl_pm handling for sleep pins
da02a53bd04a phy: mapphone-mdm6600: Fix runtime PM for remove
9f35d798d13d phy: mapphone-mdm6600: Fix runtime disable on probe
69cd19101248 rust: docs: fix logo replacement
43f4e8e32b97 docs: Move rustdoc output, cross-reference it
362a407559f5 powerpc/qspinlock: Fix stale propagated yield_cpu
164e66ef89d1 powerpc/mm: Allow ARCH_FORCE_MAX_ORDER up to 12
fefac8c4686f drm/amdgpu: Fix possible null pointer dereference
935df6cfa78a drm/i915/cx0: Only clear/set the Pipe Reset bit of the PHY 
Lanes Owned
fa8361159a12 drm/bridge: ti-sn65dsi86: Associate DSI device lifetime with 
auxiliary device
f5d03923f8bd ASoC: cs42l42: Fix missing include of gpio/consumer.h
2756d8399ea4 ASoC: pxa: fix a memory leak in probe()
8247e4d5cba5 ASoC: cs35l56: Fix illegal use of init_completion()
9955bc6e6be9 gpio: vf610: mask the gpio irq in system suspend and support 
wakeup
96964c192aa2 gpio: vf610: set value before the direction to avoid a glitch
204c78f852e6 gpiolib: acpi: Add missing memset(0) to 
acpi_get_gpiod_from_data()
0236504746dd rust: error: fix the description for `ECHILD`
56d2f7796ab8 platform/x86: asus-wmi: Map 0x2a code, Ignore 0x2b and 0x2c 
events
119a52c632d7 platform/x86: asus-wmi: Only map brightness codes when using 
asus-wmi backlight control
7422c4a4cbd9 platform/x86: asus-wmi: Change ASUS_WMI_BRN_DOWN code from 
0x20 to 0x2e
a3939c1a96eb platform/x86: msi-ec: Fix the 3rd config
61ab10af6843 platform/x86: intel-uncore-freq: Conditionally create 
attribute for read frequency
18e77f174fc9 platform/surface: platform_profile: Propagate error if profile 
registration fails
183aff269bfe s390/cio: fix a memleak in css_alloc_subchannel
6ccb89a7010e apple-gmux: Hard Code max brightness for MMIO gmux
efea19a2889c KEYS: asymmetric: Fix sign/verify on pkcs1pad without a hash
3e25a4bc5023 selftests/ftrace: Add new test case which checks non unique 
symbol
d78936d7da27 tracing/kprobes: Return EADDRNOTAVAIL when func matches 
several symbols
9a7f36028015 s390/pci: fix iommu bitmap allocation
20f925d38e1e perf: Disallow mis-matched inherited group reads
12614cd08c2c thunderbolt: Call tb_switch_put() once DisplayPort bandwidth 
request is finished
7cb7903eb22e USB: serial: option: add Fibocom to DELL custom modem FM101R-GL
d617569fc517 USB: serial: option: add entry for Sierra EM9191 with new 
firmware
0b53c322db2f USB: serial: option: add Telit LE910C4-WWX 0x1035 composition
06a2165f1d36 nvme-rdma: do not try to stop unallocated queues
7d3641c2ed7a nvmet-auth: complete a request only after freeing the dhchap 
pointers
f660a391e54c nvme-auth: use chap->s2 to indicate bidirectional 
authentication
38f5ff32ccda nvme-pci: add BOGUS_NID for Intel 0a54 device
2194ee65b29d nvme: sanitize metadata bounce buffer for reads
16b99c6d6f34 nfs42: client needs to strip file mode's suid/sgid bit after 
ALLOCATE op
8183b745d8cd NFS: Fix potential oops in nfs_inode_remove_request()
4538b3bdcdef fanotify: limit reporting of event with non-decodeable file 
handles
62b7f49d3a78 Revert "accel/ivpu: Use cached buffers for FW loading"
7d6179ce5b4a perf dlfilter: Fix use of addr_location__exit() in 
dlfilter__object_code()
b2c39ae29f2b ACPI: bus: Move acpi_arm_init() to the place of after 
acpi_ghes_init()
14189248711e ACPI: irq: Fix incorrect return value in acpi_register_gsi()
dba32abd641d NFSv4.1: fixup use EXCHGID4_FLAG_USE_PNFS_DS for DS server
2f1c0be27909 pNFS/flexfiles: Check the layout validity in 
ff_layout_mirror_prepare_stats
0026f4f9657d pNFS: Fix a hang in nfs4_evict_inode()
1e8fa3dd1ddb Revert "pinctrl: avoid unsafe code pattern in find_pinctrl()"
914f9b0cbefa pinctrl: qcom: lpass-lpi: fix 

[OE-core][nanbield 09/29] linux-yocto/6.5: update to v6.5.8

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

8bbe7c640d76 Linux 6.5.8
46fd4e1547f9 ALSA: hda/realtek - Fixed two speaker platform
ae0c44ce454d ovl: fix regression in showing lowerdir mount option
a8187a9ca253 ovl: make use of ->layers safe in rcu pathwalk
58240ade86f2 ovl: fix regression in parsing of mount options with escaped 
comma
cd86498418ed fs: factor out vfs_parse_monolithic_sep() helper
87be623442a8 fs: Fix kernel-doc warnings
9baee1becd64 powerpc/64e: Fix wrong test in __ptep_test_and_clear_young()
909c0bfa08d5 powerpc/8xx: Fix pte_access_permitted() for PAGE_NONE
7b126f4402c2 dmaengine: mediatek: Fix deadlock caused by synchronize_irq()
c6695a0ad6fb dmaengine: idxd: use spin_lock_irqsave before 
wait_event_lock_irq
0c1773bf8f38 Revert "x86/smp: Put CPUs into INIT on shutdown if possible"
a9b0e9e65106 usb: misc: onboard_hub: add support for Microchip USB2412 USB 
2.0 hub
91a9aaad5d8c usb: typec: qcom: Update the logic of regulator enable and 
disable
f0c0314aac42 usb: cdnsp: Fixes issue with dequeuing not queued requests
4bf1a9d20c65 usb: gadget: ncm: Handle decoding of multiple NTB's in unwrap 
call
098bc0565250 usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
3039b7d5ebb7 usb: typec: ucsi: Clear EVENT_PENDING bit if ucsi_send_command 
fails
522b7d736575 usb: typec: altmodes/displayport: Signal hpd low when exiting 
mode
d386632939e0 usb: typec: ucsi: Fix missing link removal
d68c74f3b2db RISC-V: Fix wrong use of CONFIG_HAVE_SOFTIRQ_ON_OWN_STACK
3431cfe773ac riscv: Remove duplicate objcopy flag
fdd3ceb0001d coresight: Fix run time warnings while reusing ETR buffer
8c4f6d1a8e4d counter: microchip-tcb-capture: Fix the use of internal GCLK 
logic
837b24646cfd counter: chrdev: fix getting array extensions
6a4a432e616f riscv: Only consider swbp/ss handlers for correct privileged 
mode
27f69c85f445 scsi: ufs: core: Correct clear TM error log
d2180b58a8a1 pinctrl: avoid unsafe code pattern in find_pinctrl()
a473943294f1 dma-buf: add dma_fence_timestamp helper
da9de0b714d5 cgroup: Remove duplicates in cgroup v1 tasks file
c3239301ef7a usb: typec: ucsi: Use GET_CAPABILITY attributes data to set 
power supply scope
92437349c0f0 power: supply: qcom_battmgr: fix enable request endianness
fbda26ff92e0 power: supply: qcom_battmgr: fix battery_id type
704e0e2a0c60 can: sja1000: Always restart the Tx queue after an overrun
fc9ea80fa4e9 nfp: flower: avoid rmmod nfp crash issues
f7c949fa298f block: Don't invalidate pagecache for invalid falloc modes
2405f64a95a7 mctp: perform route lookups under a RCU read-side lock
1c95574350cd tee: amdtee: fix use-after-free vulnerability in 
amdtee_close_session
b8f18fa39cec Input: goodix - ensure int GPIO is in input for gpio_count == 
1 && gpio_int_idx == 0 case
eb2b6503a6ff Input: xpad - add HyperX Clutch Gladiate Support
8a2c1970a178 Input: i8042 - add Fujitsu Lifebook E5411 to i8042 quirk table
9832f2274abe Input: xpad - add PXN V900 support
eb12a7d348ed Input: psmouse - fix fast_reconnect function for PS/2 mode
e528b1b9d607 Input: powermate - fix use-after-free in 
powermate_config_complete
093f82c2b56b ceph: fix type promotion bug on 32bit systems
afe8dcef4b7a ceph: fix incorrect revoked caps assert in 
ceph_fill_file_size()
707ee6525987 libceph: use kernel_connect()
70f6756ad96d powerpc/47x: Fix 47x syscall return crash
e28ca99f2f9c powerpc/pseries: Fix STK_PARAM access in the hcall tracing code
b6ab7f19a44f thunderbolt: Restart XDomain discovery handshake after failure
9828a7fa65a6 thunderbolt: Correct TMU mode initialization from hardware
7525edf6aca5 thunderbolt: Check that lane 1 is in CL0 before enabling lane 
bonding
5e9e8b6448f4 thunderbolt: Workaround an IOMMU fault on certain systems with 
Intel Maple Ridge
3953f7ca6521 mcb: remove is_added flag from mcb_device struct
cd287cc208df x86/alternatives: Disable KASAN in apply_alternatives()
12f8e4d71d99 x86/cpu: Fix AMD erratum #1485 on Zen4-based CPUs
f71edacbd4f9 perf/x86/lbr: Filter vsyscall addresses
f40723f20839 ksmbd: not allow to open file if delelete on close bit is set
77d616b2b4ed binder: fix memory leaks of spam and pending work
8459746f889d serial: core: Fix checks for tx runtime PM state
02c7efd75c61 serial: 8250_omap: Fix errors with no_console_suspend
031ddb94d4ef serial: Reduce spinlocked portion of uart_rs485_config()
a20d0faed2f4 ACPI: EC: Add quirk for the HP Pavilion Gaming 15-dk1xxx
351a16dff55b ACPI: resource: Add TongFang GM6BGEQ, GM6BG5Q and GM6BG0Q to 
irq1_edge_low_force_override[]
e7a8ce872214 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CBA
1474b39f9617 drm/vmwgfx: Keep a gem reference to user bos in surfaces
65059dc00a79 drm/amd/display: 

[OE-core][nanbield 08/29] linux-yocto/6.1: update to v6.1.60

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

32c9cdbe383c Linux 6.1.60
7f5bb254be8d selftests: mptcp: join: no RST when rm subflow/addr
0e0123e0e53d selftests: mptcp: join: correctly check for no RST
300447c5722a mptcp: avoid sending RST when closing the initial subflow
c04f416730ac Bluetooth: hci_sock: Correctly bounds check and pad 
HCI_MON_NEW_INDEX name
a429d65428d5 Bluetooth: hci_sock: fix slab oob read in create_monitor_event
46de539282f2 net: move altnames together with the netdevice
c1d531aa095b phy: mapphone-mdm6600: Fix pinctrl_pm handling for sleep pins
13a45130bb17 phy: mapphone-mdm6600: Fix runtime PM for remove
7fcce3258b6e phy: mapphone-mdm6600: Fix runtime disable on probe
4eac2cf444af gpio: vf610: mask the gpio irq in system suspend and support 
wakeup
9b0f8a9dfdac gpio: vf610: make irq_chip immutable
1f38ead73f25 tracing/kprobes: Return EADDRNOTAVAIL when func matches 
several symbols
e9b4b7256736 kallsyms: Add helper kallsyms_on_each_match_symbol()
da359f699f59 kallsyms: Reduce the memory occupied by 
kallsyms_seqs_of_names[]
3918cada8f1b serial: 8250: omap: convert to modern PM ops
70a841eb4f99 serial: 8250: omap: Move uart_write() inside PM section
6df4c9dee011 drm/bridge: ti-sn65dsi86: Associate DSI device lifetime with 
auxiliary device
3d57f6ac641c ASoC: pxa: fix a memory leak in probe()
14a1a7beb3d3 gpio: vf610: set value before the direction to avoid a glitch
7ec224d98070 platform/x86: asus-wmi: Map 0x2a code, Ignore 0x2b and 0x2c 
events
baf191abecf7 platform/x86: asus-wmi: Only map brightness codes when using 
asus-wmi backlight control
4186c79c130d platform/x86: asus-wmi: Change ASUS_WMI_BRN_DOWN code from 
0x20 to 0x2e
52d54f1d4e03 platform/x86: intel-uncore-freq: Conditionally create 
attribute for read frequency
8a4b575d00ef platform/surface: platform_profile: Propagate error if profile 
registration fails
fec769b9fd25 s390/cio: fix a memleak in css_alloc_subchannel
7241c2627c14 selftests/ftrace: Add new test case which checks non unique 
symbol
324c31b0e0d7 s390/pci: fix iommu bitmap allocation
f6952655a612 perf: Disallow mis-matched inherited group reads
908c62800584 USB: serial: option: add Fibocom to DELL custom modem FM101R-GL
acced163ab6a USB: serial: option: add entry for Sierra EM9191 with new 
firmware
1dce40c9e6d8 USB: serial: option: add Telit LE910C4-WWX 0x1035 composition
59aa39697fc2 HID: input: map battery system charging
ea0e0473093f KVM: x86/mmu: Stop zapping invalidated TDP MMU roots 
asynchronously
3519cee444bc nvme-rdma: do not try to stop unallocated queues
bec9cb90fee1 nvmet-auth: complete a request only after freeing the dhchap 
pointers
0ec655ad659d nvme-pci: add BOGUS_NID for Intel 0a54 device
2c0b40c310a5 nvme: sanitize metadata bounce buffer for reads
a54974b0076f nfs42: client needs to strip file mode's suid/sgid bit after 
ALLOCATE op
8d69b47443e8 ACPI: irq: Fix incorrect return value in acpi_register_gsi()
c462bf4ef88a NFSv4.1: fixup use EXCHGID4_FLAG_USE_PNFS_DS for DS server
ab65424d618b pNFS/flexfiles: Check the layout validity in 
ff_layout_mirror_prepare_stats
730e16b7 pNFS: Fix a hang in nfs4_evict_inode()
fbd8b28fe4a2 Revert "pinctrl: avoid unsafe code pattern in find_pinctrl()"
c4b7b119c56c mmc: core: Capture correct oemid-bits for eMMC cards
85664ad23f8b mmc: core: sdio: hold retuning if sdio in 1-bit mode
aaa476a7ad50 mmc: mtk-sd: Use readl_poll_timeout_atomic in msdc_reset_hw
43f588b82070 mmc: sdhci-pci-gli: fix LPM negotiation so x86/S0ix SoCs can 
suspend
55c2428658ec dt-bindings: mmc: sdhci-msm: correct minimum number of clocks
73915d26b474 mtd: physmap-core: Restore map_rom fallback
578687563e71 mtd: spinand: micron: correct bitmask for ecc status
8b2b755a1a52 mtd: rawnand: arasan: Ensure program page operations are 
successful
58277212f576 mtd: rawnand: marvell: Ensure program page operations are 
successful
250feed792f8 mtd: rawnand: pl353: Ensure program page operations are 
successful
58454486132c mtd: rawnand: qcom: Unmap the right resource upon probe failure
a7f5558ec2db net/smc: fix smc clc failed issue when netdevice not in 
init_net
2efcdbef13c9 tcp_bpf: properly release resources on error paths
c3e70048ac25 selftests: openvswitch: Add version check for pyroute2
a1a9e57037e0 Bluetooth: hci_event: Fix using memcmp when comparing keys
758610516f0b ice: Remove redundant pci_enable_pcie_error_reporting()
ec9bc89a0188 tcp: allow again tcp_disconnect() when threads are waiting
9dc02f41d54e net/tls: split tls_rx_reader_lock
76f96854aa25 net/mlx5e: Don't offload internal port if filter device is out 
device
107ff0034bbc net/mlx5: Handle fw tracer change ownership event based on MTRC
0aa1e83a20f1 net/mlx5: 

[OE-core][nanbield 07/29] linux-yocto/6.1: update to v6.1.59

2023-12-12 Thread Steve Sakoman
From: Bruce Ashfield 

Updating  to the latest korg -stable release that comprises
the following commits:

7d24402875c7 Linux 6.1.59
eb26fa974c77 ALSA: hda/realtek - Fixed two speaker platform
54357fcafa73 powerpc/64e: Fix wrong test in __ptep_test_and_clear_young()
0afcc9d4a16d powerpc/8xx: Fix pte_access_permitted() for PAGE_NONE
9a995e11b23f dmaengine: mediatek: Fix deadlock caused by synchronize_irq()
01b19fc6621d dmaengine: idxd: use spin_lock_irqsave before 
wait_event_lock_irq
5b784489c815 x86/alternatives: Disable KASAN in apply_alternatives()
033c0d5101e5 usb: cdnsp: Fixes issue with dequeuing not queued requests
49fbc18378ae usb: gadget: ncm: Handle decoding of multiple NTB's in unwrap 
call
e5588fb39152 usb: gadget: udc-xilinx: replace memcpy with memcpy_toio
71d323072af7 usb: typec: ucsi: Clear EVENT_PENDING bit if ucsi_send_command 
fails
4d85f1ce6ca4 usb: typec: altmodes/displayport: Signal hpd low when exiting 
mode
bc6725085925 counter: microchip-tcb-capture: Fix the use of internal GCLK 
logic
0e3953b57735 counter: chrdev: fix getting array extensions
9f6b391b0486 scsi: ufs: core: Correct clear TM error log
97306abdeaca pinctrl: avoid unsafe code pattern in find_pinctrl()
d67b5a2b97b6 dma-buf: add dma_fence_timestamp helper
cb8f1dd1b73c cgroup: Remove duplicates in cgroup v1 tasks file
57e7696b7852 usb: typec: ucsi: Use GET_CAPABILITY attributes data to set 
power supply scope
062f16c4dd69 nfp: flower: avoid rmmod nfp crash issues
1db0724a01b5 mctp: perform route lookups under a RCU read-side lock
60c3e7a00db9 tee: amdtee: fix use-after-free vulnerability in 
amdtee_close_session
862aa9818153 Input: goodix - ensure int GPIO is in input for gpio_count == 
1 && gpio_int_idx == 0 case
fbfb99ac5d4a Input: i8042 - add Fujitsu Lifebook E5411 to i8042 quirk table
9c6a11a05bc7 Input: xpad - add PXN V900 support
211f71c1c0a7 Input: psmouse - fix fast_reconnect function for PS/2 mode
2efe67c581a2 Input: powermate - fix use-after-free in 
powermate_config_complete
4d6c1845cba2 ceph: fix type promotion bug on 32bit systems
9f43481c0d85 ceph: fix incorrect revoked caps assert in 
ceph_fill_file_size()
086d885c200d libceph: use kernel_connect()
8ac2689502f9 powerpc/47x: Fix 47x syscall return crash
434e3522b9bd thunderbolt: Restart XDomain discovery handshake after failure
5d206a77d48a thunderbolt: Check that lane 1 is in CL0 before enabling lane 
bonding
0cf7ee2cc6e6 thunderbolt: Workaround an IOMMU fault on certain systems with 
Intel Maple Ridge
23122e0c0e5d mcb: remove is_added flag from mcb_device struct
125f495fa66a x86/cpu: Fix AMD erratum #1485 on Zen4-based CPUs
386398949765 perf/x86/lbr: Filter vsyscall addresses
55b51187d257 ksmbd: not allow to open file if delelete on close bit is set
ac2d5e70fbb1 ACPI: EC: Add quirk for the HP Pavilion Gaming 15-dk1xxx
7aac2f2c0036 ACPI: resource: Skip IRQ override on ASUS ExpertBook B1402CBA
f0410917561c drm/amd/display: Don't set dpms_off for seamless boot
a61d905a8687 drm/amdgpu: add missing NULL check
0fb82afee55f drm/atomic-helper: relax unregistered connector check
5bab10496324 arm64: dts: mediatek: mt8195-demo: update and reorder reserved 
memory regions
f17e00fb0c9f arm64: dts: mediatek: mt8195-demo: fix the memory size to 8GB
ff42d244b372 iio: addac: Kconfig: update ad74413r selections
7d4ff34b6c33 iio: pressure: ms5611: ms5611_prom_is_valid false negative bug
b166ce527540 iio: pressure: dps310: Adjust Timeout Settings
e93a7677f0ba iio: admv1013: add mixer_vgate corner cases
8ab33ae244a9 iio: dac: ad3552r: Correct device IDs
a6bd5e165382 iio: adc: imx8qxp: Fix address for command buffer registers
92426b1f5f89 iio: imu: bno055: Fix missing Kconfig dependencies
187939163b97 iio: pressure: bmp280: Fix NULL pointer exception
88a204cc0c3d usb: musb: Modify the "HWVers" register address
fecb419c62c6 usb: musb: Get the musb_qh poniter after musb_giveback
fb9895ab9533 usb: hub: Guard against accesses to uninitialized BOS 
descriptors
1edbf4b2850e usb: cdns3: Modify the return value of cdns_set_active () to 
void when CONFIG_PM_SLEEP is disabled
357191036889 usb: dwc3: Soft reset phy on probe for host
ea9ae69b0e11 net: usb: dm9601: fix uninitialized variable use in 
dm9601_mdio_read
c5bfe67d9fa1 usb: xhci: xhci-ring: Use sysdev for mapping bounce buffer
f049b10affc5 dmaengine: stm32-mdma: set in_flight_bytes in case CRQA flag 
is set
721dbbabf14b dmaengine: stm32-mdma: use Link Address Register to compute 
residue
fe15819408bc dmaengine: stm32-dma: fix residue in case of MDMA chaining
1e3b981a25db dmaengine: stm32-dma: fix stm32_dma_prep_slave_sg in case of 
MDMA chaining
8e7dfe9c2ac8 dmaengine: stm32-mdma: abort resume if no ongoing transfer
0796c534242d tcp: enforce receive buffer memory limits 

[OE-core][nanbield 04/29] msmtp: upgrade 1.8.24 -> 1.8.25

2023-12-12 Thread Steve Sakoman
From: Wang Mingyu 

This is a bug fix release:

Generation of Message-ID headers was improved to avoid problems with rspamd 
assigning SPAM points
Documentation of ignored options was fixed
The combination of envelope from addresses with wildcards and automatic account 
selection was fixed (thanks to Jonathan Wakely)
Translations were updated, including a new Romanian translation (thanks again 
to everyone at translationproject.org)

Signed-off-by: Wang Mingyu 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 58fe8184f7ea475ad1be754e0de9a76cd4cd7c2e)
Signed-off-by: Steve Sakoman 
---
 .../recipes-extended/msmtp/{msmtp_1.8.24.bb => msmtp_1.8.25.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/msmtp/{msmtp_1.8.24.bb => msmtp_1.8.25.bb} (91%)

diff --git a/meta/recipes-extended/msmtp/msmtp_1.8.24.bb 
b/meta/recipes-extended/msmtp/msmtp_1.8.25.bb
similarity index 91%
rename from meta/recipes-extended/msmtp/msmtp_1.8.24.bb
rename to meta/recipes-extended/msmtp/msmtp_1.8.25.bb
index b8c867161b..b575fad5e1 100644
--- a/meta/recipes-extended/msmtp/msmtp_1.8.24.bb
+++ b/meta/recipes-extended/msmtp/msmtp_1.8.25.bb
@@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
 UPSTREAM_CHECK_URI = "https://marlam.de/msmtp/download/;
 
 SRC_URI = "https://marlam.de/${BPN}/releases/${BP}.tar.xz;
-SRC_URI[sha256sum] = 
"bd6644b1aaab17d61b86647993e3efad860b23c54283b00ddc579c1f5110aa59"
+SRC_URI[sha256sum] = 
"2dfe1dbbb397d26fe0b0b6b2e9cd2efdf9d72dd42d18e70d7f363ada2652d738"
 
 inherit gettext autotools update-alternatives pkgconfig
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192208): 
https://lists.openembedded.org/g/openembedded-core/message/192208
Mute This Topic: https://lists.openembedded.org/mt/103130287/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][nanbield 06/29] xserver-xorg: upgrade 21.1.8 -> 21.1.9

2023-12-12 Thread Steve Sakoman
From: Wang Mingyu 

Changelog:
===
-present: Send a PresentConfigureNotify event for destroyed windows
-Switch to libbsd-overlay
-Xi/randr: fix handling of PropModeAppend/Prepend
-mi: reset the PointerWindows reference on screen switch

Signed-off-by: Wang Mingyu 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 82e87caedf84dcf5a933dbfc92718ac1cdd29734)
Signed-off-by: Steve Sakoman 
---
 .../{xserver-xorg_21.1.8.bb => xserver-xorg_21.1.9.bb}  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-graphics/xorg-xserver/{xserver-xorg_21.1.8.bb => 
xserver-xorg_21.1.9.bb} (92%)

diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.8.bb 
b/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.9.bb
similarity index 92%
rename from meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.8.bb
rename to meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.9.bb
index 19db7ea434..43c06181e3 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.8.bb
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg_21.1.9.bb
@@ -3,7 +3,7 @@ require xserver-xorg.inc
 SRC_URI += 
"file://0001-xf86pciBus.c-use-Intel-ddx-only-for-pre-gen4-hardwar.patch \
file://0001-Avoid-duplicate-definitions-of-IOPortBase.patch \
"
-SRC_URI[sha256sum] = 
"38aadb735650c8024ee25211c190bf8aad844c5f59632761ab1ef4c4d5aeb152"
+SRC_URI[sha256sum] = 
"ff697be2011b4c4966b7806929e51b7a08e9d33800d505305d26d9ccde4b533a"
 
 # These extensions are now integrated into the server, so declare the migration
 # path for in-place upgrades.
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192210): 
https://lists.openembedded.org/g/openembedded-core/message/192210
Mute This Topic: https://lists.openembedded.org/mt/103130289/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][nanbield 05/29] glib-2.0: upgrade 2.78.0 -> 2.78.1

2023-12-12 Thread Steve Sakoman
From: Wang Mingyu 

Changelog:
=
* Fix truncating files when "g_file_set_contents_full()" is called without
  "G_FILE_SET_CONTENTS_CONSISTENT"

* Fix "-Dlibelf=disabled" on Linux

* Bugs fixed:
  - #3105 NetworkManager 1.44.0 crashes repeatedly with glib 2.78.0
  - #3111 gsubprocess-testprog.c: build error with cygwin (sys/ptrace.h: No such
file or directory)
  - #3116 gio clears modification time in microseconds when setting with
"set_modification_date_time"
  - #3120 Build of glib 2.78.0 ignores -Dlibelf=disabled
  - #3128 glib-2.78.0 fails at gio/tests/gsubprocess.p/gsubprocess.c.o
  - #3130 Segfault when creating GIO GPropertyAction without properties
  - #3144 "g_file_set_contents_full()" doesn't truncate the file (without
"G_FILE_SET_CONTENTS_CONSISTENT")
  - !3576 guniprop.c: Avoid creating (temporarily) out-of-bounds pointers
  - !3579 Fixes for integer cast warnings when targeting CHERI
  - !3580 Fix test_find_program on FreeBSD
  - !3589 gconstructor.h: Ensure [c|d]tor prototypes are present for MSVC
  - !3594 Fix gutils-user-database test on macOS
  - !3596 Add value annotation to G_TYPE_FUNDAMENTAL_MAX
  - !3601 meson: Fix Windows build with PCRE2 as sibling subproject
  - !3604 Backport !3589 "gconstructor.h: Ensure [c|d]tor prototypes are present
for MSVC" to glib-2-78
  - !3608 Backport !3587 "glocalfileinfo: Preserve microseconds for
access/modify times" to glib-2-78
  - !3609 Backport !3607 "Make sure the "GTask" is freed on a graceful
disconnect" to glib-2-78
  - !3614 Backport !3582 "Buffer needs to be aligned correctly to receive
linux_dirent64." to glib-2-78
  - !3616 Backport !3590 "gtestutils.h: Fix warning with -Wsign-conversion
caused by g_assert_cmpint" to glib-2-78
  - !3619 Backport !3617 "tests: Drop unnecessary include from gsubprocess-
testprog.c" to glib-2-78
  - !3622 Backport !3621 "wakeup: do single read when using eventfd()" to
glib-2-78
  - !3625 Backport !3624 "wakeup: Fix g_wakeup_acknowledge if signal comes in"
to glib-2-78
  - !3644 Backport !3633 "Use g_task_return in task threads" to glib-2-78
  - !3649 Backport !3648 "build: Fix -Dlibelf=disabled on Linux" to glib-2-78
  - !3659 Backport !3650 "gfileutils: Add a missing ftruncate() call when
writing files" to glib-2-78

Signed-off-by: Wang Mingyu 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 2a2df44ef1b413f1ae268a69e36ca796fc8c9d0b)
Signed-off-by: Steve Sakoman 
---
 .../glib-2.0/{glib-2.0_2.78.0.bb => glib-2.0_2.78.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-core/glib-2.0/{glib-2.0_2.78.0.bb => glib-2.0_2.78.1.bb} 
(96%)

diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.78.0.bb 
b/meta/recipes-core/glib-2.0/glib-2.0_2.78.1.bb
similarity index 96%
rename from meta/recipes-core/glib-2.0/glib-2.0_2.78.0.bb
rename to meta/recipes-core/glib-2.0/glib-2.0_2.78.1.bb
index 500e4e873e..a490262112 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.78.0.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.78.1.bb
@@ -19,7 +19,7 @@ SRC_URI:append:class-native = " file://relocate-modules.patch 
\
 
file://0001-meson.build-do-not-enable-pidfd-features-on-native-g.patch \
   "
 
-SRC_URI[sha256sum] = 
"44eaab8b720877ce303c5540b657b126f12dc94972d9880b52959f43fb537b30"
+SRC_URI[sha256sum] = 
"915bc3d0f8507d650ead3832e2f8fb670fce59aac4d7754a7dab6f1e6fed78b2"
 
 # Find any meson cross files in FILESPATH that are relevant for the current
 # build (using siteinfo) and add them to EXTRA_OEMESON.
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192209): 
https://lists.openembedded.org/g/openembedded-core/message/192209
Mute This Topic: https://lists.openembedded.org/mt/103130288/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][nanbield 03/29] libnsl2: upgrade 2.0.0 -> 2.0.1

2023-12-12 Thread Steve Sakoman
From: Wang Mingyu 

Changelog:
===
* Remove unused internal symbols from libnsl.map
* Remove NIS+ from documentation

Signed-off-by: Wang Mingyu 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 1c85811d3a31cd290c7cbc939663cd68d69d9146)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-extended/libnsl/libnsl2_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-extended/libnsl/libnsl2_git.bb 
b/meta/recipes-extended/libnsl/libnsl2_git.bb
index 7919ef9b24..8cc1f7cec3 100644
--- a/meta/recipes-extended/libnsl/libnsl2_git.bb
+++ b/meta/recipes-extended/libnsl/libnsl2_git.bb
@@ -10,9 +10,9 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 SECTION = "libs"
 DEPENDS = "libtirpc"
 
-PV = "2.0.0"
+PV = "2.0.1"
 
-SRCREV = "82245c0c58add79a8e34ab0917358217a70e5100"
+SRCREV = "d4b22e54b5e6637a69b26eab5faad2a326c9b182"
 
 SRC_URI = "git://github.com/thkukuk/libnsl;branch=master;protocol=https \
   "
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192207): 
https://lists.openembedded.org/g/openembedded-core/message/192207
Mute This Topic: https://lists.openembedded.org/mt/103130283/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][nanbield 02/29] libnewt: upgrade 0.52.23 -> 0.52.24

2023-12-12 Thread Steve Sakoman
From: Wang Mingyu 

Changelog:
===
- add support for python3.13
- fix compiler warnings

Signed-off-by: Wang Mingyu 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 3d97fe3848d68159c4b7119b0906c8388ce54a9a)
Signed-off-by: Steve Sakoman 
---
 .../newt/{libnewt_0.52.23.bb => libnewt_0.52.24.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-extended/newt/{libnewt_0.52.23.bb => libnewt_0.52.24.bb} 
(94%)

diff --git a/meta/recipes-extended/newt/libnewt_0.52.23.bb 
b/meta/recipes-extended/newt/libnewt_0.52.24.bb
similarity index 94%
rename from meta/recipes-extended/newt/libnewt_0.52.23.bb
rename to meta/recipes-extended/newt/libnewt_0.52.24.bb
index cd3731cf74..1e39a1c5ca 100644
--- a/meta/recipes-extended/newt/libnewt_0.52.23.bb
+++ b/meta/recipes-extended/newt/libnewt_0.52.24.bb
@@ -23,7 +23,7 @@ SRC_URI = "https://releases.pagure.org/newt/newt-${PV}.tar.gz 
\
file://0001-detect-gold-as-GNU-linker-too.patch \
"
 
-SRC_URI[sha256sum] = 
"caa372907b14ececfe298f0d512a62f41d33b290610244a58aed07bbc5ada12a"
+SRC_URI[sha256sum] = 
"5ded7e221f85f642521c49b1826c8de19845aa372baf5d630a51774b544fbdbb"
 
 S = "${WORKDIR}/newt-${PV}"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192206): 
https://lists.openembedded.org/g/openembedded-core/message/192206
Mute This Topic: https://lists.openembedded.org/mt/103130282/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][nanbield 01/29] vim: upgrade 9.0.2068 -> 9.0.2130

2023-12-12 Thread Steve Sakoman
From: Tim Orling 

https://github.com/vim/vim/compare/v9.0.2068...v9.0.2130

CVE: CVE-2023-48231
CVE: CVE-2023-48232
CVE: CVE-2023-48233
CVE: CVE-2023-48234
CVE: CVE-2023-48235
CVE: CVE-2023-48236
CVE: CVE-2023-48237

Signed-off-by: Tim Orling 
Signed-off-by: Alexandre Belloni 
(cherry picked from commit 5978d565a9e700485fc563dfe2e3c0045dd74b59)
Signed-off-by: Steve Sakoman 
---
 meta/recipes-support/vim/vim.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc
index a37310afd8..6b440d8947 100644
--- a/meta/recipes-support/vim/vim.inc
+++ b/meta/recipes-support/vim/vim.inc
@@ -19,8 +19,8 @@ SRC_URI = 
"git://github.com/vim/vim.git;branch=master;protocol=https \
file://no-path-adjust.patch \
"
 
-PV .= ".2068"
-SRCREV = "9198c1f2b1ddecde22af918541e0de2a32f0f45a"
+PV .= ".2130"
+SRCREV = "075ad7047457debfeef13442c01e74088b461092"
 
 # Do not consider .z in x.y.z, as that is updated with every commit
 UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+\.\d+)\.0"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192205): 
https://lists.openembedded.org/g/openembedded-core/message/192205
Mute This Topic: https://lists.openembedded.org/mt/103130280/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][nanbield 00/29] Patch review

2023-12-12 Thread Steve Sakoman
Please review this set of changes for nanbield and have comments back by
end of day Thursday, December 14

Passed a-full on autobuilder:

https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/6305

The following changes since commit c45f3e00189e034157996b88103a83efec3e0cf6:

  lib/oe/path: Deploy files can start only with a dot (2023-11-30 04:21:04 
-1000)

are available in the Git repository at:

  https://git.openembedded.org/openembedded-core-contrib stable/nanbield-nut
  
https://git.openembedded.org/openembedded-core-contrib/log/?h=stable/nanbield-nut

Bruce Ashfield (18):
  linux-yocto/6.1: update to v6.1.59
  linux-yocto/6.1: update to v6.1.60
  linux-yocto/6.5: update to v6.5.8
  linux-yocto/6.5: update to v6.5.9
  kern-tools: make lower context patches reproducible
  kern-tools: bump SRCREV for queue processing changes
  kern-tools: update SRCREV to include SECURITY.md file
  kernel-yocto: improve metadata patching
  linux-yocto/6.1: cfg: restore CONFIG_DEVMEM
  linux-yocto/6.1: update to v6.1.61
  linux-yocto/6.1: update to v6.1.62
  linux-yocto/6.1: update to v6.1.65
  linux-yocto/6.5: cfg: restore CONFIG_DEVMEM
  linux-yocto/6.5: update to v6.5.10
  linux-yocto/6.5: cfg: split runtime and symbol debug
  linux-yocto/6.5: update to v6.5.11
  linux-yocto/6.5: update to v6.5.12
  linux-yocto/6.5: update to v6.5.13

Dmitry Baryshkov (1):
  meson: use correct targets for rust binaries

Peter Kjellerstedt (1):
  oeqa/selftest/tinfoil: Add tests that parse virtual recipes

Richard Purdie (1):
  sstate: Ensure sstate searches update file mtime

Ross Burton (1):
  linux-yocto: update CVE exclusions

Tim Orling (1):
  vim: upgrade 9.0.2068 -> 9.0.2130

Wang Mingyu (5):
  libnewt: upgrade 0.52.23 -> 0.52.24
  libnsl2: upgrade 2.0.0 -> 2.0.1
  msmtp: upgrade 1.8.24 -> 1.8.25
  glib-2.0: upgrade 2.78.0 -> 2.78.1
  xserver-xorg: upgrade 21.1.8 -> 21.1.9

Zoltán Böszörményi (1):
  update_gtk_icon_cache: Fix for GTK4-only builds

 meta/classes-global/sstate.bbclass| 12 ++--
 meta/classes-recipe/kernel-yocto.bbclass  | 30 +++
 meta/classes-recipe/meson.bbclass |  4 +--
 meta/lib/oe/utils.py  | 12 
 meta/lib/oeqa/selftest/cases/tinfoil.py   | 25 +++-
 ...{glib-2.0_2.78.0.bb => glib-2.0_2.78.1.bb} |  2 +-
 meta/recipes-extended/libnsl/libnsl2_git.bb   |  4 +--
 .../{msmtp_1.8.24.bb => msmtp_1.8.25.bb}  |  2 +-
 ...{libnewt_0.52.23.bb => libnewt_0.52.24.bb} |  2 +-
 ...-xorg_21.1.8.bb => xserver-xorg_21.1.9.bb} |  2 +-
 .../kern-tools/kern-tools-native_git.bb   |  2 +-
 .../linux/cve-exclusion_6.1.inc   | 26 
 .../linux/cve-exclusion_6.5.inc   | 22 --
 .../linux/linux-yocto-rt_6.1.bb   |  6 ++--
 .../linux/linux-yocto-rt_6.5.bb   |  6 ++--
 .../linux/linux-yocto-tiny_6.1.bb |  6 ++--
 .../linux/linux-yocto-tiny_6.5.bb |  6 ++--
 meta/recipes-kernel/linux/linux-yocto_6.1.bb  | 28 -
 meta/recipes-kernel/linux/linux-yocto_6.5.bb  | 28 -
 meta/recipes-support/vim/vim.inc  |  4 +--
 .../postinst-intercepts/update_gtk_icon_cache |  6 +++-
 21 files changed, 159 insertions(+), 76 deletions(-)
 rename meta/recipes-core/glib-2.0/{glib-2.0_2.78.0.bb => glib-2.0_2.78.1.bb} 
(96%)
 rename meta/recipes-extended/msmtp/{msmtp_1.8.24.bb => msmtp_1.8.25.bb} (91%)
 rename meta/recipes-extended/newt/{libnewt_0.52.23.bb => libnewt_0.52.24.bb} 
(94%)
 rename meta/recipes-graphics/xorg-xserver/{xserver-xorg_21.1.8.bb => 
xserver-xorg_21.1.9.bb} (92%)

-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192204): 
https://lists.openembedded.org/g/openembedded-core/message/192204
Mute This Topic: https://lists.openembedded.org/mt/103130279/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH][kirkstone] openssh: drop sudo from ptest dependencies

2023-12-12 Thread Mikko Rapeli
The tests don't actually need sudo on core-image-ptest-openssh.
Based on logs seen in
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178 it seems
that socket errors from sudo are creeping into stderr which are failing
the banner ptest from openssh. Removing sudo should help removing
the stderr messages and possibly cure the banner test failures.

(From OE-Core rev: 47e754f483b674b207bfddcc8d4c5d9a3008e102)

Signed-off-by: Mikko Rapeli 
Signed-off-by: Richard Purdie 
---
 meta/recipes-connectivity/openssh/openssh/run-ptest | 2 +-
 meta/recipes-connectivity/openssh/openssh_8.9p1.bb  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

v1: Issue https://bugzilla.yoctoproject.org/show_bug.cgi?id=15178 was still 
seen on kirkstone
branch so cherry-pick the master/nanbield commit

diff --git a/meta/recipes-connectivity/openssh/openssh/run-ptest 
b/meta/recipes-connectivity/openssh/openssh/run-ptest
index 8a9b770d59..9a406e9b65 100755
--- a/meta/recipes-connectivity/openssh/openssh/run-ptest
+++ b/meta/recipes-connectivity/openssh/openssh/run-ptest
@@ -5,7 +5,7 @@ export SKIP_UNIT=1
 
 cd regress
 sed -i "/\t\tagent-ptrace /d" Makefile
-make -k BUILDDIR=`pwd`/.. .OBJDIR=`pwd` .CURDIR=`pwd` SUDO="sudo" tests \
+make -k BUILDDIR=`pwd`/.. .OBJDIR=`pwd` .CURDIR=`pwd` SUDO="" tests \
 | sed -u -e 's/^skipped/SKIP: /g' -e 's/^ok /PASS: /g' -e 
's/^failed/FAIL: /g'
 
 SSHAGENT=`which ssh-agent`
diff --git a/meta/recipes-connectivity/openssh/openssh_8.9p1.bb 
b/meta/recipes-connectivity/openssh/openssh_8.9p1.bb
index da7ab7716c..32761b8bb8 100644
--- a/meta/recipes-connectivity/openssh/openssh_8.9p1.bb
+++ b/meta/recipes-connectivity/openssh/openssh_8.9p1.bb
@@ -170,7 +170,7 @@ RDEPENDS:${PN}-sshd += "${PN}-keygen 
${@bb.utils.contains('DISTRO_FEATURES', 'pa
 # conflict with each other
 RDEPENDS:${PN}-dev = ""
 # gdb would make attach-ptrace test pass rather than skip but not worth the 
build dependencies
-RDEPENDS:${PN}-ptest += "${PN}-sftp ${PN}-misc ${PN}-sftp-server make sed sudo 
coreutils"
+RDEPENDS:${PN}-ptest += "${PN}-sftp ${PN}-misc ${PN}-sftp-server make sed 
coreutils"
 
 RPROVIDES:${PN}-ssh = "ssh"
 RPROVIDES:${PN}-sshd = "sshd"
-- 
2.39.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192203): 
https://lists.openembedded.org/g/openembedded-core/message/192203
Mute This Topic: https://lists.openembedded.org/mt/103129959/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 2/9] glib-2.0: no need to depend on target gtk-doc

2023-12-12 Thread Ross Burton
From: Ross Burton 

The meson.build looks for a target gtk-doc, but it should be looking for
the native package.

Fixing this means we can drop the need for a target gtk-doc package.

Signed-off-by: Ross Burton 
---
 .../glib-2.0/glib-2.0/native-gtkdoc.patch | 21 +++
 meta/recipes-core/glib-2.0/glib-2.0_2.78.1.bb |  1 +
 meta/recipes-core/glib-2.0/glib.inc   |  2 --
 3 files changed, 22 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/native-gtkdoc.patch

diff --git a/meta/recipes-core/glib-2.0/glib-2.0/native-gtkdoc.patch 
b/meta/recipes-core/glib-2.0/glib-2.0/native-gtkdoc.patch
new file mode 100644
index 000..f56c2b85640
--- /dev/null
+++ b/meta/recipes-core/glib-2.0/glib-2.0/native-gtkdoc.patch
@@ -0,0 +1,21 @@
+docs/reference: depend on a native gtk-doc
+
+In a cross-compiled environment we don't need a target gtk-doc, but a
+native gtk-doc.
+
+Upstream-Status: Backport [f3ff370d1b24f8afb51cd4e865593d5b678188a9]
+Signed-off-by: Ross Burton 
+
+diff --git a/docs/reference/meson.build b/docs/reference/meson.build
+index c417ffecb..67c1dda56 100644
+--- a/docs/reference/meson.build
 b/docs/reference/meson.build
+@@ -42,7 +42,7 @@ ignore_decorators = '|'.join(ignore_decorators)
+ if get_option('gtk_doc')
+   # Check we have the minimum gtk-doc version required. Older versions won't
+   # generate correct documentation.
+-  dependency('gtk-doc', version : '>=1.32.1',
++  dependency('gtk-doc', version : '>=1.32.1', native: true,
+ fallback : ['gtk-doc', 'dummy_dep'],
+ default_options : ['tests=false'])
+ 
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.78.1.bb 
b/meta/recipes-core/glib-2.0/glib-2.0_2.78.1.bb
index a4902621122..3a1dc5ff0c9 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.78.1.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.78.1.bb
@@ -14,6 +14,7 @@ SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz 
\
file://0001-Do-not-write-bindir-into-pkg-config-files.patch \
file://0001-meson-Run-atomics-test-on-clang-as-well.patch \

file://0001-gio-tests-resources.c-comment-out-a-build-host-only-.patch \
+   file://native-gtkdoc.patch \
"
 SRC_URI:append:class-native = " file://relocate-modules.patch \ 
 
file://0001-meson.build-do-not-enable-pidfd-features-on-native-g.patch \
diff --git a/meta/recipes-core/glib-2.0/glib.inc 
b/meta/recipes-core/glib-2.0/glib.inc
index fbf3a39b15f..a2ce7de20d4 100644
--- a/meta/recipes-core/glib-2.0/glib.inc
+++ b/meta/recipes-core/glib-2.0/glib.inc
@@ -30,8 +30,6 @@ LEAD_SONAME = "libglib-2.0.*"
 
 inherit meson gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even 
bash-completion gio-module-cache manpages
 
-DEPENDS:append:class-target = "${@' gtk-doc' if d.getVar('GTKDOC_ENABLED') == 
'True' else ''}"
-
 GTKDOC_MESON_OPTION = "gtk_doc"
 
 S = "${WORKDIR}/glib-${PV}"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192195): 
https://lists.openembedded.org/g/openembedded-core/message/192195
Mute This Topic: https://lists.openembedded.org/mt/103129924/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 8/9] kmod: fix configure with autopoint calling gtkdocize

2023-12-12 Thread Ross Burton
From: Ross Burton 

GTKDOC_DOCDIR is obsolete now, so fix the build by passing the
documentation directory in the GTK_DOC_CHECK call.

Signed-off-by: Ross Burton 
---
 meta/recipes-kernel/kmod/kmod/gtkdocdir.patch | 33 +++
 meta/recipes-kernel/kmod/kmod_31.bb   |  3 +-
 2 files changed, 34 insertions(+), 2 deletions(-)
 create mode 100644 meta/recipes-kernel/kmod/kmod/gtkdocdir.patch

diff --git a/meta/recipes-kernel/kmod/kmod/gtkdocdir.patch 
b/meta/recipes-kernel/kmod/kmod/gtkdocdir.patch
new file mode 100644
index 000..a34ea466e8e
--- /dev/null
+++ b/meta/recipes-kernel/kmod/kmod/gtkdocdir.patch
@@ -0,0 +1,33 @@
+From dd59095f70f774f6d1e767010e25b35ef6db4c4b Mon Sep 17 00:00:00 2001
+From: Ross Burton 
+Date: Fri, 8 Dec 2023 22:35:45 +
+Subject: [PATCH] configure: set docdir in GTK_DOC_CHECK
+
+By passing --docdir in the GTK_DOC_CHECK arguments (to match
+autogen.sh) autoreconf will work out of the box.
+
+Without this autoreconf fails due to the documentation not being in
+./docs, the default location.
+
+Upstream-Status: Submitted 
[https://lore.kernel.org/linux-modules/20231208224511.1363066-1-ross.bur...@arm.com/T/#u]
+Signed-off-by: Ross Burton 
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index de01e08..67696c4 100644
+--- a/configure.ac
 b/configure.ac
+@@ -255,7 +255,7 @@ AS_IF([test "x$enable_coverage" = "xyes"], [
+ AM_CONDITIONAL([ENABLE_COVERAGE], [test "x$enable_coverage" = "xyes"])
+ 
+ m4_ifdef([GTK_DOC_CHECK], [
+-GTK_DOC_CHECK([1.14],[--flavour no-tmpl-flat])
++GTK_DOC_CHECK([1.14],[--flavour no-tmpl-flat --docdir libkmod/docs])
+ ], [
+ AM_CONDITIONAL([ENABLE_GTK_DOC], false)])
+ 
+-- 
+2.34.1
+
diff --git a/meta/recipes-kernel/kmod/kmod_31.bb 
b/meta/recipes-kernel/kmod/kmod_31.bb
index 934a678a062..f8e83d5db63 100644
--- a/meta/recipes-kernel/kmod/kmod_31.bb
+++ b/meta/recipes-kernel/kmod/kmod_31.bb
@@ -20,6 +20,7 @@ SRCREV = "aff617ea871d0568cc491bd116c0be1e857463bb"
 SRC_URI = 
"git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git;branch=master;protocol=https
 \
file://depmod-search.conf \
file://avoid_parallel_tests.patch \
+   file://gtkdocdir.patch \
"
 
 S = "${WORKDIR}/git"
@@ -35,8 +36,6 @@ PACKAGECONFIG[xz] = "--with-xz,--without-xz,xz"
 PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
 PACKAGECONFIG[zstd] = "--with-zstd,--without-zstd,zstd"
 
-GTKDOC_DOCDIR = "${S}/libkmod/docs"
-
 PROVIDES += "module-init-tools-insmod-static module-init-tools-depmod 
module-init-tools"
 RPROVIDES:${PN} += "module-init-tools-insmod-static module-init-tools-depmod 
module-init-tools"
 RCONFLICTS:${PN} += "module-init-tools-insmod-static module-init-tools-depmod 
module-init-tools"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192201): 
https://lists.openembedded.org/g/openembedded-core/message/192201
Mute This Topic: https://lists.openembedded.org/mt/103129931/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 9/9] util-linux: ensure gtkdocize isn't called

2023-12-12 Thread Ross Burton
From: Ross Burton 

autoreconf will see that the configure.ac uses gtk-doc and will call
gtkdocize, but we can't actually build the documentation due to
dependency loops so forcibly tell autoreconf not to do this.

Signed-off-by: Ross Burton 
---
 meta/recipes-core/util-linux/util-linux.inc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/recipes-core/util-linux/util-linux.inc 
b/meta/recipes-core/util-linux/util-linux.inc
index 952a680a849..5592c14b732 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -39,3 +39,6 @@ SRC_URI = 
"${KERNELORG_MIRROR}/linux/utils/util-linux/v${MAJOR_VERSION}/util-lin
"
 
 SRC_URI[sha256sum] = 
"87abdfaa8e490f8be6dde976f7c80b9b5ff9f301e1b67e3899e1f05a59a1531f"
+
+# gtk-doc is not enabled as it requires xmlto which requires util-linux
+EXTRA_AUTORECONF += "--exclude=gtkdocize"
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192202): 
https://lists.openembedded.org/g/openembedded-core/message/192202
Mute This Topic: https://lists.openembedded.org/mt/103129932/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 7/9] gtk-doc: don't manually call gtkdocize

2023-12-12 Thread Ross Burton
From: Ross Burton 

The autoreconf call will now call gtkdocize if needed, so we don't need
to run it manually here.

This obsoletes GTKDOC_DOCDIR.  If this is needed then the replacement is
to ensure that the configure.ac has a call to GTK_DOC_CHECK which passes
--docdir.

For example, this is the change required for kmod:

-GTK_DOC_CHECK([1.14],[--flavour no-tmpl-flat])
+GTK_DOC_CHECK([1.14],[--flavour no-tmpl-flat --docdir libkmod/docs])

Signed-off-by: Ross Burton 
---
 meta/classes-recipe/gtk-doc.bbclass | 10 --
 1 file changed, 10 deletions(-)

diff --git a/meta/classes-recipe/gtk-doc.bbclass 
b/meta/classes-recipe/gtk-doc.bbclass
index c980c6bb52d..9d3911966bb 100644
--- a/meta/classes-recipe/gtk-doc.bbclass
+++ b/meta/classes-recipe/gtk-doc.bbclass
@@ -33,21 +33,11 @@ EXTRA_OEMESON:prepend = 
"-D${GTKDOC_MESON_OPTION}=${@bb.utils.contains('GTKDOC_E
 # needed for m4 macros.
 DEPENDS:append = " gtk-doc-native"
 
-# The documentation directory, where the infrastructure will be copied.
-# gtkdocize has a default of "." so to handle out-of-tree builds set this to 
$S.
-GTKDOC_DOCDIR ?= "${S}"
-
 export STAGING_DIR_HOST
 
 inherit python3native pkgconfig qemu
 DEPENDS:append = "${@' qemu-native' if d.getVar('GTKDOC_ENABLED') == 'True' 
else ''}"
 
-do_configure:prepend () {
-   # Need to use ||true as this is only needed if configure.ac both exists
-   # and uses GTK_DOC_CHECK.
-   gtkdocize --srcdir ${S} --docdir ${GTKDOC_DOCDIR} || true
-}
-
 do_compile:prepend:class-target () {
 if [ ${GTKDOC_ENABLED} = True ]; then
 # Write out a qemu wrapper that will be given to gtkdoc-scangobj so 
that it
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192200): 
https://lists.openembedded.org/g/openembedded-core/message/192200
Mute This Topic: https://lists.openembedded.org/mt/103129930/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 5/9] gtk-doc: remove obsolete logic

2023-12-12 Thread Ross Burton
From: Ross Burton 

This manual disabling of gtk-doc for autotools and meson in native and
nativesdk builds is replicating logic above for target builds.

Instead, use one assignment for all builds, as we explicitly disable
gtk-doc in native builds and it can be useful in nativesdk.

Signed-off-by: Ross Burton 
---
 meta/classes-recipe/gtk-doc.bbclass | 11 ++-
 1 file changed, 2 insertions(+), 9 deletions(-)

diff --git a/meta/classes-recipe/gtk-doc.bbclass 
b/meta/classes-recipe/gtk-doc.bbclass
index 68fa2cc7451..c980c6bb52d 100644
--- a/meta/classes-recipe/gtk-doc.bbclass
+++ b/meta/classes-recipe/gtk-doc.bbclass
@@ -25,16 +25,9 @@ GTKDOC_MESON_ENABLE_FLAG ?= 'true'
 GTKDOC_MESON_DISABLE_FLAG ?= 'false'
 
 # Auto enable/disable based on GTKDOC_ENABLED
-EXTRA_OECONF:prepend:class-target = "${@bb.utils.contains('GTKDOC_ENABLED', 
'True', '--enable-gtk-doc --enable-gtk-doc-html --disable-gtk-doc-pdf', \
+EXTRA_OECONF:prepend = "${@bb.utils.contains('GTKDOC_ENABLED', 'True', 
'--enable-gtk-doc --enable-gtk-doc-html --disable-gtk-doc-pdf', \

 '--disable-gtk-doc', d)} "
-EXTRA_OEMESON:prepend:class-target = 
"-D${GTKDOC_MESON_OPTION}=${@bb.utils.contains('GTKDOC_ENABLED', 'True', 
'${GTKDOC_MESON_ENABLE_FLAG}', '${GTKDOC_MESON_DISABLE_FLAG}', d)} "
-
-# When building native recipes, disable gtkdoc, as it is not necessary,
-# pulls in additional dependencies, and makes build times longer
-EXTRA_OECONF:prepend:class-native = "--disable-gtk-doc "
-EXTRA_OECONF:prepend:class-nativesdk = "--disable-gtk-doc "
-EXTRA_OEMESON:prepend:class-native = 
"-D${GTKDOC_MESON_OPTION}=${GTKDOC_MESON_DISABLE_FLAG} "
-EXTRA_OEMESON:prepend:class-nativesdk = 
"-D${GTKDOC_MESON_OPTION}=${GTKDOC_MESON_DISABLE_FLAG} "
+EXTRA_OEMESON:prepend = 
"-D${GTKDOC_MESON_OPTION}=${@bb.utils.contains('GTKDOC_ENABLED', 'True', 
'${GTKDOC_MESON_ENABLE_FLAG}', '${GTKDOC_MESON_DISABLE_FLAG}', d)} "
 
 # Even though gtkdoc is disabled on -native, gtk-doc package is still
 # needed for m4 macros.
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192198): 
https://lists.openembedded.org/g/openembedded-core/message/192198
Mute This Topic: https://lists.openembedded.org/mt/103129928/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 6/9] gtk-doc: don't use docdir set in environment in gtkdocize

2023-12-12 Thread Ross Burton
From: Ross Burton 

The gtkdocize script was accidentally respecting $docdir from the
environment as the default documentation directory. This is a problem as
bitbake.conf exports $docdir, resulting in configure failures.

Signed-off-by: Ross Burton 
---
 ...01-Don-t-use-docdir-from-environment.patch | 24 +++
 meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb  |  1 +
 2 files changed, 25 insertions(+)
 create mode 100644 
meta/recipes-gnome/gtk-doc/files/0001-Don-t-use-docdir-from-environment.patch

diff --git 
a/meta/recipes-gnome/gtk-doc/files/0001-Don-t-use-docdir-from-environment.patch 
b/meta/recipes-gnome/gtk-doc/files/0001-Don-t-use-docdir-from-environment.patch
new file mode 100644
index 000..f40124877c3
--- /dev/null
+++ 
b/meta/recipes-gnome/gtk-doc/files/0001-Don-t-use-docdir-from-environment.patch
@@ -0,0 +1,24 @@
+From 72dfeec0e49478b0bfb471c4155044391bad8e6c Mon Sep 17 00:00:00 2001
+From: Ross Burton 
+Date: Fri, 8 Dec 2023 10:35:25 +
+Subject: [PATCH] Don't use docdir from environment
+
+Upstream-Status: Submitted 
[https://gitlab.gnome.org/GNOME/gtk-doc/-/merge_requests/73]
+Signed-off-by: Ross Burton 
+---
+ buildsystems/autotools/gtkdocize.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/buildsystems/autotools/gtkdocize.in 
b/buildsystems/autotools/gtkdocize.in
+index 83127bf..76dcbfd 100755
+--- a/buildsystems/autotools/gtkdocize.in
 b/buildsystems/autotools/gtkdocize.in
+@@ -39,7 +39,7 @@ set - $args
+ 
+ # assume working directory if srcdir is not set
+ test "$srcdir" || srcdir=.
+-test "$docdir" || docdir="$srcdir"
++docdir="$srcdir"
+ 
+ # detect configure script
+ no_configure_found=0
diff --git a/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb 
b/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb
index 2e8ab1c771a..7c366737da5 100644
--- a/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb
+++ b/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb
@@ -26,6 +26,7 @@ SRC_URI += 
"file://0001-Do-not-hardocode-paths-to-perl-python-in-scripts.patch \
file://0001-Do-not-error-out-if-xsltproc-is-not-found.patch \
file://conditionaltests.patch \
file://no-clobber.patch \
+   file://0001-Don-t-use-docdir-from-environment.patch \
"
 SRC_URI:append:class-native = " file://pkg-config-native.patch"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192199): 
https://lists.openembedded.org/g/openembedded-core/message/192199
Mute This Topic: https://lists.openembedded.org/mt/103129929/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 3/9] autotools: append to EXTRA_AUTORECONF

2023-12-12 Thread Ross Burton
From: Ross Burton 

Inherit order may mean that this class is inherited after assignments,
so extend instead of assign EXTRA_AUTORECONF.

Signed-off-by: Ross Burton 
---
 meta/classes-recipe/autotools.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-recipe/autotools.bbclass 
b/meta/classes-recipe/autotools.bbclass
index 1663307b061..12881a31ec9 100644
--- a/meta/classes-recipe/autotools.bbclass
+++ b/meta/classes-recipe/autotools.bbclass
@@ -37,7 +37,7 @@ inherit siteinfo
 export CONFIG_SITE
 
 acpaths ?= "default"
-EXTRA_AUTORECONF = "--exclude=autopoint --exclude=gtkdocize"
+EXTRA_AUTORECONF += "--exclude=autopoint --exclude=gtkdocize"
 
 export lt_cv_sys_lib_dlsearch_path_spec = "${libdir} ${base_libdir}"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192196): 
https://lists.openembedded.org/g/openembedded-core/message/192196
Mute This Topic: https://lists.openembedded.org/mt/103129926/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 4/9] autotools: don't exclude gtkdocize

2023-12-12 Thread Ross Burton
From: Ross Burton 

gtkdocize can now be ran successfully from autoreconf, so there's no
need to exclude it and run it manually.

Signed-off-by: Ross Burton 
---
 meta/classes-recipe/autotools.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-recipe/autotools.bbclass 
b/meta/classes-recipe/autotools.bbclass
index 12881a31ec9..ca76cde0e74 100644
--- a/meta/classes-recipe/autotools.bbclass
+++ b/meta/classes-recipe/autotools.bbclass
@@ -37,7 +37,7 @@ inherit siteinfo
 export CONFIG_SITE
 
 acpaths ?= "default"
-EXTRA_AUTORECONF += "--exclude=autopoint --exclude=gtkdocize"
+EXTRA_AUTORECONF += "--exclude=autopoint"
 
 export lt_cv_sys_lib_dlsearch_path_spec = "${libdir} ${base_libdir}"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192197): 
https://lists.openembedded.org/g/openembedded-core/message/192197
Mute This Topic: https://lists.openembedded.org/mt/103129927/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 0/9] Let autoreconf run gtkdocize

2023-12-12 Thread Ross Burton
From: Ross Burton 

Hi,

This series is the result of a distraction whilst yak-shaving on autoconf...

Essentially: let autoreconf run gtkdocize, instead of running it by hand. This
needed some small fixes but mostly removes special-cases.

There are some followup patches needed for meta-oe, which I will send when this
is merged.

Ross

Ross Burton (9):
  nativesdk: ensure features don't get backfilled
  glib-2.0: no need to depend on target gtk-doc
  autotools: append to EXTRA_AUTORECONF
  autotools: don't exclude gtkdocize
  gtk-doc: remove obsolete logic
  gtk-doc: don't use docdir set in environment in gtkdocize
  gtk-doc: don't manually call gtkdocize
  kmod: fix configure with autopoint calling gtkdocize
  util-linux: ensure gtkdocize isn't called

 meta/classes-recipe/autotools.bbclass |  2 +-
 meta/classes-recipe/gtk-doc.bbclass   | 21 ++--
 meta/classes-recipe/nativesdk.bbclass |  3 ++
 .../glib-2.0/glib-2.0/native-gtkdoc.patch | 21 
 meta/recipes-core/glib-2.0/glib-2.0_2.78.1.bb |  1 +
 meta/recipes-core/glib-2.0/glib.inc   |  2 --
 meta/recipes-core/util-linux/util-linux.inc   |  3 ++
 ...01-Don-t-use-docdir-from-environment.patch | 24 ++
 meta/recipes-gnome/gtk-doc/gtk-doc_1.33.2.bb  |  1 +
 meta/recipes-kernel/kmod/kmod/gtkdocdir.patch | 33 +++
 meta/recipes-kernel/kmod/kmod_31.bb   |  3 +-
 11 files changed, 90 insertions(+), 24 deletions(-)
 create mode 100644 meta/recipes-core/glib-2.0/glib-2.0/native-gtkdoc.patch
 create mode 100644 
meta/recipes-gnome/gtk-doc/files/0001-Don-t-use-docdir-from-environment.patch
 create mode 100644 meta/recipes-kernel/kmod/kmod/gtkdocdir.patch

-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192194): 
https://lists.openembedded.org/g/openembedded-core/message/192194
Mute This Topic: https://lists.openembedded.org/mt/103129923/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH 1/9] nativesdk: ensure features don't get backfilled

2023-12-12 Thread Ross Burton
From: Ross Burton 

nativesdk aims to run in a slightly different environment than the
target build, so it unsets MACHINE_FEATURES and lets DISTRO_FEATURES be
filtered by DISTRO_FEATURES_NATIVESDK (in bitbake.conf).

However, feature backfill happens _after_ these operations:

 $ bitbake-getvar -r nativesdk-glib-2.0 MACHINE_FEATURES
 #
 # $MACHINE_FEATURES [5 operations]
 #   set /home/ross/Yocto/poky/meta/conf/machine/include/qemu.inc:14
 # "alsa bluetooth usbgadget screen vfat"
 #   set /home/ross/Yocto/poky/meta/conf/documentation.conf:284
 # [doc] "Specifies the list of hardware features the MACHINE supports."
 #   set? /home/ross/Yocto/poky/meta/conf/bitbake.conf:893
 # ""
 #   set /home/ross/Yocto/poky/meta/classes-recipe/nativesdk.bbclass:18
 # ""
 #   append utils.py:132 [features_backfill]
 # " rtc qemu-usermode"
 # pre-expansion value:
 #   " rtc qemu-usermode"
 MACHINE_FEATURES=" rtc qemu-usermode"

I don't believe this is intentional or desired as the machine features
are unrelated to the nativesdk environment.  Specifically, this means
that recipes that look for the qemu-usermode machine feature will fail
in nativesdk as there may not actually be qemu-user support for the
nativesdk environment.

Signed-off-by: Ross Burton 
---
 meta/classes-recipe/nativesdk.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes-recipe/nativesdk.bbclass 
b/meta/classes-recipe/nativesdk.bbclass
index 08288fdb733..ccaf411f0d7 100644
--- a/meta/classes-recipe/nativesdk.bbclass
+++ b/meta/classes-recipe/nativesdk.bbclass
@@ -15,7 +15,10 @@ NATIVESDKLIBC ?= "libc-glibc"
 LIBCOVERRIDE = ":${NATIVESDKLIBC}"
 CLASSOVERRIDE = "class-nativesdk"
 MACHINEOVERRIDES = ""
+
 MACHINE_FEATURES = ""
+DISTRO_FEATURES_BACKFILL = ""
+MACHINE_FEATURES_BACKFILL = ""
 
 MULTILIBS = ""
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192193): 
https://lists.openembedded.org/g/openembedded-core/message/192193
Mute This Topic: https://lists.openembedded.org/mt/103129922/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] [PATCH] wic: use E2FSPROGS_FAKE_TIME and hash_seed to generate reproducible ext4 images

2023-12-12 Thread Venkata Pyla
From: venkata pyla 

E2FSPROGS_FAKE_TIME: sets fixed times for the inodes in the file system.
hash_seed: creates reproducible directory indexes in the file system.

Reference commit in e2fsprogs: e1f7100643a46456be107b33098f6034b0835e6d

Signed-off-by: venkata pyla 
---
 scripts/lib/wic/partition.py | 11 +++
 1 file changed, 11 insertions(+)

diff --git a/scripts/lib/wic/partition.py b/scripts/lib/wic/partition.py
index b1a2306dd1..8e2273ca2f 100644
--- a/scripts/lib/wic/partition.py
+++ b/scripts/lib/wic/partition.py
@@ -284,6 +284,17 @@ class Partition():
 
 extraopts = self.mkfs_extraopts or "-F -i 8192"
 
+if os.getenv('SOURCE_DATE_EPOCH'):
+sde_time = int(os.getenv('SOURCE_DATE_EPOCH'))
+pseudo = "export E2FSPROGS_FAKE_TIME=%s;%s" % (sde_time, pseudo)
+
+# Set hash_seed to generate deterministic directory indexes
+namespace = uuid.UUID("e7429877-e7b3-4a68-a5c9-2f2fdf33d460")
+if self.fsuuid:
+namespace = uuid.UUID(self.fsuuid)
+hash_seed = str(uuid.uuid5(namespace, str(sde_time)))
+extraopts += " -E hash_seed=%s" % hash_seed
+
 label_str = ""
 if self.label:
 label_str = "-L %s" % self.label
-- 
2.20.1



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192192): 
https://lists.openembedded.org/g/openembedded-core/message/192192
Mute This Topic: https://lists.openembedded.org/mt/103129684/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



Re: [OE-Core][PATCH 7/7] rust: Upgrade 1.73.0 -> 1.74.0

2023-12-12 Thread Alex Kiernan
On Sat, Dec 9, 2023 at 2:06 PM Alex Kiernan via lists.openembedded.org
 wrote:
>
> On Sat, Dec 9, 2023 at 12:18 PM Alexandre Belloni
>  wrote:
> >
> > Hello Alex,
> >
> > rust 1.74.0 is not reproducible:
> > https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20231208-rfbproj4/packages/diff-html/
> >
>
> Thanks, I think :)
>

One observation, which might be useful, these failures are all inside
the same module src/llvm-project/compiler-rt/lib/builtins which are
just a bunch of intrinsics. And as far as I can see it looks like it's
just the object name mangling that's not reproducible.

-- 
Alex Kiernan

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192191): 
https://lists.openembedded.org/g/openembedded-core/message/192191
Mute This Topic: https://lists.openembedded.org/mt/103055169/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core] linux-yocto 6.6

2023-12-12 Thread Dmitry Baryshkov
Hello,

Granted that 6.5 is declared EOL, is there any timeline for the
linux-yocto 6.6 recipe?

-- 
With best wishes
Dmitry

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#192190): 
https://lists.openembedded.org/g/openembedded-core/message/192190
Mute This Topic: https://lists.openembedded.org/mt/103127485/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[OE-core][master][PATCH] avahi: backport CVE-2023-1981 & CVE's follow-up patches

2023-12-12 Thread Vijay Anusuri via lists.openembedded.org
From: Vijay Anusuri 

import patches from ubuntu to fix
 CVE-2023-1981
 CVE-2023-38469-2
 CVE-2023-38470-2
 CVE-2023-38471-2

Upstream-Status: Backport [import from ubuntu 
https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches?h=ubuntu/jammy-security
Upstream commit
https://github.com/lathiat/avahi/commit/a2696da2f2c50ac43b6c4903f72290d5c3fa9f6f
&
https://github.com/lathiat/avahi/commit/c6cab87df290448a63323c8ca759baa516166237
&
https://github.com/lathiat/avahi/commit/94cb6489114636940ac683515417990b55b5d66c
&
https://github.com/lathiat/avahi/commit/b675f70739f404342f7f78635d6e2dcd85a13460]

Ref: 
https://git.openembedded.org/openembedded-core-contrib/commit/?h=stable/nanbield-nut=a9203c46cd64c3ec5e5b00e381bbac85733f85df

Signed-off-by: Vijay Anusuri 
---
 meta/recipes-connectivity/avahi/avahi_0.8.bb  | 10 ++-
 .../avahi/files/CVE-2023-1981.patch   | 58 +
 ...023-38469.patch => CVE-2023-38469-1.patch} |  0
 .../avahi/files/CVE-2023-38469-2.patch| 65 +++
 ...023-38470.patch => CVE-2023-38470-1.patch} |  0
 .../avahi/files/CVE-2023-38470-2.patch| 52 +++
 ...023-38471.patch => CVE-2023-38471-1.patch} |  0
 .../avahi/files/CVE-2023-38471-2.patch| 52 +++
 .../avahi/files/CVE-2023-38472.patch  | 44 ++---
 9 files changed, 256 insertions(+), 25 deletions(-)
 create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-1981.patch
 rename meta/recipes-connectivity/avahi/files/{CVE-2023-38469.patch => 
CVE-2023-38469-1.patch} (100%)
 create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-38469-2.patch
 rename meta/recipes-connectivity/avahi/files/{CVE-2023-38470.patch => 
CVE-2023-38470-1.patch} (100%)
 create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-38470-2.patch
 rename meta/recipes-connectivity/avahi/files/{CVE-2023-38471.patch => 
CVE-2023-38471-1.patch} (100%)
 create mode 100644 meta/recipes-connectivity/avahi/files/CVE-2023-38471-2.patch

diff --git a/meta/recipes-connectivity/avahi/avahi_0.8.bb 
b/meta/recipes-connectivity/avahi/avahi_0.8.bb
index 7295c4e05b..1f18d4491d 100644
--- a/meta/recipes-connectivity/avahi/avahi_0.8.bb
+++ b/meta/recipes-connectivity/avahi/avahi_0.8.bb
@@ -26,9 +26,13 @@ SRC_URI = 
"${GITHUB_BASE_URI}/download/v${PV}/avahi-${PV}.tar.gz \
file://handle-hup.patch \
file://local-ping.patch \
file://invalid-service.patch \
-   file://CVE-2023-38469.patch \
-   file://CVE-2023-38470.patch \
-   file://CVE-2023-38471.patch \
+   file://CVE-2023-1981.patch \
+   file://CVE-2023-38469-1.patch \
+   file://CVE-2023-38469-2.patch \
+   file://CVE-2023-38470-1.patch \
+   file://CVE-2023-38470-2.patch \
+   file://CVE-2023-38471-1.patch \
+   file://CVE-2023-38471-2.patch \
file://CVE-2023-38472.patch \
file://CVE-2023-38473.patch \
"
diff --git a/meta/recipes-connectivity/avahi/files/CVE-2023-1981.patch 
b/meta/recipes-connectivity/avahi/files/CVE-2023-1981.patch
new file mode 100644
index 00..4d7924d13a
--- /dev/null
+++ b/meta/recipes-connectivity/avahi/files/CVE-2023-1981.patch
@@ -0,0 +1,58 @@
+From a2696da2f2c50ac43b6c4903f72290d5c3fa9f6f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= 
+Date: Thu, 17 Nov 2022 01:51:53 +0100
+Subject: [PATCH] Emit error if requested service is not found
+
+It currently just crashes instead of replying with error. Check return
+value and emit error instead of passing NULL pointer to reply.
+
+Fixes #375
+
+Upstream-Status: Backport [import from ubuntu 
https://git.launchpad.net/ubuntu/+source/avahi/tree/debian/patches/CVE-2023-1981.patch?h=ubuntu/jammy-security
+Upstream commit 
https://github.com/lathiat/avahi/commit/a2696da2f2c50ac43b6c4903f72290d5c3fa9f6f]
+CVE: CVE-2023-1981
+Signed-off-by: Vijay Anusuri 
+---
+ avahi-daemon/dbus-protocol.c | 20 ++--
+ 1 file changed, 14 insertions(+), 6 deletions(-)
+
+diff --git a/avahi-daemon/dbus-protocol.c b/avahi-daemon/dbus-protocol.c
+index 70d7687bc..406d0b441 100644
+--- a/avahi-daemon/dbus-protocol.c
 b/avahi-daemon/dbus-protocol.c
+@@ -375,10 +375,14 @@ static DBusHandlerResult 
dbus_get_alternative_host_name(DBusConnection *c, DBusM
+ }
+ 
+ t = avahi_alternative_host_name(n);
+-avahi_dbus_respond_string(c, m, t);
+-avahi_free(t);
++if (t) {
++avahi_dbus_respond_string(c, m, t);
++avahi_free(t);
+ 
+-return DBUS_HANDLER_RESULT_HANDLED;
++return DBUS_HANDLER_RESULT_HANDLED;
++} else {
++return avahi_dbus_respond_error(c, m, AVAHI_ERR_NOT_FOUND, "Hostname 
not found");
++}
+ }
+ 
+ static DBusHandlerResult dbus_get_alternative_service_name(DBusConnection *c, 
DBusMessage *m, DBusError *error) {
+@@ -389,10 +393,14 @@ static DBusHandlerResult 
dbus_get_alternative_service_name(DBusConnection *c, DB
+