-
Notifications
You must be signed in to change notification settings - Fork 549
2022 04.4 openstlinux 5.15 yocto kirkstone mp1 v22.11.23 #88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
cracked-machine
wants to merge
595
commits into
openembedded:master
from
cracked-machine:2022-04.4_openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23
Closed
2022 04.4 openstlinux 5.15 yocto kirkstone mp1 v22.11.23 #88
cracked-machine
wants to merge
595
commits into
openembedded:master
from
cracked-machine:2022-04.4_openstlinux-5.15-yocto-kirkstone-mp1-v22.11.23
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Integrating the following commit(s) to linux-yocto/5.15:
Author: Bruce Ashfield <bruce.ashfield@gmail.com>
Date: Sun Jul 10 21:37:07 2022 -0400
vt/conmakehash: improve reproducibility
The file generated by conmakehash capture the application
path used to generate the file. While that can be informative,
it varies based on where the kernel was built, as the full
path is captured.
We tweak the application to use a second input as the "capture
name", and then modify the Makefile to pass the basename of
the source, making it reproducible.
This could be improved by using some sort of path mapping,
or the application manipualing argv[1] itself, but for now
this solves the reprodicibility issue.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1d63f81)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Integrating the following commit(s) to linux-yocto/5.15:
Author: Bruce Ashfield <bruce.ashfield@gmail.com>
Date: Sun Jul 10 22:56:53 2022 -0400
lib/build_OID_registry: fix reproducibility issues
The script build_OID_registry captures the full path of itself
in the generated data. This causes reproduciblity issues as the
path is captured and packaged.
We use the basename of the script instead, and that allows us
to be reprodicible, with slightly less information captured in
the output data (but the generating script can still easily
be found).
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7084212)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Integrating the following commit(s) to linux-yocto/5.15:
6c085baf1838 tools: use basename to identify file in gen-mach-types
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit d5db959)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updating to the latest korg -stable release that comprises
the following commits:
843dae1756d9 Linux 5.15.54
c0c041a60cac selftests/net: fix section name when using xdp_dummy.o
a5fe76328ea5 dmaengine: idxd: force wq context cleanup on device disable path
568b2bd79b59 dmaengine: ti: Add missing put_device in ti_dra7_xbar_route_allocate
2f6ded79068c dmaengine: qcom: bam_dma: fix runtime PM underflow
cb9813d7eae9 dmaengine: ti: Fix refcount leak in ti_dra7_xbar_route_allocate
e08ccbaa5fb3 dmaengine: at_xdma: handle errors of at_xdmac_alloc_desc() correctly
c787908bee3f dmaengine: lgm: Fix an error handling path in intel_ldma_probe()
0bbb30d077f2 dmaengine: pl330: Fix lockdep warning about non-static key
8b07022de2d3 ida: don't use BUG_ON() for debugging
9839d89112d4 dt-bindings: dma: allwinner,sun50i-a64-dma: Fix min/max typo
e99bad0d76cf Revert "serial: 8250_mtk: Make sure to select the right FEATURE_SEL"
2fa22e7906c1 Revert "mm/memory-failure.c: fix race with changing page compound again"
c1c98764c3c3 misc: rtsx_usb: set return value in rsp_buf alloc err path
bab1a05a1141 misc: rtsx_usb: use separate command and response buffers
378080b7d8dd misc: rtsx_usb: fix use of dma mapped buffer for usb bulk transfer
d76704f8ccbb dmaengine: imx-sdma: Allow imx8m for imx7 FW revs
530ee8d3c6a4 i2c: cadence: Unregister the clk notifier in error path
941d77b795d1 r8169: fix accessing unset transport header
3abec0b38173 selftests: forwarding: fix error message in learning_test
1b74fe2e8f5c selftests: forwarding: fix learning_test when h1 supports IFF_UNICAST_FLT
8e5fcfecd99a selftests: forwarding: fix flood_unicast_test when h2 supports IFF_UNICAST_FLT
3fdca34e7811 ibmvnic: Properly dispose of all skbs during a failover.
5912e5e47ac9 ARM: dts: stm32: add missing usbh clock and fix clk order on stm32mp15
d5670adf5cff ARM: dts: stm32: use usbphyc ck_usbo_48m as USBH OHCI clock on stm32mp151
ddec6cbbe227 i40e: Fix VF's MAC Address change on VM
9d1e322a9103 i40e: Fix dropped jumbo frames statistics
d2bf1a6480e8 i2c: piix4: Fix a memory leak in the EFCH MMIO support
e7a1d5100921 xsk: Clear page contiguity bit when unmapping pool
a2b92fffd51b ARM: at91: fix soc detection for SAM9X60 SiPs
e3ee4ffa3c92 ARM: dts: at91: sama5d2_icp: fix eeprom compatibles
f5b0e6d7b453 ARM: dts: at91: sam9x60ek: fix eeprom compatible and size
a65b92628ae0 ARM: at91: pm: use proper compatibles for sama7g5's rtc and rtt
cfd0e717bd93 ARM: at91: pm: use proper compatibles for sam9x60's rtc and rtt
9ec5fe55ba75 ARM: at91: pm: use proper compatible for sama5d2's rtc
ec5533b2ce26 arm64: dts: qcom: msm8992-*: Fix vdd_lvs1_2-supply typo
76292cf4b3bc pinctrl: sunxi: sunxi_pconf_set: use correct offset
c041165d8f04 arm64: dts: imx8mp-phyboard-pollux-rdk: correct i2c2 & mmc settings
44826474a39a arm64: dts: imx8mp-phyboard-pollux-rdk: correct eqos pad settings
ea8dbe870c84 arm64: dts: imx8mp-phyboard-pollux-rdk: correct uart pad settings
67a21eb8c48e arm64: dts: imx8mp-evk: correct I2C3 pad settings
b34da817e3fa arm64: dts: imx8mp-evk: correct I2C1 pad settings
37413a0ea090 arm64: dts: imx8mp-evk: correct eqos pad settings
ebad4d73ab1c arm64: dts: imx8mp-evk: correct vbus pad settings
f1571c8c8724 arm64: dts: imx8mp-evk: correct gpio-led pad settings
637b3dab51f7 arm64: dts: imx8mp-evk: correct the uart2 pinctl value
401d27fec614 arm64: dts: imx8mp-evk: correct mmc pad settings
ee1ced3dd863 ARM: mxs_defconfig: Enable the framebuffer
89a718d1d080 arm64: dts: qcom: sdm845: use dispcc AHB clock for mdss node
216094007699 arm64: dts: qcom: msm8994: Fix CPU6/7 reg values
4157343a6a1a ASoC: codecs: rt700/rt711/rt711-sdca: resume bus/codec in .set_jack_detect
ac80a45ddb62 ASoC: rt711-sdca: Add endianness flag in snd_soc_component_driver
25e61636a5c3 ASoC: rt711: Add endianness flag in snd_soc_component_driver
29029ca6eed7 pinctrl: sunxi: a83t: Fix NAND function name for some pins
7208101ded1e ARM: meson: Fix refcount leak in meson_smp_prepare_cpus
9c26be2c3e69 tty: n_gsm: fix encoding of command/response bit
3b9f49138669 btrfs: fix use of uninitialized variable at rm device ioctl
cb91c0548ff2 virtio-blk: modify the value type of num in virtio_queue_rq()
d35b78cb053a btrfs: fix error pointer dereference in btrfs_ioctl_rm_dev_v2()
f88e79727fba Revert "serial: sc16is7xx: Clear RS485 bits in the shutdown"
83d3449e8ae5 xfs: remove incorrect ASSERT in xfs_rename
63a3d2377715 can: kvaser_usb: kvaser_usb_leaf: fix bittiming limits
420b99306b7e can: kvaser_usb: kvaser_usb_leaf: fix CAN clock frequency regression
baffaed7fab3 can: kvaser_usb: replace run-time checks with struct kvaser_usb_driver_info
188c798f3c25 net: dsa: qca8k: reset cpu port on MTU change
c79726aba6af powerpc/powernv: delay rng platform device creation until later in boot
cc409f88e8f7 video: of_display_timing.h: include errno.h
6c9c8a7a9a54 memregion: Fix memregion_free() fallback definition
79827e53b069 PM: runtime: Redefine pm_runtime_release_supplier()
9c9e44bb3dd5 fbcon: Prevent that screen size is smaller than font size
688632778025 fbcon: Disallow setting font bigger than screen size
738d06ef99cb fbmem: Check virtual screen sizes in fb_set_var()
989b2c40322e fbdev: fbmem: Fix logo center image dx issue
e5fde29135a4 iommu/vt-d: Fix PCI bus rescan device hot add
09cb6663618a module: fix [e_shstrndx].sh_size=0 OOB access
e9f331bb5d43 module: change to print useful messages from elf_validity_check()
82b50219c85d dt-bindings: soc: qcom: smd-rpm: Fix missing MSM8936 compatible
93dfb9c6deeb dt-bindings: soc: qcom: smd-rpm: Add compatible for MSM8953 SoC
8371666ef44c rxrpc: Fix locking issue
d74b09b933b9 irqchip/gic-v3: Refactor ISB + EOIR at ack time
b82dfacba576 irqchip/gic-v3: Ensure pseudo-NMIs have an ISB between ack and handling
51ebf1b6a077 io_uring: avoid io-wq -EAGAIN looping for !IOPOLL
b3cec8a42fcd Bluetooth: btmtksdio: fix use-after-free at btmtksdio_recv_event
5781bb8a3191 Bluetooth: protect le accept and resolv lists with hdev->lock
8a2dbdeccef6 drm/mediatek: Add vblank register/unregister callback functions
2c4396693698 drm/mediatek: Add cmdq_handle in mtk_crtc
d3f153557045 drm/mediatek: Detect CMDQ execution timeout
6f77386ddb1c drm/mediatek: Remove the pointer of struct cmdq_client
d953c679022c drm/mediatek: Use mailbox rx_callback instead of cmdq_task_cb
51a405dea0ae drm/i915: Fix a race between vma / object destruction and unbinding
7a9e13b86536 drm/amdgpu: vi: disable ASPM on Intel Alder Lake based systems
0a9a60dcedaa drm/amd: Refactor `amdgpu_aspm` to be evaluated per device
00fa5cbbb6a7 tty: n_gsm: fix invalid gsmtty_write_room() result
156f2c2378e1 serial: 8250_mtk: Make sure to select the right FEATURE_SEL
e58094e2b516 tty: n_gsm: fix sometimes uninitialized warning in gsm_dlci_modem_output()
b952aa508786 tty: n_gsm: fix invalid use of MSC in advanced option
62d1655b9229 mm/hwpoison: fix race between hugetlb free/demotion and memory_failure_hugetlb()
5429eb5502fc mm/memory-failure.c: fix race with changing page compound again
7a07875fabcc mm/hwpoison: avoid the impact of hwpoison_filter() return value on mce handler
d04b62b64056 mm/hwpoison: mf_mutex for soft offline and unpoison
a0f4fd486896 KVM: Initialize debugfs_dentry when a VM is created to avoid NULL deref
70e2e87ea878 btrfs: zoned: use dedicated lock for data relocation
1519e6e28478 btrfs: zoned: encapsulate inode locking for zoned relocation
920e849b7d23 tty: n_gsm: fix missing update of modem controls after DLCI open
4db0a8dd9067 ALSA: usb-audio: add mapping for MSI MAG X570S Torpedo MAX.
a7fe6934ce7c ALSA: usb-audio: add mapping for MSI MPG X570S Carbon Max Wifi.
6dcf1e5581b4 tty: n_gsm: fix frame reception handling
375dfcfca4a1 tty: n_gsm: Save dlci address open status when config requester
88a4fb1346b3 tty: n_gsm: Modify CR,PF bit when config requester
e73c0eaf7f35 KVM: Don't create VM debugfs files outside of the VM directory
f3647c369c17 drm/amd/vcn: fix an error msg on vcn 3.0
a976456c797c ASoC: rt5682: fix an incorrect NULL check on list iterator
c0058893a4a9 ASoC: rt5682: move clk related code to rt5682_i2c_probe
121af0231f82 uapi/linux/stddef.h: Add include guards
1d9bd723e7b4 stddef: Introduce DECLARE_FLEX_ARRAY() helper
c2f3dab1ac54 bus: mhi: Fix pm_state conversion to string
3f6d5cb0a5e5 bus: mhi: core: Use correctly sized arguments for bit field
170a08ad3d1a serial: sc16is7xx: Clear RS485 bits in the shutdown
5dce84f475d1 powerpc/tm: Fix more userspace r13 corruption
ed8a5d63a0da powerpc: flexible GPR range save/restore macros
0a80e66a10af powerpc/32: Don't use lmw/stmw for saving/restoring non volatile regs
b342feb49141 scsi: qla2xxx: Fix loss of NVMe namespaces after driver reload test
31c60d15ccd1 KVM: s390x: fix SCK locking
83772314e1e0 btrfs: don't access possibly stale fs_info data in device_list_add
6784b694ecd8 KVM: use __vcalloc for very large allocations
c33904fd1ef4 mm: vmalloc: introduce array allocation functions
ff41804632e5 Compiler Attributes: add __alloc_size() for better bounds checking
a1e69c36de17 mtd: spi-nor: Skip erase logic when SPI_NOR_NO_ERASE is set
e65d78b12fbc batman-adv: Use netif_rx().
4c0bb583a444 iio: accel: mma8452: use the correct logic to get mma8452_data
ffd3e67f0dfb riscv/mm: Add XIP_FIXUP for riscv_pfn_base
d6f1651ddf91 NFSD: COMMIT operations must not return NFS?ERR_INVAL
c2a9881bc2ca NFSD: De-duplicate net_generic(nf->nf_net, nfsd_net_id)
59bf2aca4b1c drm/amd/display: Fix by adding FPU protection for dcn30_internal_validate_bw
f276634b12fa drm/amd/display: Set min dcfclk if pipe count is 0
f799df4569c1 drbd: fix an invalid memory access caused by incorrect use of list iterator
5bb1df0bfd46 drbd: Fix double free problem in drbd_create_device
dbbcf21ad6a8 drbd: add error handling support for add_disk()
72fa2ea3e0ab btrfs: remove device item and update super block in the same transaction
f75534a71abf btrfs: use btrfs_get_dev_args_from_path in dev removal ioctls
321a81835b4a btrfs: add a btrfs_get_dev_args_from_path helper
5578b681fbf2 btrfs: handle device lookup with btrfs_dev_lookup_args
09674bfd8054 vdpa/mlx5: Avoid processing works if workqueue was destroyed
008e29d172ca gfs2: Fix gfs2_file_buffered_write endless loop workaround
9b7eb92dac24 scsi: qla2xxx: Fix crash during module load unload test
72806635ee63 scsi: qla2xxx: edif: Replace list_for_each_safe with list_for_each_entry_safe
d4510119911c scsi: qla2xxx: Fix laggy FC remote port session recovery
241afac69b96 scsi: qla2xxx: Move heartbeat handling from DPC thread to workqueue
1e9d6854951a KVM: x86/mmu: Use common TDP MMU zap helper for MMU notifier unmap hook
eabbe74e7de5 KVM: x86/mmu: Use yield-safe TDP MMU root iter in MMU notifier unmapping
0855054fa889 clk: renesas: r9a07g044: Update multiplier and divider values for PLL2/3
518bb9636712 cxl/port: Hold port reference until decoder release
8b5ce83872b4 mt76: mt7921: do not always disable fw runtime-pm
9d721a17505b mt76: mt76_connac: fix MCU_CE_CMD_SET_ROC definition error
6512c3c39cb6 media: davinci: vpif: fix use-after-free on driver unbind
2823225fbba0 media: omap3isp: Use struct_group() for memcpy() region
d57ab893cdf8 stddef: Introduce struct_group() helper macro
af9452dfdba4 block: fix rq-qos breakage from skipping rq_qos_done_bio()
13141cceadd0 block: only mark bio as tracked if it really is tracked
eb79d1353cd0 block: use bdev_get_queue() in bio.c
df1ec53252d5 io_uring: ensure that fsnotify is always called
5c82c94b0be7 virtio-blk: avoid preallocating big SGL for data
32ac44b70e17 ibmvnic: Allow queueing resets during probe
85996ef17952 ibmvnic: clear fop when retrying probe
4fe1439ef2e0 ibmvnic: init init_done_rc earlier
a29c71f3a4b1 s390/setup: preserve memory at OLDMEM_BASE and OLDMEM_SIZE
06de5cf61538 s390/setup: use physical pointers for memblock_reserve()
6ed826c949cf s390/boot: allocate amode31 section in decompressor
aa1f19606558 netfilter: nft_payload: don't allow th access for fragments
5445819e76a6 netfilter: nft_payload: support for inner header matching / mangling
0d9bd7e6ac3a netfilter: nf_tables: convert pktinfo->tprot_set to flags field
25ca15fed4bb ASoC: rt5682: Fix deadlock on resume
f536e0df64b8 ASoC: rt5682: Re-detect the combo jack after resuming
4b72179e53bd ASoC: rt5682: Avoid the unexpected IRQ event during going to suspend
301ebfa578e3 net/mlx5e: TC, Reject rules with forward and drop actions
6d1ac7f882da net/mlx5e: TC, Reject rules with drop and modify hdr action
aa944fefb396 net/mlx5e: Split actions_match_supported() into a sub function
f1c36a47a3b4 net/mlx5e: Check action fwd/drop flag exists also for nic flows
910349170ac0 RISC-V: defconfigs: Set CONFIG_FB=y, for FB console
49ae6abd617f riscv: defconfig: enable DRM_NOUVEAU
feacd73fd8b2 bpf, arm64: Use emit_addr_mov_i64() for BPF_PSEUDO_FUNC
d53c8fe9ee29 bpf: Stop caching subprog index in the bpf_pseudo_func insn
d3688bfa5af4 mt76: mt7921: fix a possible race enabling/disabling runtime-pm
281a194f5a67 mt76: mt7921: introduce mt7921_mcu_set_beacon_filter utility routine
09aee8375b0c mt76: mt7921: get rid of mt7921_mac_set_beacon_filter
9846b9e4bba7 platform/x86: wmi: Fix driver->notify() vs ->probe() race
4b5356231989 platform/x86: wmi: Replace read_takes_no_args with a flags field
789382ce7359 platform/x86: wmi: introduce helper to convert driver to WMI driver
a9a101842420 qed: Improve the stack space of filter_config()
8a29aec244ae ath11k: add hw_param for wakeup_mhi
16b7cb2803bf memory: renesas-rpc-if: Avoid unaligned bus access for HyperFlash
a4ac45aff8d3 media: ir_toy: prevent device from hanging during transmit
e1716b0ff925 PCI: pciehp: Ignore Link Down/Up caused by error-induced Hot Reset
006d00d826fb PCI/portdrv: Rename pm_iter() to pcie_port_device_iter()
b33035945b0a drm/i915: Replace the unconditional clflush with drm_clflush_virt_range()
9cf3a1c1288e drm/i915/gt: Register the migrate contexts with their engines
d839d15b5074 drm/i915: Disable bonding on gen12+ platforms
70fc07e30817 btrfs: fix deadlock between chunk allocation and chunk btree modifications
3fb11d13220d dma-buf/poll: Get a file reference for outstanding fence callbacks
140395211626 Input: goodix - try not to touch the reset-pin on x86/ACPI devices
8422a9b306f1 Input: goodix - refactor reset handling
f5b1c6d526d8 Input: goodix - add a goodix.h header file
1354ceb1b6bf Input: goodix - change goodix_i2c_write() len parameter type to int
8d1d6b29baa9 Input: cpcap-pwrbutton - handle errors from platform_get_irq()
48f8f198a2ab btrfs: fix warning when freeing leaf after subvolume creation failure
9bc53f5a3932 btrfs: fix invalid delayed ref after subvolume creation failure
661820504717 btrfs: add additional parameters to btrfs_init_tree_ref/btrfs_init_data_ref
bb5c24715501 btrfs: rename btrfs_alloc_chunk to btrfs_create_chunk
c1784d207513 netfilter: nf_tables: stricter validation of element data
5ccecafc728b netfilter: nft_set_pipapo: release elements in clone from abort path
75e9009edabc net: rose: fix UAF bug caused by rose_t0timer_expiry
db89582ff330 usbnet: fix memory leak in error case
a7de8d436db9 bpf: Fix insufficient bounds propagation from adjust_scalar_min_max_vals
a703cbdd791b bpf: Fix incorrect verifier simulation around jmp32's jeq/jne
f7c9b38cc5a2 can: mcp251xfd: mcp251xfd_regmap_crc_read(): update workaround broken CRC on TBC register
0cab3fb917c5 can: mcp251xfd: mcp251xfd_regmap_crc_read(): improve workaround handling for mcp2517fd
c7333f798884 can: m_can: m_can_{read_fifo,echo_tx_event}(): shift timestamp to full 32 bits
f4d90e9c95d4 can: m_can: m_can_chip_config(): actually enable internal timestamping
0e60230bc643 can: gs_usb: gs_usb_open/close(): fix memory leak
8cfa1a33b0fb can: grcan: grcan_probe(): remove extra of_node_get()
f34f2a18e47b can: bcm: use call_rcu() instead of costly synchronize_rcu()
51aab37a66a2 ALSA: cs46xx: Fix missing snd_card_free() call at probe error
f768f3ca5f38 ALSA: hda/realtek: Add quirk for Clevo L140PU
f62c53c6e70d ALSA: usb-audio: Workarounds for Behringer UMC 204/404 HD
e63b94b8dd5f Revert "selftests/bpf: Add test for bpf_timer overwriting crash"
066a5b678472 mm/filemap: fix UAF in find_lock_entries
0515cc9b6b24 mm/slub: add missing TID updates on slab deactivation
eb18ccd14633 Linux 5.15.53
6b316eedff44 hwmon: (ibmaem) don't call platform_device_del() if platform_device_add() fails
8848842f0a9b hwmon: (occ) Prevent power cap command overwriting poll response
38920480329f hwmon: (occ) Remove sequence numbering and checksum calculation
5b458d3de9cf drm/fourcc: fix integer type usage in uapi header
f2def2643350 platform/x86: panasonic-laptop: filter out duplicate volume up/down/mute keypresses
b9b7a115dfd1 platform/x86: panasonic-laptop: don't report duplicate brightness key-presses
6201123ca5bc platform/x86: panasonic-laptop: revert "Resolve hotkey double trigger bug"
484e10843a74 platform/x86: panasonic-laptop: sort includes alphabetically
b619348d9d69 platform/x86: panasonic-laptop: de-obfuscate button codes
8547315c1377 drivers: cpufreq: Add missing of_node_put() in qoriq-cpufreq.c
68aa6f13dc43 drm/msm/gem: Fix error return on fence id alloc fail
a13ea254268c drm/i915/gem: add missing else
4dc036ddf4bf net: fix IFF_TX_SKB_NO_LINEAR definition
25daf14eacd1 fsi: occ: Force sequence numbering per OCC
8169198652b9 clocksource/drivers/ixp4xx: remove EXPORT_SYMBOL_GPL from ixp4xx_timer_setup()
74acf9cc87c7 net: usb: qmi_wwan: add Telit 0x1070 composition
9f83c8f6ab14 xen/arm: Fix race in RB-tree based P2M accounting
1052fc2b7391 xen-netfront: restore __skb_queue_tail() positioning in xennet_get_responses()
6d0a9127279a xen/blkfront: force data bouncing when backend is untrusted
ed3cfc690675 xen/netfront: force data bouncing when backend is untrusted
5dd0993c3683 xen/netfront: fix leaking data in shared pages
7ed65a4ad8fa xen/blkfront: fix leaking data in shared pages
472863c7b523 selftests/rseq: Change type of rseq_offset to ptrdiff_t
df2e933a5348 selftests/rseq: x86-32: use %gs segment selector for accessing rseq thread area
f5a656b4ab48 selftests/rseq: x86-64: use %fs segment selector for accessing rseq thread area
4633aa6fadc6 selftests/rseq: Fix: work-around asm goto compiler bugs
786bd3511934 selftests/rseq: Remove arm/mips asm goto compiler work-around
33307f2afd85 selftests/rseq: Fix warnings about #if checks of undefined tokens
21199d90428e selftests/rseq: Fix ppc32 offsets by using long rather than off_t
56cbd6e40e41 selftests/rseq: Fix ppc32 missing instruction selection "u" and "x" for load/store
1969c5eff964 selftests/rseq: Fix ppc32: wrong rseq_cs 32-bit field pointer on big endian
b9a8ebe29636 selftests/rseq: Uplift rseq selftests for compatibility with glibc-2.35
e49d1c413d28 selftests/rseq: Introduce thread pointer getters
d471088d078b selftests/rseq: Introduce rseq_get_abi() helper
c9a96b4231c3 selftests/rseq: Remove volatile from __rseq_abi
3c35d9cbd99b selftests/rseq: Remove useless assignment to cpu variable
94a913fe6271 selftests/rseq: introduce own copy of rseq uapi header
58f64962a697 selftests/rseq: remove ARRAY_SIZE define from individual tests
34ec62bc44b0 selftests/bpf: Add test_verifier support to fixup kfunc call insns
e11cdd74519e tcp: add a missing nf_reset_ct() in 3WHS handling
010d7c422296 MAINTAINERS: add Leah as xfs maintainer for 5.15.y
c28f95515503 net: tun: avoid disabling NAPI twice
9db9e649f88f mlxsw: spectrum_router: Fix rollback in tunnel next hop init
2930ee1a166d ipv6: fix lockdep splat in in6_dump_addrs()
d6371303b4db ipv6/sit: fix ipip6_tunnel_get_prl return value
674a641e5b67 tunnels: do not assume mac header is set in skb_tunnel_check_pmtu()
b43a47c1c5c7 ACPI: video: Change how we determine if brightness key-presses are handled
50fefe57f45e io_uring: ensure that send/sendmsg and recv/recvmsg check sqe->ioprio
c8fb40fd7bb7 epic100: fix use after free on rmmod
35fcb2ba35b4 tipc: move bc link creation back to tipc_node_create
eaf7e6fe4b07 NFC: nxp-nci: Don't issue a zero length i2c_master_read()
d13a5b86e284 nfc: nfcmrvl: Fix irq_of_parse_and_map() return value
89296ac435e2 powerpc/memhotplug: Add add_pages override for PPC
ef0af7d08d26 net: bonding: fix use-after-free after 802.3ad slave unbind
7227bc7bd103 net: phy: ax88772a: fix lost pause advertisement configuration
0d139145cc0f net: bonding: fix possible NULL deref in rlb code
efafb28ff39f net: asix: fix "can't send until first packet is send" issue
ed303cc7aab9 net/sched: act_api: Notify user space if any actions were flushed before error
1d776f085006 net/dsa/hirschmann: Add missing of_node_get() in hellcreek_led_setup()
031561caa38a netfilter: nft_dynset: restore set element counter when failing to update
a6c5c65f4c37 s390: remove unneeded 'select BUILD_BIN2C'
10f88306f9f3 vdpa/mlx5: Update Control VQ callback information
01121e39ef53 PM / devfreq: exynos-ppmu: Fix refcount leak in of_get_devfreq_events
7cf7ed8f23c4 caif_virtio: fix race between virtio_device_ready() and ndo_open()
4d5055873e24 vfs: fix copy_file_range() regression in cross-fs copies
115d94191691 NFSD: restore EINVAL error translation in nfsd_commit()
c9f8f94d3ca9 net: ipv6: unexport __init-annotated seg6_hmac_net_init()
0b842b9e84cd selftests: mptcp: more stable diag tests
536d2a6a4fd6 usbnet: fix memory allocation in helpers
f7eaa228b0fa net: usb: asix: do not force pause frames support
0b6e0eb5c45e linux/dim: Fix divide by 0 in RDMA DIM
889000874c12 RDMA/cm: Fix memory leak in ib_cm_insert_listen
732e73bd81c7 RDMA/qedr: Fix reporting QP timeout attribute
c16404122a7c net: dp83822: disable rx error interrupt
7191cecb99b2 net: dp83822: disable false carrier interrupt
92e4f3ee5831 net: tun: stop NAPI when detaching queues
8145f77d38de net: tun: unlink NAPI from device on destruction
1e2327ba0fe9 net: dsa: bcm_sf2: force pause link settings
cc38c1eaa2e0 selftests/net: pass ipv6_args to udpgso_bench's IPv6 TCP test
4db9730360ab virtio-net: fix race between ndo_open() and virtio_device_ready()
aa0806efb8f0 net: usb: ax88179_178a: Fix packet receiving
659d39545260 net: rose: fix UAF bugs caused by timer handler
6437d3deee28 SUNRPC: Fix READ_PLUS crasher
0222575395bd s390/archrandom: simplify back to earlier design and initialize earlier
d5b06039b195 dm raid: fix KASAN warning in raid5_add_disks
6352b2f4d8e9 dm raid: fix accesses beyond end of raid member array
bdb4d98d6d95 powerpc/bpf: Fix use of user_pt_regs in uapi
e646baf1a4fd powerpc/book3e: Fix PUD allocation size in map_kernel_page()
0c1d781d6b08 powerpc/prom_init: Fix kernel config grep
be74e588f1a5 nvdimm: Fix badblocks clear off-by-one error
526b53192d09 nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA IM2P33F8ABR1
58caf60ce217 nvme-pci: add NVME_QUIRK_BOGUS_NID for ADATA XPG SX6000LNP (AKA SPECTRIX S40G)
25fab798784b net: phy: Don't trigger state machine while in suspend
159f2454ab12 ipv6: take care of disable_policy when restoring routes
e33f5b581574 ksmbd: use vfs_llseek instead of dereferencing NULL
9d48194d3e49 ksmbd: check invalid FileOffset and BeyondFinalZero in FSCTL_ZERO_DATA
6791b57284f5 ksmbd: set the range of bytes to zero without extending file size in FSCTL_ZERO_DATA
31c371b61d13 drm/amdgpu: To flush tlb for MMHUB of RAVEN series
990132bebcc8 Revert "drm/amdgpu/display: set vblank_disable_immediate for DC"
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 0545733)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Integrating the following commit(s) to linux-yocto/5.15:
a40d2daf2795 pnmtologo: use relocatable file name
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 3c2bd1b)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
We've been removing .vdso-offsets.h.cmd for quite some time, as it is not required to regenerate scripts or to satisfy the prepare target in the kernel source. That being said, there is a secondary location that this file may be found, and since we aren't detecting or removing it, we end up with embedded build paths, which cause both reproducibility and buildpaths QA warnings. We can test for both files, and force remove them if present, and we'll fix this new location of the file and not risk breaking any old kernels. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e0a9433) Signed-off-by: Steve Sakoman <steve@sakoman.com>
In a similar manner to the arm/arm32 reprodicibility fixes, we can also fix ppc32. The file .vdso32-offsets.h.cmd has captured paths, but we don't need it on target or SDKs to regenerate a build enviroment. We add it to our vdso-offsets list of files to delete and we no longer have files patckaged with buildpaths. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2a142b6) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Add a patch to avoid writing the full pathname to gperf into source files which leads to reproducibility issues. This fixes issues with systemd reproducibility in particular. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dea3c7e) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Upstream merged a patch to handle the reproducibility issue, switch to their patch which is functionally equivalent. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit db28cd0) Signed-off-by: Steve Sakoman <steve@sakoman.com>
kernels with upstream commit 630af16eee495f583db5202c3613d1b191f10694 [perf tools: Use Python devtools for version autodetection rather than runtime], or -stable backports of that commmit, evade our substitutions for reproducibility. We add a second sed expression to ensure that our definition of python is used, as we have the proper environement setup and don't need the full path of python, which eventually will be captured by the perf binaries. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b24e73f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Backport fixes for: * CVE-2022-32205 - https://curl.se/docs/CVE-2022-32205.html * CVE-2022-32206 - https://curl.se/docs/CVE-2022-32206.html * CVE-2022-32207 - https://curl.se/docs/CVE-2022-32207.html * CVE-2022-32208 - https://curl.se/docs/CVE-2022-32208.html Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Fixup commit for prevous CVE-2022-33068 fix. Fixes: | In file included from ../harfbuzz-4.0.1/src/hb-ot-face.cc:39: 4429| ../harfbuzz-4.0.1/src/hb-ot-color-sbix-table.hh:301:11: error: use of bitwise '|' with boolean operands [-Werror,-Wbitwise-instead-of-logical] 4430| if (png.IHDR.height >= 65536 | png.IHDR.width >= 65536) 4431| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4432| || 4433| ../harfbuzz-4.0.1/src/hb-ot-color-sbix-table.hh:301:11: note: cast one or both operands to int to silence this warning 4434| 1 error generated. Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
…ignorelist Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 69e486d) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Dont hard-code automount base directory to '/run/media', introduce a variable MOUNT_BASE to let it configurable, like in udisks2 the mount base is also configurable by setting option: --enable-fhs-media. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f077bef) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
This alters the mountpoints such that if a device has a LABEL or a PARTLABEL, it will be mounted at e.g.: /run/media/$LABEL-<device-node> /run/media/$PARTLABEL-<device-node> /run/media/rootfs-sda2 otherwise the device will be mounted at e.g.: /run/media/<device-node> /run/media/sda1 The <device-node> appended with LABEL or PARTLABEL makes sure that the mountpoint is unique, therefore, avoids overlapping mounts. Signed-off-by: Arsalan H. Awan <Arsalan_Awan@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit a9a0a09) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Doing this will allow to fetch the exact name created by the auto-mounter during the remove action where depending on the scenario utilities such as the blkid might not be usable due to actual device not being present on the system. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 496b76f) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
fdisk from util-linux (2.31.1) and above allows the user to manipulate an already mounted device. In order to achieve this functionality it issues a BLKRRPART (block device re-read part) ioctl and in response the kernel generates remove/change/add events if the device is not mounted (manually unmounted etc) which are caught and processed by udev. This causes our auto-mounter to remount everything because it does not keep track and things go out of control. Differentiating between types of remove events such as the one described above (generated by BLKRRPART) and one where the device is physically plugged out is only possible using the DEVPATH variable which is cleaned up only when the device is actually plugged-out. This fixes the above anomaly by only mounting a device in add event which is cleaned up properly (tmp cache deleted) in the remove event or is not present in the tmp cache while making use of the DEVPATH variable during the remove action. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 11a5e6c) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Automounting does not work cleanly in case systemd as well as udev rules are being used simultaneously and in most cases race conditions and unknown behavior can come up. In case we're running on top of systemd we need to make sure that systemd-udevd knows that udev is in play as well and mounting should be done using shared flags. Also as we're using mount from sources other than systemd-mount in current scripts this is the most manageable fix to automounting problems. Signed-off-by: Awais Belal <awais_belal@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 1e77041) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Failure message is shown in boot logs when trying to mount lvm as automounter does not handle cases where lvm is mounted. This simply skips lvm while automounting to avoid failure message in boot logs. Signed-off-by: Ansar Rasool <ansar_rasool@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit b1d1807) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
The '.include' syntax has been dropped from latest systemd releases, we need drop the systemd-udevd.service here, introduce a postinst function to add "MountFlags=shared" to systemd-udevd.service. Also lsblk binary is being called in mount.sh automount_systemd function, add it to RDEPENDS. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 356520d) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Since commit f077bef: [ udev-extraconf: let automount base directory configurable ] the mount base directory was configurable, we need drop 'run-media' usage as well, change to figure it out from MOUNT_BASE. Also 'get_label_name' function needs to be called ealier in automount_systemd before checking '/tmp/.automount-$name', otherwise they would never match. (From OE-Core rev: c013b33162546fb5bd4bcc1daac75aa65d0be1a3) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7ed2100) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
This adds a backport patch that fixes a problem in subinterpreters related to the garbagecollector. Without the patch, there are random segfaults in several Kodi addons that use python3-sqlite3. Presumably there are real world issues in other programs as well. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Steve Sakoman <steve@sakoman.com>
…externalsrc While executing do_package, bitbake checks for a list of debug source files and uses a pattern to match the ones to be included in copydebugsources. Previously when externalsrc was in use either directly or by using devtool, the source location changed and this pattern no longer matched, hence debug source files failed to be included in the corresponding package. Check when the source directory isnt the default (based on WORKDIR), and change the pattern used to match debug source files if that is the case, allowing us to perform do_package properly. Workaround debugsource.list containing paths from the host by moving debug source files away from the host directory structure to avoid host contamination (this seems to happen when packages use $TMPDIR/work-shared and externalsrc is in use). Test matrix included using: - devtool to use externalsrc automatically - externalsrc with a non-devtool based source directory - No externalsrc at all Tested the following packages to be working: - glibc ($TMPDIR/work-shared based) - libxcrypt ($TMPDIR/work based) [YOCTO 8015] Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a887bd9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Since commit d756b34 kernel modules are stripped by the functions 'runstrip' and 'splitdebuginfo'. Signed modules must not be stripped. Function 'runstrip' avoids this by running is_kernel_module_signed. Apply the same check to splitdebuginfo. (From OE-Core rev: 6859226652339b19cbc7bdfec074fe2016cdee60) Signed-off-by: Christoph Lauer <christoph.lauer@xtronic.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dc0f041) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Previous commit c725bdb29b266 broke kernel source handling, this was due to the code expecting the sources to be in a different directory, this did not happen when using externalsrc since sources were found in the expected directories. Pass work-shared to the check to allow sources to be found in the proper directory, allowing these to be packaged in the next step. To test this we grabbed a commit where we knew the buildpaths QA test should flag a file inside the kernel sources, with the previous commit the QA warning wasnt flagged since no sources where there, with this fix the buildpaths QA warning gets flagged properly. Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2714a8e) Signed-off-by: Steve Sakoman <steve@sakoman.com>
If enabled, the buildpaths test hangs in psplash as it tries to open a fifo and read from it, hanging indefinitely. Tweak the test to ignore fifo/socket/device files. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2567edb) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cd05e25) Signed-off-by: Steve Sakoman <steve@sakoman.com>
The .pc we install ourselves for lua has hardcoded /lib assumptions in it which means in a multilib environment, full build paths end up in users like rpm's configuration. Fix the .pc file to use a correct includedir and libdir to resolve those reproducibility issues. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 93bee5c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
The on target wrapper contains paths from the host build. Remove them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 10980ae) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Fixes ERROR: QA Issue: : /work/x86_64-linux/libmodule-build-perl-native/0.4231-r0/sysroot-destdir/work/x86_64-linux/libmodule-build-perl-native/0.4231-r0/recipe-sysroot-native/usr/bin/config_data maximum shebang size exceeded, the maximum size is 128. [shebang-size] Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 54ecb2d) Signed-off-by: Steve Sakoman <steve@sakoman.com>
We know the content of 'package.json' from earlier patches; there is no need to parse the tarball name to extract the version. Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f553e52) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Helper module to: - generate meta information from package.json content. This data has a format as provided by https://registry.npmjs.org - put this meta information and the corresponding tarball in the nodejs cache. This uses an external, nodejs version specific helper script (oe-npm-cache) shipped in oe-meta To avoid further nodejs version dependencies, future versions of this module might omit the caching completely and serve meta information and tarball by an http server. Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 6cd5886) Signed-off-by: Steve Sakoman <steve@sakoman.com>
With nodejs 16, the simple 'npm cache add' approach does not work anymore because its fetcher implementation downloads also meta information from the registry. We have to generate these information and add them to the cache. There is no direct support in 'npm' for task so we have to implement it manually. This implementation consists of a openembedded python module (in oe-core) and a nodejs version specific helper (in oe-meta). Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 019b9c3) Signed-off-by: Steve Sakoman <steve@sakoman.com>
v2.9.8 Correct parameter types to Debug() calls
rules: Drop using register keyword
remove needless use of %defattr per fedora project
add exec perms
translation updates
Use what's in the build environment and use a current autoconf
util/Makefile.am: fix link with lintl
Force grep to treat the input as text when formatting word files
0001-rules-Drop-using-register-keyword.patch
0002-rules-Correct-parameter-types-to-Debug-calls.patch
removed since they're included in 2.9.8
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 7477178)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Changelog: ========== * Various improvements and bug fixes: - vala: Don't unconditionally expect ObjectType of Class [#1341] - vala: Make try-statement parsing more resilient [#1304] - vala: Avoid problems with '\' in #line directives on Windows [#1353] - gidlparser: Set source reference of parameters * Bindings: - atspi-2: Fix a few binding errors - glib-2.0: Use g_abort for GLib.Process.abort() beginning with 2.50 [#1350] - gtk+-3.0: Correctly unhide BindingSet.by_class to avoid Version attribute Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 29d2f82) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Upstream dropped capstone support and this also causing us reproducibility issues. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit d2496a9) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This code wasn't changing the linux.h on i686. Make the entry match that for i586 which was correct. This fixes problems where the wrong dynamic loader path was used by nativesdk-gcc on i686 SDK targets by ensuring SYSTEMLIBS_DIR is replaced by %r in the correct header files. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d30eb68) Signed-off-by: Steve Sakoman <steve@sakoman.com>
It as been bothering me a bit that we don't set CC and LD consistently for the kernel make calls and this can lead to interesting bugs as the kernel increases in complexity. Add them to EXTRA_OEMAKE so they're always passed in. This makes everything slightly more consistent and less likely to break in future. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit afe8c31) Signed-off-by: Steve Sakoman <steve@sakoman.com>
We're currently only passing in a subset of the kernel make flags to menuconfig. Fix this to be consistent with all the other kernel operations since these are becomming increasingly reliant on host compilers and flags and target toolchains as well. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8c616bc) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This will fix issues with autoconf tests which fail due to lacking prototypes Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit eb47785) Signed-off-by: Steve Sakoman <steve@sakoman.com>
This replaces the proposed patch with a backport of what got accepted upstream Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f3e92b7) Signed-off-by: Steve Sakoman <steve@sakoman.com>
* but it still won't work well on hosts without libxml2, make sure to use pre-generated testapi.c in do_compile_ptest * this is reproducible with SOURCE_DATE_EPOCH set to 0 which e.g. meta-updater still sets by default for DISTROs which use it :(, see uptane/meta-updater#35 Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 178cea1) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Openssh (main) package may be marked for installation via complementary packages mechanism if sftp-server is installed and this causes conflict with dropbear [Yocto #14858] [1]. Excluding openssh complementary packages if packagegroup-core-ssh-dropbear is in PACKAGE_INSTALL fixes this issue. To install openssh complementary packages in the images with ssh-server-dropbear they may be added manually into the list because they will be excluded from the installation even if corresonding class (dev-pkg or dbg-pkgs) inherited. [1] Error: Problem: problem with installed package dropbear-2020.81-r0.core2_64 - package dropbear-2020.81-r0.core2_64 conflicts with openssh provided by openssh-8.9p1-r0.core2_64 - package openssh-8.9p1-r0.core2_64 conflicts with dropbear provided by dropbear-2020.81-r0.core2_64 - package openssh-ptest-8.9p1-r0.core2_64 requires openssh, but none of the providers can be installed - conflicting requests (try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages) Signed-off-by: Pavel Zhukov <pavel@zhukoff.net> Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit fa08030) Signed-off-by: Steve Sakoman <steve@sakoman.com>
…table When using IMAGE_FEATURE read-only-rootfs ssh host keys are moved to volatile storage. If the feature overlayfs-etc is used in addition to read-only-rootfs /etc is writable and the move is not wanted. But in the case also the IMAGE_FEATURE stateless-rootfs is used the keys will be moved as storage of keys should not be wanted in a stateless-rootfs. This change only takes effect in the case IMAGE_FEATURE contains read-only-rootfs. In adddition the following cases are handled: IMAGE_FEATURES = "read-only-rootfs" --> ssh keys/config handled as ro root IMAGE_FEATURES = "read-only-rootfs overlayfs-etc" --> ssh keys/config handled as rw root IMAGE_FEATURES = "read-only-rootfs stateless-rootfs" --> ssh keys/config handled as ro root IMAGE_FEATURES = "read-only-rootfs overlayfs-etc stateless-rootfs" --> ssh keys/config handled as ro root Signed-off-by: Peter Bergin <peter@berginkonsult.se> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d2ad7aa) Signed-off-by: Steve Sakoman <steve@sakoman.com>
If the "trace" PACKAGECONFIG is removed to disable cairo-trace (the only part of the code licensed as GPL-3.0), we can adapt the licenses for cairo-dbg and cairo-src so that they do not include "GPL-3.0-or-later" and thus they can be used also when, e.g., GPL-3.0 is blacklisted in INCOMPATIBLE_LICENSE. Also drop the GPL-3.0 license text from LIC_FILES_CHKSUM in this case. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 4f0ea44) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Theres not a rootfs for baremetal images, hence we should avoid trying to list rootfs packages for them. This fixes an issue where some classes (e.g. license_image) rely on rootfs functionality when included for baremetal images even if its nonexistent Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 5a7e13f) Signed-off-by: Steve Sakoman <steve@sakoman.com>
When 73fa855f6af5ef9c3 was introduced, the "cleandirs" variable flag started applying to functions exported using EXPORT_FUNCTIONS. The externalsrc class is supposed to remove cleandirs in order to prevent wiping out an external src folder (home directory?), but doesn't take the previous point into account. The result is that cleandirs is still in effect. To fix this, apply the cleandirs manipulation to all variables, not just predefined ones. This is expensive, but since it executes inside an `if externalsrc` clause, and EXTERNALSRC is usually only set for specific single recipes, it won't affect most recipes. Richard Purdie <richard.purdie@linuxfoundation.org> is the original author of this patch. I just submitted it under my name for blame purposes, and also we have been testing it a lot in my company. This is the original discussion: https://lists.openembedded.org/g/openembedded-core/topic/91374926 Signed-off-by: Kristian Amlie <kristian.amlie@northern.tech> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 74ad497) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Updates the log message printed when login banner is seen in QEMU to report the UNIX Epoch time in addition to the human readable time. This makes it much easier and accurate to correlate logs with the guest, in particular with the guest journalctl which prints log timestamps in human readable format and the oeqa SSH debug logging which prints the UNIX Epoch. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 275b6f3) Signed-off-by: Steve Sakoman <steve@sakoman.com>
In order to be able to debug issues on the host that have an impact on the guest, it is useful to get the uptime of the host while starting so we can match with the events in dmesg. Also include the uptime when cleaning up. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2d96499) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Commit 8089cef ("systemd: Add PACKAGECONFIG for sysvinit") decoupled enabling of systemd's sysvinit handling behavior behind a distinct PACKAGECONFIG feature. This new option affects among other things the installing of tmpfiles.d/legacy.conf, which is responsible for creating /run/lock directory, which is pointed to by /var/lock symlink provided by base-files package. In case the option is not enabled, then base-files provided /var/lock is a dangling symlink on resulting rootfs, causing problems with certain Linux userspace components that rely on existence of writable /var/lock directory. As an example: # fw_printenv Error opening lock file /var/lock/fw_printenv.lock Since Filesystem Hierarchy Standard Version 3.0 states in https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s09.html that Lock files should be stored within the /var/lock directory structure. Ensure the /run/lock directory is always created, so that lock files can be stored under /var/lock also when 'sysvinit' handling is disabled. (From OE-Core rev: 85e5ee2) Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
systemd defines a default set of fallback DNS servers in https://github.com/systemd/systemd/blob/v251/meson_options.txt#L328-L330 By adding a PACKAGECONFIG knob providing a convenient way to opt out, and then adding that value to systemd's PACKAGECONFIG, the output from runtime 'resolvectl status' command no longer contains the following line: Fallback DNS Servers: 1.1.1.1#cloudflare-dns.com 8.8.8.8#dns.google 1.0.0.1#cloudflare-dns.com 8.8.4.4#dns.google 2606:4700:4700::1111#cloudflare-dns.com 2001:4860:4860::8888#dns.google 2606:4700:4700::1001#cloudflare-dns.com 2001:4860:4860::8844#dns.google (From OE-Core rev: 2b300d6) Signed-off-by: Niko Mauno <niko.mauno@vaisala.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Changelog:
==========
* [build] meson: fix typo in variable name
* [build] autoconf: report if building with zstd
* [build] meson -Dlua_version=... to specify lua ver
* [core] avoid CCRandomGenerateBytes on MacOS <10.12 (fixes #3140)
* [core] use diff var name w/ CCRandomGenerateBytes (fixes #3141)
* [core] parse conf cmds with SHELL or /bin/sh
* [core] fix HMAC with openssl 3.0
* [mod_webdav] no COPYFILE_CLONE_FORCE on OSX <10.12 (fixes #3142)
* [mod_deflate] fix to return 304 with If-None-Match (fixes #3143)
* [core] Illumos epoll incompatible w/ lighttpd impl
* [core] feature flag to allow Range w/ HTTP/1.0
* [mod_mbedtls] set usekeysize for mbedtls 3.2.0+
* [mod_deflate] collect mmap code
* [mod_deflate] prototype using libdeflate w/ mmap
* [mod_deflate] --with-libdeflate to use libdeflate
* [mod_deflate] mark input bytes const
* [core] sys-setjmp.[ch]
* [mod_magnet] check lighty.result.content b4 setjmp
* [core] include guard consistency in sys-time.h
* [core] network_write_file_chunk_remap separate fn
* [multiple] use new sys_setjmp_eval3() interface
* [multiple] pedantic chunk.c checks for 0-len chunk
* [multiple] shared code for struct chunk and mmap
* [mod_deflate] use pread if available
* [mod_deflate] improve loop compressing file chunk
* [core] prep server_tag at startup for h2 resp hdr
* [mod_magnet] defer req_env init unless needed
* [mod_magnet] reset after error attaching content
* [mod_magnet] lua_tointegerx() avoids raising error
* [mod_mbedtls] use newer mbedtls 3.2.0+ interfaces
* [mod_magnet] adjust hot path for more inlining
* [mod_magnet] collect chk for magnet lua_State init
* [mod_magnet] use type returned from lua_getfield()
* [core] chunk_file_pread() to wrap pread()
* [core] disable keep-alive if forcing HTTP/1.0 resp
* [mod_magnet] use lua_getextraspace() to store r
* [core] fall back to getauxval(AT_RANDOM), if avail
* [mod_magnet] keep message handler on stack
* [doc] update external links
* [mod_magnet] pass lighty table index, defer pops
* [mod_magnet] clear and reuse script-env table
* [mod_magnet] clear stack when reloading script
* [mod_magnet] use lua_isnoneornil() in interfaces
* [mod_magnet] fix lighty.c.cookie_tokens()
* [mod_magnet] fix lighty.c.urldec_query()
* [mod_magnet] remove duplicated NULL checks
* [mod_magnet] adjust magnet_lighty_result_get()
* [mod_magnet] magnet_tmpbuf_acquire(),release()
* [mod_magnet] lighty.c.quotedenc(),dec() funcs
* [mod_magnet] fix header,content legacy table clear
* [mod_cgi] cgi.local-redir request_reset thru fnptr
* [core] isolate plugins_*() funcs to main server
* [mod_wolfssl] wolfssl v5.0.0 defines DH_set0_pqg()
* [mod_auth] save letter-case diff in require config
* [mod_magnet] magnet_push_quoted_string shared code
* [mod_magnet] lighty.c.header_tokens convenience fn
* [core] fill in un.sun_path after accept() (fixes #3147)
* [mod_extforward] adjust trust check for HTTP/2
* [mod_proxy] adjust handling of legacy X-* headers
* [core] permit env w/ blank value (fix regression)
* [TLS] consistent debug.log-ssl-noise config type
* [mod_magnet] allow removal of req_env elt via nil
* [core] compiler workarounds for very old gcc,glibc
* [mod_mbedtls] use newer mbedtls 3.2.0+ interfaces
* [mod_ssi] check http_chunk_transfer_cqlen for err
* [core] chunkqueue_steal() handle unexpected 0 len
* [core] discard DATA from REFUSED_STREAM at h2 init
* [multiple] WebSockets over HTTP/2 (fixes #3151)
* [multiple] immed connect to backend for streaming
* [core] ensure socket ready before checking connect
* [core] reduce trace on Upgrade backend connection
* [core] adjust when TCP_CORK used on TLS connection
* [mod_cgi] disable input optim if might Upgrade
* [mod_cgi] immed start CGI if Upgrade
* [mod_wolfssl] wolfssl v5.0.0 adds ASN1_TIME_diff()
* [mod_openssl] libressl v3.5.0 adds ASN1_TIME_diff
* [TLS] warn if leaf cert read is inactive/expired
* [core] stricter conformance w/ upcoming HTTP/2 rev
* [build] -D_DEFAULT_SOURCE consistency in builds
* [mod_extforward] support addtl IPv6 syntax w/ "[]"
* [core] build fix for cygwin and lmingw
* [core] short-circuit earlier parsing h2 trailers
* [core] reformat h2.h for cleaner enum additions
* [core] consolidate trace for log-state-handling
* [core] request_config bitmasks for smaller struct
* [core] prefix (=^), suffix (=$) config conditions (fixes #3153)
* [core] tighten config parsing loop
* [core] convert simple config cond regex to pre/sfx
* [tests] able to run tests when built w/o pcre
* [core] allow redirect,rewrite ext subst w/o pcre
* [mod_sockproxy] reset http vers, avoid rare crash (fixes #3152)
* [core] HTTP/2 PRIORITY_UPDATE frame (experimental)
* [core] send HTTP/2 SETTINGS_NO_RFC7540_PRIORITIES
* [core] stricter check of HTTP/2 GOAWAY frame size
* [mod_mbedtls] use newer mbedtls 3.2.0+ interfaces
* [mod_webdav] opt for partial PUT via copy/rename
* [core] quiet compiler warning
* [multiple] recognize HTTP QUERY method
* [multiple] limit scope of socket config options
* [core] fix config typo reading large int from str
* [core] h2 prio sort urgency, incr, then stream id
* [core] send Priority resp hdr w/ .css, .js re-prio
* [multiple] reset http vers, avoid rare crash (fixes #3152)
* [core] delay response to http auth invalid creds
* [core] connection_state_machine_h2 only if con->h2
* [core] default server.max-keep-alive-requests 1000
* [mod_magnet] set script env in func first upvalue
* [mod_magnet] rewrite lighty.r as table of userdata
* [mod_status] con->h2 instead of r->http_version
* [mod_setenv] cleanup user-provided hdr sloppiness
* [core] remove func decls duplicated in plugin.h
* [mod_status] fix counting of HTTP/2 bytes written
* [mod_magnet] no local server port on unix domain
* [mod_extforward] unix domain socket pedantic chks
* [core] sketch support for abstract sockets
* [mod_magnet] magnet_plugin_stats_table() fn
* [mod_magnet] magnet_script_setup_global_state() fn
* [mod_magnet] lighty.server.* table w/ new function
* [mod_accesslog] do not double-count hdr len in %I
* [mod_magnet] reduce magnet_env_get_id() scanning
* [mod_magnet] tighten magnet_env_get_buffer_by_id()
* [mod_status] reusable code for r->state strings
* [core] reusable code for r->state strings
* [mod_magnet] expose r->state to lua scripts
* [mod_magnet] tighten magnet_env_set()
* [mod_magnet] lighty.r.req_item[] accessors
* [mod_magnet] expose r->keep_alive to lua scripts
* [mod_magnet] lighty.c.hrtime high-resolution time
* [mod_magnet] lighty.r.resp_body.get
* [mod_magnet] deprecate r.req_attr["response.*]
* [mod_magnet] separate funcs for uri_path_raw
* [mod_magnet] lighty.c.stat high precision time
* [mod_magnet] format multiline err traceback
* [mod_magnet] adjust p->conf.stage checks
* [mod_magnet] further isolate legacy API result tbl
* [core] buffer_append_char() convenience func
* [mod_accesslog] accesslog.escaping = "json"
* [multiple] use buffer_append_char()
* [mod_accesslog] remove begin/end tags from %{}t
* [core] fix configparser_simplify_regex() comment
* [multiple] simplify bytes_in/bytes_out accounting
* [mod_accesslog] reorder fields in switch()
* [core] remove unused srv->con_* counters
* [mod_magnet] read-only access to r->server_name
* [core] buffer_append_bs_escaped()
* [core] buffer_append_string_c_escaped ASCII optim
* [mod_magnet] backspace-escape encode/decode
* [mod_status] display HTTP/2 control stream w/ reqs
* [multiple] use preferred syntax for Content-Type
* [doc] regenerate doc/config/conf.d/mime.conf
* [multiple] rename status_counter -> plugin_stats
* [core] feature-flag server.metrics-high-precision
* [mod_magnet] quiet coverity false positive
* [mod_wolfssl] compile fix for OpenWRT
* [mod_webdav] If-None-Match: * on non-existent
* [mod_magnet] r.req_body .collect .get .set .add
* [mod_cgi] fix detection of failing error handler (fixes #3157)
* [core] "url-invalid-utf8-reject" normalization opt
* [mod_magnet] skip req body collect warn if modsec3
* [build] update descriptions to remove old lua ver
* [core] use current dir if context->basedir blank
* [multiple] application/javascript text/javascript
* [core] reset internal flags after graceful restart
* [TLS] inherit ssl.engine from global scope
* [core] avoid server.use-ipv6 warning after SIGUSR1
* [mod_webdav] alt handling PROPFIND on collection
* [mod_mbedtls] fix crt chain construction logic
* [core] h2 SETTINGS_INITIAL_WINDOW_SIZE 64k (fixes #3089)
* [core] increase session window size to 256k
* [core] h2: avoid sending small WINDOW_UPDATE frames
* [core] h2: avoid sending tiny DATA frames
* [core] update cached tables with Priority header
* [tests] test stubs for http_header.c and http_kv.c
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 47188fa)
Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3163134) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Includes fixes for CVE-2022-3099 and CVE-2022-3134. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d042923) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Contributor
|
This seems to be against wrong branch. But moreover the patches should be sent to mailing list for review and further processing. We do not use GH pull requests to process the patches. see https://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.