Bruce Ashfield [Tue, 11 Jan 2022 17:59:49 +0000 (12:59 -0500)]
linux-yocto/5.10: update to v5.10.89
Updating linux-yocto/5.10 to the latest korg -stable release that comprises
the following commits:
eb967e323f7f Linux 5.10.89 52ad5da8e316 phonet/pep: refuse to enable an unbound pipe 7dd52af1eb57 hamradio: improve the incomplete fix to avoid NPD 450121075a6a hamradio: defer ax25 kfree after unregister_netdev 8e34d07dd4d9 ax25: NPD bug when detaching AX25 device 50f78486f90b hwmon: (lm90) Do not report 'busy' status bit as alarm ec1d222d37ea hwmom: (lm90) Fix citical alarm status for MAX6680/MAX6681 441d3873664d pinctrl: mediatek: fix global-out-of-bounds issue 9c75a9657bdc ASoC: rt5682: fix the wrong jack type detected 94caab5af19a ASoC: tas2770: Fix setting of high sample rates c7282790c782 Input: goodix - add id->model mapping for the "9111" model 3bb3bf50d69f Input: elants_i2c - do not check Remark ID on eKTH3900/eKTH5312 ee6f34215c5d mm: mempolicy: fix THP allocations escaping mempolicy restrictions 8008fc1d0be1 KVM: VMX: Fix stale docs for kvm-intel.emulate_invalid_guest_state d91ed251fd70 usb: gadget: u_ether: fix race in setting MAC address in setup phase 6697f29bf56b ceph: fix up non-directory creation in SGID directories fffb6581a23a f2fs: fix to do sanity check on last xattr entry in __f2fs_setxattr() ad338d825e3f tee: optee: Fix incorrect page free bug 1f2070767401 mm/hwpoison: clear MF_COUNT_INCREASED before retrying get_any_page() ac61b9c6c054 mac80211: fix locking in ieee80211_start_ap error path 89876d10830d ARM: 9169/1: entry: fix Thumb2 bug in iWMMXt exception handling c3253d3a38bc mmc: mmci: stm32: clear DLYB_CR after sending tuning command 0d66b395210c mmc: core: Disable card detect during shutdown c8e366a01c20 mmc: meson-mx-sdhc: Set MANUAL_STOP for multi-block SDIO commands 4af79153617b mmc: sdhci-tegra: Fix switch to HS400ES mode 9a7ec7979785 gpio: dln2: Fix interrupts when replugging the device f5b02912e2dd pinctrl: stm32: consider the GPIO offset to expose all the GPIO lines 28626e76baf5 KVM: VMX: Wake vCPU when delivering posted IRQ even if vCPU == this vCPU 7a37f2e37069 platform/x86: intel_pmc_core: fix memleak on registration failure b57afd124046 x86/pkey: Fix undefined behaviour with PKRU_WD_BIT c05d8f66ec34 tee: handle lookup of shm with reference count 0 0ffb9f83e4f6 parisc: Fix mask used to select futex spinlock 5deeb9ad598b parisc: Correct completer in lws start 8b745616ba8f ipmi: fix initialization when workqueue allocation fails 1f6ab847461c ipmi: ssif: initialize ssif_info->client early a5192f31160c ipmi: bail out if init_srcu_struct fails bc674f1b2119 Input: atmel_mxt_ts - fix double free in mxt_read_info_block 30140e252fdb ASoC: meson: aiu: Move AIU_I2S_MISC hold setting to aiu-fifo-i2s 2b4c020b70cc ALSA: hda/realtek: Fix quirk for Clevo NJ51CU 7470780f3b0c ALSA: hda/realtek: Add new alc285-hp-amp-init model 4cb7dc2e3074 ALSA: hda/realtek: Amp init fixup for HP ZBook 15 G6 69e492161c7b ALSA: drivers: opl3: Fix incorrect use of vp->state a96c08e0b41e ALSA: jack: Check the return value of kstrdup() 51c7b2a7b86a hwmon: (lm90) Drop critical attribute support for MAX6654 2464738d0ee4 hwmon: (lm90) Introduce flag indicating extended temperature support 196df56c3dc8 hwmon: (lm90) Add basic support for TI TMP461 fa2e149260bf hwmon: (lm90) Fix usage of CONFIG2 register in detect function ba696b470839 pinctrl: bcm2835: Change init order for gpio hogs 676c572439e5 Input: elantech - fix stack out of bound access in elantech_change_report_id() 2792fde84cce sfc: falcon: Check null pointer of rx_queue->page_ring d70b4001ef74 sfc: Check null pointer of rx_queue->page_ring 75c962f02a4f net: ks8851: Check for error irq 9db0f8d395fd drivers: net: smc911x: Check for error irq ca2a15053b07 fjes: Check for error irq c6d2754006c1 bonding: fix ad_actor_system option setting to default 6809da518514 ipmi: Fix UAF when uninstall ipmi_si and ipmi_msghandler module 61e6b82e7b6c igb: fix deadlock caused by taking RTNL in RPM resume path e00eace2325c net: skip virtio_net_hdr_set_proto if protocol already set ed05e4dcfba6 net: accept UFOv6 packages in virtio_net_hdr_to_skb 56b0bbba782b qlcnic: potential dereference null pointer of rx_queue->page_ring 78e49d77e517 net: marvell: prestera: fix incorrect return of port_find 861b4413e41d ARM: dts: imx6qdl-wandboard: Fix Ethernet support d79f5e0d458b netfilter: fix regression in looped (broad|multi)cast's MAC handling 579cefef7c42 RDMA/hns: Replace kfree() with kvfree() 7cf6466e00a7 IB/qib: Fix memory leak in qib_user_sdma_queue_pkts() cd9c90682b2f ASoC: meson: aiu: fifo: Add missing dma_coerce_mask_and_coherent() 580ecf86e772 spi: change clk_disable_unprepare to clk_unprepare 93a957bbf46c arm64: dts: allwinner: orangepi-zero-plus: fix PHY mode ef2dce43257d HID: potential dereference of null pointer 3110bc5862d2 HID: holtek: fix mouse probing 0875873b2a97 ext4: check for inconsistent extents between index and leaf block 76366c024f56 ext4: check for out-of-order index extents in ext4_valid_extent_entries() 1d4b1c4e8bbd ext4: prevent partial update of the extent blocks f69a47fcbb9c net: usb: lan78xx: add Allied Telesis AT29M2-AF 8c0059a25cb1 arm64: vdso32: require CROSS_COMPILE_COMPAT for gcc+bfd b16b124a42e0 arm64: vdso32: drop -no-integrated-as flag 856f88f27bbc Linux 5.10.88 88f20cccbeec xen/netback: don't queue unlimited number of packages 525875c410df xen/netback: fix rx queue stall detection 8fa3a370cc2a xen/console: harden hvc_xen against event channel storms d31b3379179d xen/netfront: harden netfront against event channel storms 8ac3b6ee7c9f xen/blkfront: harden blkfront against event channel storms 76ec7fe2d866 Revert "xsk: Do not sleep in poll() when need_wakeup set" e24fc8983025 bus: ti-sysc: Fix variable set but not used warning for reinit_modules 70692b06208c rcu: Mark accesses to rcu_state.n_force_qs a9078e791426 scsi: scsi_debug: Sanity check block descriptor length in resp_mode_select() bdb854f134b9 scsi: scsi_debug: Fix type in min_t to avoid stack OOB aa1f912712a1 scsi: scsi_debug: Don't call kcalloc() if size arg is zero 6859985a2fbd ovl: fix warning in ovl_create_real() 5fd7d62daa24 fuse: annotate lock in fuse_reverse_inval_entry() b99bdf127af9 media: mxl111sf: change mutex_init() location 0413f7a1a533 xsk: Do not sleep in poll() when need_wakeup set 6b8d8ecdd980 ARM: dts: imx6ull-pinfunc: Fix CSI_DATA07__ESAI_TX0 pad name 8affa1b68db6 Input: touchscreen - avoid bitwise vs logical OR warning aec5897b277b drm/amdgpu: correct register access for RLC_JUMP_TABLE_RESTORE c1d519263ded libata: if T_LENGTH is zero, dma direction should be DMA_NONE a9f2c6af5a60 timekeeping: Really make sure wall_to_monotonic isn't positive 6471ebcd6f15 serial: 8250_fintek: Fix garbled text for console a7c80674538f iocost: Fix divide-by-zero on donation from low hweight cgroup bcebb8eb1948 zonefs: add MODULE_ALIAS_FS 1c414ff63b2d btrfs: fix double free of anon_dev after failure to create subvolume 005d9292b5b2 btrfs: fix memory leak in __add_inode_ref() cd98cb5216a0 USB: serial: option: add Telit FN990 compositions 5c93584d9a2f USB: serial: cp210x: fix CP2105 GPIO registration 8f207f12630b usb: xhci: Extend support for runtime power management for AMD's Yellow carp. e5949933f313 PCI/MSI: Mask MSI-X vectors only on success f8aa09186c30 PCI/MSI: Clear PCI_MSIX_FLAGS_MASKALL on error d17c5a389768 usb: dwc2: fix STM ID/VBUS detection startup delay in dwc2_driver_probe 2b2edc8fc5a8 USB: NO_LPM quirk Lenovo USB-C to Ethernet Adapher(RTL8153-04) fd623e16b2ff tty: n_hdlc: make n_hdlc_tty_wakeup() asynchronous 9439fabfc349 KVM: x86: Drop guest CPUID check for host initiated writes to MSR_IA32_PERF_CAPABILITIES 5fe305c6d485 Revert "usb: early: convert to readl_poll_timeout_atomic()" 2b54f485f2c1 USB: gadget: bRequestType is a bitfield, not a enum 151ffac3ac27 powerpc/85xx: Fix oops when CONFIG_FSL_PMC=n fcf9194d366c bpf, selftests: Fix racing issue in btf_skc_cls_ingress test 6f46c59e60b6 sit: do not call ipip6_dev_free() from sit_init_net() 6e1011cd183f net: systemport: Add global locking for descriptor lifecycle d1765f984c99 net/smc: Prevent smc_release() from long blocking 337bb7bf7c31 net: Fix double 0x prefix print in SKB dump 734a3f310605 sfc_ef100: potential dereference of null pointer 7da349f07e45 net/packet: rx_owner_map depends on pg_vec 1a34fb9e2bf3 netdevsim: Zero-initialize memory for new map's value in function nsim_bpf_map_alloc d3e1f54508f1 ixgbe: set X550 MDIO speed before talking to PHY 48e01e388182 ixgbe: Document how to enable NBASE-T support 776ed8b36697 igc: Fix typo in i225 LTR functions 74a16e062b23 igbvf: fix double free in `igbvf_probe` ddac50d04f34 igb: Fix removal of unicast MAC filters of VFs 12c1938870dc soc/tegra: fuse: Fix bitwise vs. logical OR warning 451f1eded7f5 mptcp: clear 'kern' flag from fallback sockets 222cebd995cd drm/amd/pm: fix a potential gpu_metrics_table memory leak 74dc97dfb276 rds: memory leak in __rds_conn_create() 67f4362ae286 flow_offload: return EOPNOTSUPP for the unsupported mpls action type 03fd6ca05601 mac80211: fix lookup when adding AddBA extension element bef59d6a83d3 mac80211: agg-tx: don't schedule_and_wake_txq() under sta->lock 96bc86cac0a9 drm/ast: potential dereference of null pointer cac0fd4b9bd3 selftest/net/forwarding: declare NETIFS p9 p10 81fbdd45652d net/sched: sch_ets: don't remove idle classes from the round-robin list be32c8a78887 dmaengine: st_fdma: fix MODULE_ALIAS dfff1d5e85ff selftests: Fix IPv6 address bind tests 08896ecfffc3 selftests: Fix raw socket bind tests with VRF 5ba4dfb8b8a1 selftests: Add duplicate config only for MD5 VRF tests 12512bc8f25b net: hns3: fix use-after-free bug in hclgevf_send_mbx_msg 3a4f6dba1eb9 inet_diag: fix kernel-infoleak for UDP sockets 20ad1ef02f9a sch_cake: do not call cake_destroy() from cake_init() 1208b445a497 s390/kexec_file: fix error handling when applying relocations c058c544e73a selftests: net: Correct ping6 expected rc from 2 to 1 9983425c203b virtio/vsock: fix the transport to work with VMADDR_CID_ANY 94a01e6fb2d8 soc: imx: Register SoC device only on i.MX boards cc426a91d384 clk: Don't parent clks until the parent is fully registered 429bb01e4dda ARM: socfpga: dts: fix qspi node compatible 7b4cc168d9ca ceph: initialize pathlen variable in reconnect_caps_cb e0f06c32afb2 ceph: fix duplicate increment of opened_inodes metric 640e28d618e8 tee: amdtee: fix an IS_ERR() vs NULL bug eed897a22230 mac80211: track only QoS data frames for admission control 24983f750881 arm64: dts: rockchip: fix audio-supply for Rock Pi 4 49bd597719bf arm64: dts: rockchip: fix rk3399-leez-p710 vcc3v3-lan supply 9fcdbbf3964d arm64: dts: rockchip: fix rk3308-roc-cc vcc-sd supply ba866840b240 arm64: dts: rockchip: remove mmc-hs400-enhanced-strobe from rk3399-khadas-edge 3516bc149223 arm64: dts: imx8mp-evk: Improve the Ethernet PHY description 06294e7e341a arm64: dts: imx8m: correct assigned clocks for FEC 4cc6badff97f audit: improve robustness of the audit queue handling 0e21e6cd5eeb dm btree remove: fix use after free in rebalance_children() f5187a9d52ae recordmcount.pl: look for jgnop instruction as well as bcrl on s390 51f6302f81d2 vdpa: check that offsets are within bounds e3a1ab5aea4c virtio_ring: Fix querying of maximum DMA mapping size for virtio device 0612679e48d0 bpf, selftests: Add test case trying to taint map value pointer 279e0bf80d95 bpf: Make 32->64 bounds propagation slightly more robust e2aad0b5f2cb bpf: Fix signed bounds propagation after mov32 f0f484714f35 firmware: arm_scpi: Fix string overflow in SCPI genpd driver 7fd214fc7f2e mac80211: validate extended element ID is present 0bb50470f1e0 mac80211: send ADDBA requests using the tid/queue of the aggregation session 29bb131dbbb5 mac80211: mark TX-during-stop for TX in in_reconfig 15640e40e3bb mac80211: fix regression in SSN handling of addba tx 49b7e496928e KVM: downgrade two BUG_ONs to WARN_ON_ONCE 8d0f56c2ed71 KVM: selftests: Make sure kvm_create_max_vcpus test won't hit RLIMIT_NOFILE
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
gcc-cross-canadian: Fix cross canadian compiler for baremetal targets
While building GCC it checks whether the include directory exists,
if it doesnt it throws an error and exits:
| The directory that should contain system headers does not exist:
| tmp/work/x86_64-nativesdk-pokysdk-linux/gcc-cross-canadian-riscv32/
11.2.0-r0/recipe-sysroot/usr/include/
| make[1]: *** [Makefile:3257: stmp-fixinc] Error 1
Even though for the baremetal toolchain not having this directory
does make sense.
We overcame this by removing the --with-sysroot=/not/exist argument
for baremetal toolchains (via TARGET_OS override), however, the
newlib toolchain does have headers and an includedir, hence by fixing
the baremetal toolchain we broke the newlib one since it uses the same
TARGET_OS as baremetal, causing for example (on newlib):
/sdk/sysroots/x86_64-pokysdk-linux/usr/lib/riscv32-poky-elf/gcc/
riscv32-poky-elf/11.2.0/include/stdint.h:9:16:
fatal error: stdint.h: No such file or directory
Richard Purdie [Mon, 10 Jan 2022 13:49:04 +0000 (13:49 +0000)]
sstatetests: Add OLDEST_KERNEL to allarch tests
Some architectures vary OLDEST_KERNEL and this shouldn't change the allarch
signatures but in current OE-Core can/does. Add differing values to the
test configs to ensure we catch this in future (we want to keep a 32 and
64 bit machine here to test that as well).
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Robert Joslyn [Sun, 9 Jan 2022 19:08:04 +0000 (11:08 -0800)]
curl: Rework openssl and random PACKAGECONFIGs
The existing ssl PACKAGECONFIG makes it slightly annoying to use another
crypto provider while removing openssl. Since --with-ssl is just a
deprecated version of --with-openssl, rename the PACKAGECONFIG to use
the newer preferred name. Note that --without-ssl implies no crypto
provider at all, and should only be used when trying to disable all
crypto support.
Move --with-random to it's own option, since it is useful for other
crypto providers, not just openssl.
Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tclibc-baremetal: Supply missing /bin/sh target in the baremetal sdk
SDK recipes now require a provider for /bin/sh, this
should come from nativesdk-sdk-provides-dummy which
is added by default to Linux SDKs, however tclibc-baremetal
requires us to explicitly add its new dependency to
TOOLCHAIN_HOST_TASK, otherwise we get a packaging error
while generating an SDK.
e.g.
package packagegroup-cross-canadian-qemuriscv32-1.0-r0.x86_64_nativesdk
requires gdb-cross-canadian-riscv32, but none of the providers
can be installed
- conflicting requests
- nothing provides /bin/sh needed by
gdb-cross-canadian-riscv32-11.1-r0.x86_64_nativesdk
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
tclibc-newlib: Supply missing /bin/sh target in newlib sdk
SDK recipe now require a provider for /bin/sh, this
should come from nativesdk-sdk-provides-dummy which
is added by default to Linux SDKs, however tclibc-newlib
requires us to explicitly add its new dependency to
TOOLCHAIN_HOST_TASK, otherwise we get a packaging error
while generating an SDK.
e.g.
package packagegroup-cross-canadian-qemuriscv32-1.0-r0.x86_64_nativesdk
requires gdb-cross-canadian-riscv32, but none of the providers
can be installed
- conflicting requests
- nothing provides /bin/sh needed by
gdb-cross-canadian-riscv32-11.1-r0.x86_64_nativesdk
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alejandro@enedino.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wangmy [Mon, 10 Jan 2022 14:05:04 +0000 (22:05 +0800)]
less: upgrade 598 -> 600
License-Update: year updated to 2022.
Changelog:
==========
Add the --header option.
Add the --no-number-headers option.
Add the --status-line option.
Add the --redraw-on-quit option.
Add the --search-options option.
Add 'H' color type to set color of header lines.
Add #version conditional to lesskey.
Add += syntax to variable section in lesskey files.
Allow option name in -- command to end with '=' in addition to '\n'.
Add $HOME/.config to possible locations of lesskey file.
Add $XDG_STATE_HOME and $HOME/.local/state to possible locations of history file.
Don't read or write history file in secure mode.
Fix display of multibyte and double-width chars in prompt.
Fix ESC-BACKSPACE command when BACKSPACE key does not send 0x08.
Add more \k codes to lesskey format.
Fix bug when empty file is modified while viewing it.
Fix bug when parsing a malformed lesskey file.
Fix bug scrolling history when --incsearch is set.
Fix buffer overflow when invoking lessecho with more than 63 -m/-n options.
Fix bug restoring color at end of highlighted text.
Fix bug in parsing lesskey file.
Defer moving cursor to lower left in some more cases.
Suppress TAB filename expansion in some cases where it doesn't make sense.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wangmy [Mon, 10 Jan 2022 14:05:03 +0000 (22:05 +0800)]
iso-codes: upgrade 4.8.0 -> 4.9.0
Changelog:
=========
Added
----------
ISO 639-3: New translation for Friulian
ISO 639-5: New translations for Esperanto, Hindi, Russian
ISO 4217: New translation for Esperanto
Changed
---------
Translation updates for ISO 3166-1
Translation updates for ISO 3166-2
Translation updates for ISO 639-2
Translation updates for ISO 639-3
Translation updates for ISO 639-5
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wangmy [Mon, 10 Jan 2022 14:02:29 +0000 (22:02 +0800)]
bluez5: upgrade 5.62 -> 5.63
Changelog:
=========
This release is mostly a bug fix release, with fixes to features such as GATT,
SDP, Daemon, and emulator. It also adds a new MGMT Event for Device Found and
Device Lost of Advertisement Monitor.
New build options for sanitizers (lsan, asan, ubsan) are added and it may
require installing additional libraries depending on the distros.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wangmy [Mon, 10 Jan 2022 14:02:28 +0000 (22:02 +0800)]
bash: upgrade 5.1.8 -> 5.1.16
Changelog:
=========
1. New Features in Bash
a. 'bind -x' now supports different bindings for different editing modes and
keymaps.
b. Bash attempts to optimize the number of times it forks when executing
commands in subshells and from 'bash -c'.
c. Here documents and here strings now use pipes for the expanded document if
it's smaller than the pipe buffer size, reverting to temporary files if it's
larger.
d. There are new loadable builtins: mktemp, accept, mkfifo, csv, cut/lcut
e. In posix mode, 'trap -p' now displays signals whose disposition is SIG_DFL
and those that were SIG_IGN when the shell starts.
f. The shell now expands the history number (e.g., in PS1) even if it is not
currently saving commands to the history list.
g. 'read -e' may now be used with arbitrary file descriptors ('read -u N').
h. The 'select' builtin now runs traps if its internal call to the read builtin
is interrupted by a signal.
i. SRANDOM: a new variable that expands to a 32-bit random number that is not
produced by an LCRNG, and uses getrandom/getentropy, falling back to
/dev/urandom or arc4random if available. There is a fallback generator if
none of these are available.
j. shell-transpose-words: a new bindable readline command that uses the same
definition of word as shell-forward-word, etc.
k. The shell now adds default bindings for shell-forward-word,
shell-backward-word, shell-transpose-words, and shell-kill-word.
l. Bash now allows ARGV0 appearing in the initial shell environment to set $0.
m. If 'unset' is executed without option arguments, bash tries to unset a shell
function if a name argument cannot be a shell variable name because it's not
an identifier.
n. The 'test -N' operator uses nanosecond timestamp granularity if it's
available.
o. Bash posix mode now treats assignment statements preceding shell function
definitions the same as in its default mode, since POSIX has changed and
no longer requires those assignments to persist after the function returns
(POSIX interp 654).
p. BASH_REMATCH is no longer readonly.
q. wait: has a new -p VARNAME option, which stores the PID returned by 'wait -n'
or 'wait' without arguments.
r. Sorting the results of pathname expansion now uses byte-by-byte comparisons
if two strings collate equally to impose a total order; the result of a
POSIX interpretation.
s. Bash now allows SIGINT trap handlers to execute recursively.
t. Bash now saves and restores state around setting and unsetting posix mode,
instead of having unsetting posix mode set a known state.
u. Process substitution is now available in posix mode.
v. READLINE_MARK: a new variable available while executing commands bound with
'bind -x', contains the value of the mark.
w. Bash removes SIGCHLD from the set of blocked signals if it's blocked at shell
startup.
x. 'test -v N' can now test whether or not positional parameter N is set.
y. 'local' now honors the '-p' option to display all local variables at the
current context.
z. The '@a' variable transformation now prints attributes for unset array
variables.
aa. The '@A' variable transformation now prints a declare command that sets a
variable's attributes if the variable has attributes but is unset.
bb. 'declare' and 'local' now have a -I option that inherits attributes and
value from a variable with the same name at a previous scope.
cc. When run from a -c command, 'jobs' now reports the status of completed jobs.
dd. New 'U', 'u', and 'L' parameter transformations to convert to uppercase,
convert first character to uppercase, and convert to lowercase,
respectively.
ee. PROMPT_COMMAND: can now be an array variable, each element of which can
contain a command to be executed like a string PROMPT_COMMAND variable.
ff. 'ulimit' has a -R option to report and set the RLIMIT_RTTIME resource.
gg. Associative arrays may be assigned using a list of key-value pairs within
a compound assignment. Compound assignments where the words are not of
the form [key]=value are assumed to be key-value assignments. A missing or
empty key is an error; a missing value is treated as NULL. Assignments may
not mix the two forms.
hh. New 'K' parameter transformation to display associative arrays as key-
value pairs.
ii. Writing history to syslog now handles messages longer than the syslog max
length by writing multiple messages with a sequence number.
jj. SECONDS and RANDOM may now be assigned using arithmetic expressions, since
they are nominally integer variables. LINENO is not an integer variable.
kk. Bash temporarily suppresses the verbose option when running the DEBUG trap
while running a command from the 'fc' builtin.
ll. 'wait -n' now accepts a list of job specifications as arguments and will
wait for the first one in the list to change state.
mm. The associative array implementation can now dynamically increase the
size of the hash table based on insertion patterns.
nn. HISTFILE is now readonly in a restricted shell.
oo. The bash malloc now returns memory that is 16-byte aligned on 64-bit
systems.
pp. If the hash builtin is listing hashed filenames portably, don't print
anything if the table is empty.
qq. GLOBIGNORE now ignores '.' and '..' as a terminal pathname component.
rr. Bash attempts to optimize away forks in the last command in a function body
under appropriate circumstances.
ss. The globbing code now uses fnmatch(3) to check collation elements (if
available) even in cases without multibyte characters.
tt. The 'fg' and 'bg' builtins now return an error in a command substitution
when asked to restart a job inherited from the parent shell.
uu. The shell now attempts to unlink all FIFOs on exit, whether a consuming
process has finished with them or not.
vv. There is a new contributed loadable builtin: asort.
2. New Features in Readline
a. If a second consecutive completion attempt produces matches where the first
did not, treat it as a new completion attempt and insert a match as
appropriate.
b. Bracketed paste mode works in more places: incremental search strings, vi
overstrike mode, character search, and reading numeric arguments.
c. Readline automatically switches to horizontal scrolling if the terminal has
only one line.
d. Unbinding all key sequences bound to a particular readline function now
descends into keymaps for multi-key sequences.
e. rl-clear-display: new bindable command that clears the screen and, if
possible, the scrollback buffer (bound to emacs mode M-C-l by default).
f. New active mark and face feature: when enabled, it will highlight the text
inserted by a bracketed paste (the 'active region') and the text found by
incremental and non-incremental history searches. This is tied to bracketed
paste and can be disabled by turning off bracketed paste.
g. Readline sets the mark in several additional commands.
h. Bracketed paste mode is enabled by default.
i. Readline tries to take advantage of the more regular structure of UTF-8
characters to identify the beginning and end of characters when moving
through the line buffer.
j. The bindable operate-and-get-next command (and its default bindings) are
now part of readline instead of a bash-specific addition.
k. The signal cleanup code now blocks SIGINT while processing after a SIGINT.
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
New systemd has changed the phrasing when skipping things,
with unfortunate use of 'failed':
[ 1.623667] systemd[1]: Journal Audit Socket was skipped because of a failed condition check (ConditionSecurity=audit).
[ 1.688258] systemd[1]: Load Kernel Modules was skipped because all trigger condition checks failed.
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
qemuboot/runqemu: fully form the ip= kernel parameter
New systemd is actually parsing this in systemd-network-generator
and fails if it is not fully formed. 'off' means 'static ip, do nothing':
https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Mon, 10 Jan 2022 12:19:32 +0000 (12:19 +0000)]
xserver-xorg: whitelist two CVEs
CVE-2011-4613 is specific to Debian/Ubuntu.
CVE-2020-25697 is a non-trivial attack that may not actually be feasible
considering the default behaviour for clients is to exit if the
connection is lost.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Chen Qi [Fri, 7 Jan 2022 02:16:24 +0000 (18:16 -0800)]
populate_sdk_base: remove unneeded dirs such as /dev
We met a problem that core-image-tiny-initramfs's SDK cannot be
installed. The error message is like below.
tar: ./sysroots/core2-64-poky-linux/dev/console: Cannot mknod: Operation not permitted
In fact, the '/dev' direcotry is not needed by SDK. So remove it.
This patches uses a variable, SDK_PRUNE_SYSROOT_DIRS, to hold useless dir entries
so that it could be extended. For example, '/usr/bin' could be added if wanted.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Khem Raj [Fri, 7 Jan 2022 19:22:55 +0000 (11:22 -0800)]
libsdl2: Fix build when libunwind is not used
clang provides libunwind.h and cmake adds a check to
find libunwind when this header is detected, which was
not the case with automake. The check however is expecting
specific unwinder implementation which provides libunwind-generic
solib, this is not a standard library that all implementations
will provide, therefore make this check optional.
Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 7 Jan 2022 13:45:22 +0000 (13:45 +0000)]
allarch: Fix interaction with qemu class
The qemu class declares functions which are architecture specific. If a user such
as meson is used in an allarch recipe, this leads to sstate which is machine
specific. To fix this, remove the architecture specific part, since there are no
binaries in allarch classes, this change shouldn't break anything.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 7 Jan 2022 11:16:57 +0000 (11:16 +0000)]
Revert "qemu.bbclass: drop OLDEST_KERNEL reference"
This patch was merged on the basis that it wasn't needed with recent versions
of qemu. That isn't true and has been showen to cause failures for aarch64 on
centos7 hosts. Revert the patch as we'll need a different solution.
Richard Purdie [Fri, 7 Jan 2022 14:32:19 +0000 (14:32 +0000)]
libsdl2: Fix X11 configure options
We're seeing various failures where the X11 headers are found on the native
system but not all libraries are present and hence autoconfiguration of the
X11 subcomponents fails.
We don't list any of these X11 subcomponents as a dependency so disable
them by default. Configuration and dependencies can be added if people need
them.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Saul Wold [Thu, 6 Jan 2022 20:12:34 +0000 (12:12 -0800)]
perl: Enable threading
When the tranisiton to perl-cross occured, the threading define
seems to have been missed. The perl tests for threading where
simply skipped, so there was no direct failures. This was verified
by running perl ptest before and after the change to see PASS vs SKIP
results of threaded related tests.
NOTE: Perl officially discourges the use of threads, so this
functionality maybe depercated in the future [0][1]
v2: adds the usethreads to native and nativesdk. This was tested by
builing postresql and rrdtool which use perl and automake.
Joshua Watt [Thu, 6 Jan 2022 16:42:36 +0000 (10:42 -0600)]
selftest: reproducible: Set maximum report size
Diffoscope can end up running for a very long time if there are a lot of
changes. To put a limit on how long it can run, cap the maximum report
size at 250 MB by default.
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Andrei Gherzan [Thu, 6 Jan 2022 14:19:31 +0000 (15:19 +0100)]
gcc: Fix compile of gcc plugins
Without this, compiling gcc plugins will fail with an error similar to:
[...]
fatal error: ./config/i386/linux64.h: No such file or directory
[...]
In Yocto, we set up compiling gcc-cross out of tree. Which in turn makes
the generated headers end up in B. The tm.h header will include
generated headers that are expected in plugin/include/config/*.
For example, the linux64.h header, when generating gcc-cross for x86-64,
will end up in tm.h header as:
include "./config/i386/linux64.h"
On the other hand, the make rule `install-plugin` in gcc/Makefile.in
will install the linux64.h assuming that it is generated in the sources
directory and because this is not the case in our setup, the Makefile
ends up installing it in plugin_includedir/`basename $$path` which ends
up installing the header in [..]plugin/include as opposed to
[..]plugin/include/config/i386 (as expected by the generator of tm.h).
The included patch modifies the Makefile rule to match the assumption of
gcc-cross being compiled out of tree.
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Ross Burton [Wed, 5 Jan 2022 11:27:37 +0000 (11:27 +0000)]
linux-yocto: add libmpc-native to DEPENDS
5.10.85 changed how the GCC plugins are built, which means they now
depend on both GMP and MPC to be built. We already depend on gmp-native,
so add libmpc-native aswell.
Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Otavio Salvador [Fri, 31 Dec 2021 19:38:42 +0000 (16:38 -0300)]
mesa: 21.3.1 -> 21.3.3
Upgrade to 21.3.3 stable release. It includes bugfixes and minor
improvements, for more detailed information about the included changes
refer to the specific release notes:
go: correctly set debug-prefix-map and build directory
Go has its own system for creating temporary build
sub-directories with randomized names, and setting
up debug-prefix-map on the fly to prevent those
directories leaking into target binaries. OE's own
settings were clashing with it, so this change
carefully avoids the two stepping on each other.
Additionally, the top level build directory cannot
be named 'go-something'.
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
go writes build-specific ids into binaries it produces
and has a custom system for calculating them from
file hashes, environment variables and other inputs
(not that dissimilar to sstate cache, actually). This can
go wrong :) in various ways (for purposes of reproducibility
in particular), so this enables useful logs to see what
happens and why.
Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wangmy [Mon, 27 Dec 2021 13:20:19 +0000 (21:20 +0800)]
gnupg: upgrade 2.3.3 -> 2.3.4
refresh relocate.patch
Chanlog:
========
Bugs fixed for this release <https://dev.gnupg.org/#####>
gpg: New option --min-rsa-length. [rG5f39db70c0]
gpg: New option --forbid-gen-key. [rGc397ba3ac0]
gpg: New option --override-compliance-check. [T5655]
gpgconf: New command --show-configs. [rGa0fb78ee0f]
agent,dirmngr,keyboxd: New option --steal-socket. [rGb0079ab39d,rGdd708f60d5]
gpg: Fix printing of binary notations. [T5667]
gpg: Remove stale ultimately trusted keys from the trustdb. [T5685,T5742]
gpg: Fix indentation of --print-mds and --print-md sha512. [T5679]
gpg: Emit gpg 2.2 compatible Ed25519 signature. [T5331]
gpgsm: Detect circular chains in --list-chain. [rG74c5b35062]
dirmngr: Make reading resolv.conf more robust. [T5657]
dirmngr: Ask keyservers to provide the key fingerprints. [T5741]
gpgconf: Allow changing gpg's deprecated keyserver option. [T5462]
gpg-wks-server: Fix created file permissions. [rG60be00b033]
scd: Support longer data for ssh-agent authentication with openpgp cards. [T5682]
scd: Modify DEVINFO behavior to support looping forever. [T5359]
Support gpgconf.ctl for NetBSD and Solaris. [T5656,T5671]
Silence "Garbled console data" warning under Windows in most cases. [rGe293da3b21]
Silence warning about the rootdir under Unices w/o a mounted /proc file system. [T5656]
Fix possible build problems about missing include files. [T5592]
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wangmy [Mon, 27 Dec 2021 13:20:18 +0000 (21:20 +0800)]
expat: upgrade 2.4.1 -> 2.4.2
Changelog:
=========
#509 #510 Link againgst libm for function "isnan"
#513 #514 Include expat_config.h as early as possible
#498 Autotools: Include files with release archives:
- buildconf.sh
- fuzz/*.c
#507 #519 Autotools: Sync CMake templates
#495 #524 CMake: MinGW: Fix pkg-config section "Libs" for
- non-release build types (e.g. -DCMAKE_BUILD_TYPE=Debug)
- multi-config CMake generators (e.g. Ninja Multi-Config)
#502 #503 docs: Document that function XML_GetBuffer may return NULL
when asking for a buffer of 0 (zero) bytes size
#522 #523 docs: Fix return value docs for both
XML_SetBillionLaughsAttackProtection* functions
#525 #526 Version info bumped from 9:1:8 to 9:2:8;
see https://verbump.de/ for what these numbers do
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
wangmy [Mon, 27 Dec 2021 09:08:48 +0000 (17:08 +0800)]
python3-numpy: upgrade 1.21.4 -> 1.21.5
Changelog:
==========
Bugs fixed for this release <https://github.com/numpy/numpy/pull/#####>
#20357: MAINT: Do not forward __(deep)copy__ calls of _GenericAlias...
#20462: BUG: Fix float16 einsum fastpaths using wrong tempvar
#20463: BUG, DIST: Print os error message when the executable not exist
#20464: BLD: Verify the ability to compile C++ sources before initiating...
#20465: BUG: Force npymath to respect npy_longdouble
#20466: BUG: Fix failure to create aligned, empty structured dtype
#20467: ENH: provide a convenience function to replace npy_load_module
#20495: MAINT: update wheel to version that supports python3.10
#20497: BUG: Clear errors correctly in F2PY conversions
#20613: DEV: add a warningfilter to fix pytest workflow.
#20618: MAINT: Help boost::python libraries at least not crash
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
zhengruoqin [Mon, 27 Dec 2021 23:18:44 +0000 (07:18 +0800)]
libmicrohttpd: upgrade 0.9.73 -> 0.9.75
Changelog:
=========
Fixed Makefile warning on MinGW.
Fixed compiler warning on MinGW.
Fixed "configure" portability (for NetBSD).
MSVC project cosmetics.
MSVC fixed project to fix linker warning.
Fixed compiler warning on some platforms.
Further improved test_client_put_stop to get stable results on all
platforms.
Added workaround for platforms (like OpenBSD) where system monotonic clocks
may jump forward and back.
Added more checks in test_large_put, increased timeout (was too small for
this test). -EG
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
zhengruoqin [Mon, 27 Dec 2021 23:17:49 +0000 (07:17 +0800)]
shadow: upgrade 4.9 -> 4.10
0001-Fix-out-of-tree-builds-with-respect-to-libsubid-incl.patch
0001-libmisc-fix-default-value-in-SHA_get_salt_rounds.patch
0001-libsubid-link-to-PAM-libraries.patch
removed since they're included in 4.10
License-Update: Delete the space at the end of the sentence.
Changelog:
==========
* libsubid fixes
* Rename the test program list_subid_ranges to getsubids, write
a manpage, so distros can ship it. (Iker Pedrosa)
* Add libeconf dep for new*idmap
* Allow all group types with usermod -G
* Avoid useradd generating empty subid range
* Handle NULL pw_passwd
* Fix default value SHA_get_salt_rounds
* Use https where possible in README
* Update content and format of README
* Translation updates
* Switch from xml2po to itstool in 'make dist'
* Fix double frees
* Add LOG_INIT configurable to useradd
* Add CREATE_MAIL_SPOOL documentation
* Create a security.md
* Fix su never being SIGKILLd when trapping TERM
* Fix wrong SELinux labels in several possible cases
* Fix missing chmod in chadowtb_move
* Handle malformed hushlogins entries
* Fix groupdel segv when passwd does not exist
* Fix covscan-found newgrp segfault
* Remove trailing slash on hoedir
* Fix passwd -l message - it does not change expirey
* Fix SIGCHLD handling bugs in su and vipw
* Remove special case for "" in usermod
* Implement usermod -rG to remove a specific group
* call pam_end() after fork in child path for su and login
* useradd: In absence of /etc/passwd, assume 0 == root
* lib: check NULL before freeing data
* Fix pwck segfault
Signed-off-by: Zheng Ruoqin <zhengrq.fnst@fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This release contains the following major changes:
- FreeBSD support has been entirely upstreamed and has been added to
our continuous integration system.
- The autotools build system has been dropped. Meson has replaced it.
- A few protocol additions: wl_surface.offset allows clients to update
a surface's buffer offset independently from the buffer,
wl_output.name and description allow clients to identify outputs
without depending on xdg-output-unstable-v1.
- In protocol definitions, events have a new "type" attribute and can
now be marked as destructors.
- A number of bug fixes, including a race condition when destroying
proxies in multi-threaded clients.
Also backport libsdl2 patch to fix building against wayland-1.20.0
Signed-off-by: Denys Dmytriyenko <denis@denix.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 3 Jan 2022 14:18:34 +0000 (14:18 +0000)]
webkitgtk: Add reproducibility fix
When the date rolled from one year to another this highlighted a reproducibility
issue. This could be better fixed by using SOURCE_DATE_EPOCH from the environment
but I'm not sure how you do that in ruby. Help from someone with that knowledge
to submit that upstream very welcome.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 3 Jan 2022 14:20:12 +0000 (14:20 +0000)]
openssl: Add reproducibility fix
When the date rolled from one year to another, it highlighted a reproducibility
issue in openssl. Patch a workaround for this to avoid autobuilder failures. Help
submitting upstream welcome.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Mon, 3 Jan 2022 17:34:05 +0000 (17:34 +0000)]
meson: Handle qemu riscv issues
In qemu, they merged the 32 and 64 bit riscv variants into one target for meson
purposes but this isn't officially supported by upstream meson. In normal builds
this would just be a warning but in OE, this is fatal.
Avoid the fatal errors for now and build as qemu intended whilst this is resolved
by the upstreams.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Tue, 4 Jan 2022 11:16:51 +0000 (11:16 +0000)]
package_deb/ipk/rpm: Add more minimal do_build dependencies back
The dependencies for do_build became a little too minimal after the
removal of recrdeptask since "bitbake go" would not package go-runtime
despite it being in DEPENDS and the resulting package having a dependency
on it.
A reasonable compromise is probably rdeptask instead of recrdeptask
which is a lot lower overhead but makes the build target more useful
and importantly, lets world builds do what you'd expect them to.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Tim Orling [Sat, 30 Oct 2021 15:35:15 +0000 (08:35 -0700)]
scripts/buildhistory-diff: drop use of distutils
The use of distutils.version.LooseVersion to check for GitPython > 0.3.1
is not really needed anymore since any supported distribution has at least
1.0.0 (centos-7 via epel7, debian-9, ubuntu-16.04)
If we want to reinstate this check, alternatives would be to require
python3-packaging on all hosts and use packaging.version.Version or
use an imported LooseVersion in bb.version.
[YOCTO #14610]
Signed-off-by: Tim Orling <timothy.t.orling@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Samuli Piippo [Mon, 3 Jan 2022 08:10:50 +0000 (10:10 +0200)]
rpm: remove tmp folder created during install
nativesdk-rpm build is also affected by the stray /var/tmp
created during the rpm install. Remove it to fix QA Issue:
nativesdk-rpm installs files in /usr/local/oe-sdk-hardcoded-buildpath/sysroots/x86_64-pokysdk-linux/var/volatile, but it is expected to be empty [empty-dirs]
Signed-off-by: Samuli Piippo <samuli.piippo@qt.io> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>