Re: [OE-core] [PATCH 2/2][kirkstone] linux-yocto/5.10: update to v5.10.149

2022-10-20 Thread Steve Sakoman
Hi Bruce,

Unfortunately I'm getting a ptest failure on the autobuilder with this change:

AssertionError: Failed ptests:
{'lttng-tools': ['kernel/test_callstack_11_-_Validate_userspace_callstack',
'kernel/test_userspace_probe_94_-_Enable_kernel_userspace_probe_event_for_session_test_userprobe_elf_cxx_function',
'kernel/test_userspace_probe_95_-_Start_tracing_for_session_test_userprobe_elf_cxx_function',
'kernel/test_userspace_probe_96_-_Stop_lttng_tracing_for_session_test_userprobe_elf_cxx_function',
'kernel/test_userspace_probe_97_-_Validate_trace_for_event_userspace_probe_test_event',
'kernel/test_userspace_probe_100_-_Enable_kernel_userspace_probe_event_for_session_test_userprobe_elf_cxx_method',
'kernel/test_userspace_probe_101_-_Start_tracing_for_session_test_userprobe_elf_cxx_method',
'kernel/test_userspace_probe_102_-_Stop_lttng_tracing_for_session_test_userprobe_elf_cxx_method',
'kernel/test_userspace_probe_103_-_Validate_trace_for_event_userspace_probe_test_event']}

https://autobuilder.yoctoproject.org/typhoon/#/builders/81/builds/4146/steps/13/logs/stdio

Steve

On Thu, Oct 20, 2022 at 4:37 AM Bruce Ashfield  wrote:
>
> From: Bruce Ashfield 
>
> Updating  to the latest korg -stable release that comprises
> the following commits:
>
> 09be132bfe3a Linux 5.10.149
> 31ce5da48a84 wifi: mac80211: fix MBSSID parsing use-after-free
> 353b5c8d4bea wifi: mac80211: don't parse mbssid in assoc response
> 66dacdbc2e83 mac80211: mlme: find auth challenge directly
> a07708a84355 Revert "fs: check FMODE_LSEEK to control internal pipe 
> splicing"
> 3783e64fee4a Linux 5.10.148
> 0df206bdc620 misc: pci_endpoint_test: Fix 
> pci_endpoint_test_{copy,write,read}() panic
> 40a29e58f639 misc: pci_endpoint_test: Aggregate params checking for xfer
> 9c13b1a044c9 Input: xpad - fix wireless 360 controller breaking after 
> suspend
> 19dba9c3b5a3 Input: xpad - add supported devices as contributed on github
> b2b9386667e6 wifi: cfg80211: update hidden BSSes to avoid WARN_ON
> 58c0306d0bcd wifi: mac80211: fix crash in beacon protection for P2P-device
> 3539e75abe3c wifi: mac80211_hwsim: avoid mac80211 warning on bad rate
> b0e5c5deb788 wifi: cfg80211: avoid nontransmitted BSS list corruption
> 6b9448450313 wifi: cfg80211: fix BSS refcounting bugs
> 6144c97f96f5 wifi: cfg80211: ensure length byte is present before access
> e7aa7fd10eba wifi: cfg80211/mac80211: reject bad MBSSID elements
> a6408e0b694c wifi: cfg80211: fix u8 overflow in 
> cfg80211_update_notlisted_nontrans()
> b0c37581be9a random: use expired timer rather than wq for mixing fast pool
> c1a4423fd30f random: avoid reading two cache lines on irq randomness
> 638f84a718d9 USB: serial: qcserial: add new usb-id for Dell branded EM7455
> 36b33c63515a scsi: stex: Properly zero out the passthrough command 
> structure
> 438994b8cd6a efi: Correct Macmini DMI match in uefi cert quirk
> 2fd1caa0c64b ALSA: hda: Fix position reporting on Poulsbo
> 011399a3f926 random: clamp credited irq bits to maximum mixed
> fc87c413f272 random: restore O_NONBLOCK support
> c04b67c54472 Revert "clk: ti: Stop using legacy clkctrl names for omap4 
> and 5"
> 0a49bfa8f82f rpmsg: qcom: glink: replace strncpy() with strscpy_pad()
> 3451df3a514c USB: serial: ftdi_sio: fix 300 bps rate for SIO
> 1b257f97fec4 usb: mon: make mmapped memory read only
> 3ba555d8e12f mmc: core: Terminate infinite loop in SD-UHS voltage switch
> 068465836652 mmc: core: Replace with already defined values for 
> readability
> 4f32f266b108 drm/amd/display: skip audio setup when audio stream is 
> enabled
> a6fe179ba03f drm/amd/display: update gamut remap if plane has changed
> 73e1b27b58a6 net: atlantic: fix potential memory leak in aq_ndev_close()
> 3287f0d72710 arch: um: Mark the stack non-executable to fix a binutils 
> warning
> aeb8315593a6 um: Cleanup compiler warning in arch/x86/um/tls_32.c
> 6d4deaba063d um: Cleanup syscall_handler_t cast in syscalls_32.h
> 6d7a47e84913 ALSA: hda/hdmi: Fix the converter reuse for the silent stream
> c1337f8ea861 net/ieee802154: fix uninit value bug in dgram_sendmsg
> 034b30c31146 scsi: qedf: Fix a UAF bug in __qedf_probe()
> 29461bbe2d7f ARM: dts: fix Moxa SDIO 'compatible', remove 'sdhci' misnomer
> dae0b77cb8b2 dmaengine: xilinx_dma: Report error in case of 
> dma_set_mask_and_coherent API failure
> e0ca2998dfba dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores 
> property
> 789e590cb8c4 dmaengine: xilinx_dma: Fix devm_platform_ioremap_resource 
> error handling
> 64e240934c31 firmware: arm_scmi: Add SCMI PM driver remove routine
> 6df7c6d141ec compiler_attributes.h: move __compiletime_{error|warning}
> 1e555c3ed1fc fs: fix UAF/GPF bug in nilfs_mdt_destroy
> acf05d61d39b powerpc/64s/radix: don't need to broadcast IPI for radix pmd 
> collapse flush
> 377c60dd32d3 mm: 

[OE-core] [PATCH] externalsrc.bbclass: fix git repo detection

2022-10-20 Thread Martin Jansa
* fix issue introduced in:
  
https://git.openembedded.org/openembedded-core/commit/?id=95fbac8dcad6c93f4c9737e9fe13e92ab6befa09

* it added check for s_dir + git-dir (typically '.git') isn't
  the same as ${TOPDIR} + git-dir, but due to copy-paste issue
  it was just comparing it with s_dir + git-dir again, resulting
  in most external repos (where git-dir is '.git') to be processed
  as regular directory (not taking advantage of git write-tree).

* normally this wouldn't be an issue, but for big repo with a lot of
  files this added a lot of checksums in:
  d.setVarFlag('do_compile', 'file-checksums', '${@srctree_hash_files(d)}')

  and I mean *a lot, e.g. in chromium build it was 380227 paths
  which still wouldn't that bad, but the checksum processing in
  siggen.py isn't trivial and just looping through all these
  checksums takes very long time (over 1000sec on fast NVME drive
  with warm cache) and then
  
https://git.openembedded.org/bitbake/commit/?id=b4975d2ecf615ac4c240808fbc5a3f879a93846b
  made the processing a bit more complicated and the loop in
  get_taskhash() function took 6448sec and to make things worse
  there was no output from bitbake during that time, so even with -DDD
  it looks like this:

  DEBUG: virtual/libgles2 resolved to: mesa 
(langdale/oe-core/meta/recipes-graphics/mesa/mesa_22.2.0.bb)
  Bitbake still alive (no events for 600s). Active tasks:
  Bitbake still alive (no events for 1200s). Active tasks:
  Bitbake still alive (no events for 1800s). Active tasks:
  Bitbake still alive (no events for 2400s). Active tasks:
  Bitbake still alive (no events for 3000s). Active tasks:
  Bitbake still alive (no events for 3600s). Active tasks:
  Bitbake still alive (no events for 4200s). Active tasks:
  Bitbake still alive (no events for 4800s). Active tasks:
  Bitbake still alive (no events for 5400s). Active tasks:
  Bitbake still alive (no events for 6000s). Active tasks:
  DEBUG: Starting bitbake-worker

  without -DDD it will get stuck for almost 2 hours in:
  "Initialising tasks..."
  before it finally writes sstate summary like:
  "Sstate summary: Wanted 3102 Local 0 Mirrors 0 Missed 3102 Current 1483 (0% 
match, 32% complete)"

* fix the copy typo to use git work-tree in most cases, but
  be aware that this issue still exists for huge local source
  trees not in git

[YOCTO #14942]

Signed-off-by: Martin Jansa 
---
 meta/classes-recipe/externalsrc.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta/classes-recipe/externalsrc.bbclass 
b/meta/classes-recipe/externalsrc.bbclass
index 06a9548a20..5905342589 100644
--- a/meta/classes-recipe/externalsrc.bbclass
+++ b/meta/classes-recipe/externalsrc.bbclass
@@ -212,8 +212,8 @@ def srctree_hash_files(d, srcdir=None):
 try:
 git_dir = os.path.join(s_dir,
 subprocess.check_output(['git', '-C', s_dir, 'rev-parse', 
'--git-dir'], stderr=subprocess.DEVNULL).decode("utf-8").rstrip())
-top_git_dir = os.path.join(s_dir, subprocess.check_output(['git', 
'-C', d.getVar("TOPDIR"), 'rev-parse', '--git-dir'],
-stderr=subprocess.DEVNULL).decode("utf-8").rstrip())
+top_git_dir = os.path.join(d.getVar("TOPDIR"),
+subprocess.check_output(['git', '-C', d.getVar("TOPDIR"), 
'rev-parse', '--git-dir'], stderr=subprocess.DEVNULL).decode("utf-8").rstrip())
 if git_dir == top_git_dir:
 git_dir = None
 except subprocess.CalledProcessError:
-- 
2.38.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172007): 
https://lists.openembedded.org/g/openembedded-core/message/172007
Mute This Topic: https://lists.openembedded.org/mt/94465524/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] rust: Disable 64bit atomics on crossbeam on riscv32

2022-10-20 Thread Khem Raj
riscv32 builds fail since AtomicI64 is not available in sync::atomic for
this architecture. Therefore it needs to be opted out and the way out is
to pass it by RUSTFLAGS, however rust target recipe overrides RUSTFLAGS
before exporting it so its better to piggy back on the variable its
using which is RUST_DEBUG_REMAP

Signed-off-by: Khem Raj 
---
 meta/recipes-devtools/rust/rust_1.64.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/rust/rust_1.64.0.bb 
b/meta/recipes-devtools/rust/rust_1.64.0.bb
index 1f9dbd3cce..b05f188d9c 100644
--- a/meta/recipes-devtools/rust/rust_1.64.0.bb
+++ b/meta/recipes-devtools/rust/rust_1.64.0.bb
@@ -9,6 +9,7 @@ FILES:${PN}-dev = ""
 
 # Used by crossbeam_atomic.patch
 export TARGET_VENDOR
+RUST_DEBUG_REMAP:append:riscv32 = " --cfg crossbeam_no_atomic_64"
 
 do_compile () {
 rust_runx build --stage 2
-- 
2.38.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172006): 
https://lists.openembedded.org/g/openembedded-core/message/172006
Mute This Topic: https://lists.openembedded.org/mt/94464934/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] run-postinsts: Set dependency for ldconfig to avoid boot issues

2022-10-20 Thread Michael Opdenacker via lists.openembedded.org

Hi Arturo

Thanks for the patch!

On 10/20/22 15:55, abuzarra via lists.openembedded.org wrote:

If a package with a postsints script requires ldconfig, the package class adds
a ldconfig postinst fragment to initialize it before. Systemd has its own
ldconfig.service to initialize it and sometimes if both services are running
at the same time in the first boot, the first one will work, but the second
one will fail with the following error:

 ldconfig[141]: /sbin/ldconfig: Renaming of /etc/ld.so.cache~ to 
/etc/ld.so.cache failed: No such file or directory

This commit adds a ordering dependency between them to make sure that only one
service is running at the same time.

Signed-off-by: Arturo Buzarra 
---
  .../run-postinsts/run-postinsts/run-postinsts.service   | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)



There's a problem with the way your patches are received. I used to have 
it too.


If I apply your patch through "git am", the author of the commit will be:
abuzarra via lists.openembedded.org 


instead of
Arturo Buzarra 

Because of this issue, the maintainer has to manually fix this field 
when accepting your patch. Worse, if he doesn't catch this, that's 
harder to fix afterwards.


You should be able to fix this by running:

git config --global sendemail.from "arturo.buza...@digi.com"

This should add a "From" field to the sent patch which "git am" should 
be able to match with your name.


See 
https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded#Sending_using_git-send-email


Could you try to send an update? You could send it to me again through 
private-email first.


Thanks in advance
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172005): 
https://lists.openembedded.org/g/openembedded-core/message/172005
Mute This Topic: https://lists.openembedded.org/mt/94453597/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 2/3] create-spdx: Fix "licenseDeclared" shows weird value

2022-10-20 Thread Alberto Pianon



Il 2022-10-19 23:17 Joshua Watt ha scritto:
On Wed, Oct 19, 2022 at 6:08 AM Keiya Nobuta  
wrote:


Fixed an issue that "licenseDeclared" shows weird value, for example
`busybox.spdx.json` shows like:

"GPL-2.0-only AND DocumentRef-recipe-busybox:LicenseRef-bzip2-1.0.4"
  ^^^
   unwanted value


I don't believe this is unwanted: the license text lives in another
document (ecipe-busybox.spdx.json) so we need to indicate that here



That is correct, according to the specs:

https://spdx.github.io/spdx-spec/SPDX-license-expressions/#d3-simple-license-expressions

Cheers,

Alberto

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172004): 
https://lists.openembedded.org/g/openembedded-core/message/172004
Mute This Topic: https://lists.openembedded.org/mt/94428131/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] run-postinsts: Set dependency for ldconfig to avoid boot issues

2022-10-20 Thread Khem Raj
On Thu, Oct 20, 2022 at 8:37 AM Alexander Kanavin
 wrote:
>
> On Thu, 20 Oct 2022 at 17:27, Khem Raj  wrote:
> > Good question. After= will wait for dependency but not explicitly
> > activate it whereas Requires= will
> > activate it as well if it's not activated yet. I think it's best to
> > try this unit on a system without ldconfig.service
> > for finding the exact behaviour.
>
> 'man systemd.unit' seems to say that the wait will only happen if the
> dependency is being started for some reason, including reasons
> unrelated to this unit. It stops just short of saying what happens if
> the dependency is not going to start at all (which would be 'nothing
> happens, this unit simply starts'). Not a well written description,
> there.

right. thats why I think its good to try it out

>
> Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172003): 
https://lists.openembedded.org/g/openembedded-core/message/172003
Mute This Topic: https://lists.openembedded.org/mt/94453597/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 v2] glib-2.0: fix rare GFileInfo test case failure

2022-10-20 Thread Ross Burton
If a access or creation timestamp has 0 microseconds, then the test
fails as it doesn't expect this to be a valid value.  Expand a previous
fix for modification times to cover these timestamps too.

[ YOCTO #14373 ]

Signed-off-by: Ross Burton 
---
 ...-info-don-t-assume-million-in-one-ev.patch | 51 +++
 meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb |  1 +
 2 files changed, 52 insertions(+)
 create mode 100644 
meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-g-file-info-don-t-assume-million-in-one-ev.patch

diff --git 
a/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-g-file-info-don-t-assume-million-in-one-ev.patch
 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-g-file-info-don-t-assume-million-in-one-ev.patch
new file mode 100644
index 000..c33fa88a765
--- /dev/null
+++ 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-g-file-info-don-t-assume-million-in-one-ev.patch
@@ -0,0 +1,51 @@
+Upstream-Status: Backport 
[https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2990]
+Signed-off-by: Ross Burton 
+
+From 14838522a706ebdcc3cdab661d4c368099fe3a4e Mon Sep 17 00:00:00 2001
+From: Ross Burton 
+Date: Tue, 6 Jul 2021 19:26:03 +0100
+Subject: [PATCH] gio/tests/g-file-info: don't assume million-in-one events
+ don't happen
+
+The access and creation time tests create a file, gets the time in
+seconds, then gets the time in microseconds and assumes that the
+difference between the two has to be above 0.
+
+As rare as this may be, it can happen:
+
+$ stat g-file-info-test-50A450 -c %y
+2021-07-06 18:24:56.00767 +0100
+
+Change the test to simply assert that the difference not negative to
+handle this case.
+
+This is the same fix as 289f8b, but that was just modification time.
+---
+ gio/tests/g-file-info.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/gio/tests/g-file-info.c b/gio/tests/g-file-info.c
+index 59411c3a8..a213e4b92 100644
+--- a/gio/tests/g-file-info.c
 b/gio/tests/g-file-info.c
+@@ -239,7 +239,7 @@ test_g_file_info_access_time (void)
+   g_assert_nonnull (dt_usecs);
+ 
+   ts = g_date_time_difference (dt_usecs, dt);
+-  g_assert_cmpint (ts, >, 0);
++  g_assert_cmpint (ts, >=, 0);
+   g_assert_cmpint (ts, <, G_USEC_PER_SEC);
+ 
+   /* Try round-tripping the access time. */
+@@ -316,7 +316,7 @@ test_g_file_info_creation_time (void)
+   g_assert_nonnull (dt_usecs);
+ 
+   ts = g_date_time_difference (dt_usecs, dt);
+-  g_assert_cmpint (ts, >, 0);
++  g_assert_cmpint (ts, >=, 0);
+   g_assert_cmpint (ts, <, G_USEC_PER_SEC);
+ 
+   /* Try round-tripping the creation time. */
+-- 
+2.34.1
+
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb 
b/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb
index dd1ea508d2c..b5ab6502a38 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb
@@ -16,6 +16,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://0001-gio-tests-g-file-info-don-t-assume-million-in-one-ev.patch \
"
 SRC_URI:append:class-native = " file://relocate-modules.patch"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172002): 
https://lists.openembedded.org/g/openembedded-core/message/172002
Mute This Topic: https://lists.openembedded.org/mt/94455969/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] run-postinsts: Set dependency for ldconfig to avoid boot issues

2022-10-20 Thread Alexander Kanavin
On Thu, 20 Oct 2022 at 17:27, Khem Raj  wrote:
> Good question. After= will wait for dependency but not explicitly
> activate it whereas Requires= will
> activate it as well if it's not activated yet. I think it's best to
> try this unit on a system without ldconfig.service
> for finding the exact behaviour.

'man systemd.unit' seems to say that the wait will only happen if the
dependency is being started for some reason, including reasons
unrelated to this unit. It stops just short of saying what happens if
the dependency is not going to start at all (which would be 'nothing
happens, this unit simply starts'). Not a well written description,
there.

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172001): 
https://lists.openembedded.org/g/openembedded-core/message/172001
Mute This Topic: https://lists.openembedded.org/mt/94453597/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] run-postinsts: Set dependency for ldconfig to avoid boot issues

2022-10-20 Thread Khem Raj
On Thu, Oct 20, 2022 at 8:18 AM Alexander Kanavin
 wrote:
>
> On Thu, 20 Oct 2022 at 17:08, Khem Raj  wrote:
> > > -After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount
> > > +After=systemd-remount-fs.service systemd-tmpfiles-setup.service 
> > > tmp.mount ldconfig.service
> >
> > ldconfig is not always enabled, it's controlled via a DISTRO_FEATURE
> > so this will fail for such
> > systems. Maybe adding it conditionally via a systemd unit fragment
> > drop-in file would be a better way to go.
>
> But will it fail? I thought Requires= is the hard dependency, and
> After= sets only the ordering, but not dependencies.
>

Good question. After= will wait for dependency but not explicitly
activate it whereas Requires= will
activate it as well if it's not activated yet. I think it's best to
try this unit on a system without ldconfig.service
for finding the exact behaviour.

> Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#172000): 
https://lists.openembedded.org/g/openembedded-core/message/172000
Mute This Topic: https://lists.openembedded.org/mt/94453597/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] run-postinsts: Set dependency for ldconfig to avoid boot issues

2022-10-20 Thread Alexander Kanavin
On Thu, 20 Oct 2022 at 17:08, Khem Raj  wrote:
> > -After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount
> > +After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount 
> > ldconfig.service
>
> ldconfig is not always enabled, it's controlled via a DISTRO_FEATURE
> so this will fail for such
> systems. Maybe adding it conditionally via a systemd unit fragment
> drop-in file would be a better way to go.

But will it fail? I thought Requires= is the hard dependency, and
After= sets only the ordering, but not dependencies.

Alex

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#171999): 
https://lists.openembedded.org/g/openembedded-core/message/171999
Mute This Topic: https://lists.openembedded.org/mt/94453597/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] run-postinsts: Set dependency for ldconfig to avoid boot issues

2022-10-20 Thread Khem Raj
On Thu, Oct 20, 2022 at 6:56 AM abuzarra via lists.openembedded.org
 wrote:
>
> If a package with a postsints script requires ldconfig, the package class adds
> a ldconfig postinst fragment to initialize it before. Systemd has its own
> ldconfig.service to initialize it and sometimes if both services are running
> at the same time in the first boot, the first one will work, but the second
> one will fail with the following error:
>
> ldconfig[141]: /sbin/ldconfig: Renaming of /etc/ld.so.cache~ to 
> /etc/ld.so.cache failed: No such file or directory
>
> This commit adds a ordering dependency between them to make sure that only one
> service is running at the same time.
>
> Signed-off-by: Arturo Buzarra 
> ---
>  .../run-postinsts/run-postinsts/run-postinsts.service   | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git 
> a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service 
> b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service
> index 7f72f3388a..b6b81d5c1a 100644
> --- a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service
> +++ b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service
> @@ -1,9 +1,9 @@
>  [Unit]
>  Description=Run pending postinsts
>  DefaultDependencies=no
> -After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount
> +After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount 
> ldconfig.service

ldconfig is not always enabled, it's controlled via a DISTRO_FEATURE
so this will fail for such
systems. Maybe adding it conditionally via a systemd unit fragment
drop-in file would be a better way to go.

>  Before=sysinit.target
>
>  [Service]
>  Type=oneshot
>  ExecStart=#SBINDIR#/run-postinsts
> --
> 2.38.0
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#171998): 
https://lists.openembedded.org/g/openembedded-core/message/171998
Mute This Topic: https://lists.openembedded.org/mt/94453597/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][kirkstone] linux-yocto/5.10: update to v5.10.149

2022-10-20 Thread Bruce Ashfield
From: Bruce Ashfield 

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

09be132bfe3a Linux 5.10.149
31ce5da48a84 wifi: mac80211: fix MBSSID parsing use-after-free
353b5c8d4bea wifi: mac80211: don't parse mbssid in assoc response
66dacdbc2e83 mac80211: mlme: find auth challenge directly
a07708a84355 Revert "fs: check FMODE_LSEEK to control internal pipe 
splicing"
3783e64fee4a Linux 5.10.148
0df206bdc620 misc: pci_endpoint_test: Fix 
pci_endpoint_test_{copy,write,read}() panic
40a29e58f639 misc: pci_endpoint_test: Aggregate params checking for xfer
9c13b1a044c9 Input: xpad - fix wireless 360 controller breaking after 
suspend
19dba9c3b5a3 Input: xpad - add supported devices as contributed on github
b2b9386667e6 wifi: cfg80211: update hidden BSSes to avoid WARN_ON
58c0306d0bcd wifi: mac80211: fix crash in beacon protection for P2P-device
3539e75abe3c wifi: mac80211_hwsim: avoid mac80211 warning on bad rate
b0e5c5deb788 wifi: cfg80211: avoid nontransmitted BSS list corruption
6b9448450313 wifi: cfg80211: fix BSS refcounting bugs
6144c97f96f5 wifi: cfg80211: ensure length byte is present before access
e7aa7fd10eba wifi: cfg80211/mac80211: reject bad MBSSID elements
a6408e0b694c wifi: cfg80211: fix u8 overflow in 
cfg80211_update_notlisted_nontrans()
b0c37581be9a random: use expired timer rather than wq for mixing fast pool
c1a4423fd30f random: avoid reading two cache lines on irq randomness
638f84a718d9 USB: serial: qcserial: add new usb-id for Dell branded EM7455
36b33c63515a scsi: stex: Properly zero out the passthrough command structure
438994b8cd6a efi: Correct Macmini DMI match in uefi cert quirk
2fd1caa0c64b ALSA: hda: Fix position reporting on Poulsbo
011399a3f926 random: clamp credited irq bits to maximum mixed
fc87c413f272 random: restore O_NONBLOCK support
c04b67c54472 Revert "clk: ti: Stop using legacy clkctrl names for omap4 and 
5"
0a49bfa8f82f rpmsg: qcom: glink: replace strncpy() with strscpy_pad()
3451df3a514c USB: serial: ftdi_sio: fix 300 bps rate for SIO
1b257f97fec4 usb: mon: make mmapped memory read only
3ba555d8e12f mmc: core: Terminate infinite loop in SD-UHS voltage switch
068465836652 mmc: core: Replace with already defined values for readability
4f32f266b108 drm/amd/display: skip audio setup when audio stream is enabled
a6fe179ba03f drm/amd/display: update gamut remap if plane has changed
73e1b27b58a6 net: atlantic: fix potential memory leak in aq_ndev_close()
3287f0d72710 arch: um: Mark the stack non-executable to fix a binutils 
warning
aeb8315593a6 um: Cleanup compiler warning in arch/x86/um/tls_32.c
6d4deaba063d um: Cleanup syscall_handler_t cast in syscalls_32.h
6d7a47e84913 ALSA: hda/hdmi: Fix the converter reuse for the silent stream
c1337f8ea861 net/ieee802154: fix uninit value bug in dgram_sendmsg
034b30c31146 scsi: qedf: Fix a UAF bug in __qedf_probe()
29461bbe2d7f ARM: dts: fix Moxa SDIO 'compatible', remove 'sdhci' misnomer
dae0b77cb8b2 dmaengine: xilinx_dma: Report error in case of 
dma_set_mask_and_coherent API failure
e0ca2998dfba dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores 
property
789e590cb8c4 dmaengine: xilinx_dma: Fix devm_platform_ioremap_resource 
error handling
64e240934c31 firmware: arm_scmi: Add SCMI PM driver remove routine
6df7c6d141ec compiler_attributes.h: move __compiletime_{error|warning}
1e555c3ed1fc fs: fix UAF/GPF bug in nilfs_mdt_destroy
acf05d61d39b powerpc/64s/radix: don't need to broadcast IPI for radix pmd 
collapse flush
377c60dd32d3 mm: gup: fix the fast GUP race against THP collapse
fce793a056c6 ALSA: pcm: oss: Fix race at SNDCTL_DSP_SYNC
132590d776e2 xsk: Inherit need_wakeup flag for shared sockets
beffc38dc6b2 perf tools: Fixup get_current_dir_name() compilation
fb380f548c44 docs: update mediator information in CoC docs
c7f4af575b1d Makefile.extrawarn: Move -Wcast-function-type-strict to W=1
b23b0cd57e2c ceph: don't truncate file in atomic_open
8a18fdc5ae8e nilfs2: replace WARN_ONs by nilfs_error for checkpoint 
acquisition failure
aad4c997857f nilfs2: fix leak of nilfs_root in case of writer thread 
creation failure
21ee3cffed8f nilfs2: fix use-after-free bug of struct nilfs_root
3f840480e314 nilfs2: fix NULL pointer dereference at 
nilfs_bmap_lookup_at_level()

Signed-off-by: Bruce Ashfield 
---
 .../linux/linux-yocto-rt_5.10.bb  |  6 ++---
 .../linux/linux-yocto-tiny_5.10.bb|  8 +++
 meta/recipes-kernel/linux/linux-yocto_5.10.bb | 24 +--
 3 files changed, 19 insertions(+), 19 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-rt_5.10.bb 
b/meta/recipes-kernel/linux/linux-yocto-rt_5.10.bb
index 1f8c5ac50f..f04f444f07 100644
--- a/meta/recipes-kernel/linux/linux-yocto-rt_5.10.bb
+++ 

[OE-core] [PATCH 1/2][kirkstone] linux-yocto/5.10: update to v5.10.147

2022-10-20 Thread Bruce Ashfield
From: Bruce Ashfield 

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

014862eecf03 Linux 5.10.147
98f722cc2438 ALSA: hda/hdmi: fix warning about PCM count when used with SOF
b12d0489e402 x86/alternative: Fix race in try_get_desc()
374d4c307534 KVM: x86: Hide IA32_PLATFORM_DCA_CAP[31:0] from the guest
a8e6cde5062f clk: iproc: Do not rely on node name for correct PLL setup
cf41711aa4a7 clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI 
clocks
83db457b41a8 selftests: Fix the if conditions of in test_extra_filter()
84cab3531ff7 net: stmmac: power up/down serdes in stmmac_open/release
743a6e53cf1c nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme 
devices
469dc5fd9a58 nvme: add new line after variable declatation
2c248c468162 cxgb4: fix missing unlock on ETHOFLD desc collect fail path
fde656dbc372 net: sched: act_ct: fix possible refcount leak in tcf_ct_init()
fa065e60811a usbnet: Fix memory leak in usbnet_disconnect()
57959392f7f0 Input: melfas_mip4 - fix return value check in mip4_probe()
330b77578168 Revert "drm: bridge: analogix/dp: add panel prepare/unprepare 
in suspend/resume time"
359e73edd3be ASoC: tas2770: Reinit regcache on reset
8884a192f95e soc: sunxi: sram: Fix debugfs info for A64 SRAM C
4e2ede7cb9b5 soc: sunxi: sram: Fix probe function ordering issues
50fbc81f80d2 soc: sunxi_sram: Make use of the helper function 
devm_platform_ioremap_resource()
0fdc3ab9b438 soc: sunxi: sram: Prevent the driver from being unbound
3e0405c69bc9 soc: sunxi: sram: Actually claim SRAM regions
a658f0bc72cb reset: imx7: Fix the iMX8MP PCIe PHY PERST support
8934aea1a46c ARM: dts: am33xx: Fix MMCHS0 dma properties
cce5dc03338e scsi: hisi_sas: Revert "scsi: hisi_sas: Limit max hw sectors 
for v3 HW"
625899cd06e1 swiotlb: max mapping size takes min align mask into account
6f478fe8c3fb media: rkvdec: Disable H.264 error detection
ac828e241691 media: dvb_vb2: fix possible out of bound access
be2cd261ca51 mm: fix madivse_pageout mishandling on non-LRU page
1002d5fef406 mm/migrate_device.c: flush TLB while holding PTL
a54fc5369113 mm: prevent page_frag_alloc() from corrupting the memory
466a26af2d10 mm/page_alloc: fix race condition between build_all_zonelists 
and page allocation
9b751b4dc350 mmc: hsq: Fix data stomping during mmc recovery
36b10cde0c44 mmc: moxart: fix 4-bit bus width and remove 8-bit bus width
02d55a837e1a libata: add ATA_HORKAGE_NOLPM for Pioneer BDR-207M and BDR-205
e72a435fa30c net: mt7531: only do PLL once after the reset
a48daecd0994 ntfs: fix BUG_ON in ntfs_lookup_inode_by_name()
1d71422bd483 ARM: dts: integrator: Tag PCI host with device_type
dab144c5dd07 clk: ingenic-tcu: Properly enable registers before accessing 
timers
6c5742372b2d Input: snvs_pwrkey - fix SNVS_HPVIDR1 register address
8cf377baf0c3 net: usb: qmi_wwan: Add new usb-id for Dell branded EM7455
0695e590de3c thunderbolt: Explicitly reset plug events delay back to USB4 
spec value
efdff5339462 usb: typec: ucsi: Remove incorrect warning
e5ee7b77ac9b uas: ignore UAS for Thinkplus chips
5f91ceea6c14 usb-storage: Add Hiksemi USB3-FW to IGNORE_UAS
1e4b856fc0bb uas: add no-uas quirk for Hiksemi usb_disk
6ac5b52e3f35 btrfs: fix hang during unmount when stopping a space reclaim 
worker
29d849c3de57 ALSA: hda: Fix Nvidia dp infoframe
24070d32c6ec ALSA: hda/hdmi: let new platforms assign the pcm slot 
dynamically
c1256c531d67 ALSA: hda/tegra: Reset hardware
ded9e8964d00 ALSA: hda/tegra: Use clk_bulk helpers
b2ad53fbc0e1 thunderbolt: Add support for Intel Maple Ridge single port 
controller
53e6282dde62 thunderbolt: Add support for Intel Maple Ridge
62aea694445d Linux 5.10.146
c18383218c31 ext4: make directory inode spreading reflect flexbg size
a968542d7e24 ext4: limit the number of retries after discarding 
preallocations blocks
958b0ee23f5a ext4: fix bug in extents parsing when eh_entries == 0 and 
eh_depth > 0
25117265152e devdax: Fix soft-reservation memory description
0fa11239c4d3 i2c: mlxbf: Fix frequency calculation
48ee0a864d1a i2c: mlxbf: prevent stack overflow in 
mlxbf_i2c_smbus_start_transaction()
4f6db1f9219e i2c: mlxbf: incorrect base address passed during io write
2f58c47c36d3 i2c: imx: If pm_runtime_get_sync() returned 1 device access is 
possible
90f1c0025be0 workqueue: don't skip lockdep work dependency in 
cancel_work_sync()
4dfc96d8d730 drm/rockchip: Fix return type of cdn_dp_connector_mode_valid
58101a9cfc5f drm/amd/display: Mark dml30's UseMinimumDCFCLK() as noinline 
for stack usage
3ae1dede22e3 drm/amd/display: Limit user regamma to a valid value
867b2b2b6802 drm/amdgpu: use dirty framebuffer helper
c5812807e416 drm/gma500: Fix BUG: sleeping function called from invalid 
context errors
ec2bf249bdff 

[OE-core] [PATCH 1/2][dunfell] linux-yocto/5.4: update to v5.4.216

2022-10-20 Thread Bruce Ashfield
From: Bruce Ashfield 

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

f28b7414ab71 Linux 5.4.216
b8b87cb13681 clk: iproc: Do not rely on node name for correct PLL setup
d417d5eb29d7 clk: imx: imx6sx: remove the SET_RATE_PARENT flag for QSPI 
clocks
762706bd12a6 selftests: Fix the if conditions of in test_extra_filter()
ae0d3a431639 nvme: Fix IOC_PR_CLEAR and IOC_PR_RELEASE ioctls for nvme 
devices
18ef5cd4c53c nvme: add new line after variable declatation
3ea4a5342452 usbnet: Fix memory leak in usbnet_disconnect()
6ca922ec7598 Input: melfas_mip4 - fix return value check in mip4_probe()
38c4d8230f93 Revert "drm: bridge: analogix/dp: add panel prepare/unprepare 
in suspend/resume time"
7291d19a9eeb soc: sunxi: sram: Fix debugfs info for A64 SRAM C
cdbcdfc96126 soc: sunxi: sram: Fix probe function ordering issues
73dbc6e136b5 soc: sunxi_sram: Make use of the helper function 
devm_platform_ioremap_resource()
26170e4fd145 soc: sunxi: sram: Prevent the driver from being unbound
883778a1f4fa soc: sunxi: sram: Actually claim SRAM regions
1ba52486082b ARM: dts: am33xx: Fix MMCHS0 dma properties
d0c69c722ff1 ARM: dts: Move am33xx and am43xx mmc nodes to sdhci-omap driver
d18565280076 media: dvb_vb2: fix possible out of bound access
0f4634f70bfd mm: fix madivse_pageout mishandling on non-LRU page
ffd11370b74f mm/migrate_device.c: flush TLB while holding PTL
b9e31f4885c4 mm: prevent page_frag_alloc() from corrupting the memory
d535fb83844e mm/page_alloc: fix race condition between build_all_zonelists 
and page allocation
2ec4949738c8 mmc: moxart: fix 4-bit bus width and remove 8-bit bus width
bb7c23e4e523 libata: add ATA_HORKAGE_NOLPM for Pioneer BDR-207M and BDR-205
5cebfac6a8c9 Revert "net: mvpp2: debugfs: fix memory leak when using 
debugfs_lookup()"
9a3740f448be ntfs: fix BUG_ON in ntfs_lookup_inode_by_name()
46e784cf4a84 ARM: dts: integrator: Tag PCI host with device_type
85b5edb1b429 clk: ingenic-tcu: Properly enable registers before accessing 
timers
f8a2e22289e4 net: usb: qmi_wwan: Add new usb-id for Dell branded EM7455
43699b8fbcf1 uas: ignore UAS for Thinkplus chips
fc540f6e4bb4 usb-storage: Add Hiksemi USB3-FW to IGNORE_UAS
383c663c7359 uas: add no-uas quirk for Hiksemi usb_disk
6215647d9699 Linux 5.4.215
579976dc0d9f ext4: make directory inode spreading reflect flexbg size
26e7c965f41b xfs: fix use-after-free when aborting corrupt attr inactivation
8b3c9eb1b3dd xfs: fix an ABBA deadlock in xfs_rename
37ec5a20c80d xfs: don't commit sunit/swidth updates to disk if that would 
cause repair failures
4668f08cda30 xfs: split the sunit parameter update into two parts
fd6c5da3fa2b xfs: refactor agfl length computation function
6363fdf7acac xfs: use bitops interface for buf log item AIL flag check
a95582d9d500 xfs: stabilize insert range start boundary to avoid COW 
writeback race
7a20c664a7d8 xfs: fix some memory leaks in log recovery
ad9759d48802 xfs: always log corruption errors
0336599b645e xfs: constify the buffer pointer arguments to error functions
8856a6572fed xfs: convert EIO to EFSCORRUPTED when log contents are invalid
9185003c93b3 xfs: Fix deadlock between AGI and AGF when target_ip exists in 
xfs_rename()
796ff09598cd xfs: attach dquots and reserve quota blocks during unwritten 
conversion
a33bcad48b48 xfs: range check ri_cnt when recovering log items
a102869fb173 xfs: add missing assert in xfs_fsmap_owner_from_rmap
979eb1230413 xfs: slightly tweak an assert in xfs_fs_map_blocks
c494dbca9928 xfs: replace -EIO with -EFSCORRUPTED for corrupt metadata
bb7eb3ca4b3b ext4: fix bug in extents parsing when eh_entries == 0 and 
eh_depth > 0
04aa8187eba5 workqueue: don't skip lockdep work dependency in 
cancel_work_sync()
a874609522b5 drm/rockchip: Fix return type of cdn_dp_connector_mode_valid
75ed7dee26ab drm/amd/display: Limit user regamma to a valid value
c89849ecfd2e drm/amdgpu: use dirty framebuffer helper
0b467eab0aad Drivers: hv: Never allocate anything besides framebuffer from 
framebuffer memory region
8c8d0f7ac82f cifs: always initialize struct msghdr smb_msg completely
1438e412aeda usb: xhci-mtk: fix issue of out-of-bounds array access
2e473351400e s390/dasd: fix Oops in dasd_alias_get_start_dev due to missing 
pavgroup
9eb710d1843a serial: tegra-tcu: Use uart_xmit_advance(), fixes icount.tx 
accounting
6cc0434f9d44 serial: tegra: Use uart_xmit_advance(), fixes icount.tx 
accounting
556e827b0f63 serial: Create uart_xmit_advance()
903f7d322c17 net: sched: fix possible refcount leak in tc_new_tfilter()
0e8de8f54b04 net: sunhme: Fix packet reception for len < RX_COPY_THRESHOLD
67199c26a006 perf kcore_copy: Do not check /proc/modules is unchanged
80b2f37b3370 perf jit: Include program header in ELF files

[OE-core] [PATCH 2/2][dunfell] linux-yocto/5.4: update to v5.4.219

2022-10-20 Thread Bruce Ashfield
From: Bruce Ashfield 

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

fd92cfed8bc6 Linux 5.4.219
0cb5be43dc4b wifi: mac80211: fix MBSSID parsing use-after-free
9478c5f9c007 wifi: mac80211: don't parse mbssid in assoc response
7f441a6c90fe mac80211: mlme: find auth challenge directly
c248c3330d5f Revert "fs: check FMODE_LSEEK to control internal pipe 
splicing"
1d0da8674c23 Linux 5.4.218
3ff54a91e4ea Input: xpad - fix wireless 360 controller breaking after 
suspend
690467759573 Input: xpad - add supported devices as contributed on github
9389750ac6b0 wifi: cfg80211: update hidden BSSes to avoid WARN_ON
7fab3bf52059 wifi: mac80211_hwsim: avoid mac80211 warning on bad rate
77bb20ccb9df wifi: cfg80211: avoid nontransmitted BSS list corruption
785eaabfe310 wifi: cfg80211: fix BSS refcounting bugs
359ce507f751 wifi: cfg80211: ensure length byte is present before access
43689bf2cd8e wifi: cfg80211/mac80211: reject bad MBSSID elements
020402c7dd58 wifi: cfg80211: fix u8 overflow in 
cfg80211_update_notlisted_nontrans()
c634a9107f6a random: use expired timer rather than wq for mixing fast pool
39800adc38f6 random: avoid reading two cache lines on irq randomness
bc0375ca434b random: restore O_NONBLOCK support
49d2fc9f998b USB: serial: qcserial: add new usb-id for Dell branded EM7455
20a5bde60597 scsi: stex: Properly zero out the passthrough command structure
46b822a7550d efi: Correct Macmini DMI match in uefi cert quirk
b719d10f7ec3 ALSA: hda: Fix position reporting on Poulsbo
e5d25a3bfde4 random: clamp credited irq bits to maximum mixed
194f59391d6c ceph: don't truncate file in atomic_open
259c0f68168a nilfs2: replace WARN_ONs by nilfs_error for checkpoint 
acquisition failure
b7e409d11db9 nilfs2: fix leak of nilfs_root in case of writer thread 
creation failure
792211333ad7 nilfs2: fix NULL pointer dereference at 
nilfs_bmap_lookup_at_level()
963089ad76cb rpmsg: qcom: glink: replace strncpy() with strscpy_pad()
2da677c0c725 mmc: core: Terminate infinite loop in SD-UHS voltage switch
373eca05b5b8 mmc: core: Replace with already defined values for readability
7ec8f073c2bf USB: serial: ftdi_sio: fix 300 bps rate for SIO
21446ad9cb98 usb: mon: make mmapped memory read only
d2f3a51ca27e arch: um: Mark the stack non-executable to fix a binutils 
warning
bb2d4c37b1fc um: Cleanup compiler warning in arch/x86/um/tls_32.c
9e26e0eef622 um: Cleanup syscall_handler_t cast in syscalls_32.h
3c9a75b3d2f7 net/ieee802154: fix uninit value bug in dgram_sendmsg
61be8898d704 scsi: qedf: Fix a UAF bug in __qedf_probe()
c790d3a00d42 ARM: dts: fix Moxa SDIO 'compatible', remove 'sdhci' misnomer
aefe2f55a986 dmaengine: xilinx_dma: Report error in case of 
dma_set_mask_and_coherent API failure
db702ecd713a dmaengine: xilinx_dma: cleanup for fetching xlnx,num-fstores 
property
59684c877783 firmware: arm_scmi: Add SCMI PM driver remove routine
70e4f70d54e0 fs: fix UAF/GPF bug in nilfs_mdt_destroy
398312c687bb perf tools: Fixup get_current_dir_name() compilation
393a1aa4215b mm: pagewalk: Fix race between unmap and page walker
6e150d605c9e Linux 5.4.217
0c41153c367b docs: update mediator information in CoC docs
096740d67560 Makefile.extrawarn: Move -Wcast-function-type-strict to W=1
e911caf9a158 Revert "drm/amdgpu: use dirty framebuffer helper"
ae19c3c76dc4 xfs: remove unused variable 'done'
538657def702 xfs: fix uninitialized variable in xfs_attr3_leaf_inactive
9ff41b8d71ba xfs: streamline xfs_attr3_leaf_inactive
c893fedaf10c xfs: move incore structures out of xfs_da_format.h
5e13ad940a2a xfs: fix memory corruption during remote attr value buffer 
invalidation
821e0951b4b3 xfs: refactor remote attr value buffer invalidation
a1b66abe30da xfs: fix IOCB_NOWAIT handling in xfs_file_dio_aio_read
1e4a0723eb38 xfs: fix s_maxbytes computation on 32-bit kernels
16de74ee3ad6 xfs: truncate should remove all blocks, not just to the end of 
the page cache
87e73331e4b7 xfs: introduce XFS_MAX_FILEOFF
bd67d06b099d xfs: fix misuse of the XFS_ATTR_INCOMPLETE flag
24f45c878299 x86/speculation: Add RSB VM Exit protections
564275d4b93f x86/bugs: Warn when "ibrs" mitigation is selected on Enhanced 
IBRS parts
4891e5fd1001 x86/speculation: Use DECLARE_PER_CPU for x86_spec_ctrl_current
9862c0f4fd6c x86/speculation: Disable RRSBA behavior
b9ae02c3c253 x86/bugs: Add Cannon lake to RETBleed affected CPU list
d6a8a470dc22 x86/cpu/amd: Enumerate BTC_NO
2edfa537f3b1 x86/common: Stamp out the stepping madness
17a9fc4a7b91 x86/speculation: Fill RSB on vmexit for IBRS
2242cf215013 KVM: VMX: Fix IBRS handling after vmexit
51c71ed134e9 KVM: VMX: Prevent guest RSB poisoning attacks with eIBRS
a31bdec99a95 KVM: VMX: Convert launched argument to flags

[OE-core][kirkstone 00/13] Pull request (cover letter only)

2022-10-20 Thread Steve Sakoman
The following changes since commit e728d0965d6fda8ac54e065ca7bf7eb9da9a8170:

  coreutils: add openssl PACKAGECONFIG (2022-09-30 09:35:23 -1000)

are available in the Git repository at:

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

Adrian Freihofer (1):
  own-mirrors: add crate

Bhabu Bindu (1):
  qemu: Fix CVE-2021-3611

Chen Qi (1):
  image_types_wic.bbclass: fix cross binutils dependency

He Zhe (2):
  lttng-tools: Upgrade 2.13.4 -> 2.13.8
  lttng-modules: Fix crash on powerpc64

Michael Halstead (1):
  uninative: Upgrade to 3.7 to work with glibc 2.36

Ross Burton (1):
  qemu: fix CVE-2022-2962

Teoh Jay Shen (1):
  tiff: Security fixes CVE-2022-2867,CVE-2022-2868 and CVE-2022-2869

Tim Orling (1):
  python3: upgrade 3.10.4 -> 3.10.7

Virendra Thakur (1):
  qemu: Fix CVE-2021-3750 for qemu

Xiangyu Chen (2):
  qemu: Backport patches from upstream to support float128 on qemu-ppc64
  linux-yocto-dev: add qemuarm64

pgowda (1):
  binutils : Fix CVE-2022-38128

 meta/classes/image_types_wic.bbclass  |2 +-
 meta/classes/own-mirrors.bbclass  |1 +
 meta/classes/sanity.bbclass   |2 +-
 meta/conf/distro/include/yocto-uninative.inc  |   10 +-
 .../binutils/binutils-2.38.inc|3 +
 .../binutils/0018-CVE-2022-38128-1.patch  |  350 
 .../binutils/0018-CVE-2022-38128-2.patch  |  436 +
 .../binutils/0018-CVE-2022-38128-3.patch  |   95 ++
 ...h-92036-Fix-gc_fini_untrack-GH-92037.patch |   54 -
 ...report-missing-dependencies-for-disa.patch |8 +-
 .../{python3_3.10.4.bb => python3_3.10.7.bb}  |3 +-
 meta/recipes-devtools/qemu/qemu.inc   |   49 +
 ...ulip-Restrict-DMA-engine-to-memories.patch |   64 +
 ...end-float_exception_flags-to-16-bits.patch |   75 +
 ...32t-for-reply-queue-head-tail-values.patch |   83 +
 ...ftfloat-Add-flag-specific-to-Inf-Inf.patch |   59 +
 ...id_function_take_MemTxAttrs_argument.patch |   60 +
 ...softfloat-Add-flag-specific-to-Inf-0.patch |  126 ++
 ...et_function_take_MemTxAttrs_argument.patch |   98 ++
 ...dd-flags-specific-to-Inf-Inf-and-0-0.patch |   73 +
 ...ed_function_take_MemTxAttrs_argument.patch |   78 +
 ...-Add-flag-specific-to-signaling-nans.patch |  121 ++
 ...rw_function_take_MemTxAttrs_argument.patch |  158 ++
 ...e-float_invalid_op_addsub-for-new-fl.patch |  114 ++
 ...te_function_take_MemTxAttrs_argument.patch | 1453 +
 ...e-float_invalid_op_mul-for-new-flags.patch |   86 +
 ...ap_function_take_MemTxAttrs_argument.patch |  227 +++
 ...e-float_invalid_op_div-for-new-flags.patch |   99 ++
 ..._buf_rw_function_take_a_void_pointer.patch |   41 +
 ...arget-ppc-Update-fmadd-for-new-flags.patch |  102 ++
 ..._dma_buf_write_functions_take_a_void.patch |  167 ++
 .../0010-target-ppc-Split-out-do_fmadd.patch  |   71 +
 ...rw_function_take_MemTxAttrs_argument.patch |   91 ++
 ...s-max-min-cj-dp-to-use-VSX-registers.patch |   93 ++
 ...rw_function_take_MemTxAttrs_argument.patch |   65 +
 ...-Move-xs-max-min-cj-dp-to-decodetree.patch |  121 ++
 ...te_function_take_MemTxAttrs_argument.patch |  129 ++
 ...get-ppc-fix-xscvqpdp-register-access.patch |   41 +
 ...ad_function_take_MemTxAttrs_argument.patch |  222 +++
 ...rget-ppc-move-xscvqpdp-to-decodetree.patch |  130 ++
 ...uf_rw_function_propagate_MemTxResult.patch |   91 ++
 ...tore_fpscr-doesn-t-update-bits-0-to-.patch |   70 +
 ...ma_function_take_MemTxAttrs_argument.patch |  120 ++
 ...get-ppc-Introduce-TRANS-FLAGS-macros.patch |  133 ++
 ...ma_function_take_MemTxAttrs_argument.patch |  151 ++
 ...get-ppc-Implement-Vector-Expand-Mask.patch |  105 ++
 ...r_dma_function_propagate_MemTxResult.patch |   65 +
 ...et-ppc-Implement-Vector-Extract-Mask.patch |  141 ++
 ...r_dma_function_propagate_MemTxResult.patch |  175 ++
 ...ppc-Implement-Vector-Mask-Move-insns.patch |  187 +++
 ...ma_function_take_MemTxAttrs_argument.patch |  303 
 ...xs-n-madd-am-ds-p-xs-n-msub-am-ds-p-.patch |  258 +++
 ...ma_function_take_MemTxAttrs_argument.patch |  271 +++
 ...mplement-xs-n-maddqp-o-xs-n-msubqp-o.patch |  174 ++
 ...i_dma_function_propagate_MemTxResult.patch |   47 +
 ...i_dma_function_propagate_MemTxResult.patch |  296 
 .../qemu/qemu/CVE-2021-3611_1.patch   |   74 +
 .../qemu/qemu/CVE-2021-3611_2.patch   |   43 +
 .../qemu/qemu/CVE-2021-3750-1.patch   |   59 +
 .../qemu/qemu/CVE-2021-3750-2.patch   |   65 +
 .../qemu/qemu/CVE-2021-3750-3.patch   |  156 ++
 meta/recipes-kernel/linux/linux-yocto-dev.bb  |2 +-
 ...4-fix-kernel-crash-caused-by-do_get_.patch |   94 ++
 .../lttng/lttng-modules_2.13.4.bb |1 +
 ...-tools_2.13.4.bb => lttng-tools_2.13.8.bb} |2 +-
 .../libtiff/tiff/CVE-2022-2867.patch  |  129 ++
 .../libtiff/tiff/CVE-2022-2869.patch  |   84 +
 ...ed69a485a9cfb299d9f060eb2a46c54e5903.patch |   45 +
 

[OE-core] [PATCH] run-postinsts: Set dependency for ldconfig to avoid boot issues

2022-10-20 Thread abuzarra via lists.openembedded.org
If a package with a postsints script requires ldconfig, the package class adds
a ldconfig postinst fragment to initialize it before. Systemd has its own
ldconfig.service to initialize it and sometimes if both services are running
at the same time in the first boot, the first one will work, but the second
one will fail with the following error:

ldconfig[141]: /sbin/ldconfig: Renaming of /etc/ld.so.cache~ to 
/etc/ld.so.cache failed: No such file or directory

This commit adds a ordering dependency between them to make sure that only one
service is running at the same time.

Signed-off-by: Arturo Buzarra 
---
 .../run-postinsts/run-postinsts/run-postinsts.service   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service 
b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service
index 7f72f3388a..b6b81d5c1a 100644
--- a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service
+++ b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts.service
@@ -1,9 +1,9 @@
 [Unit]
 Description=Run pending postinsts
 DefaultDependencies=no
-After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount
+After=systemd-remount-fs.service systemd-tmpfiles-setup.service tmp.mount 
ldconfig.service
 Before=sysinit.target
 
 [Service]
 Type=oneshot
 ExecStart=#SBINDIR#/run-postinsts
-- 
2.38.0


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#171992): 
https://lists.openembedded.org/g/openembedded-core/message/171992
Mute This Topic: https://lists.openembedded.org/mt/94453597/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] glib-2.0: fix rare GFileInfo test case failure

2022-10-20 Thread Ross Burton
If a access or creation timestamp has 0 microseconds, then the test
fails as it doesn't expect this to be a valid value.  Expand a previous
fix for modification times to cover these timestamps too.

[ YOCTO #14373 ]

Signed-off-by: Ross Burton 
---
 ...-info-don-t-assume-million-in-one-ev.patch | 51 +++
 meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb |  1 +
 2 files changed, 52 insertions(+)
 create mode 100644 
meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-g-file-info-don-t-assume-million-in-one-ev.patch

diff --git 
a/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-g-file-info-don-t-assume-million-in-one-ev.patch
 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-g-file-info-don-t-assume-million-in-one-ev.patch
new file mode 100644
index 000..e1acbecbd79
--- /dev/null
+++ 
b/meta/recipes-core/glib-2.0/glib-2.0/0001-gio-tests-g-file-info-don-t-assume-million-in-one-ev.patch
@@ -0,0 +1,51 @@
+Upstream-Status: Submitted 
[https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2990]
+Signed-off-by: Ross Burton 
+
+From 14838522a706ebdcc3cdab661d4c368099fe3a4e Mon Sep 17 00:00:00 2001
+From: Ross Burton 
+Date: Tue, 6 Jul 2021 19:26:03 +0100
+Subject: [PATCH] gio/tests/g-file-info: don't assume million-in-one events
+ don't happen
+
+The access and creation time tests create a file, gets the time in
+seconds, then gets the time in microseconds and assumes that the
+difference between the two has to be above 0.
+
+As rare as this may be, it can happen:
+
+$ stat g-file-info-test-50A450 -c %y
+2021-07-06 18:24:56.00767 +0100
+
+Change the test to simply assert that the difference not negative to
+handle this case.
+
+This is the same fix as 289f8b, but that was just modification time.
+---
+ gio/tests/g-file-info.c | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/gio/tests/g-file-info.c b/gio/tests/g-file-info.c
+index 59411c3a8..a213e4b92 100644
+--- a/gio/tests/g-file-info.c
 b/gio/tests/g-file-info.c
+@@ -239,7 +239,7 @@ test_g_file_info_access_time (void)
+   g_assert_nonnull (dt_usecs);
+ 
+   ts = g_date_time_difference (dt_usecs, dt);
+-  g_assert_cmpint (ts, >, 0);
++  g_assert_cmpint (ts, >=, 0);
+   g_assert_cmpint (ts, <, G_USEC_PER_SEC);
+ 
+   /* Try round-tripping the access time. */
+@@ -316,7 +316,7 @@ test_g_file_info_creation_time (void)
+   g_assert_nonnull (dt_usecs);
+ 
+   ts = g_date_time_difference (dt_usecs, dt);
+-  g_assert_cmpint (ts, >, 0);
++  g_assert_cmpint (ts, >=, 0);
+   g_assert_cmpint (ts, <, G_USEC_PER_SEC);
+ 
+   /* Try round-tripping the creation time. */
+-- 
+2.34.1
+
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb 
b/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb
index dd1ea508d2c..b5ab6502a38 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.72.3.bb
@@ -16,6 +16,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://0001-gio-tests-g-file-info-don-t-assume-million-in-one-ev.patch \
"
 SRC_URI:append:class-native = " file://relocate-modules.patch"
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#171991): 
https://lists.openembedded.org/g/openembedded-core/message/171991
Mute This Topic: https://lists.openembedded.org/mt/94453398/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] wayland-protocols: upgrade 1.26 -> 1.27

2022-10-20 Thread Markus Volk
wayland-protocols 1.27 is now available.

This release includes two new staging protocols:

 * Content type hint

This protocol enables clients to provide hints to the compositor about
what kind of content it provides, allowing compositors to optionally
adapt its behavior accordingly.

 * Idle notify

This extension allows compositors to notify clients about when the user
is idle.

Apart from these two new extensions, this release also brings the usual
clarifications, cleanups and fixes. Enjoy!

Daniel Stone (1):
  xdg-shell: ack_configure must be strictly monotonic

Emmanuel Gil Peyrot (1):
  staging/content-type: Content type hint support

Isaac Freund (1):
  ext-session-lock: add note on client termination

Jonas Ådahl (1):
  build: Bump version to 1.27

Simon Ser (3):
  xdg-shell: forbid loops in set_parent
  ext-idle-notify: new protocol
  build: alphabetically sort list of staging protocols

Signed-off-by: Markus Volk 
---
 .../{wayland-protocols_1.26.bb => wayland-protocols_1.27.bb} | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
 rename meta/recipes-graphics/wayland/{wayland-protocols_1.26.bb => 
wayland-protocols_1.27.bb} (79%)

diff --git a/meta/recipes-graphics/wayland/wayland-protocols_1.26.bb 
b/meta/recipes-graphics/wayland/wayland-protocols_1.27.bb
similarity index 79%
rename from meta/recipes-graphics/wayland/wayland-protocols_1.26.bb
rename to meta/recipes-graphics/wayland/wayland-protocols_1.27.bb
index 322f55dc71..5223a13f1a 100644
--- a/meta/recipes-graphics/wayland/wayland-protocols_1.26.bb
+++ b/meta/recipes-graphics/wayland/wayland-protocols_1.27.bb
@@ -9,9 +9,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://COPYING;md5=c7b12b6702da38ca028ace54aae3d484 \
 
file://stable/presentation-time/presentation-time.xml;endline=26;md5=4646cd7d9edc9fa55db941f2d3a7dc53"
 
-SRC_URI = "https://wayland.freedesktop.org/releases/${BPN}-${PV}.tar.xz \
-   "
-SRC_URI[sha256sum] = 
"c553384c1c68afd762fa537a2569cc9074fe7600da12d3472761e77a2ba56f13"
+SRC_URI = 
"https://gitlab.freedesktop.org/wayland/wayland-protocols/-/releases/${PV}/downloads/wayland-protocols-${PV}.tar.xz;
+SRC_URI[sha256sum] = 
"9046f10a425d4e2a00965a03acfb6b3fb575a56503ac72c2b86821c69653375c"
 
 UPSTREAM_CHECK_URI = "https://wayland.freedesktop.org/releases.html;
 
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#171990): 
https://lists.openembedded.org/g/openembedded-core/message/171990
Mute This Topic: https://lists.openembedded.org/mt/94450458/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][langdale][kirkstone][PATCH] openssl: CVE-2022-3358 Using a Custom Cipher with NID_undef may lead to NULL encryption

2022-10-20 Thread Ross Burton
To make patches easier to understand in the future, please include in 
CVE-2022-3358.patch the full commit message from the commit.

If, in a month, I want to see what this CVE patch does I need to follow links 
(but you did include them in the backport statement, which is appreciated!)  If 
it was in the file then I wouldn’t have to.

Ross

> On 20 Oct 2022, at 05:18, Hitendra Prajapati via lists.openembedded.org 
>  wrote:
> 
> Upstream-Status: Backport from 
> https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=5485c56679d7c49b96e8fc8ca708b0b7e7c03c4b]
> Description:
>   CVE-2022-3358 openssl: Using a Custom Cipher with NID_undef may lead to 
> NULL encryption.
> Affects "openssl < 3.0.6"
> 
> Signed-off-by: Hitendra Prajapati 
> ---
> .../openssl/openssl/CVE-2022-3358.patch   | 55 +++
> .../openssl/openssl_3.0.5.bb  |  1 +
> 2 files changed, 56 insertions(+)
> create mode 100644 
> meta/recipes-connectivity/openssl/openssl/CVE-2022-3358.patch
> 
> diff --git a/meta/recipes-connectivity/openssl/openssl/CVE-2022-3358.patch 
> b/meta/recipes-connectivity/openssl/openssl/CVE-2022-3358.patch
> new file mode 100644
> index 00..18b2a5a6b2
> --- /dev/null
> +++ b/meta/recipes-connectivity/openssl/openssl/CVE-2022-3358.patch
> @@ -0,0 +1,55 @@
> +From 56e1d693f0ec5550a8e3dd52d30e57a02f0287af Mon Sep 17 00:00:00 2001
> +From: Hitendra Prajapati 
> +Date: Wed, 19 Oct 2022 11:08:23 +0530
> +Subject: [PATCH] CVE-2022-3358
> +
> +Upstream-Status: Backport 
> [https://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=5485c56679d7c49b96e8fc8ca708b0b7e7c03c4b]
> +CVE : CVE-2022-3358
> +Signed-off-by: Hitendra Prajapati 
> +---
> + crypto/evp/digest.c  | 4 +++-
> + crypto/evp/evp_enc.c | 6 --
> + 2 files changed, 7 insertions(+), 3 deletions(-)
> +
> +diff --git a/crypto/evp/digest.c b/crypto/evp/digest.c
> +index de9a1dc..e6e03ea 100644
> +--- a/crypto/evp/digest.c
>  b/crypto/evp/digest.c
> +@@ -225,7 +225,9 @@ static int evp_md_init_internal(EVP_MD_CTX *ctx, const 
> EVP_MD *type,
> + || tmpimpl != NULL
> + #endif
> + || (ctx->flags & EVP_MD_CTX_FLAG_NO_INIT) != 0
> +-|| type->origin == EVP_ORIG_METH) {
> ++|| (type != NULL && type->origin == EVP_ORIG_METH)
> ++|| (type == NULL && ctx->digest != NULL
> ++ && ctx->digest->origin == EVP_ORIG_METH)) {
> + if (ctx->digest == ctx->fetched_digest)
> + ctx->digest = NULL;
> + EVP_MD_free(ctx->fetched_digest);
> +diff --git a/crypto/evp/evp_enc.c b/crypto/evp/evp_enc.c
> +index 19a07de..5df08bd 100644
> +--- a/crypto/evp/evp_enc.c
>  b/crypto/evp/evp_enc.c
> +@@ -131,7 +131,10 @@ static int evp_cipher_init_internal(EVP_CIPHER_CTX *ctx,
> + #if !defined(OPENSSL_NO_ENGINE) && !defined(FIPS_MODULE)
> + || tmpimpl != NULL
> + #endif
> +-|| impl != NULL) {
> ++|| impl != NULL
> ++|| (cipher != NULL && cipher->origin == EVP_ORIG_METH)
> ++|| (cipher == NULL && ctx->cipher != NULL
> ++   && ctx->cipher->origin == EVP_ORIG_METH)) {
> + if (ctx->cipher == ctx->fetched_cipher)
> + ctx->cipher = NULL;
> + EVP_CIPHER_free(ctx->fetched_cipher);
> +@@ -147,7 +150,6 @@ static int evp_cipher_init_internal(EVP_CIPHER_CTX *ctx,
> + ctx->cipher_data = NULL;
> + }
> + 
> +-
> + /* Start of non-legacy code below */
> + 
> + /* Ensure a context left lying around from last time is cleared */
> +-- 
> +2.25.1
> +
> diff --git a/meta/recipes-connectivity/openssl/openssl_3.0.5.bb 
> b/meta/recipes-connectivity/openssl/openssl_3.0.5.bb
> index e50ff7f8c5..ee051ee7d4 100644
> --- a/meta/recipes-connectivity/openssl/openssl_3.0.5.bb
> +++ b/meta/recipes-connectivity/openssl/openssl_3.0.5.bb
> @@ -12,6 +12,7 @@ SRC_URI = 
> "http://www.openssl.org/source/openssl-${PV}.tar.gz \
>
> file://0001-buildinfo-strip-sysroot-and-debug-prefix-map-from-co.patch \
>file://afalg.patch \
>file://0001-Configure-do-not-tweak-mips-cflags.patch \
> +   file://CVE-2022-3358.patch \
>"
> 
> SRC_URI:append:class-nativesdk = " \
> -- 
> 2.25.1
> 
> 
> 
> 


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