summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* linux-yocto/5.10: update to v5.10.143Bruce Ashfield2022-09-283-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: f1101295c145 Linux 5.10.143 71d3adbb2890 arm64: errata: add detection for AMEVCNTR01 incrementing incorrectly 202341395ce3 hwmon: (mr75203) enable polling for all VM channels c9da73ae78cb hwmon: (mr75203) fix multi-channel voltage reading 19841592aea6 hwmon: (mr75203) fix voltage equation for negative source input 8e8dc8fc53a8 hwmon: (mr75203) update pvt->v_num and vm_num to the actual number of used sensors 13521c94b9b1 hwmon: (mr75203) fix VM sensor allocation when "intel,vm-map" not defined 5e17967c7ea2 iommu/amd: use full 64-bit value in build_completion_wait() 1a2742552372 swiotlb: avoid potential left shift overflow 586f8c8330b7 MIPS: loongson32: ls1c: Fix hang during startup a9453be390b6 ASoC: mchp-spdiftx: Fix clang -Wbitfield-constant-conversion 9dacdc1d47ed ASoC: mchp-spdiftx: remove references to mchp_i2s_caps 2ead78fbe6b5 sch_sfb: Also store skb len before calling child enqueue d47475d4e502 tcp: fix early ETIMEDOUT after spurious non-SACK RTO 6a2a34484462 nvme-tcp: fix regression that causes sporadic requests to time out 5914fa32ef1b nvme-tcp: fix UAF when detecting digest errors a00b1b10e0a6 RDMA/mlx5: Set local port to one when accessing counters e8de6cb5755e IB/core: Fix a nested dead lock as part of ODP flow 076f2479fc5a ipv6: sr: fix out-of-bounds read when setting HMAC data. 047e66867eb6 RDMA/siw: Pass a pointer to virt_to_page() 0f1e7977e1f2 xen-netback: only remove 'hotplug-status' when the vif is actually destroyed 342d77769a6c i40e: Fix kernel crash during module removal 9d11d06e50bb ice: use bitmap_free instead of devm_kfree 22922da7373c tipc: fix shift wrapping bug in map_get() 2ee85ac1b29d sch_sfb: Don't assume the skb is still around after enqueueing to child 63677a09238a afs: Use the operation issue time instead of the reply time for callbacks fbbd5d05ea63 rxrpc: Fix an insufficiently large sglist in rxkad_verify_packet_2() 6ccbb74801bb ALSA: usb-audio: Register card again for iface over delayed_register option 1d29a63585b3 ALSA: usb-audio: Inform the delayed registration more properly e12ce30fe593 netfilter: nf_conntrack_irc: Fix forged IP logic 910891a2a44c netfilter: nf_tables: clean up hook list when offload flags check fails 908180f633d0 netfilter: br_netfilter: Drop dst references before setting. 7d29f2bdd167 ARM: dts: at91: sama5d2_icp: don't keep vdd_other enabled all the time 0796953300f5 ARM: dts: at91: sama5d27_wlsom1: don't keep ldo2 enabled all the time 360dd120eb11 ARM: dts: at91: sama5d2_icp: specify proper regulator output ranges 6bbef2694a06 ARM: dts: at91: sama5d27_wlsom1: specify proper regulator output ranges e198c0857032 RDMA/hns: Fix wrong fixed value of qp->rq.wqe_shift b2e82e325a84 RDMA/hns: Fix supported page size 6dc0251638a4 soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs e9ea271c2e43 RDMA/cma: Fix arguments order in net device validation 465eecd2b3a4 tee: fix compiler warning in tee_shm_register() 75c961d01199 regulator: core: Clean up on enable failure bb4bee3eca78 ARM: dts: imx6qdl-kontron-samx6i: remove duplicated node 015c2ec053f3 smb3: missing inode locks in punch hole 98127f140bc4 cifs: remove useless parameter 'is_fsctl' from SMB2_ioctl() dee1e2b18cf5 cgroup: Fix threadgroup_rwsem <-> cpus_read_lock() deadlock bfbacc2ef7b5 cgroup: Elide write-locking threadgroup_rwsem when updating csses on an empty subtree a5620d3e0cf9 scsi: lpfc: Add missing destroy_workqueue() in error path ea10a652ad2a scsi: mpt3sas: Fix use-after-free warning de572edecc29 drm/i915: Implement WaEdpLinkRateDataReload be01f1c98875 nvmet: fix a use-after-free 68f22c80c181 debugfs: add debugfs_lookup_and_remove() ab60010225ce kprobes: Prohibit probes in gate area 6123bec8480d ALSA: usb-audio: Fix an out-of-bounds bug in __snd_usb_parse_audio_interface() ab730d3c4491 ALSA: aloop: Fix random zeros in capture data when using jiffies timer 39a90720f3ab ALSA: emu10k1: Fix out of bounds access in snd_emu10k1_pcm_channel_alloc() dfb27648eea5 drm/amdgpu: mmVM_L2_CNTL3 register not initialized correctly 2078e326b64e fbdev: chipsfb: Add missing pci_disable_device() in chipsfb_pci_init() 9d040a629e7e net/core/skbuff: Check the return value of skb_copy_bits() 43b9af72751a arm64: cacheinfo: Fix incorrect assignment of signed error value to unsigned fw_level 96d206d0a14e parisc: Add runtime check to prevent PA2.0 kernels on PA1.x machines 44739b5aae3a parisc: ccio-dma: Handle kmalloc failure in ccio_init_resources() 826b46fd5974 drm/radeon: add a force flush to delay work when radeon 04102568671e drm/amdgpu: Check num_gfx_rings for gfx v9_0 rb setup. c19656cd951a drm/amdgpu: Move psp_xgmi_terminate call from amdgpu_xgmi_remove_device to psp_hw_fini 67bf86ff81fe drm/gem: Fix GEM handle release errors a175aed83eb4 scsi: megaraid_sas: Fix double kfree() 004e26ef056c scsi: qla2xxx: Disable ATIO interrupt coalesce for quad port ISP27XX a14f1799ce37 Revert "mm: kmemleak: take a full lowmem check in kmemleak_*_phys()" 13c8f561be38 fs: only do a memory barrier for the first set_buffer_uptodate() 2946d2ae5ace wifi: iwlegacy: 4965: corrected fix for potential off-by-one overflow in il4965_rs_fill_link_cmd() 918d9c4a4bdf efi: capsule-loader: Fix use-after-free in efi_capsule_write 94f0f30b2d9d efi: libstub: Disable struct randomization eb75efdec8dd tty: n_gsm: avoid call of sleeping functions from atomic context fb6cadd2a30f tty: n_gsm: initialize more members at gsm_alloc_mux() 186cb020bd3a xen-blkfront: Cache feature_persistent value before advertisement d3d885507b52 NFSD: Fix verifier returned in stable WRITEs 281e81a5e2b2 Linux 5.10.142 2058aab4e306 USB: serial: ch341: fix disabled rx timer on older devices 2a4c619a87dd USB: serial: ch341: fix lost character on LCR updates 06a84bda0a08 usb: dwc3: disable USB core PHY management 451fa90150f2 usb: dwc3: qcom: fix use-after-free on runtime-PM wakeup 8984ca41de16 usb: dwc3: fix PHY disable sequence cb2718936022 mmc: core: Fix UHS-I SD 1.8V workaround branch 7f73a9dea009 btrfs: harden identification of a stale device 3c63a22d0243 drm/i915/glk: ECS Liva Q2 needs GLK HDMI port timing quirk 1079d095725a ALSA: seq: Fix data-race at module auto-loading f19a209f6156 ALSA: seq: oss: Fix data-race for max_midi_devs access 7565c1503074 ALSA: hda/realtek: Add speaker AMP init for Samsung laptops with ALC298 ab9f890377d1 net: mac802154: Fix a condition in the receive path d71a1c9fce18 net: Use u64_stats_fetch_begin_irq() for stats fetch. 685f4e56717e ip: fix triggering of 'icmp redirect' 4abc8c07a065 wifi: mac80211: Fix UAF in ieee80211_scan_rx() dd649b49219a wifi: mac80211: Don't finalize CSA in IBSS mode if state is disconnected 742e222dd556 driver core: Don't probe devices after bus_type.match() probe deferral 6202637fdef0 usb: gadget: mass_storage: Fix cdrom data transfers on MAC-OS abe3cfb7a7c8 USB: core: Prevent nested device-reset calls b0d4993c4baa s390: fix nospec table alignments 0361d50e86c0 s390/hugetlb: fix prepare_hugepage_range() check for 2 GB hugepages b9097c5e107d usb-storage: Add ignore-residue quirk for NXP PN7462AU 5f0d11796aa5 USB: cdc-acm: Add Icom PMR F3400 support (0c26:0020) d608c131df99 usb: dwc2: fix wrong order of phy_power_on and phy_init 95791d51f7af usb: typec: altmodes/displayport: correct pin assignment for UFP receptacles 89b01a88ef7d USB: serial: option: add support for Cinterion MV32-WA/WB RmNet mode 7f1f17671517 USB: serial: option: add Quectel EM060K modem efcc3e1e6a5a USB: serial: option: add support for OPPO R11 diag port e547c07c2848 USB: serial: cp210x: add Decagon UCA device id 5a603f4c1273 xhci: Add grace period after xHC start to prevent premature runtime suspend. 587f793c64d9 media: mceusb: Use new usb_control_msg_*() routines 07fb6b10b64a thunderbolt: Use the actual buffer in tb_async_error() f210912d1aa9 xen-blkfront: Advertise feature-persistent as user requested aa45c507037a xen-blkback: Advertise feature-persistent as user requested 47a73e5e6ba4 mm: pagewalk: Fix race between unmap and page walker 5d0d46e6255a xen/grants: prevent integer overflow in gnttab_dma_alloc_pages() eb0c614c426c KVM: x86: Mask off unsupported and unknown bits of IA32_ARCH_CAPABILITIES 7efcbac55aad gpio: pca953x: Add mutex_lock for regcache sync in PM 517dba798793 hwmon: (gpio-fan) Fix array out of bounds access a971343557ff clk: bcm: rpi: Add missing newline fcae47b2d23c clk: bcm: rpi: Prevent out-of-bounds access 8c90a3e0d382 clk: bcm: rpi: Use correct order for the parameters of devm_kcalloc() 00d8bc0c16ed clk: bcm: rpi: Fix error handling of raspberrypi_fw_get_rate e32982115d48 Input: rk805-pwrkey - fix module autoloading e2945f936cc4 clk: core: Fix runtime PM sequence in clk_core_unprepare() 4ff599df312f Revert "clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops" c0f0ed9ef9b6 clk: core: Honor CLK_OPS_PARENT_ENABLE for clk gate ops 5f1aee7f05d8 drm/i915/reg: Fix spelling mistake "Unsupport" -> "Unsupported" 9629f2dfdb1d binder: fix UAF of ref->proc caused by race condition 08fa8cb6df88 USB: serial: ftdi_sio: add Omron CS1W-CIF31 device id 5cf2a57c7a01 misc: fastrpc: fix memory corruption on open c99bc901d5eb misc: fastrpc: fix memory corruption on probe 30fd0e23e373 iio: adc: mcp3911: use correct formula for AD conversion 89aa443437c6 iio: ad7292: Prevent regulator double disable b271090eea38 Input: iforce - wake up after clearing IFORCE_XMIT_RUNNING flag b202400c9c9e tty: serial: lpuart: disable flow control while waiting for the transmit engine to complete 989201bb8c00 vt: Clear selection before changing the font 7fd8d33adbba powerpc: align syscall table for ppc32 19e3f69d1980 staging: rtl8712: fix use after free bugs 6ccd69141b9f serial: fsl_lpuart: RS485 RTS polariy is inverse e416fe7f16c1 net/smc: Remove redundant refcount increase d73b89c3b3f7 Revert "sch_cake: Return __NET_XMIT_STOLEN when consuming enqueued skb" f3d1554d0f67 tcp: annotate data-race around challenge_timestamp 870b6a15619c sch_cake: Return __NET_XMIT_STOLEN when consuming enqueued skb 1b6666964ca1 kcm: fix strp_init() order and cleanup 406d554844cc ethernet: rocker: fix sleep in atomic context bug in neigh_timer_handler 44dfa645895a net/sched: fix netdevice reference leaks in attach_default_qdiscs() 699d82e9a6db net: sched: tbf: don't call qdisc_put() while holding tree lock c0cb63ee2e22 Revert "xhci: turn off port power in shutdown" 6855efbaf54a wifi: cfg80211: debugfs: fix return type in ht40allow_map_read() ddcb56e84130 ALSA: hda: intel-nhlt: Correct the handling of fmt_config flexible array 9276eb98cd08 ALSA: hda: intel-nhlt: remove use of __func__ in dev_dbg 23a29932715c ieee802154/adf7242: defer destroy_workqueue call c5f975e3ebfa bpf, cgroup: Fix kernel BUG in purge_effective_progs e6aeb8be8571 iio: adc: mcp3911: make use of the sign bit b69e05b1e830 platform/x86: pmc_atom: Fix SLP_TYPx bitfield mask f040abf62e62 drm/msm/dsi: Fix number of regulators for SDM660 43e523a4070e drm/msm/dsi: Fix number of regulators for msm8996_dsi_cfg 1487e8fc16f7 drm/msm/dp: delete DP_RECOVERED_CLOCK_OUT_EN to fix tps4 631fbefd8777 drm/msm/dsi: fix the inconsistent indenting (From OE-Core rev: eee473e1442b427ca49e7717991cdf4cc6b2fd87) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/5.10: update to v5.10.141Bruce Ashfield2022-09-283-19/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest korg -stable release that comprises the following commits: 0b8e37cbaa76 Linux 5.10.141 bdc786d737ec net: neigh: don't call kfree_skb() under spin_lock_irqsave() 4931af31c402 net/af_packet: check len when min_header_len equals to 0 64f6da455b66 xfs: revert "xfs: actually bump warning counts when we send warnings" d34798d846d7 xfs: fix soft lockup via spinning in filestream ag selection loop f168801da95f xfs: fix overfilling of reserve pool 72a259bdd50d xfs: always succeed at setting the reserve pool size cb41f22df3ec xfs: remove infinite loop when reserving free block pool 28d8d2737e82 io_uring: disable polling pollfree files 744b0d308070 kprobes: don't call disarm_kprobe() for disabled kprobes 8c70cce89231 lib/vdso: Mark do_hres_timens() and do_coarse_timens() __always_inline() 6ba9e8fb47f6 netfilter: conntrack: NF_CONNTRACK_PROCFS should no longer default to y afa169f79d47 drm/amdgpu: Increase tlb flush timeout for sriov f08a3712bac8 drm/amd/display: Fix pixel clock programming 60d522f31707 drm/amd/pm: add missing ->fini_microcode interface for Sienna Cichlid f2b7b8b1c413 s390/hypfs: avoid error message under KVM c35adafe42bd neigh: fix possible DoS due to net iface start/stop loop 3c1dfeaeb3b4 drm/amd/display: clear optc underflow before turn off odm clock 4e5e67b13a04 drm/amd/display: For stereo keep "FLIP_ANY_FRAME" 828b2a5399aa drm/amd/display: Avoid MPC infinite loop 9d36e2c264f7 mmc: mtk-sd: Clear interrupts when cqe off/disable 98f401d36396 mm/rmap: Fix anon_vma->degree ambiguity leading to double-reuse 6204bf78b2a9 bpf: Don't redirect packets with invalid pkt_len dbd8c8fc6048 ftrace: Fix NULL pointer dereference in is_ftrace_trampoline when ftrace is dead 8fc778ee2fb2 fbdev: fb_pm2fb: Avoid potential divide by zero error 61cc798591a3 net: fix refcount bug in sk_psock_get (2) 7e2fa7922658 HID: hidraw: fix memory leak in hidraw_release() bacb37bdc2a2 media: pvrusb2: fix memory leak in pvr_probe 872875c9ecf8 udmabuf: Set the DMA mask for the udmabuf device (v2) dc815761948a HID: steam: Prevent NULL pointer dereference in steam_{recv,send}_report 412b844143e3 Revert "PCI/portdrv: Don't disable AER reporting in get_port_device_capability()" 38267d266336 Bluetooth: L2CAP: Fix build errors in some archs ad697ade5939 kbuild: Fix include path in scripts/Makefile.modpost b9feeb610099 s390/mm: do not trigger write fault when vma does not allow VM_WRITE 0dea6b3e22c6 crypto: lib - remove unneeded selection of XOR_BLOCKS e5796ff9acc5 x86/nospec: Fix i386 RSB stuffing adee8f3082b0 x86/nospec: Unwreck the RSB stuffing 895428ee124a mm: Force TLB flush for PFNMAP mappings before unlink_file_vma() 18ed766f3642 Linux 5.10.140 e89798071784 bpf: Don't use tnum_range on array range checking for poke descriptors 46fcb0fc884d scsi: storvsc: Remove WQ_MEM_RECLAIM from storvsc_error_wq 8d5c106fe216 scsi: ufs: core: Enable link lost interrupt c0ba9aa95bf7 perf/x86/intel/uncore: Fix broken read_counter() for SNB IMC PMU 5a768c977085 perf python: Fix build when PYTHON_CONFIG is user supplied 3ddbd0907f6d blk-mq: fix io hung due to missing commit_rqs 7ca73d0a16e3 Documentation/ABI: Mention retbleed vulnerability info file for sysfs 189623261994 arm64: Fix match_list for erratum 1286807 on Arm Cortex-A76 a5a58fab556b md: call __md_stop_writes in md_stop f68f025c7e69 Revert "md-raid: destroy the bitmap after destroying the thread" 62af37c5cd7f mm/hugetlb: fix hugetlb not supporting softdirty tracking 6de50db104af xen/privcmd: fix error exit of privcmd_ioctl_dm_op() 8d5f8a4f25b1 ACPI: processor: Remove freq Qos request for all CPUs 297ae7e87a87 s390: fix double free of GS and RI CBs on fork() failure c60ae878782d asm-generic: sections: refactor memory_intersects 6858933131d0 loop: Check for overflow while configuring loop 14cbbb9c9914 x86/bugs: Add "unknown" reporting for MMIO Stale Data e3e0d117294d x86/unwind/orc: Unwind ftrace trampolines with correct ORC entry 090f0ac167a0 perf/x86/lbr: Enable the branch type for the Arch LBR by default d2bd18d50c1e btrfs: check if root is readonly while setting security xattr dcac6293f571 btrfs: add info when mount fails due to stale replace target b2d352ed4d48 btrfs: replace: drop assert for suspended replace 2fc3c168d5b6 btrfs: fix silent failure when deleting root reference 3a351b567e20 ionic: fix up issues with handling EAGAIN on FW cmds 79e2ca7aa96e rxrpc: Fix locking in rxrpc's sendmsg c3a6e863d51b ixgbe: stop resetting SYSTIME in ixgbe_ptp_start_cyclecounter 23cf93bb32e5 net: Fix a data-race around sysctl_somaxconn. 9fcc4f406620 net: Fix data-races around sysctl_devconf_inherit_init_net. 371a3bcf3144 net: Fix data-races around sysctl_fb_tunnels_only_for_init_net. c3bda708e9c4 net: Fix a data-race around netdev_budget_usecs. 12a34d7f0463 net: Fix a data-race around netdev_budget. 410c88314ce3 net: Fix a data-race around sysctl_net_busy_read. 2c7dae6c4511 net: Fix a data-race around sysctl_net_busy_poll. 8db070463e3e net: Fix a data-race around sysctl_tstamp_allow_data. ed48223f87c5 net: Fix data-races around sysctl_optmem_max. 27e8ade79265 bpf: Folding omem_charge() into sk_storage_charge() 4d4e39245dd5 ratelimit: Fix data-races in ___ratelimit(). e73009ebc123 net: Fix data-races around netdev_tstamp_prequeue. 3850060352f4 net: Fix data-races around netdev_max_backlog. b498a1b0171e net: Fix data-races around weight_p and dev_weight_[rt]x_bias. fb442c72db38 net: Fix data-races around sysctl_[rw]mem_(max|default). 613fd026209e net: Fix data-races around sysctl_[rw]mem(_offset)?. e73a29554f0b tcp: tweak len/truesize ratio for coalesce candidates c08a104a8bce netfilter: nf_tables: disallow binding to already bound chain 6301a73bd83d netfilter: nf_tables: disallow jump to implicit chain from set element 98827687593b netfilter: nf_tables: upfront validation of data via nft_data_init() 8790eecdea01 netfilter: bitwise: improve error goto labels 2267d38520c4 netfilter: nft_cmp: optimize comparison for 16-bytes 1d7d74a8240e netfilter: nf_tables: consolidate rule verdict trace call cd962806c449 netfilter: nftables: remove redundant assignment of variable err 35519ce7bac9 netfilter: nft_tunnel: restrict it to netdev family 9a67c2c89c32 netfilter: nft_osf: restrict osf to ipv4, ipv6 and inet families c907dfe4eaca netfilter: nf_tables: do not leave chain stats enabled on error ea358cfc8e25 netfilter: nft_payload: do not truncate csum_offset and csum_type 93a46d6c72b1 netfilter: nft_payload: report ERANGE for too long offset and length e0f8cf01927d bnxt_en: fix NQ resource accounting during vf creation on 57500 chips 624c30521233 netfilter: ebtables: reject blobs that don't provide all entry points f82a6b85e0ae net: ipvtap - add __init/__exit annotations to module init/exit funcs 7e7e88e8b5b4 bonding: 802.3ad: fix no transmission of LACPDUs 14ef913a9582 net: moxa: get rid of asymmetry in DMA mapping/unmapping faa8bf845106 net: ipa: don't assume SMEM is page-aligned 29accb2d96e6 net/mlx5e: Properly disable vlan strip on non-UL reps 1bfdcde723d8 ice: xsk: prohibit usage of non-balanced queue id d29d7108e19e ice: xsk: Force rings to be sized to power of 2 50403ee6dadd nfc: pn533: Fix use-after-free bugs caused by pn532_cmd_timeout de3deadd1198 rose: check NULL rose_loopback_neigh->loopback e9fe1283a88c mm/smaps: don't access young/dirty bit if pte unpresent c7c77185fa3e mm/huge_memory.c: use helper function migration_entry_to_page() 8be096f018e4 SUNRPC: RPC level errors should set task->tk_rpc_status 5e49ea099850 NFSv4.2 fix problems with __nfs42_ssc_open 23c6f25a6043 NFS: Don't allocate nfs_fattr on the stack in __nfs42_ssc_open() 2761612bcde9 xfrm: policy: fix metadata dst->dev xmit null pointer dereference c5c4d4c9806d af_key: Do not call xfrm_probe_algs in parallel 4379a10c1db7 xfrm: clone missing x->lastused in xfrm_do_migrate 1305d7d4f35c xfrm: fix refcount leak in __xfrm_policy_check() c30c0f720533 kernel/sched: Remove dl_boosted flag comment 70d560e2fb5e xfs: only bother with sync_filesystem during readonly remount 37837bc3ef31 xfs: return errors in xfs_fs_sync_fs 76a51e49da9c vfs: make sync_filesystem return errors from ->sync_fs 9255a42fe7ab fs: remove __sync_filesystem 1b9b4139d794 xfs: reject crazy array sizes being fed to XFS_IOC_GETBMAP* 6a564bad3a64 xfs: prevent a WARN_ONCE() in xfs_ioc_attr_list() a5757df6128b pinctrl: amd: Don't save/restore interrupt status and wake status bits 665433b5ddc2 kernel/sys_ni: add compat entry for fadvise64_64 df1d445e7fcf parisc: Fix exception handler for fldw and fstw instructions e10bb2f2e99b audit: fix potential double free on error path from fsnotify_add_inode_mark 665ee746071b Linux 5.10.139 37c7f25fe2b7 kbuild: dummy-tools: avoid tmpdir leak in dummy gcc fa3303d70b42 Linux 5.10.138 606fe84a4185 tee: fix memory leak in tee_shm_register() 3527e3cbb84d bpf: Fix KASAN use-after-free Read in compute_effective_progs 4f7286422a78 qrtr: Convert qrtr_ports from IDR to XArray 1daa7629d2a2 PCI/ERR: Retain status from error notification a220ff343396 can: j1939: j1939_session_destroy(): fix memory leak of skbs 05b9b0a7a7cd can: j1939: j1939_sk_queue_activate_next_locked(): replace WARN_ON_ONCE with netdev_warn_once() 184e73f12cba tracing/probes: Have kprobes and uprobes use $COMM too 3debec96cae1 netfilter: nf_tables: fix audit memory leak in nf_tables_commit f3d0db3b435a netfilter: nftables: fix a warning message in nf_tables_commit_audit_collect() 059f47b3a433 MIPS: tlbex: Explicitly compare _PAGE_NO_EXEC against 0 4b20c6136514 video: fbdev: i740fb: Check the argument of i740_calc_vclk() dac28dff9084 powerpc/64: Init jump labels before parse_early_param() 52a408548ab3 smb3: check xattr value length earlier 336936f72ab3 f2fs: fix to do sanity check on segment type in build_sit_entries() 800ba8979111 f2fs: fix to avoid use f2fs_bug_on() in f2fs_new_node_page() 857ccedcf569 ALSA: control: Use deferred fasync helper 658bc550a4ec ALSA: timer: Use deferred fasync helper be094c417a0e ALSA: core: Add async signal helpers 6ed3e280c7a1 powerpc/32: Don't always pass -mcpu=powerpc to the compiler 63671b2bdf5f watchdog: export lockup_detector_reconfigure 399d24577567 RISC-V: Add fast call path of crash_kexec() d881c98d0a49 riscv: mmap with PROT_WRITE but no PROT_READ is invalid 333bdb72be13 modules: Ensure natural alignment for .altinstructions and __bug_table sections 1e39037e44d7 mips: cavium-octeon: Fix missing of_node_put() in octeon2_usb_clocks_start 5e034e03f416 vfio: Clear the caps->buf to NULL after free 81939c4fbc2d tty: serial: Fix refcount leak bug in ucc_uart.c 58275db3c7d2 lib/list_debug.c: Detect uninitialized lists 80288883294c ext4: avoid resizing to a partial cluster size 285447b81925 ext4: avoid remove directory when directory is corrupted 5d8325fd1589 drivers:md:fix a potential use-after-free bug 534e96302ad2 nvmet-tcp: fix lockdep complaint on nvmet_tcp_wq flush during queue teardown 6d7aabdba60c md: Notify sysfs sync_completed in md_reap_sync_thread() f43a72d4da91 dmaengine: sprd: Cleanup in .remove() after pm_runtime_get_sync() failed b30aa4ff11a1 selftests/kprobe: Do not test for GRP/ without event failures fa45327d8c52 csky/kprobe: reclaim insn_slot on kprobe unregistration 18f62a453b72 RDMA/rxe: Limit the number of calls to each tasklet 9a6178c225e9 um: add "noreboot" command line option for PANIC_TIMEOUT=-1 setups e4c9f162193a PCI/ACPI: Guard ARM64-specific mcfg_quirks 4be138bcd6d6 cxl: Fix a memory leak in an error handling path 84d94619c7cf pinctrl: intel: Check against matching data instead of ACPI companion 9ac14f973cb9 gadgetfs: ep_io - wait until IRQ finishes c29a4baaad38 scsi: lpfc: Prevent buffer overflow crashes in debugfs with malformed user input eb01065fd337 clk: qcom: clk-alpha-pll: fix clk_trion_pll_configure description 56a4bccab9c8 zram: do not lookup algorithm in backends table 09c90f89b2e6 uacce: Handle parent device removal or parent driver module rmmod 6b90ab952401 clk: qcom: ipq8074: dont disable gcc_sleep_clk_src eddb352a807d vboxguest: Do not use devm for irq 9a87f33f1dd0 usb: dwc2: gadget: remove D+ pull-up while no vbus with usb-role-switch 9790a5a4f07f usb: renesas: Fix refcount leak bug cb5dd65e8891 usb: host: ohci-ppc-of: Fix refcount leak bug d86c6447ee25 clk: ti: Stop using legacy clkctrl names for omap4 and 5 152c94c10bc4 drm/meson: Fix overflow implicit truncation warnings da6b37983a39 irqchip/tegra: Fix overflow implicit truncation warnings 24304c6f9c11 usb: gadget: uvc: call uvc uvcg_warn on completed status instead of uvcg_info 6d7ac60098b2 usb: cdns3 fix use-after-free at workaround 2 0a0da5ef5b4e platform/chrome: cros_ec_proto: don't show MKBP version if unsupported e2ab7afe6665 PCI: Add ACS quirk for Broadcom BCM5750x NICs a1e7908f78f5 drm/sun4i: dsi: Prevent underflow when computing packet sizes bd6165b80232 netfilter: add helper function to set up the nfnetlink header and use it 06fde3cd0b53 netfilter: nftables: add helper function to set the base sequence number e2a49009ba03 audit: log nftables configuration change events once per table 3aa710e96747 drm/meson: Fix refcount bugs in meson_vpu_has_available_connectors() 1bfdb1912cb3 ASoC: SOF: intel: move sof_intel_dsp_desc() forward 823280a8fba3 locking/atomic: Make test_and_*_bit() ordered on failure 0bd35968bcd0 gcc-plugins: Undefine LATENT_ENTROPY_PLUGIN when plugin disabled for a file 9112826f28ee kbuild: fix the modules order between drivers and libs 0f516dcd1456 igb: Add lock to avoid data race 02f3642d8e65 stmmac: intel: Add a missing clk_disable_unprepare() call in intel_eth_pci_remove() efae1735ff15 fec: Fix timer capture timing in `fec_ptp_enable_pps()` 668f38fb9a8c i40e: Fix to stop tx_timeout recovery if GLOBR fails bbd6723d7584 regulator: pca9450: Remove restrictions for regulator-name b5ba5c36694d i2c: imx: Make sure to unregister adapter on remove() 19cb691faf47 ice: Ignore EEXIST when setting promisc mode 7983e1e44cb3 net: dsa: sja1105: fix buffer overflow in sja1105_setup_devlink_regions() 83411c9f05d5 net: genl: fix error path memory leak in policy dumping af1748ee51b3 net: dsa: felix: fix ethtool 256-511 and 512-1023 TX packet counters 9900af65f2d1 net: dsa: microchip: ksz9477: fix fdb_dump last invalid entry 7d51385ae019 net: moxa: pass pdev instead of ndev to DMA functions 92dc64e8f591 net: dsa: mv88e6060: prevent crash on an unused port aa16c8c4e830 spi: meson-spicc: add local pow2 clock ops to preserve rate between messages a868f771ee41 powerpc/pci: Fix get_phb_number() locking 3561f4d12fb9 netfilter: nf_tables: check NFT_SET_CONCAT flag if field_count is specified 01b0cae6b74f netfilter: nf_tables: validate NFTA_SET_ELEM_OBJREF based on NFT_SET_OBJECT flag 8d2fe4b9ed4e netfilter: nf_tables: really skip inactive sets when allocating name 330f0a552bcf ASoC: tas2770: Fix handling of mute/unmute 353cc4cb97d9 ASoC: tas2770: Drop conflicting set_bias_level power setting dffe1c4780e0 ASoC: tas2770: Allow mono streams fc57e3fde219 ASoC: tas2770: Set correct FSYNC polarity 4fe80492d539 iavf: Fix adminq error handling 63684e467b19 nios2: add force_successful_syscall_return() 600ff4b13b0e nios2: restarts apply only to the first sigframe we build... f20bc59ccf9e nios2: fix syscall restart checks 8d0118a027e3 nios2: traced syscall does need to check the syscall number 1d2c89dc4837 nios2: don't leave NULLs in sys_call_table[] d29cdf865ae1 nios2: page fault et.al. are *not* restartable syscalls... 76be98188203 dpaa2-eth: trace the allocated address instead of page struct 787511c768b5 perf probe: Fix an error handling path in 'parse_perf_probe_command()' 2c746ec91de7 geneve: fix TOS inheriting for ipv4 a0ae122e9aec atm: idt77252: fix use-after-free bugs caused by tst_timer 291cba960bb8 xen/xenbus: fix return type in xenbus_file_read() 3c555a0599bf nfp: ethtool: fix the display error of `ethtool -m DEVNAME` 76f3b97e56c6 NTB: ntb_tool: uninitialized heap data in tool_fn_write() 7ef9f0efbeb1 tools build: Switch to new openssl API for test-libcrypto 7ef0645ebecf kbuild: dummy-tools: avoid tmpdir leak in dummy gcc aee18421bda6 ceph: don't leak snap_rwsem in handle_cap_grant eea0d84a4fc7 tools/vm/slabinfo: use alphabetic order when two values are equal 97cea2cb7c86 ceph: use correct index when encoding client supported features 7a327285a7b0 dt-bindings: clock: qcom,gcc-msm8996: add more GCC clock sources 87c4b359e343 dt-bindings: arm: qcom: fix MSM8916 MTP compatibles 55fdefcb52c5 vsock: Set socket state back to SS_UNCONNECTED in vsock_connect_timeout() 38ddccbda5e8 vsock: Fix memory leak in vsock_connect() 549822e0dc9e plip: avoid rcu debug splat 0c4542cb6ac8 ipv6: do not use RT_TOS for IPv6 flowlabel 38b83883ce4e geneve: do not use RT_TOS for IPv6 flowlabel b0c3eec4ac69 ACPI: property: Return type of acpi_add_nondev_subnodes() should be bool cc0bfd933c81 pinctrl: qcom: sm8250: Fix PDC map d35d9bba2940 pinctrl: sunxi: Add I/O bias setting for H6 R-PIO e8f5699a82f2 pinctrl: qcom: msm8916: Allow CAMSS GP clocks to be muxed 78d05103891d pinctrl: nomadik: Fix refcount leak in nmk_pinctrl_dt_subnode_to_map ab2b55bb25db net: bgmac: Fix a BUG triggered by wrong bytes_compl 0e28678a770d devlink: Fix use-after-free after a failed reload faafa2a87f69 virtio_net: fix memory leak inside XPD_TX with mergeable fd70ebf2999b SUNRPC: Reinitialise the backchannel request buffers before reuse 59d2e8fa4127 sunrpc: fix expiry of auth creds df60c534d4c5 net: atlantic: fix aq_vec index out of range error cc25abcec82c can: mcp251x: Fix race condition on receive interrupt b9d9cf88c828 bpf: Check the validity of max_rdwr_access for sock local storage map iterator f7d844df5e20 bpf: Acquire map uref in .init_seq_private for sock{map,hash} iterator d7ad7e65aa2f bpf: Acquire map uref in .init_seq_private for sock local storage map iterator bda6fe3ea893 bpf: Acquire map uref in .init_seq_private for hash map iterator 30d7198da84f bpf: Acquire map uref in .init_seq_private for array map iterator 76ffd2042438 NFSv4/pnfs: Fix a use-after-free bug in open f2bd1cc1fe7a NFSv4.1: RECLAIM_COMPLETE must handle EACCES cfde64bd315d NFSv4: Fix races in the legacy idmapper upcall 060c111373ee NFSv4.1: Handle NFS4ERR_DELAY replies to OP_SEQUENCE correctly a351a73d9064 NFSv4.1: Don't decrease the value of seq_nr_highest_sent a408f135c4c2 Documentation: ACPI: EINJ: Fix obsolete example 8aab4295582e apparmor: Fix memleak in aa_simple_write_to_buffer() 2ceeb3296e9d apparmor: fix reference count leak in aa_pivotroot() 2672f3eb7a7f apparmor: fix overlapping attachment computation 1ac89741a2e7 apparmor: fix setting unconfined mode on a loaded profile 4188f91c82e3 apparmor: fix aa_label_asxprint return check e0ca0156a786 apparmor: Fix failed mount permission check error message 08f8128bc9f2 apparmor: fix absroot causing audited secids to begin with = bca03f0bbc3b apparmor: fix quiet_denied for file rules 2b74344135fc can: ems_usb: fix clang's -Wunaligned-access warning 7f06c7821187 ALSA: usb-audio: More comprehensive mixer map for ASUS ROG Zenith II 5d3b02b80d93 tracing: Have filter accept "common_cpu" to be consistent 6359850f9d8f btrfs: fix lost error handling when looking up extended ref on log replay 79895cefa4c6 mmc: meson-gx: Fix an error handling path in meson_mmc_probe() 13a497c3c598 mmc: pxamci: Fix an error handling path in pxamci_probe() 4a211dd4856e mmc: pxamci: Fix another error handling path in pxamci_probe() a785d8417812 ata: libata-eh: Add missing command name fb1857c2e41a rds: add missing barrier to release_refill 6876b4804b04 x86/mm: Use proper mask when setting PUD mapping b68e40b52f17 ALSA: hda/realtek: Add quirk for Clevo NS50PU, NS70PU e14e2fec35d3 ALSA: info: Fix llseek return value when using callback (From OE-Core rev: 6dceeaf73b7e5c2fc58f3f5d17480ed37d64c6cc) Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: Upgrade 9.0.453 -> 9.0.541Richard Purdie2022-09-281-2/+2
| | | | | | | | | | | Includes a fix for CVE-2022-3234. (From OE-Core rev: 650ae29fc567e033205558fa85cc1c156d9f72a7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d6b54f37aa4db1457296b8981b630a49d251ceb5) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpng: upgrade 1.6.37 -> 1.6.38Richard Purdie2022-09-281-3/+2
| | | | | | | | | | | | | | | | | | | Changes since the previous public release (version 1.6.37) ---------------------------------------------------------- * Added configurations and scripts for continuous integration. * Fixed various errors in the handling of tRNS, hIST and eXIf. * Implemented many stability improvements across all platforms. * Updated the internal documentation. License checksum changed to to copyright year changes. (From OE-Core rev: 5aeaace87675789a51f3ebb8814c390069dfd3be) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 47719f3195156aadc23dd4abdba38acfa3f77a1f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: stable 2.35 branch updates.Sundeep KOKKONDA2022-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | Below commits on glibc-2.35 development branch are updated. f8ad66a4ca nscd: Fix netlink cache invalidation if epoll is used [BZ #29415] 9e960717e1 Apply asm redirections in wchar.h before first use 577c2fc7f3 elf: Call __libc_early_init for reused namespaces (bug 29528) 83f1d9851e NEWS: Add entry for bug 28846 cbd8685e82 socket: Check lengths before advancing pointer in CMSG_NXTHDR 4bafc4001d alpha: Fix generic brk system call emulation in __brk_call (bug 29490) 37fd2ac665 stdlib: Fixup mbstowcs NULL __dst handling. [BZ #29279] a1ec4157bc stdlib: Remove attr_write from mbstows if dst is NULL [BZ: 29265] 813a8d0171 Update syscall lists for Linux 5.19 e200127c6c riscv: Update rv64 libm test ulps 8c172a6cb0 dlfcn: Pass caller pointer to static dlopen implementation (bug 29446) (From OE-Core rev: 0b75397a554c51d4fdfaff1641095615d14fd4e0) Signed-off-by: Sundeep KOKKONDA <sundeep.kokkonda@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expat: upgrade 2.4.8 -> 2.4.9Florin Diaconescu2022-09-281-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= Security fixes: #629 #640 CVE-2022-40674 -- Heap use-after-free vulnerability in function doContent. Expected impact is denial of service or potentially arbitrary code execution. Bug fixes: #634 MinGW: Fix mis-compilation for -D__USE_MINGW_ANSI_STDIO=0 #614 docs: Fix documentation on effect of switch XML_DTD on symbol visibility in doc/reference.html Other changes: #638 MinGW: Make fix-xmltest-log.sh drop more Wine bug output #596 #625 Autotools: Sync CMake templates with CMake 3.22 #608 CMake: Migrate from use of CMAKE_*_POSTFIX to dedicated variables EXPAT_*_POSTFIX to stop affecting other projects #597 #599 Windows|CMake: Add missing -DXML_STATIC to test runners and fuzzers #512 #621 Windows|CMake: Render .def file from a template to fix linking with -DEXPAT_DTD=OFF and/or -DEXPAT_ATTR_INFO=ON #611 #621 MinGW|CMake: Apply MSVC .def file when linking #622 #624 MinGW|CMake: Sync library name with GNU Autotools, i.e. produce libexpat-1.dll rather than libexpat.dll by default. Filename libexpat.dll.a is unaffected. #632 MinGW|CMake: Set missing variable CMAKE_RC_COMPILER in toolchain file "cmake/mingw-toolchain.cmake" to avoid error "windres: Command not found" on e.g. Ubuntu 20.04 #597 #627 CMake: Unify inconsistent use of set() and option() in context of public build time options to take need for set(.. FORCE) in projects using Expat by means of add_subdirectory(..) off Expat's users' shoulders #626 #641 Stop exporting API symbols when building a static library #644 Resolve use of deprecated "fgrep" by "grep -F" #620 CMake: Make documentation on variables a bit more consistent #636 CMake: Drop leading whitespace from a #cmakedefine line in file expat_config.h.cmake #594 xmlwf: Fix harmless variable mix-up in function nsattcmp #592 #593 #610 Address Cppcheck warnings #643 Address Clang 15 compiler warnings #642 #644 Version info bumped from 9:8:8 to 9:9:8; see https://verbump.de/ for what these numbers do Infrastructure: #597 #598 CI: Windows: Start covering MSVC 2022 #619 CI: macOS: Migrate off deprecated macOS 10.15 #632 CI: Linux: Make migration off deprecated Ubuntu 18.04 work #643 CI: Upgrade Clang from 14 to 15 #637 apply-clang-format.sh: Add support for BSD find #633 coverage.sh: Exclude MinGW headers #635 coverage.sh: Fix name collision for -funsigned-char Special thanks to: David Faure Felix Wilhelm Frank Bergmann Rhodri James Rosen Penev Thijs Schreijer Vincent Torri and Google Project Zero (From OE-Core rev: 88e3b16da11c900b1fab09a46a94581285c01027) Signed-off-by: Florin Diaconescu <florin.diaconescu009@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* expat: upgrade 2.4.7 -> 2.4.8Florin Diaconescu2022-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Changelog: ========= Other changes: #587 pkg-config: Move "-lm" to section "Libs.private" #587 CMake|MSVC: Fix pkg-config section "Libs" #55 #582 CMake|macOS: Start using linker arguments "-compatibility_version <version>" and "-current_version <version>" in a way compatible with GNU Libtool see https://verbump.de/ for what these numbers do Infrastructure: #589 CI: Upgrade Clang from 13 to 14 Special thanks to: evpobr Kai Pastor Sam James (From OE-Core rev: f1b9dd6ed98c1dbd5f3347423f49d25914e55526) Signed-off-by: Florin Diaconescu <florin.diaconescu009@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: fix CVE-2022-38126pgowda2022-09-282-0/+35
| | | | | | | | | | Upstream-Status: Backport [https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=e3e5ae049371a27fd1737aba946fe26d06e029b5] (From OE-Core rev: 1c3eaf29fc21579a8e4aa8ab6c356d773f8a38f5) Signed-off-by: pgowda <pgowda.cve@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* inetutils: fix CVE-2022-39028 - remote DoS vulnerability in inetutils-telnetdTeoh Jay Shen2022-09-282-0/+55
| | | | | | | | (From OE-Core rev: 12740b58ce1f700ff271a9891a92de6e04e325f2) Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* go: fix CVE-2022-27664Teoh Jay Shen2022-09-282-0/+103
| | | | | | | | | Upstream-Status: Backport [https://github.com/golang/go/commit/5bc9106458fc07851ac324a4157132a91b1f3479] (From OE-Core rev: fecad1b8e0f006c0186941706219d39c6c8ba5eb) Signed-off-by: Teoh Jay Shen <jay.shen.teoh@intel.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to kirkstone head revisionRichard Purdie2022-09-281-1/+1
| | | | | | (From OE-Core rev: f7766da462905ec67bf549d46b8017be36cd5b2a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vim: Upgrade 9.0.0341 -> 9.0.0453yocto-4.0.4kirkstone-4.0.4Richard Purdie2022-09-171-2/+2
| | | | | | | | | | | Includes fixes for CVE-2022-3099 and CVE-2022-3134. (From OE-Core rev: bc2e5e961e88eb9f4d8cd1f2ee0ed56ab00774a9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d042923262130b6b96f703b5cd4184f659caeb92) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lighttpd: upgrade 1.4.65 -> 1.4.66Alexander Kanavin2022-09-171-1/+1
| | | | | | | | | | | | (From OE-Core rev: ce5d088d2f8780e16f271a79d6718dc90b351855) 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 3163134b0f58c58aaabe4e957c30109e63b2d60f) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lighttpd: upgrade 1.4.64 -> 1.4.65wangmy2022-09-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: da8fc1ce551be05f7745175ea52a8e7ee401b054) 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 47188fa0dc19f160085554360c81bd9f363837d5) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Add 'no-dns-fallback' PACKAGECONFIG optionniko.mauno@vaisala.com2022-09-171-0/+1
| | | | | | | | | | | | | | | | | | | | | 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: 2b300d6b9ec6288a99d9dacb24a86949caf99e55) (From OE-Core rev: 71f09bc00029acb3f368244bceb1e20b02cd9129) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Fix unwritable /var/lock when no sysvinit handlingniko.mauno@vaisala.com2022-09-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 8089cefed8e83c0348037768c292058f1bcbbbe5 ("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: 85e5ee2c35cf5778c3aefda45f526e8f6a511131) (From OE-Core rev: d8ade58dc21d8f852c3253c8af02e00489e8802c) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* system-requirements.rst: Add Ubuntu 22.04 to list of supported distrosSteve Sakoman2022-09-161-0/+2
| | | | | | | (From yocto-docs rev: f632dad24c39778f948014029e74db3c871d9d21) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: bump version for 4.0.4Steve Sakoman2022-09-161-1/+1
| | | | | | | (From meta-yocto rev: ca9c465e37b693ab768ee8e21a929d1c18956e98) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: add ubuntu-22.04 to tested distrosAnuj Mittal2022-09-161-0/+1
| | | | | | | | | | (From meta-yocto rev: 26683a6843204e2863ec5b8939188459121d6a0e) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit b058ef713f9d2e4bf8822c391a72ee64bdf5e43b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu: display host uptime when startingAlexandre Belloni2022-09-161-0/+6
| | | | | | | | | | | | | | 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. (From OE-Core rev: 08406e03abddc7290c0c2296aa179725a58155d3) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2d96499823f7de6e16a461426491e015ba63c1ec) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa: qemurunner: Report UNIX Epoch timestamp on loginJoshua Watt2022-09-161-2/+2
| | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 2a860de611bebae2e1100380b975b7648b8560d9) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 275b6f3c8d0eeafa3902c48a49655491a89c47bc) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* externalsrc: Don't wipe out src dir when EXPORT_FUNCTIONS is used.Kristian Amlie2022-09-161-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 70f7575bfe7e3b136125b1db7ad5549074e7fd1c) 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 74ad497a55007960a4869905878e3ccbd11e4369) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs.py: dont try to list installed packages for baremetal imagesAlejandro Hernandez Samaniego2022-09-161-0/+4
| | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: e713e118b46aa0c8a5015b915a93718b7aa20a74) 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 5a7e13f46083ce3b08aa762238c1e93b7626dda4) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cairo: Adapt the license information based on what is being builtPeter Kjellerstedt2022-09-161-1/+5
| | | | | | | | | | | | | | | | | | 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. (From OE-Core rev: 654d3542afa8082ef8ec9c34e3f27bc9f22ba2b4) 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 4f0ea44c80f297d00349b7d3cf9438145aec8a74) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs-postcommands.bbclass: avoid moving ssh host keys if etc is writablePeter Bergin2022-09-161-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 31cff4d182faed31747d00cc82c1cf0a05a81431) 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 d2ad7aa1f2153955adc044ea4eb11c48086a01d1) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* core-image.bbclass: Exclude openssh complementary packagesPavel Zhukov2022-09-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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) (From OE-Core rev: a09725442d4b53bb9d417ef9f43b12db2545aa54) 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 fa08030b32c2bf77889c23f964892f46e84994a3) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: Port gentest.py to Python-3Martin Jansa2022-09-162-0/+825
| | | | | | | | | | | | | | | | | | * 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 https://github.com/uptane/meta-updater/pull/35 (From OE-Core rev: 8bf4356b1dbaf68f0e6bba3440c9fcf59a525063) 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 178cea1593dc6e9a7eb74842615356d90d79f78f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autoconf: Update K & R stype functionsKhem Raj2022-09-163-65/+139
| | | | | | | | | | | | | This replaces the proposed patch with a backport of what got accepted upstream (From OE-Core rev: 0edeb22a8d4f77ece938b1f0e4cc8f06c6265e6c) 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 f3e92b7cb5833f61ff13a66f03be513d97a69894) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* autoconf: Fix strict prototype errors in generated testsKhem Raj2022-09-162-0/+65
| | | | | | | | | | | | | | This will fix issues with autoconf tests which fail due to lacking prototypes (From OE-Core rev: 7863774e4f436a5aefa86f7fe0d4dec6c336e8db) 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 eb477854ba230d8a8370f24880bd421607399e5a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: Use consistent make flags for menuconfigRichard Purdie2022-09-161-1/+2
| | | | | | | | | | | | | | 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. (From OE-Core rev: e36f3c3c7de052945edbb62bb2d6de7639360c47) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8c616bc090d1834a21073a33209323220c05d2e5) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* kernel: Always set CC and LD for the kernel buildRichard Purdie2022-09-161-6/+7
| | | | | | | | | | | | | | | 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. (From OE-Core rev: 0872e11ede2469a7d176c791395b139158bd22a3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit afe8c318843e4033dcc07e4f10198df241d8e4f6) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-multilib-config: Fix i686 toolchain relocation issuesRichard Purdie2022-09-161-1/+1
| | | | | | | | | | | | | | | | 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. (From OE-Core rev: 47f6d0da703a9d25fa7dd36793ba332ae8d7ee9e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d30eb681f41bf9e921f7f0d42747fff7a4be9229) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: drop capstone supportAlexandre Belloni2022-09-162-1/+37
| | | | | | | | | | | | Upstream dropped capstone support and this also causing us reproducibility issues. (From OE-Core rev: fe8e54576e97ef7c4845889f3e8bb53f524c0611) Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit d2496a904a7099ef0de818180820ad7b40843a08) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* vala: upgrade 0.56.2 -> 0.56.3wangmy2022-09-162-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: 90b0762aff8b11e781f2d492fd7af7707bc623a1) 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 29d2f8241312a7f0bda39805d41cd6789d369ce9) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cracklib: upgrade 2.9.7 -> 2.9.8wangmy2022-09-163-321/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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 (From OE-Core rev: db2c661fa421ce18d78b022c63be99de493184ee) 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 7477178a4c60c02c2d1638746148dd3d2941dc28) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake-user-manual: npm fetcher: improve description of SRC_URI formatMichael Opdenacker2022-09-161-2/+2
| | | | | | | | | | | | | | | Using the term "Parameter" which is consistent with the description of SRC_URI parameters in the following text. (Bitbake rev: ac576d6fad6bba0cfea931883f25264ea83747ca) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Reported-by: Quentin Schulz <foss@0leil.net> Reviewed-by: Quentin Schulz <foss+yocto@0leil.net> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> (cherry picked from commit 87e42f1202162152c779ccc8bbd06f88f0bdab96) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bb/utils: movefile: use the logger for printingJose Quaresma2022-09-161-6/+6
| | | | | | | | | | (Bitbake rev: a5fff68c8c83fed52dae0bdcf2c1713566a5a53e) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 274b2d7a2fa0b43b0b542cb5471ff832e692ea93) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bb/utils: remove: check the path again the expand python globJose Quaresma2022-09-161-2/+2
| | | | | | | | | | | | | | | When we call the remove with recurse=True we first check if the remove operation is safe in _check_unsafe_delete_path. But the check is been done on the path instaed of the expanded python glog. (Bitbake rev: 280ea5a776436eab7e664fccea2df2e7ce47e586) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit 7236488b898309ec5f1880936ddae22a28ccf5d3) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake: bitbake-user-manual: hashserv can be accessed on a ↵Jose Quaresma2022-09-161-1/+1
| | | | | | | | | | | | dedicated domain (Bitbake rev: b7967aa086ee3f3716a17431af0eef05452fb46f) Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> (cherry picked from commit b171aa45fb8518dcfbba315b303a4fe9bf2180c6) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: Ensure directory exists before creating symlinkRichard Purdie2022-09-161-0/+2
| | | | | | | | | | | | | | | If the mirrors code is trying to create a symlink and the parent directory doesn't exist, as might be the case for sstate mirrors where the fetch is into a subdir, it can silently fail. Ensure the directory exists in this case to avoid issues. (Bitbake rev: ff3afb1c1bb236c4a52c62a74f2917071e0af55b) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit eff16e474ee7dc49ae433420a4c8d15d3314a618) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: ConfHandler/BBHandler: Improve comment error messages and add testsRichard Purdie2022-09-163-4/+32
| | | | | | | | | | | | | | | | | | | | | | Currently if you trigger one of the comment errors, the newline characters are stripped and the line numbers are incorrect. In one case it prints the empty line which is also unhelpful. Rework the code around these errors so the line numbers are correct and the lines in question are more clearly displayed complete with newlines so the user can more clearly see the error. I also added a couple of simplistic test cases to ensure that errors are raised by the two known comment format errors. [YOCTO #11904] (Bitbake rev: 01d27562c11d4b05eb30c7f9fefd58b6599fdd15) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 712da71b24445c814d79a206ce26188def8fce0a) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: fetch2: gitsm: fix incorrect handling of git submodule relative urlsGennaro Iorio2022-09-161-1/+1
| | | | | | | | | | | | | | As specified by git submodule manual relative urls can start either with '..' or './', second case was incorrectly managed leading to an interpretation of urls starting with './' as absoulte urls. (Bitbake rev: d828cd2a16ddf4f084e61ffe44471483e132653a) Signed-off-by: Gennaro Iorio <gennaro.iorio@schindler.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 4a0bd3bcd1f7fc25364df8bbf185ff64881c015b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: doc: bitbake-user-manual: document npm and npmsw fetchersMichael Opdenacker2022-09-161-2/+74
| | | | | | | | | | | | | This addresses bug [YOCTO #10098] (Bitbake rev: 04fdbca2005702e79d69aa56861a085f845178e2) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cca7999586317435d79bf53df4359cdd8bfadff4) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: doc: bitbake-user-manual: add explicit target for crates fetcherMichael Opdenacker2022-09-161-0/+2
| | | | | | | | | | | | | Like in other sections describing fetchers (Bitbake rev: bcbe78bbaea0312d61f31f4a51b2bc9e672f1cb7) Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit c9bab35f6aecbf85ee1a19a7b70e15a80b42471f) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: bitbake-user-manual: Correct description of the ??= operatorJacob Kroon2022-09-161-16/+39
| | | | | | | | | | | | | | | Stating that the assignment is done at the end of parsing is misleading. The weak default value is the value which a variable will expand to if no value has been assigned to it using any of the assignment operators. (Bitbake rev: f28dbdf80a7fc2febca227f8cb2b474f5058281e) Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8189f58d0449d16f162b6e8d98c4e5edc6bff875) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: ConfHandler: Remove lingering closeOla x Nilsson2022-09-161-2/+0
| | | | | | | | | | | | | | | The f.close() statement should have been removed in 459ad524756a3f9b50feeedf31e33502dceae8d5. (Bitbake rev: 23221378ff0d8c6908d75d1be3219aae0beee406) Signed-off-by: Ola x Nilsson <ola.x.nilsson@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 9fc1bab6b7e3c0fca3ddec4bc8c7763d2aff8bab) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: event.py: ignore exceptions from stdout and sterr operations in atexitMikko Rapeli2022-09-161-2/+8
| | | | | | | | | | | | | | | | | | | | When atexit functions run, stdout and stderr operations may fail, e.g. when output is piped to less but has been exited by the user. This removes error print from output of "bitbake -e sqlite3 | less" if user presses "q" before bitbake has finished processing: [Errno 32] Broken pipeError in atexit._run_exitfuncs: Traceback (most recent call last): File "/home/builder/src/poky/bitbake/lib/bb/event.py", line 135, in print_ui_queue sys.stdout.flush() (Bitbake rev: 65cee11967f60c74fa89bb6d72f32135968a6b87) Signed-off-by: Mikko Rapeli <mikko.rapeli@bmw.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 35167536c163eb6b7653cbcaad9f65b834d3e2f8) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker: Drop sre_constants usageRichard Purdie2022-09-161-3/+2
| | | | | | | | | | | | | | | | | | | | As reported by Martin Jansa <Martin.Jansa@gmail.com>: bitbake/lib/bb/cooker.py:16: DeprecationWarning: module 'sre_constants' is deprecated import sre_constants it's deprecated since 3.11 with: https://github.com/python/cpython/issues/91308 The correct replacement for our usage is re.error so use that instead. (Bitbake rev: c98007217b8e40f1abfdcba709185dc5ddbcd0c2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 3c0cd401472ffee06d5a93bdba566cb033851fcf) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: runqueue: Fix unihash cache mismatch issuesRichard Purdie2022-09-161-0/+3
| | | | | | | | | | | | | | | | | | Very occasionally we see errors in eSDK testing on the autobuilder where the task hashes in the eSDK don't match what was just built. I was able to inspect one of these build directories and noticed that the bb_unihashes.dat file in the eSDK was zero sized. Whilst inspecting the code to understand the cause, I noticed that updated hashes are not saved out in subsequent updates of the values in the rehash process. Add a missing sync call to ensure this happens. (Bitbake rev: 81a6f490dd1f5f669c75cd2ceb1105ce7a09c6e4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7912dabbcf444a3c3d971cca4a944a8b931e301b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* npm: use npm_registry to cache packageEnrico Scholz2022-09-121-6/+9
| | | | | | | | | | | | | | | | | | | | | 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). (From OE-Core rev: bfce90b1260d07f01a8dc2998c9e63ca36d4ebbe) Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 019b9c341d539939098962c228c1fd5c99331312) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>