aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* virglrenderer: fix multiple CVEsanujm/zeus2Lee Chee Yang2020-03-044-0/+159
| | | | | | | | | | fix these CVE: CVE-2019-18390 CVE-2019-18391 CVE-2020-8002 Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* dhcp: Fix REQUIRE(ctx->running) assertion triggered on SIGTERM/SIGINTOvidiu Panait2020-03-044-0/+228
| | | | | | | | | | | | | | | | | | | Closed a small window of time between the installation of graceful shutdown signal handlers and application context startup, during which the receipt of shutdown signal would cause a REQUIRE() assertion to occur. Note this issue is only visible when compiling with ENABLE_GENTLE_SHUTDOWN defined. Reference: https://gitlab.isc.org/isc-projects/dhcp/issues/53 Upstream patches: https://gitlab.isc.org/isc-projects/dhcp/commit/ce117de7a1ed3c4911b4009c1cc23fba85370a26 https://gitlab.isc.org/isc-projects/dhcp/commit/dbd36dfa82956b53683462afadfabb1b33fa3dd1 https://gitlab.isc.org/isc-projects/dhcp/commit/95944cab6035d20be270eec01254c7bb867ec705 Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* ruby: fix CVE-2019-16254Rahul Chauhan2020-03-042-0/+107
| | | | | Signed-off-by: Rahul Chauhan <rahulchauhankitps@gmail.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* linux-yocto/5.2: update to v5.2.32Bruce Ashfield2020-02-283-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.2 to the latest korg -stable release that comprises the following commits: ef3886a722c8 Linux 5.2.32 ce5a5accc87e dm thin: fix use-after-free in metadata_pre_commit_callback 9aafc6574336 cifs: Fix memory allocation in __smb2_handle_cancelled_cmd() e177f6d8471e drm/amd/display: add default clocks if not able to fetch them dba8b53f1ef4 drm/dp_mst: Correct the bug in drm_dp_update_payload_part1() bd427585578d drm/radeon: fix r1xx/r2xx register checker for POT textures b56603ead990 drm/i915/fbc: Disable fbc by default on all glk+ 5ce9d8bdf796 drm/nouveau/kms/nv50-: Limit MST BPC to 8 86bdcc48feb0 drm/nouveau/kms/nv50-: Store the bpc we're using in nv50_head_atom b039a9b6d8f4 drm/nouveau/kms/nv50-: Call outp_atomic_check_view() before handling PBN 03e122dbc136 scsi: qla2xxx: Fix incorrect SFUB length used for Secure Flash Update MB Cmd 8bf5409573de scsi: qla2xxx: Correctly retrieve and interpret active flash region 7af719a2ca84 scsi: qla2xxx: Change discovery state before PLOGI 1fea09aa4b42 scsi: qla2xxx: Added support for MPI and PEP regions for ISP28XX 30205f999d12 scsi: qla2xxx: Initialize free_work before flushing it 39ec6bc75116 scsi: qla2xxx: Ignore NULL pointer in tcm_qla2xxx_free_mcmd 1f08dd5fa5c5 scsi: iscsi: Fix a potential deadlock in the timeout handler 42a2fbbc708f dm thin: Flush data device before committing metadata 56d35c21552b dm thin metadata: Add support for a pre-commit callback d658f6349a2f dm btree: increase rebalance threshold in __rebalance2() 3aca6fce0d4e dm mpath: remove harmful bio-based optimization 2363f92cde9c drm: meson: venc: cvbs: fix CVBS mode matching 2878bba5052a dma-buf: Fix memory leak in sync_file_merge() b10d7f86b5ca vfio/pci: call irq_bypass_unregister_producer() before freeing irq 099085c85deb ARM: tegra: Fix FLOW_CTLR_HALT register clobbering by tegra_resume() 674f30df2798 ARM: dts: s3c64xx: Fix init order of clock providers 7fe7993bd757 cifs: Fix retrieval of DFS referrals in cifs_mount() 6fef05311f57 CIFS: Fix NULL pointer dereference in mid callback 42d37a87a332 CIFS: Do not miss cancelled OPEN responses ca8deb792b01 CIFS: Close open handle after interrupted close df192003fb6b CIFS: Respect O_SYNC and O_DIRECT flags during reconnect 40ae22555ce3 cifs: Don't display RDMA transport on reconnect 969925ff652b cifs: smbd: Return -ECONNABORTED when trasnport is not in connected state 82fe0b779a89 cifs: smbd: Return -EINVAL when the number of iovs exceeds SMBDIRECT_MAX_SGE d88fc76297a7 cifs: smbd: Add messages on RDMA session destroy and reconnection f1bede222a44 cifs: smbd: Only queue work for error recovery on memory registration 118c2599caf3 cifs: smbd: Return -EAGAIN when transport is reconnecting 2c3c6e2691ff rpmsg: glink: Free pending deferred work on remove 7286d52aa88c rpmsg: glink: Don't send pending rx_done during remove eed61c8c6667 rpmsg: glink: Fix rpmsg_register_device err handling 00b748a63488 rpmsg: glink: Put an extra reference during cleanup ebb78ad8b431 rpmsg: glink: Fix use after free in open_ack TIMEOUT case b3f09043fc81 rpmsg: glink: Fix reuse intents memory leak issue 5bfb2ef7a181 rpmsg: glink: Set tail pointer to 0 at end of FIFO 63045fa07fba xtensa: fix syscall_set_return_value 9247f95643ef xtensa: fix TLB sanity checker c848ea0969ce gfs2: fix glock reference problem in gfs2_trans_remove_revoke eb30a9e18f47 xtensa: use MEMBLOCK_ALLOC_ANYWHERE for KASAN shadow map adff286a3be5 PCI: Apply Cavium ACS quirk to ThunderX2 and ThunderX3 f28f30c5255c PCI: rcar: Fix missing MACCTLR register setting in initialization sequence cb5cb799bf0b PCI: Do not use bus number zero from EA capability d291c94f8e57 PCI/MSI: Fix incorrect MSI-X masking on resume eb24be2871ad PCI: Fix Intel ACS quirk UPDCR register address 06ad330304d2 PCI: pciehp: Avoid returning prematurely from sysfs requests 5d558c8b1439 PCI/PM: Always return devices to D0 when thawing 84dfe86a3851 PCI/switchtec: Read all 64 bits of part_event_bitmap 0db244d3995f mmc: block: Add CMD13 polling for MMC IOCTLS with R1B response 845b2cbece34 mmc: block: Make card_busy_detect() a bit more generic 5db0e71cbee1 libertas: make lbs_ibss_join_existing() return error code on rates overflow 36e460a8c861 libertas: don't exit from lbs_ibss_join_existing() with RCU read lock held 2aabb3fcd7fe libertas: Fix two buffer overflows at parsing bss descriptor 8866a53c5e7a Linux 5.2.31 33a9ecf23bdb hsr: fix a NULL pointer dereference in hsr_dev_xmit() c5eba532e308 gre: refetch erspan header from skb->data after pskb_may_pull() 8477c46262fa tcp: Protect accesses to .ts_recent_stamp with {READ,WRITE}_ONCE() d46e87f84fd4 tcp: tighten acceptance of ACKs not matching a child socket 06b27e9e4496 tcp: fix rejected syncookies due to stale timestamps d3ce127be5c7 net: ipv6_stub: use ip6_dst_lookup_flow instead of ip6_dst_lookup 31ecfe259fba net: ipv6: add net argument to ip6_dst_lookup_flow 1a45655b78c5 net/mlx5e: Query global pause state before setting prio2buffer 10ac0045c8a7 tipc: fix ordering of tipc module init and exit routine f8089e38f286 tcp: md5: fix potential overestimation of TCP option space c9b8428b8b42 openvswitch: support asymmetric conntrack ab45bc5d7c6f net/tls: Fix return values to avoid ENOTSUPP aaa20d4352a1 net: thunderx: start phy before starting autonegotiation aebf8e234674 net: sched: fix dump qlen for sch_mq/sch_mqprio with NOLOCK subqueues 876e02c6b8de net: ethernet: ti: cpsw: fix extra rx interrupt 75b099157e3b net: dsa: fix flow dissection on Tx path b8c2a07d7fc9 net: bridge: deny dev_set_mac_address() when unregistering ef141fca118c mqprio: Fix out-of-bounds access in mqprio_dump a0484dba9932 inet: protect against too small mtu values. 7d923144ef6e net_sched: validate TCA_KIND attribute in tc_chain_tmplt_add() c0f777b6c28d SUNRPC: Fix another issue with MIC buffer space cce35a47eb7c raid5: need to set STRIPE_HANDLE for batch head 2b15565d1a62 workqueue: Fix missing kfree(rescuer) in destroy_workqueue() 2fb67c1da0c0 blk-mq: make sure that line break can be printed 588d5a85b106 ext4: fix a bug in ext4_wait_for_tail_page_commit 87b234005394 splice: only read in as much information as there is pipe buffer space de86c841c81b rtc: disable uie before setting time and enable after d4e7102cc326 mm/shmem.c: cast the type of unmap_start to u64 922a48c3e94d s390/kaslr: store KASLR offset for early dumps 3b7d69248f06 s390/smp,vdso: fix ASCE handling 546e9a689d3e firmware: qcom: scm: Ensure 'a0' status code is treated as signed a9b6310e93a4 ext4: work around deleting a file with i_nlink == 0 safely 609a4e56145d mm: memcg/slab: wait for !root kmem_cache refcnt killing on root kmem_cache destruction 3d5c91034234 mfd: rk808: Fix RK818 ID template fbac2f7aa1c3 mm, memfd: fix COW issue on MAP_PRIVATE and F_SEAL_FUTURE_WRITE mappings 118197756683 powerpc: Fix vDSO clock_getres() 9ba5c6dcb3b7 powerpc: Avoid clang warnings around setjmp and longjmp 7c36247732a2 omap: pdata-quirks: remove openpandora quirks for mmc3 and wl1251 1eff30510478 omap: pdata-quirks: revert pandora specific gpiod additions 5dbe853560e4 iio: ad7949: fix channels mixups 7df6007288fd iio: ad7949: kill pointless "readback"-handling code 109dbc91c5a8 iio: imu: st_lsm6dsx: fix ODR check in st_lsm6dsx_write_raw 6305866e630c iio: imu: st_lsm6dsx: move odr_table in st_lsm6dsx_sensor_settings 9073b0be6589 scsi: lpfc: Fix bad ndlp ptr in xri aborted handling 13f83b3a2688 reiserfs: fix extended attributes on the root directory e026fc523a75 ext4: Fix credit estimate for final inode freeing b09b4d152aa2 quota: fix livelock in dquot_writeback_dquots 513bcf5ee8e0 seccomp: avoid overflow in implicit constant conversion ae57738ec38a ext2: check err when partial != NULL b7c24d8c06b8 quota: Check that quota is not dirty before release 42e495b46f80 video/hdmi: Fix AVI bar unpack 6739872abdfd powerpc/xive: Skip ioremap() of ESB pages for LSI interrupts 7d55c5e73263 powerpc: Allow flush_icache_range to work across ranges >4GB be0cd7e9b258 powerpc/xive: Prevent page fault issues in the machine crash handler 99d2164e4865 powerpc: Allow 64bit VDSO __kernel_sync_dicache to work across ranges >4GB f0f08beb3fa0 stm class: Lose the protocol driver when dropping its reference c0919315b735 ppdev: fix PPGETTIME/PPSETTIME ioctls 86de25118e9c RDMA/core: Fix ib_dma_max_seg_size() f5aae41d4eac ARM: dts: omap3-tao3530: Fix incorrect MMC card detection GPIO polarity 5cc72ba36683 mmc: host: omap_hsmmc: add code for special init of wl1251 to get rid of pandora_wl1251_init_card f15fa36b9c6b pinctrl: samsung: Fix device node refcount leaks in S3C24xx wakeup controller init da352a4b5493 pinctrl: samsung: Fix device node refcount leaks in init code 738e8de6b8d2 pinctrl: samsung: Fix device node refcount leaks in S3C64xx wakeup controller init 53149343fc98 pinctrl: samsung: Fix device node refcount leaks in Exynos wakeup controller init 43cb61f4878b pinctrl: samsung: Add of_node_put() before return in error path 72f6c3180468 pinctrl: armada-37xx: Fix irq mask access in armada_37xx_irq_set_type() e264e3ae1165 pinctrl: rza2: Fix gpio name typos 61a4f44dc075 ACPI: PM: Avoid attaching ACPI PM domain to certain devices 0a041ba2564a ACPI: bus: Fix NULL pointer check in acpi_bus_get_private_data() b56eca6bf2e4 ACPI: OSL: only free map once in osl.c 2ba38c34447d ACPI / hotplug / PCI: Allocate resources directly under the non-hotplug bridge 0a4cab60dde2 ACPI: LPSS: Add dmi quirk for skipping _DEP check for some device-links 487afadea2fd ACPI: LPSS: Add LNXVIDEO -> BYT I2C1 to lpss_device_links 9af85668040a ACPI: LPSS: Add LNXVIDEO -> BYT I2C7 to lpss_device_links e055c1890429 ACPI / utils: Move acpi_dev_get_first_match_dev() under CONFIG_ACPI 5eac1d4c2450 ALSA: oxfw: fix return value in error path of isochronous resources reservation 33e6efad9334 cpufreq: powernv: fix stack bloat and hard limit on number of CPUs 7240e6e25891 PM / devfreq: Lock devfreq in trans_stat_show 92741be9a736 intel_th: pci: Add Tiger Lake CPU support 69d1163cd0f4 intel_th: pci: Add Ice Lake CPU support 5ac267cabcd9 intel_th: Fix a double put_device() in error path a3784ad079c6 powerpc/perf: Disable trace_imc pmu 08ded9339d52 cpuidle: teo: Fix "early hits" handling for disabled idle states 30b23caa5deb cpuidle: teo: Consider hits and misses metrics of disabled states 0df48241b6ab cpuidle: teo: Rename local variable in teo_select() db302e3bb162 cpuidle: teo: Ignore disabled idle states that are too deep ade564919a0c cpuidle: Do not unset the driver if it is there already f2a7f16026f9 media: cec.h: CEC_OP_REC_FLAG_ values were swapped 342c964a9895 media: radio: wl1273: fix interrupt masking on release 780fe9f19c38 media: bdisp: fix memleak on release 348cecf72f8e s390/mm: properly clear _PAGE_NOEXEC bit when it is not supported 9ec8636ef00a ar5523: check NULL before memcpy() in ar5523_cmd() 6fc971f1d831 wil6210: check len before memcpy() calls ba29035eb4bc cgroup: pids: use atomic64_t for pids->limit 873f0623fcbe blk-mq: avoid sysfs buffer overflow with too many CPU cores 758af427f60f md: improve handling of bio with REQ_PREFLUSH in md_flush_request() 3882ad8fadb0 ASoC: fsl_audmix: Add spin lock to protect tdms 141bba39e422 ASoC: Jack: Fix NULL pointer dereference in snd_soc_jack_report a99f0045c434 ASoC: rt5645: Fixed typo for buddy jack support. 1ecdb55a6de6 ASoC: rt5645: Fixed buddy jack support. d78e1588f356 workqueue: Fix pwq ref leak in rescuer_thread() 86226c42d8f7 workqueue: Fix spurious sanity check failures in destroy_workqueue() 7b79872cb160 dm zoned: reduce overhead of backing device checks b7c4feffa872 dm writecache: handle REQ_FUA fa700de0abd2 hwrng: omap - Fix RNG wait loop timeout 903867fe506a ovl: relax WARN_ON() on rename to self 8b2e7fec9f26 ovl: fix corner case of non-unique st_dev;st_ino c73fe5396edf ovl: fix lookup failure on multi lower squashfs 15fe8b7f7962 lib: raid6: fix awk build warnings b8f32a0e26fb rtlwifi: rtl8192de: Fix missing enable interrupt flag 0917a96e2d3a rtlwifi: rtl8192de: Fix missing callback that tests for hw release of buffer 32c6c1de1c05 rtlwifi: rtl8192de: Fix missing code to retrieve RX buffer address f1da748f078d btrfs: record all roots for rename exchange on a subvol 017f00a09704 Btrfs: send, skip backreference walking for extents with many references f08e9d661548 btrfs: Remove btrfs_bio::flags member f01ca4344ffe btrfs: Avoid getting stuck during cyclic writebacks 07383f0fced7 Btrfs: fix negative subv_writers counter and data space leak after buffered write 69608bab8b1b Btrfs: fix metadata space leak on fixup worker failure to set range as delalloc 6bab2f18b421 btrfs: use refcount_inc_not_zero in kill_all_nodes b703482bc2ec btrfs: check page->mapping when loading free space cache 11b102bc593e iwlwifi: pcie: fix support for transmitting SKBs with fraglist 7a569d85c92b usb: typec: fix use after free in typec_register_port() 254d37011ab2 phy: renesas: rcar-gen3-usb2: Fix sysfs interface of "role" 26593100f6a1 usb: dwc3: ep0: Clear started flag on completion d2e949f9d6c5 usb: dwc3: gadget: Clear started flag for non-IOC 077399428186 usb: dwc3: gadget: Fix logical condition 545da1614800 usb: dwc3: pci: add ID for the Intel Comet Lake -H variant 393edc8f15ca virtio-balloon: fix managed page counts when migrating pages between zones 15c579c3d104 virt_wifi: fix use-after-free in virt_wifi_newlink() 3891c22e7b74 mtd: rawnand: Change calculating of position page containing BBM 175a15f4c288 mtd: spear_smi: Fix Write Burst mode 5738119a60ed brcmfmac: disable PCIe interrupts before bus reset ab35b8b9a235 EDAC/altera: Use fast register IO for S10 IRQs deda3f6b06dc tpm: add check after commands attribs tab allocation ebb7dae402e3 usb: mon: Fix a deadlock in usbmon between mmap and read 650d955bc548 usb: core: urb: fix URB structure initialization function d54daa869ed5 USB: adutux: fix interface sanity check 3e4a4cb54c04 usb: roles: fix a potential use after free 14fa9bcb6a07 USB: serial: io_edgeport: fix epic endpoint lookup 174f3783b4f0 USB: idmouse: fix interface sanity checks 6facde75d1c8 USB: atm: ueagle-atm: add missing endpoint check b4972eba6831 iio: adc: ad7124: Enable internal reference b609ee0b3024 iio: adc: ad7606: fix reading unnecessary data from device bc27d17532dd iio: imu: inv_mpu6050: fix temperature reporting using bad unit edfeae1a5a70 iio: humidity: hdc100x: fix IIO_HUMIDITYRELATIVE channel reporting 76a78a37799d iio: adis16480: Fix scales factors a8f0c5837cca iio: adis16480: Add debugfs_reg_access entry a02348d262b3 ARM: dts: pandora-common: define wl1251 as child node of mmc3 43a05d85e421 interconnect: qcom: sdm845: Walk the list safely on node removal 3ea35e60e8c8 xhci: make sure interrupts are restored to correct state 0df691c29da9 xhci: handle some XHCI_TRUST_TX_LENGTH quirks cases as default behaviour. d10974513d17 xhci: Increase STS_HALT timeout in xhci_suspend() 40ccc7fb3125 xhci: fix USB3 device initiated resume race with roothub autosuspend 8f015d20b7d5 xhci: Fix memory leak in xhci_add_in_port() de53955ea0d3 usb: xhci: only set D3hot for pci device 13d723a6c22c staging: gigaset: add endpoint-type sanity check ed9145e7d4a4 staging: gigaset: fix illegal free on probe errors a193faef6209 staging: gigaset: fix general protection fault on probe a48994561cab staging: vchiq: call unregister_chrdev_region() when driver registration fails 38beaaec130c staging: rtl8712: fix interface sanity check 238af85b081b staging: rtl8188eu: fix interface sanity check 9517a9f133fd binder: fix incorrect calculation for num_valid a65c5b1d8762 usb: host: xhci-tegra: Correct phy enable sequence 0da1ca92c578 usb: Allow USB device to be warm reset in suspended state fa74b02fa20f USB: documentation: flags on usb-storage versus UAS 46f840a92233 USB: uas: heed CAPACITY_HEURISTICS 9cc58d6fb42e USB: uas: honor flag to avoid CAPACITY16 19ccc7083566 media: venus: remove invalid compat_ioctl32 handler 6f4b7b312148 scsi: zfcp: trace channel log even for FCP command responses 6975c6beb5f0 usb: gadget: pch_udc: fix use after free 6f10fa4a113c rpmsg: char: release allocated memory f01eedaf4e09 mac80211: Do not send Layer 2 Update frame before authorization 38b2d9bb7b57 libertas: fix a potential NULL pointer dereference 2789290efc0b mwifiex: Fix heap overflow in mmwifiex_process_tdls_action_frame() fd820abb0696 Linux 5.2.30 10f017c26642 spi: dw: Correct handling of native chipselect 9e79f5ae512f spi: cadence: Correct handling of native chipselect db91ee312ada drm/sun4i: tcon: Set RGB DCLK min. divider based on hardware model 9eeb986b4809 clk: samsung: exynos5420: Keep top G3D clocks enabled 99232a68c619 block: fix "check bi_size overflow before merge" f54449c00a10 EDAC/ghes: Do not warn when incrementing refcount on 0 4f18ed319605 ALSA: hda: Fix regression by strip mask fix a550c8d05657 io_uring: ensure req->submit is copied when req is deferred 7b57a96cf3b7 Input: Fix memory leak in psxpad_spi_probe a006a5ae6b91 ALSA: hda: hdmi - fix pin setup on Tigerlake 85435506e9e0 EDAC/ghes: Fix locking and memory barrier issues 81a005d25b01 watchdog: aspeed: Fix clock behaviour for ast2600 c3f6c163ac89 md/raid0: Fix an error message in raid0_make_request() e90488c1856c ALSA: hda - Fix pending unsol events at shutdown ac5a40962daf KVM: x86: fix out-of-bounds write in KVM_GET_EMULATED_CPUID (CVE-2019-19332) 949540e93943 binder: Handle start==NULL in binder_update_page_range() 75a11437a803 binder: Prevent repeated use of ->mmap() via NULL mapping e0a0299acecb binder: Fix race between mmap() and binder_alloc_print_pages() ba5d71130445 thermal: Fix deadlock in thermal thermal_zone_device_check cf162b1f1d6f iomap: Fix pipe page leakage during splicing 1ede48d1d47e RDMA/qib: Validate ->show()/store() callbacks before calling them 6df074625c15 can: ucan: fix non-atomic allocation in completion handler 1233eadb99a9 spi: Fix NULL pointer when setting SPI_CS_HIGH for GPIO CS cad0ca361138 spi: Fix SPI_CS_HIGH setting when using native and GPIO CS 25ac2d29646a spi: atmel: Fix CS high support efd56e6b1fbd spi: stm32-qspi: Fix kernel oops when unbinding driver dfbd2a22d8b1 spi: spi-fsl-qspi: Clear TDH bits in FLSHCR register d7e9115f21e0 spi: spi-fsl-qspi: change i.MX7D RX FIFO size 76cde0d7ff39 crypto: ecdh - fix big endian bug in ECC library 36759ce37925 crypto: ccp - fix uninitialized list head 8ba8fa9fc2db crypto: geode-aes - switch to skcipher for cbc(aes) fallback 86a44e8938be crypto: af_alg - cast ki_complete ternary op to int 9ff009403999 crypto: atmel-aes - Fix IV handling when req->nbytes < ivsize 2cbf74169383 crypto: crypto4xx - fix double-free in crypto4xx_destroy_sdr f6981b364dae KVM: x86: Grab KVM's srcu lock when setting nested state c08ddad72e7b KVM: x86: Remove a spurious export of a static function 317fd0a0c93d KVM: x86: fix presentation of TSX feature in ARCH_CAPABILITIES 7f70f6380882 KVM: x86: do not modify masked bits of shared MSRs 6384ad0ab29b KVM: arm/arm64: vgic: Don't rely on the wrong pending table bdcecb6dd8e8 KVM: nVMX: Always write vmcs02.GUEST_CR3 during nested VM-Enter 3600a4189d12 KVM: PPC: Book3S HV: XIVE: Set kvm->arch.xive when VPs are allocated 34e8d4a0ef05 KVM: PPC: Book3S HV: XIVE: Fix potential page leak on error path 4ebdbf4ff503 KVM: PPC: Book3S HV: XIVE: Free previous EQ page when setting up a new one cc73381579f9 arm64: dts: exynos: Revert "Remove unneeded address space mapping for soc node" 1d19cc75f715 drm/i810: Prevent underflow in ioctl 16f54bf33fce drm: damage_helper: Fix race checking plane->state->fb 20a0047cdca4 drm/msm: fix memleak on release 6c34f27046e3 jbd2: Fix possible overflow in jbd2_log_space_left() 5b1ab9f1a2c0 kernfs: fix ino wrap-around detection 910116ce4349 nfsd: restore NFSv3 ACL support 6589961e5ec7 nfsd: Ensure CLONE persists data and metadata changes to the target file 574498a02845 tty: vt: keyboard: reject invalid keycodes c75342d33dd5 CIFS: Fix SMB2 oplock break processing c8c867906145 CIFS: Fix NULL-pointer dereference in smb2_push_mandatory_locks 2199093ff906 x86/PCI: Avoid AMD FCH XHCI USB PME# from D0 defect 4d34c238f6ee x86/mm/32: Sync only to VMALLOC_END in vmalloc_sync_all() 64a582385b92 media: rc: mark input device as pointing stick 70fd4e1972e8 coresight: etm4x: Fix input validation for sysfs. 55c0be64071e Input: goodix - add upside-down quirk for Teclast X89 tablet 2405495a00f8 Input: synaptics-rmi4 - don't increment rmiaddr for SMBus transfers 868c29a7efd0 Input: synaptics-rmi4 - re-enable IRQs in f34v7_do_reflash 0e606e3626e6 Input: synaptics - switch another X1 Carbon 6 to RMI/SMbus 94adc53b2c47 ALSA: hda: Modify stream stripe mask only when needed a527c3df9f54 ALSA: hda - Add mute led support for HP ProBook 645 G4 accc2add3da3 ALSA: pcm: oss: Avoid potential buffer overflows 55f6418b7ae3 ALSA: hda/realtek - Dell headphone has noise on unmute for ALC236 bbad17075fe3 ALSA: hda/realtek - Enable the headset-mic on a Xiaomi's laptop fcfb4bce22aa ALSA: hda/realtek - Enable internal speaker of ASUS UX431FLC 83753976cfae fuse: verify attributes a6f6439eb10f fuse: verify nlink 31aa652b9a69 i2c: core: fix use after free in of_i2c_notify 92084c0b356d net: ep93xx_eth: fix mismatch of request_mem_region in remove f75cb980f0ab afs: Fix race in commit bulk status fetch 26167b5cf5df net: hns3: fix ETS bandwidth validation bug 037e0cbe8863 net: hns3: reallocate SSU' buffer size when pfc_en changes 423f97775629 ravb: implement MTU change while device is up ba49aa6bccbb rsxx: add missed destroy_workqueue calls in remove 6dbf3b9cc169 selftests: kvm: fix build with glibc >= 2.30 334204bdbd89 drm/sun4i: tcon: Set min division of TCON0_DCLK to 1. d2001cf2e8d3 x86/resctrl: Fix potential lockdep warning 7bf14c3c120b ALSA: pcm: Fix stream lock usage in snd_pcm_period_elapsed() 57dbe72b9638 perf/core: Consistently fail fork on allocation failures 24a8ce6100ab sched/pelt: Fix update of blocked PELT ordering cadf46055b6f sched/core: Avoid spurious lock dependencies b8a654dde72b Input: cyttsp4_core - fix use after free bug 9bcb8316e536 block: check bi_size overflow before merge f05d37196a77 xfrm: release device reference for invalid state e630f0eab8b3 NFC: nxp-nci: Fix NULL pointer dereference after I2C communication error 14f8f24bfcbc ALSA: hda: Add Cometlake-S PCI ID 85deda956139 ecryptfs: fix unlink and rmdir in face of underlying fs modifications 7a7b13483234 audit_get_nd(): don't unlock parent too early 6f26d186c431 exportfs_decode_fh(): negative pinned may become positive without the parent locked d5a9bd7dc9c2 cgroup: don't put ERR_PTR() into fc->root 5490ae827b29 iwlwifi: pcie: don't consider IV len in A-MSDU 5bc1282dfb21 RDMA/hns: Correct the value of srq_desc_size 9b0df7c7e42c RDMA/hns: Correct the value of HNS_ROCE_HEM_CHUNK_LEN bf7d03571100 MIPS: SGI-IP27: fix exception handler replication b578c711e5e7 autofs: fix a leak in autofs_expire_indirect() 81559b396efa aio: Fix io_pgetevents() struct __compat_aio_sigset layout 03bd68a92f82 signal: simplify set_user_sigmask/restore_user_sigmask 88300b370dbc serial: ifx6x60: add missed pm_runtime_disable 06eb5d963912 serial: serial_core: Perform NULL checks for break_ctl ops c811b133b3e7 serial: pl011: Fix DMA ->flush_buffer() d451358ffe85 tty: serial: msm_serial: Fix flow control 5b10978724e0 tty: serial: fsl_lpuart: use the sg count from dma_map_sg c38c3a52315f usb: gadget: u_serial: add missing port entry locking b30c295d649b time: Zero the upper 32-bits in __kernel_timespec on 32-bit 9f06fb5da07e lp: fix sparc64 LPSETTIMEOUT ioctl 068341cb7952 sparc64: implement ioremap_uc 932b771c65b6 arm64: tegra: Fix 'active-low' warning for Jetson TX1 regulator edc3ff235784 net: fec: fix clock count mis-match ed9b79600a5d platform/x86: hp-wmi: Fix ACPI errors caused by passing 0 as input size 952328f5193b platform/x86: hp-wmi: Fix ACPI errors caused by too small buffer da62cf911005 HID: core: check whether Usage Page item is after Usage ID items fb85a234fc39 tipc: fix link name length check 0867e153690e selftests: bpf: test_sockmap: handle file creation failures gracefully cd73a77a2288 net/tls: use sg_next() to walk sg entries 55c1ea6758d8 net/tls: remove the dead inplace_crypto code c824b8c9957b net: skmsg: fix TLS 1.3 crash with full sk_msg 45c795cbee84 net: sockmap: use bitmap for copy info c1c89460bda2 net/tls: free the record on encryption error 1468022cc8f2 net/tls: take into account that bpf_exec_tx_verdict() may free the record a3157970686f openvswitch: remove another BUG_ON() bacb11535532 openvswitch: drop unneeded BUG_ON() in ovs_flow_cmd_build_info() 744916544dba sctp: cache netns in sctp_ep_common f4312b9ba27c sctp: Fix memory leak in sctp_sf_do_5_2_4_dupcook 8d442143ccd4 openvswitch: fix flow command message size b834278b4d0a net: sched: fix `tc -s class show` no bstats on class with nolock subqueues 2f47935914f8 net: psample: fix skb_over_panic 8fc3ccb35fba net: macb: add missed tasklet_kill 9243823cd73a net: dsa: sja1105: fix sja1105_parse_rgmii_delays() 1e7ff496e195 mdio_bus: don't use managed reset-controller f458119c914d macvlan: schedule bc_work even if error 442b4bac7514 xfrm: Fix memleak on xfrm state destroy d06561a292bf thunderbolt: Power cycle the router if NVM authentication fails 97a4d0528c98 mei: me: add comet point V device id aa6a4bfabb1a mei: bus: prefix device names on bus with the bus name fb94cd58ee14 USB: serial: ftdi_sio: add device IDs for U-Blox C099-F9P 33c6adbab912 staging: rtl8723bs: Add 024c:0525 to the list of SDIO device-ids 34820fb849a8 staging: rtl8723bs: Drop ACPI device ids 18ff3bb126fe staging: rtl8192e: fix potential use after free 955068eb7918 staging: wilc1000: fix illegal memory access in wilc_parse_join_bss_param() afe6f4526509 usb: dwc2: use a longer core rest timeout in dwc2_core_reset() 4b15bd43d8ed clk: at91: fix update bit maps on CFG_MOR write 6ed6cd2d7f8a i40e: Fix for ethtool -m issue on X722 NIC ddcdd3cc96f1 i40e: Fix for missing "link modes" info in ethtool ae4d08f3a69b iavf: initialize ITRN registers with correct values 12c0db2518f8 ice: fix potential infinite loop because loop counter being too small c105a4b2019d pwm: bcm-iproc: Prevent unloading the driver module while in use 66f3f3c4da1e block: drbd: remove a stray unlock in __drbd_send_protocol() 11748bed1eeb mac80211: fix station inactive_time shortly after boot 2df48b15a9ca net/fq_impl: Switch to kvmalloc() for memory allocation 1332a34432a5 ceph: return -EINVAL if given fsc mount option on kernel w/o support 218333cf3e5b net: stmmac: xgmac: Disable Flow Control when 1 or more queues are in AV e8fec331b7e3 net: stmmac: xgmac: Fix TSA selection f7e0994188b2 net: stmmac: gmac4: bitrev32 returns u32 d99d2e2d5c7d drm/amdgpu: add warning for GRBM 1-cycle delay issue in gfx9 3db9d787fbbe net: mscc: ocelot: fix __ocelot_rmw_ix prototype 23d1a942d638 net/mlx5e: Fix eswitch debug print of max fdb flow c26064b7eda5 drm/amdgpu: dont schedule jobs while in reset d61b5d11db4b net: bcmgenet: reapply manual settings to the PHY 303f8e7b7d18 net: bcmgenet: use RGMII loopback for MAC reset 82077751014a scripts/gdb: fix debugging modules compiled with hot/cold partitioning 7b20840690f5 mm/gup_benchmark: fix MAP_HUGETLB case c7816d20058f ASoC: SOF: topology: Fix bytes control size checks 1b3afeddab4a ARM: dts: stm32: Fix CAN RAM mapping on stm32mp157c 4de26c8cbe50 ALSA: hda: hdmi - add Tigerlake support f43786eb3acb ASoC: stm32: sai: add restriction on mmap support 36fa7d5299c2 watchdog: bd70528: Add MODULE_ALIAS to allow module auto loading f023dd202f6b watchdog: meson: Fix the wrong value of left time 9054f01030f8 watchdog: pm8916_wdt: fix pretimeout registration flow 2c25aa88640f nvme-multipath: fix crash in nvme_mpath_clear_ctrl_paths 6fdb636145b0 nvme-rdma: fix a segmentation fault during module unload 43bd0bf71860 can: mcp251x: mcp251x_restart_work_handler(): Fix potential force_quit race condition 7091bcbccb6b perf scripting engines: Iterate on tep event arrays directly 7371326920db x86/tsc: Respect tsc command line paraemeter for clocksource_tsc_early 8efe12d76d7e can: flexcan: increase error counters if skb enqueueing via can_rx_offload_queue_sorted() fails 4a3333ea25b1 can: rx-offload: can_rx_offload_irq_offload_fifo(): continue on error a26a27d53b40 can: rx-offload: can_rx_offload_irq_offload_timestamp(): continue on error 39b89fc6625f can: rx-offload: can_rx_offload_offload_one(): use ERR_PTR() to propagate error value in case of errors f6b5da01db2f can: rx-offload: can_rx_offload_offload_one(): increment rx_fifo_errors on queue overflow or OOM acb9095493be can: rx-offload: can_rx_offload_offload_one(): do not increase the skb_queue beyond skb_queue_len_max 189c1239632b can: rx-offload: can_rx_offload_queue_tail(): fix error handling, avoid skb mem leak 7ac97e4ef4d9 can: c_can: D_CAN: c_can_chip_config(): perform a sofware reset on open 1ac0d4885a34 can: peak_usb: report bus recovery as well b542266496fa stacktrace: Don't skip first entry on noncurrent tasks afe7ff5be406 bridge: ebtables: don't crash when using dnat target in output chains a19d86990335 netfilter: ipset: Fix nla_policies to fully support NL_VALIDATE_STRICT 17db97a8e7d5 netfilter: ipset: Fix the last missing check of nla_parse_deprecated() 5f4ada6390b6 net: fec: add missed clk_disable_unprepare in remove 0b283b59a62f clk: ti: clkctrl: Fix failed to enable error with double udelay timeout b70eae1c4480 clk: ti: dra7-atl-clock: Remove ti_clk_add_alias call aab6b68e53eb ASoC: hdac_hda: fix race in device removal b23f8d6ca25f fbdev: c2p: Fix link failure on non-inlining 51c019bf2c42 arm64: dts: zii-ultra: fix ARM regulator GPIO handle 819ee4651182 x86/resctrl: Prevent NULL pointer dereference when reading mondata 4d71464d5830 idr: Fix idr_alloc_u32 on 32-bit systems 9956dbb774e4 idr: Fix integer overflow in idr_for_each_entry a530ec599a8a idr: Fix idr_get_next_ul race with idr_remove 6909ddf4276c powerpc/bpf: Fix tail call implementation 957928006316 samples/bpf: fix build by setting HAVE_ATTR_TEST to zero d3a556320b11 bpf: Allow narrow loads of bpf_sysctl fields with offset > 0 4fd976da64d7 ARM: dts: sun8i-a83t-tbs-a711: Fix WiFi resume from suspend 1d6d86b21245 clk: sunxi-ng: a80: fix the zero'ing of bits 16 and 18 440f439c1041 clk: sunxi: Fix operator precedence in sunxi_divs_clk_setup b4c8fc7dcab9 clk: at91: avoid sleeping early c42ce4122e86 ASoC: ti: sdma-pcm: Add back the flags parameter for non standard dma names 32ea5f2ae3b6 arm64: dts: imx8mm: fix compatible string for sdma 4071d8976ac5 reset: fix reset_control_ops kerneldoc comment b178a6e8f8f3 soc: imx: gpc: fix initialiser format 0a751a005ded ARM: dts: imx6qdl-sabreauto: Fix storm of accelerometer interrupts 946654641741 pinctrl: cherryview: Allocate IRQ chip dynamic 66c7b484cae0 clk: samsung: exynos5420: Preserve PLL configuration during suspend/resume 30c758e0a731 arm64: dts: ls1028a: fix a compatible issue ba3e13683df7 ASoC: kirkwood: fix device remove ordering d7ee3bbc1085 ASoC: kirkwood: fix external clock probe defer 7a754f5e5751 clk: samsung: exynos542x: Move G3D subsystem clocks to its sub-CMU 2361cffc9775 clk: samsung: exynos5433: Fix error paths e1fc074e8178 reset: Fix memory leak in reset_control_array_put() b01838b0ca64 ASoC: compress: fix unsigned integer overflow check 41360b33fec2 ASoC: msm8916-wcd-analog: Fix RX1 selection in RDAC2 MUX e7fc8cc79377 soundwire: intel: fix intel_register_dai PDI offsets and numbers 82b111a092b1 clocksource/drivers/mediatek: Fix error handling 85c26d3b879d thunderbolt: Fix lockdep circular locking depedency warning a41faef2aef6 thunderbolt: Read DP IN adapter first two dwords in one go 0b4d76ea32e5 clk: at91: sam9x60: fix programmable clock 3ac5085a98ba clk: meson: gxbb: let sar_adc_clk_div set the parent clock rate 922eddf892e2 XArray: Fix xas_next() with a single entry at 0 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> (cherry picked from commit c37bf8287072ddf6005d5c3f419a6a77f673164c) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* libxml2: Fix CVE-2019-20388Lee Chee Yang2020-02-262-0/+38
| | | | | | | | | | | | see: https://gitlab.gnome.org/GNOME/libxml2/merge_requests/68 (From OE-Core rev: 12a5eb0ea6f530ad7be2e58d4091b4edadbf461b) Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* libxml2: fix CVE-2020-7595Anuj Mittal2020-02-262-0/+37
| | | | | | | | | (From OE-Core rev: f2f7aa9a495774fe5a2e3947584cb3503bd1eaf1) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* ppp: Security fix CVE-2020-8597Yi Zhao2020-02-262-0/+48
| | | | | | | | | | | | | | | | | | CVE-2020-8597: eap.c in pppd in ppp 2.4.2 through 2.4.8 has an rhostname buffer overflow in the eap_request and eap_response functions. References: https://nvd.nist.gov/vuln/detail/CVE-2020-8597 Patch from: https://github.com/paulusmack/ppp/commit/8d7970b8f3db727fe798b65f3377fe6787575426 (From OE-Core rev: b01505e018ff46f1af34f98219d55f4ca700cd5a) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* ncurses: add CVE_VERSIONAnuj Mittal2020-02-261-0/+2
| | | | | | | | | | | | Include the version number in a format that is comparable to what we get from NVD. (From OE-Core rev: fdb2a95d5e0265de1172940b6dc71fc7d602e8d1) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
* qemu: Fix CVE-2020-1711Lee Chee Yang2020-02-242-1/+66
| | | | | | | see https://git.qemu.org/?p=qemu.git;a=commit;h=693fd2acdf14dd86c0bf852610f1c2cca80a74dc Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* toolchain-shar-extract: ignore timestamp on decompressJeremy Puhlman2020-02-231-1/+1
| | | | | | | | | | | | | | | | | Installing on centos7, which the extended version of the buildtools tarball is supposed to fix and with reproducable builds turned on, all the time stamps are for epoch. This results in the following output for every file: tar: ./sysroots/x86_64-pokysdk-linux/usr/include/c++/9.2.0/cstdalign: implausibly old time stamp 1969-12-31 16:00:00 tar: ./sysroots/x86_64-pokysdk-linux/usr/lib/libstdc++.so.6: implausibly old time stamp 1969-12-31 16:00:00 Ignore the timestamps during the uncompession step. Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 319ca22ea4465c56c63730847378a7aee4f5935a) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* liberror-perl: upgrade 0.17028 -> 0.17029Tim Orling2020-02-231-2/+2
| | | | | | | | | | | | | | | | | Upstream release notes: " 0.17029 2020-01-28 - Rebuild for order of 'NAME' and 'VERSION' sections in the generated POD documentation (see 0.001004 in https://metacpan.org/changes/distribution/Pod-Weaver-PluginBundle-SHLOMIF ). - VERSION used to appear before NAME. " Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f4a520cc827187d83f2997614d893bba7d74a152) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* perl: Fix makefile race causing configuration differencesRichard Purdie2020-02-232-0/+25
| | | | | | | | | | | Add a missing makefile dependency which can cause differences in configuration (submitted upstream). [YOCTO #13800] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit fe97845a45434902c5a994e253a127a462d7d3b4) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* perl: Fix encode module reproducibility issuesRichard Purdie2020-02-232-0/+23
| | | | | | | | | | The code is encoding host compiler parameters into target builds. Avoid this for our target builds. This should resolve builds which aren't reproducible between hosts with different compilers. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 71cdbf426e46e3ca1b5038f40e9f7ba958abc537) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* perl: fix failing ptestsAlexander Kanavin2020-02-233-2/+30
| | | | | | | | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f1da6355f13e707b3ffa5025067e509e0120784d) [Fixup for zeus context] Signed-off-by: Armin Kuster <akuster808@gmail.com>
* perl: improve reproducibilityRoss Burton2020-02-231-0/+8
| | | | | | | | | | | | | | | | | | | | Occasionally the reproducibility selftest fails because perl-pod differs, specifically that the perltoc.pod file was sometimes missing modules. Debugging revealed that there are missing dependencies so there is a build race: building perltoc.pod from an clean build tree results in no modules being listed at all. A bug has been filed at https://github.com/arsv/perl-cross/issues/86 to solve this properly, but for now we can just delete perltoc.pod after make has finished and re-generate it. [ YOCTO #13726 ] Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 7e0f6c9ea4f824f29dc30c6631fd8039ebe83a0b) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libmodule-build-perl: fix ptestsAlexander Kanavin2020-02-232-2/+3
| | | | | | | | | | | Particularly remove a broken detection of skipped tests (which was marking tests that actually passed), and install additional artefacts needed for testing. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit dbbce0918617c21d0e43e9727d38372c22dff3dc) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* perl: install typemap and other extutils metadata as part of perl-coreAlexander Kanavin2020-02-231-3/+3
| | | | | | | | | | | Modules actually make use of these files, so they belong in perl-core other than perl-doc (the immediate failure was ptests for libmodule-build-perl failing). Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 829e8c49833e4cb8de5db869769eb492c827e8c9) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* perl: package Config.pm from arch directory into the main perl packageAlexander Kanavin2020-02-231-0/+1
| | | | | | | | | | Otherwise, some modules such as libmodule-build-perl fail to work properly. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit e4072d53a7fb4fbbdacce9a20968e71ef6cff307) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* perl: update to 5.30.1Alexander Kanavin2020-02-232-55/+5
| | | | | | | | | | Drop fix-setgroup.patch as the upstream has fixed the issue. Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 45edc6d23e20f7634c50db71e419c7e3bb7f393e) [Bug fix only update] Signed-off-by: Armin Kuster <akuster808@gmail.com>
* linux-yocto/5.2: update to v5.2.29Bruce Ashfield2020-02-233-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating linux-yocto/5.2 to the latest korg -stable release that comprises the following commits: 928ea9c56927 Linux 5.2.29 4e41907620bc slip: Fix use-after-free Read in slip_open d11814f97a05 can: slcan: Fix use-after-free Read in slcan_open 01313dcf66e7 can: kvaser_usb: kvaser_usb_leaf: Fix some info-leaks to USB devices 7f006e58efc2 scsi: libsas: stop discovering if oob mode is disconnected 0e5c48d6b011 staging: comedi: usbduxfast: usbduxfast_ai_cmdtest rounding error d8b3d5fb8765 USB: serial: option: add support for Foxconn T77W968 LTE modules c4fe1d495f9c USB: serial: option: add support for DW5821e with eSIM support 4ac031b15d86 USB: serial: mos7840: fix remote wakeup 4d44a218aea6 USB: serial: mos7720: fix remote wakeup 3561f4d3242f USB: serial: mos7840: add USB ID to support Moxa UPort 2210 13a33fb9debe appledisplay: fix error handling in the scheduled work 0cd437d7c16b USB: chaoskey: fix error case of a timeout 2136119fde46 usb-serial: cp201x: support Mark-10 digital force gauge 3a71173a4a45 usbip: tools: fix fd leakage in the function of read_attr_usbip_status 726510907c68 USBIP: add config dependency for SGL_ALLOC 7dd553573bc5 media: mceusb: fix out of bounds read in MCE receiver buffer 1e4921f684ca media: imon: invalid dereference in imon_touch_event d482dfe2776a media: cxusb: detect cxusb_ctrl_msg error in query ab4952849dd8 media: b2c2-flexcop-usb: add sanity checking e2aa61cda115 media: uvcvideo: Fix error path in control parsing failure 115fa3afd4d1 cpufreq: Add NULL checks to show() and store() methods of cpufreq 767facdefa23 media: usbvision: Fix races among open, close, and disconnect ba90b62cb0bd media: usbvision: Fix invalid accesses after device disconnect 829b703e9706 media: vivid: Set vid_cap_streaming and vid_out_streaming to true 57f2b5c44f02 nfc: port100: handle command failure cleanly 5fc4dc967e06 ALSA: usb-audio: Fix NULL dereference at parsing BADD c938307a439a futex: Prevent robust futex exit race 8b0f13ee2b7b nbd: prevent memory leak 1bfd67a1c47b ARM: 8904/1: skip nomap memblocks while finding the lowmem/highmem boundary a634776bcd5e md/raid10: prevent access of uninitialized resync_pages offset 40c0b4538c8b Revert "dm crypt: use WQ_HIGHPRI for the IO and crypt workqueues" 53eaf5993eea ath9k_hw: fix uninitialized variable data 5a1b959a78ea ath10k: Fix a NULL-ptr-deref bug in ath10k_usb_alloc_urb_from_pipe 8b16c7096bc9 ath10k: Fix HOST capability QMI incompatibility ceee3b64b0b5 ath10k: restore QCA9880-AR1A (v1) detection 08c0402ed497 Bluetooth: Fix invalid-free in bcsp_close() c1ed057fbe33 drm/i915/userptr: Try to acquire the page lock around set_page_dirty() 5ec5ba44bd85 drm/i915/pmu: "Frequency" is reported as accumulated cycles c7ceeaf80706 drm/amd/powerplay: issue no PPSMC_MSG_GetCurrPkgPwr on unsupported ASICs 1c3fb0c8357e drm/amdgpu: disable gfxoff on original raven ccd9d21f783e drm/amdgpu: disable gfxoff when using register read interface 6e745cbc5051 mm/ksm.c: don't WARN if page is still mapped in remove_stable_node() 79194b4a342c mm/memory_hotplug: don't access uninitialized memmaps in shrink_zone_span() 01d151b7e74e virtio_balloon: fix shrinker count caae62219805 virtio_ring: fix return code on DMA mapping fails 272ed6b7ca4a virtio_console: allocate inbufs in add_port() only if it is needed abce58c3af15 nbd:fix memory leak in nbd_get_socket() 2601193dc253 tools: gpio: Correctly add make dependencies for gpio_utils 3608aa07bac2 gpio: max77620: Fixup debounce delays c6bf6af12a68 vhost/vsock: split packets to send using multiple buffers 95a617d1f70c net/mlx5: Update the list of the PCI supported devices febceda6db3f net/mlx5e: Do not use non-EXT link modes in EXT mode f8bddf0e192a net/mlx5e: Fix error flow cleanup in mlx5e_tc_tun_create_header_ipv4/6 e049e3c43308 taprio: don't reject same mqprio settings 8345d40b83bf ipv6/route: return if there is no fib_nh_gw_family 1edfc6649c92 net/tls: enable sk_msg redirect to tls socket egress 27845a1dd06b net/mlx5: Fix auto group size calculation ec6d299939c3 net/mlx5e: Fix set vf link state error flow bab144f2a957 net/mlxfw: Verify FSM error code translation doesn't exceed array size 3eb4c2e70dce sfc: Only cancel the PPS workqueue if it exists a03585b724bc net: sched: ensure opts_len <= IP_TUNNEL_OPTS_MAX in act_tunnel_key 285a19d8dde0 net/sched: act_pedit: fix WARN() in the traffic path 8e40158af458 net: rtnetlink: prevent underflows in do_setvfinfo() 1afad75b2dba net/mlx4_en: Fix wrong limitation for number of TX rings ce1291041c39 net/mlx4_en: fix mlx4 ethtool -N insertion 2a7ad86813a4 mlxsw: spectrum_router: Fix determining underlay for a GRE tunnel da957117e731 fbdev: Ditch fb_edid_add_monspecs 1f043415c4f5 arm64: uaccess: Ensure PAN is re-enabled after unhandled uaccess fault 0063e9b69796 mm/memory_hotplug: fix updating the node span d27074543286 mm/memory_hotplug: don't access uninitialized memmaps in shrink_pgdat_span() 62ca688436d3 block, bfq: deschedule empty bfq_queues not referred by any process 045a481acd16 slcan: Fix memory leak in error path 22bc38eae704 mmc: sdhci-of-at91: fix quirk2 overwrite 8505966cdc7e mm/page_io.c: do not free shared swap slots 349d5ccf8971 mm: hugetlb: switch to css_tryget() in hugetlb_cgroup_charge_cgroup() cb4df7d810ac mm: memcg: switch to css_tryget() in get_mem_cgroup_from_mm() eec30082ea78 mm: mempolicy: fix the wrong return value and potential pages leak of mbind c4b3eaf0585b iommu/vt-d: Fix QI_DEV_IOTLB_PFSID and QI_DEV_EIOTLB_PFSID macros 5a705e36d350 net: ethernet: dwmac-sun8i: Use the correct function in exit path 50d4170ffddd ntp/y2038: Remove incorrect time_t truncation f701a893aba0 ecryptfs_lookup_interpose(): lower_dentry->d_parent is not stable either 97dd5923ba23 ecryptfs_lookup_interpose(): lower_dentry->d_inode is not stable 3c130e6cddae x86/quirks: Disable HPET on Intel Coffe Lake platforms a0f63a47ab13 i2c: acpi: Force bus speed to 400KHz if a Silead touchscreen is present ca7d1676d537 IB/hfi1: Use a common pad buffer for 9B and 16B packets b8b6479e3cc9 IB/hfi1: Ensure full Gen3 speed in a Gen4 system 72ff837e69c5 IB/hfi1: TID RDMA WRITE should not return IB_WC_RNR_RETRY_EXC_ERR 3c1db8a639ac IB/hfi1: Calculate flow weight based on QP MTU for TID RDMA d2f5dd2fd992 IB/hfi1: Ensure r_tid_ack is valid before building TID RDMA ACK packet e88f0707f216 KVM: MMU: Do not treat ZONE_DEVICE pages as being reserved 9e35e5bc4a04 Input: synaptics-rmi4 - destroy F54 poller workqueue when removing 2eaf311ccd38 Input: synaptics-rmi4 - clear IRQ enables for F54 f05aacf5a7b9 Input: synaptics-rmi4 - do not consume more data than we have (F11, F12) 7e649c757a1a Input: synaptics-rmi4 - disable the relative position IRQ in the F12 driver 4b482d7281a6 Input: synaptics-rmi4 - fix video buffer size 74e0752ee79e cgroup: freezer: call cgroup_enter_frozen() with preemption disabled in ptrace_stop() a9cae67b7a20 Btrfs: fix log context list corruption after rename exchange operation 011e452b4d84 ALSA: usb-audio: not submit urb for stopped endpoint c7801593d92a ALSA: usb-audio: Fix missing error check at mixer resolution test ff24b83d0f73 dpaa2-eth: free already allocated channels on probe defer 21790068a579 tcp: remove redundant new line from tcp_event_sk_skb 364436976763 slip: Fix memory leak in slip_open error path b75c75d36816 net: usb: qmi_wwan: add support for Foxconn T77W968 LTE modules c8a648ae5f96 net/smc: fix fastopen for non-blocking connect() b392b2d28e58 net: gemini: add missed free_netdev 612aeedfe77d ipmr: Fix skb headroom in ipmr_get_route(). 5fa89b3526c5 ax88172a: fix information leak on short answers 609d02229b16 scsi: core: Handle drivers which set sg_tablesize to zero efa2c8c477dd x86/entry/32: Fix FIXUP_ESPFIX_STACK with user CR3 a0f6ee27e686 x86/pti/32: Calculate the various PTI cpu_entry_area sizes correctly, make the CPU_ENTRY_AREA_PAGES assert precise 60418beeefd7 selftests/x86/sigreturn/32: Invalidate DS and ES when abusing the kernel 777b0ee4fd79 selftests/x86/mov_ss_trap: Fix the SYSENTER test 07b7c6191853 x86/entry/32: Fix NMI vs ESPFIX 62433c16a282 x86/entry/32: Unwind the ESPFIX stack earlier on exception entry 4a2364594599 x86/entry/32: Move FIXUP_FRAME after pushing %fs in SAVE_ALL 0593a806b430 x86/entry/32: Use %ss segment where required 26ce03ac3327 x86/entry/32: Fix IRET exception f74d7e9547de x86/cpu_entry_area: Add guard page for entry stack on 32bit 41cb303e1436 x86/pti/32: Size initial_page_table correctly 2d2e7fe408eb x86/doublefault/32: Fix stack canaries in the double fault handler 1fd0ff871abe x86/xen/32: Simplify ring check in xen_iret_crit_fixup() 68ef02e30623 x86/xen/32: Make xen_iret_crit_fixup() independent of frame layout ef15170227e2 x86/stackframe/32: Repair 32-bit Xen PV 37880a369c68 x86/speculation: Fix redundant MDS mitigation message 459c71f82b48 x86/speculation: Fix incorrect MDS/TAA mitigation status c77d64c158c6 x86/insn: Fix awk regexp warnings 41bbdde13b43 x86: Use CONFIG_PREEMPTION 217d051d8efd x86/entry/32: Pass cr2 to do_async_page_fault() 1ecceee4c859 x86/entry/64: Prevent clobbering of saved CR2 value 8ccce28352fe x86/mm, tracing: Fix CR2 corruption 8873fea5f2d4 x86/entry/64: Update comments and sanity tests for create_gap 7801660649a0 x86/entry/64: Simplify idtentry a little 5d305a697f40 x86/entry/32: Simplify common_exception 216401f82bef x86/paravirt: Make read_cr2() CALLEE_SAVE bf8b9dd0d0bf x86/asm: Move native_write_cr0/4() out of line 222093f0acfd x86/pgtable/32: Fix LOWMEM_PAGES constant 7998b2c4801a x86/alternatives: Fix int3_emulate_call() selftest stack corruption e4a8155be9bd x86/ldt: Initialize the context lock for init_mm f07a9a3a9ad4 x86/alternatives: Add int3_emulate_call() selftest 29b042bbfab8 x86/stackframe/32: Allow int3_emulate_push() 22334402db00 x86/stackframe/32: Provide consistent pt_regs ed6c118e4451 x86/stackframe, x86/ftrace: Add pt_regs frame annotations 7159ebba55a4 x86/stackframe, x86/kprobes: Fix frame pointer annotations ba09efb8b35b x86/stackframe: Move ENCODE_FRAME_POINTER to asm/frame.h c2f632a32c05 x86/entry/32: Clean up return from interrupt preemption path ce394d5e28c6 x86/asm: Pin sensitive CR0 bits b3327106585c x86/asm: Pin sensitive CR4 bits e3534ce1de0c Documentation/x86: Fix path to entry_32.S 487a6cb63d71 x86/asm: Remove unused TASK_TI_flags from asm-offsets.c 2bd8a406516b x86/entry/64: Don't compile ignore_sysret if 32-bit emulation is enabled Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d320a03b697679dfe223883b23480b70f89ad649) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* openssh: backport patch to fix "cert not yet valid" testAnuj Mittal2020-02-232-0/+47
| | | | | | | Fixes [YOCTO #13796] Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* xserver-nodm-init: Fix the start failure for non-root userKevin Hao2020-02-203-2/+15
| | | | | | | | | | | | | | | | In order to start the xserver, a non-root user should have the cap_sys_admin capability to set the drm master. We try to get the cap_sys_admin capability by setting it in both the thread and file inheritable set. The side effect of this is that we would have to add the "pam" to the distro features if we want use the xserver-nodm-init for a non-root user. [Yocto #11526] Signed-off-by: Kevin Hao <kexin.hao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit cfd71a68a4931c8bda15357ebb1e9ebcf0e302dc) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* qemurunner.py: add try/except for pid handling raceTrevor Gamblin2020-02-201-1/+4
| | | | | | | | | | | | | | | | In some instances, attempts to remove the qemu pidfile within the stop() method fail despite the os.path.exists() call immediately before implying that the file is present. Add a try/except block to log a warning if this occurs, rather than failing outright, since the process simply appears to be exiting at an inconvenient time. [YOCTO #13675] Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit eadb899e23b18eb9eaff145c3bf5b20fb417c3e8) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* glibc-testsuite: Exclude this recipe from world buildsNathan Rossi2020-02-201-0/+2
| | | | | | | | | | | This recipe is intended to be run manually or via oeqa. [YOCTO #13737] Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit eadbe01bb8232de79e0827e6c6b3411f69ea7303) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* glibc-testsuite: Remove the do_install taskNathan Rossi2020-02-201-0/+1
| | | | | | | | | | | | | This task is not intended to be run as this recipe does not produce any packages or install any sysroot content. Additionally running this task behaves differently from a normal glibc build, and can result in issues. [YOCTO #13737] Signed-off-by: Nathan Rossi <nathan@nathanrossi.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 2b51252cb8bd9badfa28794f9ef9431b48752e3d) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* Revert "bash: Fix CVE-2019-18276"Anuj Mittal2020-02-192-403/+0
| | | | | | | | | | | This reverts commit 09e695246d30ef9b73e743e0130e710e19793d14. This isn't a Backport as indicated in patch and not all the changes in this change are relevant to the CVE. Revert and wait for the fix to be available upstream. Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to zeus head revisionRichard Purdie2020-02-111-1/+1
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* u-boot.inc: Fix devtool build u-boot for u-boot without menuconfigTom Hochstein2020-02-111-0/+2
| | | | | | | | | | | | | | | | | | For u-boot recipes without menuconfig support, running devtool results in a do_configure error: cp: cannot stat '/home/r60874/upstream/fsl-xwayland/tmp/work/imx8mmevk-fsl-linux/u-boot-imx/2018.03-r0/u-boot-imx-2018.03//.config': No such file or directory The problem arises because u-boot.inc supports recipes with and without menuconfig. Fix the problem by properly setting DEVTOOL_DISABLE_MENUCONFIG so that devtool can control logic that applies only for menuconfig support. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit a6c430b0077eb56b4adbe391a0a05a52133cc8f0) Signed-off-by: Armin Kuster <akuster808@gmail.com>
* ncurses: Fix reproducibility issueRichard Purdie2020-02-111-0/+1
| | | | | | | | | | | | | | | The build was deciding whether to rename manpages based upon the presence of /etc/debian_version. Be explicit about the configuration instead and ensure determinism. [YOCTO #13781] (From OE-Core rev: 09c8a28893e7ca94a44232d802e1cb02a8f34b87) (From OE-Core rev: 3d114c08c32578426646f5d97769d2c66fea06cb) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libevdev: Fix determinism issueRichard Purdie2020-02-112-1/+36
| | | | | | | | | | | | We need to sort python dict output to be deterministic and generate consistent header files. (From OE-Core rev: 75e4cedb986379db2e8a897df52ee1363f9a9a80) (From OE-Core rev: fc6e8e527698a82bf8047d02e0e792c4a1a64449) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* sysvinit: Fix Reproducibility issueRichard Purdie2020-02-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | With a sequence like: bitbake sysvinit bitbake sysvinit -c clean bitbake sysvinit -c package_write_ipk -f then the resulting package has two files with group "root/70" rather than "root/shutdown". The issue is that of do_package is a setscene task, base-passwd isn't present. This patch fixes that dependency but there may be other cases of this problem around. [YOCTO #13776] (From OE-Core rev: 0227e929021263c51d2e7db36224000fecb01f1c) (From OE-Core rev: cbcba43c18d67aea0ba41f019b357fbec6570ee1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* sudo: specify where target tools areRoss Burton2020-02-112-2/+9
| | | | | | | | | | | | | | | | sudo uses AC_PATH_PROG to find target paths, which means at best potential host-contamination (and reproducible issues) and at worst it thinks sh is at /your/build/path/hosttools/sh. Solve this by explicitly passing the correct paths to configure. (From OE-Core rev: 61650dd8498a093f3bfa93202c9cd2e9a7fb7834) (From OE-Core rev: 6e809474ab686fba6924d8b46fd0b9eab5c66c06) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libgcrypt: Fix determinism issueRichard Purdie2020-02-112-0/+33
| | | | | | | | | | | | The build was injection git information from the wrong git tree, stop this to allow reproducible builds. (From OE-Core rev: 506b36b6d86b3454fcc3cb85f6229cbe8d14f5b5) (From OE-Core rev: 2b68ffc6d7c45541958f1b0c0b9ca9e39064e096) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libinput: Fix determinism issueRichard Purdie2020-02-112-1/+24
| | | | | | | | | | | | The build was injection git information from the wrong git tree, stop this to allow reproducible builds. (From OE-Core rev: c3f6a6113f562ecdb13386c3ff52adb7973980a4) (From OE-Core rev: 22dc9a3314eef5925241a9a961bd79815d3172b6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* iputils: Fix build determinismRichard Purdie2020-02-111-1/+2
| | | | | | | | | | | | The suid/setcap code depends on whether setcap is on the host system or not with suid as a fallback. Disable this functionality to be deterministic. (From OE-Core rev: 8b00ec484fb851c301f13145e17707c0167feab1) (From OE-Core rev: 3997c47dea49d583fd48cb03f83c007f61d2cb35) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* openssl: Fix reproducibility issueRichard Purdie2020-02-112-0/+33
| | | | | | | | | | | | | | There was a build architecture leaking into the target ptest which could vary depending upon host. Remove it as its cosmetic. [YOCTO #13770] (From OE-Core rev: 37db519eedb7eb5cd4f14d05f30f5d580aa7458d) (From OE-Core rev: c31c676319812e6fc036741db2ab8e16eccff723) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* perl: Fix various reproducibile build issuesRichard Purdie2020-02-112-0/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add a patch which handles the following issues: a) Remove the \n from configure_attr.sh since it gets quoted differently depending on whether the shell is bash or dash which can cause the test result to be incorrect. Reported upstream: https://github.com/arsv/perl-cross/issues/87 b) Sort the order of the module lists from configure_mods.sh since otherwise the result isn't the same leading to makefile differences. Reported upstream: https://github.com/arsv/perl-cross/issues/88 c) Sort the Encode::Byte byte_t.fnm file output (and the makefile depends whilst there for good measure) This needs to go to upstream perl (not done) d) Use bash for perl-cross configure since otherwise trnl gets set to "\n" with bash and "" with dash Reported upstream: https://github.com/arsv/perl-cross/issues/87 (From OE-Core rev: 482fd0d99f989b5a72a25bdf402fb2f219420b5d) (From OE-Core rev: def3a9d748564883d71c506726554df622701b00) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* perl: do not install files that contain build host specific dataAlexander Kanavin2020-02-112-0/+6
| | | | | | | | | | | | | | | This was breaking reproducibility, and the files aren't needed on target. [YOCTO #13772] (From OE-Core rev: 2e0f30c4680221c693495e3a0327378d502a518b) (From OE-Core rev: 208efc88fa3c57244b272bf7e7f7f8163f14630c) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* gtk+3: sort resources for reproducible binariesRoss Burton2020-02-112-0/+20
| | | | | | | | | | | | | The list of resources is gathered with $(wildcard) in Make, which isn't sorted. If this order changes then the generated libraries will differ. (From OE-Core rev: f3675be6be29426688187a135221431a0941d007) (From OE-Core rev: a2a6d9fa4df66a1f52c1c1fec45eedb4199e8162) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libidn2: Fix reproducibility issueRichard Purdie2020-02-111-1/+2
| | | | | | | | | | | | | | The previous tweak for reproducibility didn't handle the duplicate whitepace left behind, fix this. [YOCTO #13771] (From OE-Core rev: 0392fcbdc85180581ce7392212808ebb822cc2e8) (From OE-Core rev: ca213de432d8d9d715ef09e17cea2aa1e6666e91) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* patch: Extend to native/nativesdk and depend uponRichard Purdie2020-02-113-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is a bug in patch 2.7.3 and earlier where index lines in patches can change file modes when they shouldn't: http://git.savannah.gnu.org/cgit/patch.git/patch/?id=82b800c9552a088a241457948219d25ce0a407a4 This leaks into debug sources in particular (e.g. tcp-wrappers where source files are read-only). Add the dependency to target recipes to avoid this problem until we can rely on 2.7.4 or later. We could try and remove all index lines from patch files but it will be a losing battle. We could try and identify all the recipes which change modes on files in patches but again, its a losing battle. Instead, compromise and have patch-native as a dependency for target recipes. We use patch-replacement-native since patch-native is in ASSUME_PROVIDED. Also add nativesdk-patch to buildtools-tarball. [YOCTO #13777] (From OE-Core rev: 5ed0840c93804488cd1c1aba6cb382b2434714a5) (From OE-Core rev: fd3bd61a6fe5190c575dc968f3a0be9c1cbf21ed) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* tar: Fix build determinism, disable rshRichard Purdie2020-02-111-0/+2
| | | | | | | | | | | | | | rsh is insecure and obsolete but tar will enable support if the binary is on the host system. Some systems point it at ssh. Lets explictly disable it for now unless someone actually needs/uses this at which point it could become a packageconfig. (From OE-Core rev: d14a4b0db92a9a7d1ff72a2e0faca7f1a23a0b68) (From OE-Core rev: 6bdc5f787af46e9c849947cad06ad40aa401b767) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* mc: Fix manpage date indeterminismRichard Purdie2020-02-112-0/+22
| | | | | | | | | | | | | | The man page date can vary depending upon the host perl, e.g. in Russian some versions print 'июня', others 'Июнь' or Polish 'czerwca' or 'czerwiec'. Rather than depend upon perl-native to fix this, just remove the date from the manpages. (From OE-Core rev: 5553c20f9fa4f35bf711b6b9d5717dcf4bfefafa) (From OE-Core rev: 3653fd41fbc28f70259a00bb0098ec8731526449) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* mc: Set zipinfo presence determinsticallyRichard Purdie2020-02-111-0/+1
| | | | | | | | | | | | This value was floating causing differences in generated files. Set it determinstically. (From OE-Core rev: 11d7a9e37c1d3fc21396a98fefc9d34c0b9e784b) (From OE-Core rev: 8f77075425e2ef9c3b5adbf8e5b29e7cfd7b9b7a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* mc: Fix build reproducibilityJoshua Watt2020-02-112-1/+103
| | | | | | | | | | | | | | Fixes some issues with reproducible builds. Adds a patch to allow the configure arguments to be omitted from the build and also explicitly setting some autoconf paths that were picking up hosttools. (From OE-Core rev: f54d60ee8f15229aa515e168b9c7d248663b48fe) (From OE-Core rev: 164d72b7a6ab20940f9a124beaf485be9ddc07ba) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* libxshmfence: Set shm directory deterministicallyRichard Purdie2020-02-111-0/+2
| | | | | | | | | | | | | | Without setting this it will vary depending on which directories are present on the host. [YOCTO #13778] (From OE-Core rev: 6217c3a7201b34888aa2fbae8b6e490bea545574) (From OE-Core rev: 10357b0bf3f6b34b54c0329e7e392ecf2c7043cd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* sudo: Set vardir deterministicallyRichard Purdie2020-02-111-0/+1
| | | | | | | | | | | | | | Without setting this it will vary depending on which directories are present on the host. [YOCTO #13775] (From OE-Core rev: 39fe849b56d70689846262c31ab7c182c8443923) (From OE-Core rev: 51274c9b195ad00dd6362f352ad9bbf7e9a3e098) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* classes/reproducible_build: Read SDE file laterJoshua Watt2020-02-111-9/+31
| | | | | | | | | | | | | | | | | | | | Defers the resolution of the SOURCE_DATE_EPOCH until the variable needs to be actually realized with a value. The previous method of loading the value in anonymous python had issues because it could occur before other anonymous python functions that affect the location of the epoch file, such as when a recipe uses AUTOINC/AUTOREV or allarch.bbclass. Also adds more logging to help diagnose issues in the future. [YOCTO #13763] (From OE-Core rev: b3313a10a3eb93f0a3710a35de0404fb49cd6202) (From OE-Core rev: 10515e5f7e38edbc4430e2599062a9ce6fdb42a8) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* oeqa/reproducible: Improve test output and ensure deb+ipk comparedRichard Purdie2020-02-111-2/+7
| | | | | | | | | | | | | | | | Adding newline characters between the packages in the failure output massively improves readability. Also ensure to output ipk failures when there are deb failures by calling self.fail() at the end, else sometimes only partial differences are returned. (From OE-Core rev: 6e2e0480852177db75a6108d77c99c92c4e9950f) (From OE-Core rev: 4d470f48f7fb5e05fba1ca3a59fb4f85d910026e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
* opkg-utils: Fix reproducibility issues in opkg-buildRichard Purdie2020-02-112-0/+33
| | | | | | | | | | | | | | | | | There is a sorting problem with opkg-build where the ipk generated is depending upon the order of files on disk. The reason is the --sort option to tar only influences the orders of files tar reads, not those passed by the -T option. Add in a sort call to resolve this issue. To ensure consistent sorting we also need to force to a specific locale (C) else the results are still not deterministic. (From OE-Core rev: a9b8287984c63420e10329a69f7ac5125f1687f8) (From OE-Core rev: b577a6d923042cfc04e67d470e0987488ea61412) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>