summaryrefslogtreecommitdiffstats
path: root/meta
Commit message (Collapse)AuthorAgeFilesLines
* linux-firmware: upgrade to 8fc2d4e5 revisionOtavio Salvador2018-07-191-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8fc2d4e Merge git://git.marvell.com/mwifiex-firmware e1abab6 linux-firmware: update Marvell USB8997 firmware image to add WPA2 vulnerability fix c38c231 linux-firmware: update Marvell SD8897-B0 firmware image to add WPA2 vulnerability fix 0686ec7 Merge branch 'firmware-update' of https://github.com/intel/opa-firmware bb7f773 Update Intel OPA hfi1 firmware 397a604 qed: Add firmware 8.33.12.0 40d4117 linux-firmware: Add firmware file for Intel Bluetooth,9560 bf3934f linux-firmware: Add firmware file for Intel Bluetooth,9260 f865934 linux-firmware: Update firmware file for Intel Bluetooth,8265 7dab503 Merge branch 'for-upstream' of git://git.chelsio.net/pub/git/linux-firmware 0caed67 cxgb4: update firmware to revision 1.19.1.0 0783fb9 nfp: add symlink for mixed mode Agilio CX 2x25GbE cards 380957e nfp: update Agilio SmartNIC flower firmware to rev 5701 b562d2f linux-firmware: update wil6210 firmware to 5.2.0.18 c1aa76a linux-firmware: rsi: update firmware images for Redpine 9113 chipset 1621614 Merge tag 'iwlwifi-fw-2018-04-06' of git://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware 50c1323 iwlwifi: update firmwares for 3160, 3168 and 7265 c711ea5 iwlwifi: add some new FW versions and update older ones 8c1e439 amdgpu: update vce firmware for Polaris 31accdf linux-firmware: Add firmware file for Intel Bluetooth,9560 89139e8 linux-firmware: Add firmware file for Intel Bluetooth,9260 58cdb52 linux-firmware: Update firmware file for Intel Bluetooth,8265 9cb49be linux-firmware: Update firmware patch for Intel Bluetooth 8260 a3be6d4 Merge https://github.com/Netronome/linux-firmware into netro License-Update: new files and version update. Same terms. (From OE-Core rev: 8c0ee2072d493ecd09284c27fc8d627e3e6c5ae8) (From OE-Core rev: 1325518f8f2dafc09acd1bef5f93aa3550063306) (From OE-Core rev: 1690043f681ca75a76619eb6b02e5e2610a9051a) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: upgrade to 4c0bf11 revisionOtavio Salvador2018-07-191-2/+2
| | | | | | | | | | | | | License-Update: new releases and copyright years updated. (From OE-Core rev: cf757ca67325415a26555c67a098f168453339a4) (From OE-Core rev: 8f5ca5903bb76fb08f9962bbbdf50620952c6c92) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: fix typoNicolas Dechesne2018-07-191-1/+1
| | | | | | | | | | | (From OE-Core rev: 6dddf0151d486c474cbf522ced8c5ad96ae290fd) (From OE-Core rev: f4efd16147ae5edf39935cec6a70263e878d984b) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: package all ibt-17-x-x.sfi/ddc firmwareLiwei Song2018-07-191-4/+4
| | | | | | | | | | | | | | | | | | | | | | All ibt-17-x-x.sfi/ddc firmware are use to support Intel Bluetooth 9560 they are needed in different version of Bluetooth driver since 4.14 kernel version. commit b77bb7afe513 ("linux-firmware: package ibt-17-16-1 firmware") only package one of the ibt-17 series firmware. As the Bluetooth driver's update, to avoid packaging the ibt-17 firmware one by one, install them in one package ibt-17. (From OE-Core rev: f6110c0213064c324397476f3eae3851328790dd) (From OE-Core rev: 12d2acce1f3266170707e917133ff549157a8150) Signed-off-by: Liwei Song <liwei.song@windriver.com> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: package ibt-17-16-1 firmwareLiwei Song2018-07-191-0/+4
| | | | | | | | | | | | | | Package ibt-17-16-1 firmware for Bluetooth device 9460/9560 (From OE-Core rev: b77bb7afe5131d9157be9dfebda4d4185a98a820) (From OE-Core rev: cc27af68451655c3844db4f25cac93331a6a4770) Signed-off-by: Liwei Song <liwei.song@windriver.com> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: package iwlwifi-9000 series fimwareLiwei Song2018-07-191-0/+4
| | | | | | | | | | | | | | Add package for 9000 seires Intel wireless firmware. (From OE-Core rev: 7e6891e71d8da85371909925bbcb6baf816f3289) (From OE-Core rev: cfa8efa626732d91b385d036005e0b6eb7e3f3de) Signed-off-by: Liwei Song <liwei.song@windriver.com> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: add packaging for QCOM firmware for APQ8016 and APQ8096Nicolas Dechesne2018-07-191-0/+19
| | | | | | | | | | | | | | | | | | Firmware files for VPU and GPU found on various Qualcomm based devices, such as Dragonboard 410c and/or Dragonboard 820c. * venus-1.8 and adreno-a3xx firmware are VPU and GPU for Qualcomm APQ8016 SoC * venus-4.2 and adreno-a530 firmware are VPU and GPU for Qualcomm APQ8096 SoC (From OE-Core rev: 687d71982a88f1db91316d646ecaeaf07ab88e7a) (From OE-Core rev: ef5923466435a6e73076f7eb6b38b74ced4173ec) Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-firmware: Bump revision to 65b1c68cOtavio Salvador2018-07-191-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bump includes following changes: 65b1c68 wl18xx: update firmware file 8.9.0.0.76 8650396 wl127x/wl128x: update firmwares 2eefafb rtlwifi: rtl8723de: Add firmware for new driver/device 4a77cab linux-firmware: DMC firmware for cannonlake v1.07 2567e09 nvidia: add GP108 signed firmware 2451bb2 linux-firmware: liquidio: add v1.7.0 vswitch firmware 7f93c9d brcm: add CYW4373 firmwares and Cypress license file fdee922 linux-firmware: Update firmware patch for Intel Bluetooth 8260 9a843a1 linux-firmware: Update firmware file for Intel Bluetooth 8265 97339b3 linux-firmware: Add firmware file for Intel Bluetooth 9260 db9964e linux-firmware: Add firmware file for Intel Bluetooth 9560 e4252cf Revert commits a42f895, c113d33, 041aff8, 73d13b5 a42f895 linux-firmware: Update firmware patch for Intel Bluetooth 8260 c113d33 linux-firmware: Update firmware file for Intel Bluetooth 8265 041aff8 linux-firmware: Add firmware file for Intel Bluetooth 9260 73d13b5 linux-firmware: Add firmware file for Intel Bluetooth 9560 30946b9 amdgpu: add firmware for Raven 71a4800 amdgpu: update vega10 vce firmware 89c6211 linux-firmware: intel: Add Cannonlake audio firmware b39260f nfp: add firmware for tc-flower c752e24 nfp: change firmware directory layout 00a92a3 nfp: update firmware for Agilio CX SmartNICs 02d857e linux-firmware: DMC firmware for skylake v1.27 17e6288 brcm: update firmware for bcm4358 1841cec brcm: update firmware for bcm4356 b3f4e74 brcm: update firmware for bcm4354 cd86989 brcm: introduce firmware for bcm43430 revision 0 5ee46c2 brcm: update firmware for bcm4339 8e864c2 Mellanox: Add new mlxsw_spectrum firmware 13.1530.152 fd45000 WHENCE: Add missing entry for mlxsw_spectrum firmware 7f9bbc7 WHENCE: Fix typo in entry for iwlwifi-8265-34.ucode 284de20 s2255drv: f2255usb: firmware version 1.2.8 7c705a4 amdgpu: add new CP firmware for polaris chips 5582ca4 qed: Add firmware 8.33.1.0 e721933 qcom: add venus firmware files for v4.2 f36a8e2 qcom: add firmware files for Adreno a530 85313b4 iwlwifi: add firmware version 34 for new 9000 series 6c161c5 linux-firmware: liquidio: update firmware to v1.7.0 b964279 linux-firmware: intel: Update Geminilake audio firmware c4276b6 iwlwifi: add firmware version 33 for new 9000 series 5a05332 iwlwifi: add new firmware version 34 for 8000C and 8265 1a5fd94 iwlwifi: update firmwares for 3160, 3168, 7260, 7265 and 7265D 796c912 iwlwifi: update firmwares for 3160, 3168, 7265D, 8000C and 8265 1156e62 linux-firmware: DMC firmware for kabylake v1.04 db3e185 linux-firmware: update Marvell PCIe-USB8997 firmware image de81715 linux-firmware: GuC firmware for kabylake v9.39 434e712 linux-firmware: GuC firmware for Broxton v9.29 0aebd9f linux-firmware: GuC firmware for Skylake v9.33 de5b4c2 linux-firmware/i915: Add Cannonlake DMC version 1.06 8e7c787 linux-firmware/i915: Add Geminilake DMC version 1.04 e0494e9 linux-firmware: update Marvell PCIe-USB8997 firmware image 11db131 linux-firmware: update Marvell PCIe-USB8897-A2 firmware image Included in those changes, two license checksums has been changed: - LICENCE.Netronome: minimal change dropping a word in license name; - WHENCE: adjustments due the new firmware versions; (From OE-Core rev: 4facc572380daf5b7e6294b388a657fa0a44a6f2) (From OE-Core rev: 48779f278687a5f6af4b75d01595b8a125b2ba96) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: remove the group 'lock'Hannu Lounento2018-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The upstream commit 61f32bff6130a44d077886d38cff89ad161bf177 included in the release v229 removed the use of the group: commit 61f32bff6130a44d077886d38cff89ad161bf177 Author: Martin Pitt <martin.pitt@ubuntu.com> Date: Mon Feb 1 12:09:34 2016 +0100 tmpfiles: drop /run/lock/lockdev Hardly any software uses that any more, and better locking mechanisms like flock() have been available for many years. Also drop the corresponding "lock" group from sysusers.d/basic.conf.in, as nothing else is using this. [...] diff --git a/sysusers.d/basic.conf.in b/sysusers.d/basic.conf.in index 823d6cb20..b2dc5ebd4 100644 --- a/sysusers.d/basic.conf.in +++ b/sysusers.d/basic.conf.in @@ -19,7 +19,6 @@ g wheel - - - # Access to certain kernel and userspace facilities g kmem - - - -g lock - - - g tty @TTY_GID@ - - g utmp - - - [...] The upstream documentation doc/UIDS-GIDS.md says that basic.conf.in is "the precise list of the currently defined groups": ## Special `systemd` GIDs `systemd` defines no special UIDs beyond what Linux already defines (see above). However, it does define some special group/GID assignments, which are primarily used for `systemd-udevd`'s device management. The precise list of the currently defined groups is found in this `sysusers.d` snippet: [basic.conf](https://raw.githubusercontent.com/systemd/systemd/master/sysusers.d/basic.conf.in) It's strongly recommended that downstream distributions include these groups in their default group databases. Removing the creation of the group also avoids the need to define a GID for it when using static ids. (From OE-Core rev: da3659155cd1825a4a8d3d7c5288b4273714de15) (From OE-Core rev: 1776ab75b8e5f00e69b99565af4cfeef27bc95d4) Signed-off-by: Hannu Lounento <hannu.lounento@vaisala.com> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* minicom: change SRC_URI to use Debian mirrorsRoss Burton2018-07-191-1/+1
| | | | | | | | | | | | | | Alioth is dead and the minicom project on Salsa (the replacement for Alioth) doesn't actually have any files in, so just use the Debian mirror instead. (From OE-Core rev: b0338efcdabeec79c568c74b6888d7d523e8e9dc) (From OE-Core rev: e92ee196e6d305bc443567241c6d07e79e74a2eb) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mirrors: add Debian snapshot mirror for 2018Ross Burton2018-07-191-0/+1
| | | | | | | | | | | | | | Add a Debian snapshot mirror from 2018 (specifically, 10th March, the date 9.4 was released) to DEBIAN_MIRRORS. (From OE-Core rev: f3f394913b4e4a7c601ad1158faaf8b9d493e1c7) (From OE-Core rev: 8756cf22afb30eeb7a633bbe0cdd8187a2f4a3f5) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: update SRC_URI now Alioth is downRoss Burton2018-07-191-1/+3
| | | | | | | | | | | | | | | | | | | Alioth is dead so we can't use it for SRC_URI anymore. There is a shadow repository on GitHub which is the new upstream, but for some reason it is missing the 4.2.1 tag and tarball that we use. Also 4.2.1 was never uploaded into Debian itself, so we can't use their mirror network either. For now point SRC_URI at the Yocto Project source mirror and set UPSTREAM_CHECK_URI so that we get nagged to upgrade to 4.6. (From OE-Core rev: b3e246fef166030f327b5a852718ea907ada1759) (From OE-Core rev: 6de1c2eca77f73176aa0eaca3d816aa3a262ff6d) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* chrpath: Alioth is dead, use DEBIAN_MIRRORRoss Burton2018-07-191-3/+1
| | | | | | | | | | | | | | The previous host of chrpath, Alioth, is dead. chrpath hasn't yet moved to Salsa, so download the tarball from the Debian mirrors. (From OE-Core rev: a8a2c5ec891286a1e7fd5ebdd33565f9ae3965c2) (From OE-Core rev: 8310ff1730a1d814f63de5e313605b0094c7931c) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* popt: update SRC_URIArmin Kuster2018-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | It appears the rpm5.org has been down for some time, switch to fossies WARNING: popt-native-1.16-r3 do_fetch: Failed to fetch URL http://rpm5.org/files/popt/popt-1.16.tar.gz, attempting MIRRORS if available (From OE-Core rev: 347ee336dcc94e6fa4e4788117013615b90abd70) (From OE-Core rev: 9e3bf0ce4ebb885ca0ede0e636d80e032c29e744) (From OE-Core rev: 3eb66e250e9dd38db0b1d557a0fda3c33e43ef04) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 50804c06633f8402fb9ac905882353f746afd1cb) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* common-licenses: Add BSD-1-ClauseAndré Draszik2018-07-191-0/+9
| | | | | | | | | | | | | | | | | Some projects are starting to use it. https://spdx.org/licenses//BSD-1-Clause.html (From OE-Core rev: 77f692ecb39d880b2cb420850a31534860eb2cc5) (From OE-Core rev: 676a98455a613ab8d491d5c3e0bf317b2707d5fa) Signed-off-by: André Draszik <andre.draszik@jci.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 77f692ecb39d880b2cb420850a31534860eb2cc5) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libxml2: fix makefile for ptestsAnuj Mittal2018-07-192-0/+22
| | | | | | | | | | | | | | | | | | | | | Changes to Makefile in latest version mean when "make -k runtests" is executed, it leads to errors like: | make: *** No rule to make target 'runtest.c', needed by 'runtest.o'. | make: *** No rule to make target 'SAX.c', needed by 'SAX.lo'. | make: *** No rule to make target 'entities.c', needed by 'entities.lo'. | make: *** No rule to make target 'encoding.c', needed by 'encoding.lo'. Make sure that we don't try to check and compile the tests again on the target. (From OE-Core rev: 5cf92ca436e1a1ba60fec8b30b6cb3cfd4842bc8) (From OE-Core rev: 833164ff0d0a767f82291e3d8eacc4b4832470a4) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* distcc-doc_3.2: improve reproducibilityJuro Bystricky2018-06-151-1/+3
| | | | | | | | | | | | | | Remove timestamps from metadata of gzip compressed files. (From OE-Core rev: 8d009dd8c3c56601905a156cb06f339dd4a298e6) (From OE-Core rev: 6c20c550a82aed9e8fa312f09888c8f16250159c) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ifupdown: correct the repository locationAlexander Kanavin2018-06-151-1/+1
| | | | | | | | | | | | | The old repo is gone. (From OE-Core rev: f171137579bf3141032d309fa433c14ac9141e43) (From OE-Core rev: a6e472565c5d5e9e1343278626b3bdd4d5c6fc04) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata: fix a typo.Kevin Carli2018-06-151-1/+1
| | | | | | | | | | | | (From OE-Core rev: 6e3ea2f17bcd9d942f838ba972338d92e95f65d4) (From OE-Core rev: ab24caaccd64e0d6b237b8a1d0b221286671eef9) Signed-off-by: Kevin Carli <k.carli@overkiz.com> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: fix CVE-2017-12837Hongxu Jia2018-06-152-0/+33
| | | | | | | | | | | | | | https://perl5.git.perl.org/perl.git/commitdiff/96c83ed78aeea1a0496dd2b2d935869a822dc8a5 (From OE-Core rev: bd53256e165f5bb59a28d77a466d71fce39080fa) (From OE-Core rev: d3a785ea11caffe2537fd83f2b9d13f1b64adab9) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yoct/4.12: update to v4.12.24Bruce Ashfield2018-06-153-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to include Paul Gortmaker's latest round of stable updates, which comprise the following commits: dc2f71a08d7a Linux 4.12.24 4cab262afa69 iio: adc: ti-ads1015: add 10% to conversion wait time 89f573e6f136 tools include: Do not use poison with C++ d4f418739d68 kprobes/x86: Disable preemption in ftrace-based jprobes 28861253362b perf test attr: Fix ignored test case result 12c60baac963 staging: fsl-mc/dpio: Fix incorrect comparison 43e1cab01765 serial: imx: Update cached mctrl value when changing RTS 6122e955f082 usbip: tools: Install all headers needed for libusbip development c1fce3e6296c serial: sh-sci: suppress warning for ports without dma channels 444cfc461e20 sysrq : fix Show Regs call trace on ARM 0040e82b1a65 usb: xhci: Return error when host is dead in xhci_disable_slot() e1667a3749da staging: fsl-dpaa2/eth: Account for Rx FD buffers on error path 7e22cbc6bd55 usb: mtu3: fix error return code in ssusb_gadget_init() c528464afcea EDAC, sb_edac: Fix missing break in switch e207a0c6a285 clocksource/drivers/arm_arch_timer: Validate CNTFRQ after enabling frame c3c5783f9303 serial: 8250: Preserve DLD[7:4] for PORT_XR17V35X ca7b446eff2f PCI: dra7xx: Create functional dependency between PCIe and PHY 7897f75fc207 usb: phy: tahvo: fix error handling in tahvo_usb_probe() c240911c41c3 mmc: sdhci-msm: fix issue with power irq 97227123b5f0 mmc: tmio: check mmc_regulator_get_supply return value 05ce425fa841 spi: spi-axi: fix potential use-after-free after deregistration 42f90afc67e4 spi: sh-msiof: Fix DMA transfer size check c652d0d523bf staging: rtl8188eu: avoid a null dereference on pmlmepriv 3dc08560ab63 serial: 8250_fintek: Fix rs485 disablement on invalid ioctl() d57c00699295 m68k: fix ColdFire node shift size calculation df74b0c1e0b4 staging: greybus: loopback: Fix iteration count on async path 96be1d656724 x86/entry/64: Don't use IST entry for #BP stack (part #2) 8e3f9a001776 selftests/x86/ldt_get: Add a few additional tests for limits 0d0517d16bc5 s390/pci: do not require AIS facility 778bf06a0661 PM / Domains: Fix genpd to deal with drivers returning 1 from ->prepare() bd4084ce13d2 s390: vfio-ccw: Do not attempt to free no-op, test and tic cda. fd6fe520a496 ima: fix hash algorithm initialization 83cd72f27843 usb: host: fix incorrect updating of offset 4ab295bc9cdf USB: usbfs: Filter flags passed in from user space d8ce9fecf049 USB: Fix off by one in type-specific length check of BOS SSP capability dc9843bd9e72 USB: core: Add type-specific length check of BOS descriptors ab95f86f0fac usb: xhci: fix panic in xhci_free_virt_devices_depth_first c1b551b8718a xhci: Don't show incorrect WARN message about events for empty rings 8412154c096c USB: ulpi: fix bus-node lookup 10d2d61bff44 usb: hub: Cycle HUB power when initialization fails da44857edd20 powerpc/kprobes: Fix call trace due to incorrect preempt count 67482fcb1f0a powerpc/kprobes: Disable preemption before invoking probe handler for optprobes 6f745a984365 powerpc/jprobes: Disable preemption when triggered through ftrace 3fefceeaca8e USB: serial: usb_debug: add new USB device id 9c971e7d3a9f USB: serial: option: add Quectel BG96 id cc01c484eee9 serial: 8250_pci: Add Amazon PCI serial device ID d16393b7a9d8 usb: quirks: Add no-lpm quirk for KY-688 USB 3.1 Type-C Hub 7a0ac9cc347c uas: Always apply US_FL_NO_ATA_1X quirk to Seagate devices 52c2b20403f0 s390/runtime instrumentation: simplify task exit handling 04dd38b88979 drm/fsl-dcu: enable IRQ before drm_atomic_helper_resume() f363e7cdb4f6 drm/fsl-dcu: avoid disabling pixel clock twice on suspend 2845e7d136c8 drm/i915: Prevent zero length "index" write 79413d6f2f6f drm/i915: Don't try indexed reads to alternate slave addresses f5cc8d6842e6 drm/i915/gvt: Correct ADDR_4K/2M/1G_MASK definition 1fab446c5b5a drm/i915: Fix false-positive assert_rpm_wakelock_held in i915_pmic_bus_access_notifier v2 708262ebbebc md: forbid a RAID5 from having both a bitmap and a journal. 40219fc4a45b e1000e: fix the use of magic numbers for buffer overrun issue 9bbd7fc437e0 include/linux/compiler-clang.h: handle randomizable anonymous structs 13782a203fb8 drm/amd/pp: fix typecast error in powerplay. dd1ab1b7a09e drm/ttm: once more fix ttm_buffer_object_transfer 1e1df0b0eb71 drm/hisilicon: Ensure LDI regs are properly configured. e10ca648a294 drm/panel: simple: Add missing panel_simple_unprepare() calls 28fb6325953c drm/radeon: fix atombios on big endian 0f7ff143e866 drm/tilcdc: Precalculate total frametime in tilcdc_crtc_set_mode() 00debaff36fb drm/amdgpu: Remove check which is not valid for certain VBIOS 53543b5a5062 drm/amdgpu: Properly allocate VM invalidate eng v2 6095ee5e76ed drm/amdgpu: correct reference clock value on vega10 8544b664f20e Revert "drm/radeon: dont switch vt on suspend" 3b28b8cd6364 nvme-pci: add quirk for delay before CHK RDY for WDC SN200 2c1ae94e88ee hwmon: (jc42) optionally try to disable the SMBUS timeout 8fcaaeed325c bcache: recover data from backing when data is clean 027fe49240fa bcache: only permit to recovery read error when cache device is clean 3746f4374ee2 bcache: Fix building error on MIPS 72ea117f664e cxl: Check if vphb exists before iterating over AFU devices 8ee52dd3b01a i2c: i801: Fix Failed to allocate irq -2147483648 error ab7ae0720406 eeprom: at24: check at24_read/write arguments 1025c12d637b eeprom: at24: correctly set the size for at24mac402 32aba2ddc564 eeprom: at24: fix reading from 24MAC402/24MAC602 ec5216d0e845 mmc: core: prepend 0x to OCR entry in sysfs a64429e1d089 mmc: core: prepend 0x to pre_eol_info entry in sysfs 32f6d6221e55 mmc: core: Do not leave the block driver in a suspended state fa455ca7acc6 arm64: module-plts: factor out PLT generation code for ftrace d9c2c353dc61 s390: revert ELF_ET_DYN_BASE base changes 5c10828c07be lockd: lost rollback of set_grace_period() in lockd_down_net() 91ed144855d5 crypto: skcipher - Fix skcipher_walk_aead_common 0ff5af74c047 nfsd: fix panic in posix_unblock_lock called from nfs4_laundromat b187299249a2 nfsd: Fix another OPEN stateid race 2e36e8a92541 nfsd: Fix stateid races between OPEN and CLOSE 237c8c16013d btrfs: clear space cache inode generation always e6eedfd1ca3f mm/hugetlb: fix NULL-pointer dereference on 5-level paging machine b19cd2bae194 autofs: revert "autofs: take more care to not update last_used on path walk" 9c0369beda80 device-dax: implement ->split() to catch invalid munmap attempts 0d73cfed1391 platform/x86: hp-wmi: Fix tablet mode detection for convertibles (From OE-Core rev: 5f5603c33368d7b0143aeb77a95bed90bb92cb51) (From OE-Core rev: e6d735e7101ce243f238585e31c6f4b04e1389b0) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.12: update to v4.12.23Bruce Ashfield2018-06-153-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the -stable updates from Paul Gortmake that comprise the following commits: 6e83f40c507e Linux 4.12.23 55e376304f1b e1000e: fix buffer overrun while the I219 is processing DMA transactions 3882bb678dd8 e1000e: Fix return value test 167170375055 e1000e: Fix error path in link detection 47722947f954 ARM64: dts: meson-gxl: Add alternate ARM Trusted Firmware reserved memory zone 1dbaaa42b464 media: v4l2-ctrl: Fix flags field on Control events c7c9d8c465d7 [media] cx231xx-cards: fix NULL-deref on missing association descriptor 6ee1ead888a3 media: rc: check for integer overflow 6f70063599b3 media: Don't do DMA on stack for firmware upload in the AS102 driver ef4c54828c1d powerpc/64s/hash: Allow MAP_FIXED allocations to cross 128TB boundary d308f45eb9e7 powerpc/64s/hash: Fix fork() with 512TB process address space 61c9dab21d03 powerpc/64s/hash: Fix 128TB-512TB virtual address boundary case allocation 40744bdf965e powerpc/64s/hash: Fix 512T hint detection to use >= 128T c5866bd94f03 powerpc/64s/radix: Fix 128TB-512TB virtual address boundary case allocation 49e9f537eb43 powerpc/signal: Properly handle return value from uprobe_deny_signal() fb991189ca1f parisc: Fix validity check of pointer size argument in new CAS implementation ae519d5e90b9 ixgbe: Fix skb list corruption on Power systems 2a827971bc99 fm10k: Use smp_rmb rather than read_barrier_depends b1222f423f70 i40evf: Use smp_rmb rather than read_barrier_depends 61d3820d1146 ixgbevf: Use smp_rmb rather than read_barrier_depends 8c40cc266d42 igbvf: Use smp_rmb rather than read_barrier_depends d05a14e4483e igb: Use smp_rmb rather than read_barrier_depends 9062b3d8fadd i40e: Use smp_rmb rather than read_barrier_depends bb0ddf274e82 spi-nor: intel-spi: Fix broken software sequencing codes 11604df811a9 IB/srp: Avoid that a cable pull can trigger a kernel crash 7a2f561b9470 IB/hfi1: Fix incorrect available receive user context count 305382ae2297 IB/cm: Fix memory corruption in handling CM request 9792edc692f1 IB/CM: Create appropriate path records when handling CM request 0624d71dcd6f IB/srpt: Do not accept invalid initiator port names ff4035fcfb4d svcrdma: Preserve CB send buffer across retransmits f18fd397f0c1 libnvdimm, namespace: make 'resource' attribute only readable by root 91d9aa084602 libnvdimm, region : make 'resource' attribute only readable by root ea9427658840 libnvdimm, namespace: fix label initialization to use valid seq numbers c0bcae085da8 libnvdimm, pfn: make 'resource' attribute only readable by root aa91e16e2756 libnvdimm, dimm: clear 'locked' status on successful DIMM enable eca24c2a944d clk: ti: dra7-atl-clock: fix child-node lookups 104ab8491706 SUNRPC: Fix tracepoint storage issues with svc_recv and svc_rqst_status a6579fafe2b9 dax: fix general protection fault in dax_alloc_inode b4f77dd3db27 dax: fix PMD faults on zero-length files 12b2a43aa1b0 lockd: double unregister of inetaddr notifiers f2fa2903113c irqchip/gic-v3: Fix ppi-partitions lookup c08ddb437ddb genirq: Track whether the trigger type has been set fc12863e2ba3 raid1: prevent freeze_array/wait_all_barriers deadlock 3c56a460c8bf block: Fix a race between blk_cleanup_queue() and timeout handling 1e28e345115e p54: don't unregister leds when they are not initialized 937209dd49f8 mailbox: bcm-flexrm-mailbox: Fix FlexRM ring flush sequence 73d36ccc25ad mtd: nand: mtk: fix infinite ECC decode IRQ issue 886c51dad821 mtd: nand: Fix writing mtdoops to nand flash. 684797376fd0 mtd: nand: omap2: Fix subpage write b58d7cba2730 target: Avoid early CMD_T_PRE_EXECUTE failures during ABORT_TASK 8412e7db941c target: Fix quiese during transport_write_pending_qf endless loop 7c302f595f4b target: Fix caw_sem leak in transport_generic_request_failure cc36f84ff1f0 target: Fix QUEUE_FULL + SCSI task attribute handling 41411af9e8ad target: fix null pointer regression in core_tmr_drain_tmr_list 8734ebeb8106 iscsi-target: Fix non-immediate TMR reference leak 2e2bc1186a08 iscsi-target: Make TASK_REASSIGN use proper se_cmd->cmd_kref 6de2abbd4c31 scsi: lpfc: Fix oops if nvmet_fc_register_targetport fails 2000b870234f scsi: lpfc: Fix FCP hba_wqidx assignment 01f0e334995a scsi: lpfc: Fix crash receiving ELS while detaching driver 020ccb98ef75 scsi: lpfc: fix pci hot plug crash in list_add call 9b58a782f5a4 scsi: lpfc: fix pci hot plug crash in timer management routines e316d92e10ac scsi: sd_zbc: Fix sd_zbc_read_zoned_characteristics() f98e27e575f1 net/9p: Switch to wait_event_killable() 8be417a79efc fs/9p: Compare qid.path in v9fs_test_inode 2e349fe9c2bb fix a page leak in vhost_scsi_iov_to_sgl() error recovery c0697b079ae5 mfd: lpc_ich: Avoton/Rangeley uses SPI_BYT method 2ace5971b1c1 ASoC: sun8i-codec: Set the BCLK divider c7316d6679de ASoC: sun8i-codec: Fix left and right channels inversion 2eb91e439cdf ASoC: sun8i-codec: Invert Master / Slave condition 0a116d482fa8 ALSA: hda/realtek - Fix ALC700 family no sound issue 1505048e3ff8 ALSA: hda: Fix too short HDMI/DP chmap reporting 1a1f798bfb30 ALSA: timer: Remove kernel warning at compat ioctl error paths 1051d7755bda ALSA: usb-audio: Add sanity checks in v2 clock parsers 199cd7823763 ALSA: usb-audio: Fix potential out-of-bound access at parsing SU cf7d9d2b53dc ALSA: usb-audio: Add sanity checks to FE parser aba17bf44d13 ALSA: pcm: update tstamp only if audio_tstamp changed 29259072ec04 ext4: prevent data corruption with journaling + DAX 97da4f9039cb ext4: prevent data corruption with inline data + DAX 5ddf166442c3 ext4: fix interaction between i_size, fallocate, and delalloc after a crash 9ed0b612fb77 ata: fixes kernel crash while tracing ata_eh_link_autopsy event 9d238de93426 fsnotify: fix pinning group in fsnotify_prepare_user_wait() 5b981d854914 fsnotify: pin both inode and vfsmount mark 91b0d40827a2 fsnotify: clean up fsnotify_prepare/finish_user_wait() 99a127e4a587 md/bitmap: revert a patch b11cb870192e Bluetooth: btqcomsmd: Add support for BD address setup cd4c4ed7d2a0 md: don't check MD_SB_CHANGE_CLEAN in md_allow_write 96e829f152c7 rtlwifi: fix uninitialized rtlhal->last_suspend_sec time 7d43a23c6689 rtlwifi: rtl8192ee: Fix memory leak when loading firmware ef7cb0278073 nfsd: deal with revoked delegations appropriately b6996af90c58 NFS: revalidate "." etc correctly on "open". 76d4c8adb264 NFS: Avoid RCU usage in tracepoints 78e607a16574 nfs: Fix ugly referral attributes 43f950f570f7 NFS: Revert "NFS: Move the flock open mode check into nfs_flock()" 52e54c5dc1d3 NFS: Fix typo in nomigration mount option 930ac0de39d5 isofs: fix timestamps beyond 2027 70fb63a15260 fanotify: fix fsnotify_prepare_user_wait() failure 568131ebc640 bcache: check ca->alloc_thread initialized before wake up it 4739cc25fe6a libceph: don't WARN() if user tries to add invalid key f5e35be74237 eCryptfs: use after free in ecryptfs_release_messaging() 8fa715eede18 fscrypt: lock mutex before checking for bounce page pool e880aa103552 nilfs2: fix race condition that causes file system corruption 0eb9f2d0c80d autofs: fix careless error in recent commit 7724ca25f299 autofs: don't fail mount for transient error 020cd1b07344 rt2x00usb: mark device removed when get ENOENT usb error 728ec449a62c MIPS: math-emu: Fix final emulation phase for certain instructions e67e9e160afb MIPS: BCM47XX: Fix LED inversion for WRT54GSv1 b7fc80471672 MIPS: Fix an n32 core file generation regset support regression 695a30121f31 MIPS: dts: remove bogus bcm96358nb4ser.dtb from dtb-y entry 649b942f5f21 dm: discard support requires all targets in a table support discards 9a77250fe32f dm: fix race between dm_get_from_kobject() and __dm_destroy() 0f222c2c6239 MIPS: pci: Remove KERN_WARN instance inside the mt7620 driver badd13d39a0d dm: allocate struct mapped_device with kvzalloc 1ea71c17d132 ovl: Put upperdentry if ovl_check_origin() fails 20f908eac772 dm bufio: fix integer overflow when limiting maximum cache size 21e0f5780760 dm mpath: remove annoying message of 'blk_get_request() returned -11' 84370754991c dm crypt: allow unaligned bv_offset c27aa7e405c2 dm cache: fix race condition in the writeback mode overwrite_bio optimisation 463a9e155dab dm integrity: allow unaligned bv_offset fa7ebbb65fac ALSA: hda: Add Raven PCI ID 571d0222e808 PCI: Apply Cavium ThunderX ACS quirk to more Root Ports 86602f1c5aac PCI: Set Cavium ACS capability quirk flags to assert RR/CR/SV/UF fc037283c8a7 PCI/ASPM: Use correct capability pointer to program LTR_L1.2_THRESHOLD f56bf6a0bd36 PCI/ASPM: Account for downstream device's Port Common_Mode_Restore_Time 03a249b08df1 PM / OPP: Add missing of_node_put(np) 2c1211c2edc9 nbd: don't start req until after the dead connection logic 01d54a192605 nbd: wait uninterruptible for the dead timeout 7bc2c995f8db net: mvneta: fix handling of the Tx descriptor counter 504d2a22b3af MIPS: ralink: Fix typo in mt7628 pinmux function 2f51d995b2b7 MIPS: ralink: Fix MT7628 pinmux 55cc724a945f ARM: 8721/1: mm: dump: check hardware RO bit for LPAE 884c853ff37b ARM: 8722/1: mm: make STRICT_KERNEL_RWX effective for LPAE c6a032594344 arm64: Implement arch-specific pte_access_permitted() 8420a2afdea5 x86/entry/64: Fix entry_SYSCALL_64_after_hwframe() IRQ tracing 95f53ae99256 lib/mpi: call cond_resched() from mpi_powm() loop a5d620687584 sched: Make resched_cpu() unconditional 188ec06978ac serdev: fix registration of second slave 9a6630779ac1 cpufreq: schedutil: Reset cached_raw_freq when not in sync with next_freq 12da4fd9af22 ACPI / EC: Fix regression related to triggering source of EC event handling 1925155cbaf8 s390/disassembler: correct disassembly lines alignment 3bbfc892e348 s390/disassembler: increase show_code buffer size f2dd6d7f4453 s390/disassembler: add missing end marker for e7 table e4d2498802cf s390/guarded storage: fix possible memory corruption c1de5b04dff3 s390/runtime instrumention: fix possible memory corruption 1156f0d1e7b9 s390/noexec: execute kexec datamover without DAT 893ce3be12b7 s390: fix transactional execution control register handling e883dcdf2291 lguest: disable it vs. removing it. 40bda3ef7bfd x86/entry/64: Don't use IST entry for #BP stack 7414e2e34e6f kvm/x86: fix icebp instruction handling 32ec5903cbbe perf/hwbp: Simplify the perf-hwbp code, fix documentation cc46dc546e06 media: usbtv: prevent double free in error case ffe911e1acac ALSA: seq: Make ioctls race-free (From OE-Core rev: cd10e3be03a5c7c8c0e376c3e35fcba6d064a6db) (From OE-Core rev: ee5c22ca623f852bb57504df683d5009fe8bd92e) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.12: update to v4.12.22Bruce Ashfield2018-06-153-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Paul Gortmaker released another 4.12-stable that comprises the following changes: 23dcfbfbca0a Linux 4.12.22 d4879ce5efb7 arm64: Kill PSCI_GET_VERSION as a variant-2 workaround 77915e1a7544 arm64: Add ARM_SMCCC_ARCH_WORKAROUND_1 BP hardening support b06fbedb6e14 arm/arm64: smccc: Implement SMCCC v1.1 inline primitive 1f400b388a20 arm/arm64: smccc: Make function identifiers an unsigned quantity f5d3afa3aecc firmware/psci: Expose SMCCC version through psci_ops 4c69d3a66e60 firmware/psci: Expose PSCI conduit cfec930a45f8 arm64: KVM: Add SMCCC_ARCH_WORKAROUND_1 fast handling 9e9697733818 arm64: KVM: Report SMCCC_ARCH_WORKAROUND_1 BP hardening support 2a8574eb6e3f arm/arm64: KVM: Turn kvm_psci_version into a static inline 2c79f828dfed arm64: KVM: Make PSCI_VERSION a fast path 042626a87234 arm/arm64: KVM: Advertise SMCCC v1.1 48a9e563e528 arm/arm64: KVM: Implement PSCI 1.0 support 28283de68052 arm/arm64: KVM: Add smccc accessors to PSCI code 33d47367626b arm/arm64: KVM: Add PSCI_VERSION helper 82ca1dcebf95 arm/arm64: KVM: Consolidate the PSCI include files efb7c6b5b7f9 arm64: KVM: Increment PC after handling an SMC trap b720b7837ed8 arm64: Branch predictor hardening for Cavium ThunderX2 6f2750c7a1c9 arm64: Implement branch predictor hardening for Falkor b56fa11959a7 arm64: Implement branch predictor hardening for affected Cortex-A CPUs 5eb80f970c49 arm64: cputype: Add missing MIDR values for Cortex-A72 and Cortex-A75 cf45e77d8106 arm64: entry: Apply BP hardening for suspicious interrupts from EL0 e9c2f25bf62d arm64: entry: Apply BP hardening for high-priority synchronous exceptions b4f51ebd0fc3 arm64: KVM: Use per-CPU vector when BP hardening is enabled e8f7c5ba8c70 arm64: Move BP hardening to check_and_switch_context e2c124fa14e1 arm64: Add skeleton to harden the branch predictor against aliasing attacks ddd305f0fdf8 arm64: Move post_ttbr_update_workaround to C code 204d987e7143 drivers/firmware: Expose psci_get_version through psci_ops structure 8880e6380d91 arm64: cpufeature: Pass capability structure to ->enable callback 48017c15187b arm64: Run enable method for errata work arounds on late CPUs cf64258fb122 arm64: cpufeature: __this_cpu_has_cap() shouldn't stop early 7d550f8cb119 arm64: futex: Mask __user pointers prior to dereference b9d01590df34 arm64: uaccess: Mask __user pointers for __arch_{clear, copy_*}_user 1b74ca827ed3 arm64: uaccess: Don't bother eliding access_ok checks in __{get, put}_user 41b08b7c365b arm64: uaccess: Prevent speculative use of the current addr_limit 1736debe11ef arm64: entry: Ensure branch through syscall table is bounded under speculation 84e4780beea5 arm64: Use pointer masking to limit uaccess speculation d77d4c9aa433 arm64: Make USER_DS an inclusive limit b96ab81a6468 arm64: Implement array_index_mask_nospec() 21eb21937d8e arm64: barrier: Add CSDB macros to control data-value prediction da1217a79997 arm64: idmap: Use "awx" flags for .idmap.text .pushsection directives c20b48f5b7a3 arm64: entry: Reword comment about post_ttbr_update_workaround 15d4d37f7709 arm64: Force KPTI to be disabled on Cavium ThunderX 3489abd67e33 arm64: kpti: Add ->enable callback to remap swapper using nG mappings b154d9be8c6f arm64: mm: Permit transitioning from Global to Non-Global without BBM 1610bb019302 arm64: kpti: Make use of nG dependent on arm64_kernel_unmapped_at_el0() 250a3a64585f arm64: Turn on KPTI only on CPUs that need it 32da2aa26b97 arm64: cputype: Add MIDR values for Cavium ThunderX2 CPUs 93d290bbe8f1 arm64: kpti: Fix the interaction between ASID switching and software PAN 923618230c12 arm64: mm: Introduce TTBR_ASID_MASK for getting at the ASID in the TTBR 51218390beb6 arm64: capabilities: Handle duplicate entries for a capability 630cf7161fca arm64: Take into account ID_AA64PFR0_EL1.CSV3 4b7ebe5c3644 arm64: Kconfig: Reword UNMAP_KERNEL_AT_EL0 kconfig entry e09f32469091 arm64: Kconfig: Add CONFIG_UNMAP_KERNEL_AT_EL0 8202169d678a arm64: use RET instruction for exiting the trampoline 414d9eabda3d arm64: kaslr: Put kernel vectors address in separate data page fce92f180168 arm64: entry: Add fake CPU feature for unmapping the kernel at EL0 83584a583bff arm64: tls: Avoid unconditional zeroing of tpidrro_el0 for native tasks 4732b98b6400 arm64: cpu_errata: Add Kryo to Falkor 1003 errata 85dacaa58475 arm64: erratum: Work around Falkor erratum #E1003 in trampoline code bb0fa2f9cece arm64: entry: Hook up entry trampoline to exception vectors df7f7308d5f0 arm64: entry: Explicitly pass exception level to kernel_ventry macro 14bcc912ca7e arm64: mm: Map entry trampoline into trampoline and kernel page tables c30f47afaa64 arm64: entry: Add exception trampoline page for exceptions from EL0 21b891bf770f arm64: mm: Invalidate both kernel and user ASIDs when performing TLBI 09e8df92ba8e arm64: mm: Add arm64_kernel_unmapped_at_el0 helper 6832da386e60 arm64: mm: Allocate ASIDs in pairs bfd2ff25b585 arm64: mm: Fix and re-enable ARM64_SW_TTBR0_PAN 1e4477930e5e arm64: mm: Rename post_ttbr0_update_workaround 1e1890551573 arm64: mm: Remove pre_ttbr0_update_workaround for Falkor erratum #E1003 0223b2589432 arm64: mm: Move ASID from TTBR0 to TTBR1 9fe82f4ebdc3 arm64: mm: Temporarily disable ARM64_SW_TTBR0_PAN 199f832ebf00 arm64: mm: Use non-global mappings for kernel space e9b0e14af7e3 arm64: move TASK_* definitions to <asm/processor.h> cab5207f57fd brd: remove unused brd_mutex 7522521435a4 arm/syscalls: Optimize address limit check 797f169015c5 Revert "arm/syscalls: Check address limit on user-mode return" 3056c8f5be3a syscalls: Use CHECK_DATA_CORRUPTION for addr_limit_user_check 74116ef5625a arm64: add VMAP_STACK overflow detection 0d82fd80a2d1 arm64: add on_accessible_stack() c38502bc1472 arm64: add basic VMAP_STACK support c3a53247c1ff arm64: use an irq stack pointer 73dcb6d84040 arm64: assembler: allow adr_this_cpu to use the stack pointer 344a8e142697 arm64: factor out entry stack manipulation 59c4a6fb5606 efi/arm64: add EFI_KIMG_ALIGN 1a5300c6063f arm64: move SEGMENT_ALIGN to <asm/memory.h> 3969d302c52f arm64: clean up irq stack definitions f030f0edba48 arm64: clean up THREAD_* definitions 1f3c78245a4a arm64: factor out PAGE_* and CONT_* definitions 8a5bc40e0c93 arm64: kernel: remove {THREAD,IRQ_STACK}_START_SP deba543af0b8 fork: allow arch-override of VMAP stack alignment 774f64ce7b0f arm64: remove __die()'s stack dump 7342855775d5 arm64: unwind: remove sp from struct stackframe 553dbcbcff1d arm64: unwind: reference pt_regs via embedded stack frame 926b0fe43412 arm64: unwind: disregard frame.sp when validating frame pointer da32ad8b5c11 arm64: unwind: avoid percpu indirection for irq stack eac4e8ecdd77 arm64: move non-entry code out of .entry.text b341e176374e arm64: consistently use bl for C exception entry 3cdad1f0b9d0 arm64: Add ASM_BUG() 01ace65c9150 arm64/vdso: Support mremap() for vDSO 8050b6ba63cb arm64: Handle trapped DC CVAP 0ee09d69dc93 arm64: Expose DC CVAP to userspace 704046e3e554 arm64: Convert __inval_cache_range() to area-based b40935f19c73 arm64: mm: Fix set_memory_valid() declaration 29530b5b549e arm64: Abstract syscallno manipulation f9f1c9d7d767 arm64: syscallno is secretly an int, make it official ab69949ffe23 x86/tracing: Build tracepoints only when they are used 03793940e25c x86/tracing: Disentangle pagefault and resched IPI tracing key 2822852ed8a5 x86/idt: Clean up the i386 low level entry macros d5654eb18f73 x86/idt: Remove the tracing IDT completely 0d38071a05e7 x86/smp: Use static key for reschedule interrupt tracing 4ef6e0f37891 x86/smp: Remove pointless duplicated interrupt code 40b216cec86d x86/mce: Remove duplicated tracing interrupt code 03f41cf538fd x86/irqwork: Get rid of duplicated tracing interrupt code 418b9a493901 x86/apic: Remove the duplicated tracing versions of interrupts 5be95f8dfffe x86/irq: Get rid of duplicated trace_x86_platform_ipi() code bd936c5d828a x86/apic: Remove the duplicated tracing version of local_timer_interrupt() f4971407abbb x86/traps: Simplify pagefault tracing logic 2f436623b2c3 x86/tracing: Introduce a static key for exception tracing 4395735bf0a9 arm64/syscalls: Check address limit on user-mode return 3e1d12839e05 arm/syscalls: Check address limit on user-mode return 649cd48799ef x86/syscalls: Check address limit on user-mode return 8fe35f321cd3 audit: fix memleak in auditd_send_unicast_skb. 4b1e889a4dd0 arm64: ptrace: Flush user-RW TLS reg to thread_struct before reading 75a382c72d50 arm64: Add dump_backtrace() in show_regs (From OE-Core rev: 9edeb4733e4a49d11febadc0e282c68c05e39575) (From OE-Core rev: 87b88590ec4f9fce8a9d1bcc56631f17abd137f0) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to rocko head revisionyocto-2.4.3rocko-18.0.3Richard Purdie2018-05-231-1/+1
| | | | | | (From OE-Core rev: 0d70ca998b3bdc18db6a5644f4ed8797fd0e7ddd) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libnl: fix CVE-2017-0553Andre McCurdy2018-05-232-0/+45
| | | | | | | | | | | | | | | | | | | | | | | An elevation of privilege vulnerability in libnl could enable a local malicious application to execute arbitrary code within the context of the Wi-Fi service. This issue is rated as Moderate because it first requires compromising a privileged process and is mitigated by current platform configurations. Product: Android. Versions: 5.0.2, 5.1.1, 6.0, 6.0.1, 7.0, 7.1.1. Android ID: A-32342065. NOTE: this issue also exists in the upstream libnl before 3.3.0 library. https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-0553 Backport fix from upstream libnl 3.3.0 release: https://github.com/thom311/libnl/commit/3e18948f17148e6a3c4255bdeaaf01ef6081ceeb http://lists.infradead.org/pipermail/libnl/2017-May/002313.html (From OE-Core rev: f452fbc5d2ffb9c1417079574bed0dfcdc44787a) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: Abstract out termlibKhem Raj2018-05-231-1/+2
| | | | | | | | | | | | | | | | termlib needs to be disabled on some targets e.g. mingw this change paves the way for doing that. Functionally it does not change anything for other platforms (From OE-Core rev: 88f33e1e5ba4f85093f60a296cba3ee1c1341c43) (From OE-Core rev: 82fc84b059367917690336d279cd8cab679d63ed) Signed-off-by: Khem Raj <raj.khem@gmail.com> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: fix deletion of /usr/lib/terminfoKoen Kooi2018-05-231-1/+4
| | | | | | | | | | | | | | Ncurses doesn't honour ${libdir} for terminfo, so try more options to remove it. (From OE-Core rev: 17fd322e925cf492b22c75e296d5fee31e3511db) (From OE-Core rev: 3d07d4a1e8a7324437e2f37ffcafbb032a086008) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: fix do_install failure when base_libdir has more than one levelKoen Kooi2018-05-231-1/+1
| | | | | | | | | | | | | | Other sections of the .inc already use mkdir -p, so use it here as well. (From OE-Core rev: 62434e5021b99391a0c129a40bf943465a19e7ce) (From OE-Core rev: f7538ee974d5bb07be193a3c8e31a05087bcc990) Signed-off-by: Koen Kooi <koen.kooi@linaro.org> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ncurses: 6.0+20170715 -> 6.0+20171125Hongxu Jia2018-05-232-543/+1
| | | | | | | | | | | | | | | | | | | | - Drop backported CVE fix includes cves: CVE-2017-10684 CVE-2017-10685 CVE-2017-11112 CVE-2017-11113 (From OE-Core rev: 382e861b8c89c65b3538c706361767eff78d4a5a) (From OE-Core rev: 6e7b9c78aca121301e9c92ed9cdb65f1a7613ee0) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.py: use single quotes for path passed to file in is_elf()Andre McCurdy2018-05-081-2/+1
| | | | | | | | | | | | | | Align package.py is_elf() with recent changes in package.bbclass isELF(): http://git.openembedded.org/openembedded-core/commit/?id=7877761534b0c2492da6289e9f2269d41b6ed464 (From OE-Core rev: 5fcb57ffd67384b3487d0a1b83a1f13d52a15eb7) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit ab056c7f6065f310be4dd256ceb45f85ff981f69) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Add '-b' option to file call in isELFMark Hatle2018-05-082-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The isELF function works by running: result = file <pathname> if 'ELF' in result By default 'file' will prepend the result with the path name of the file that is being checked. This usually works fine, such as: $ file /home/foo/openembedded-core/meta/classes/package.bbclass /home/foo/openembedded-core/meta/classes/package.bbclass: Python script, ASCII text executable, with very long lines However, if the path includes 'ELF', ELF will end up in the result, and then the check will return positive. $ file /home/ELF/openembedded-core/meta/classes/package.bbclass /home/ELF/openembedded-core/meta/classes/package.bbclass: Python script, ASCII text executable, with very long lines This will then result in the isELF coming back true, and possibly causing the checks that use isELF, such as the 'is it already stripped' check, to do the incorrect thing. Adding the '-b' option to file will result in the path being omitted in the result: $ file /home/ELF/openembedded-core/meta/classes/package.bbclass Python script, ASCII text executable, with very long lines (From OE-Core rev: b6d5729a0f0e6f2c8b36d425a18e9e2ed26f5de0) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 5a324e9b2cf6378f8eaa4e394f9cb36d4e2680ac) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: use single quotes for path passed to file in isELF()Andre McCurdy2018-05-081-1/+1
| | | | | | | | | | | | | | | | | | | Apparently there are recipes in the wild which generate files with filenames containing '$' characters - which cause errors during packaging. Instead of adding another special case to escape '$' characters when constructing the command passed to oe.utils.getstatusoutput(), switch to using single quotes to quote the path - and therefore make isELF() consistent with the way filenames and paths are quoted by every other caller of oe.utils.getstatusoutput() in oe-core. (From OE-Core rev: 080f0ee910684beb8bc263d5a45d3aa39b6ee647) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 7877761534b0c2492da6289e9f2269d41b6ed464) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "package.bbclass: Add '-b' option to file call in isELF"Andre McCurdy2018-05-082-2/+2
| | | | | | | | | | | | | | | | This reverts commit 46ddc11a8be79515b4ab9f9f7568c3d624ac72fe. The change is good in master but became subtly broken during the backport to rocko. Either the path passed to file should be quoted using double quotes (with any " chars in the path being escaped) or the path should be quoted using single quotes (and then any " chars in the path should NOT be escaped). Escaping " chars and using single quotes will cause problems for filenames containing " chars. (From OE-Core rev: 534a4e6775e5b4030619b20ae1f6a319adadccf5) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: Update to 2.4.4Armin Kuster2018-05-071-2/+2
| | | | | | | | | | | | | | | | | | | | The dot releases are maint only. 2.4.4 included: CVE-2017-17742: HTTP response splitting in WEBrick CVE-2018-6914: Unintentional file and directory creation with directory traversal in tempfile and tmpdir CVE-2018-8777: DoS by large request in WEBrick CVE-2018-8778: Buffer under-read in String#unpack CVE-2018-8779: Unintentional socket creation by poisoned NUL byte in UNIXServer and UNIXSocket CVE-2018-8780: Unintentional directory traversal by poisoned NUL byte in Dir 2.4.3 includes: CVE-2017-17405: Command injection vulnerability in Net::FTP (From OE-Core rev: 7003a36ef3f686af97798ff6f4bc7b3473f937de) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: fix typo in gmp PACKAGECONFIG optionAndre McCurdy2018-05-071-1/+1
| | | | | | | | | | | | (From OE-Core rev: 9fb931b69ece7f8a644f9e25600bcbbc9266a761) (From OE-Core rev: 02fe324eb6913b27961e8e30c5510c89733dd011) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: remove spurious db build dependencyRoss Burton2018-05-071-1/+1
| | | | | | | | | | | | | The dbm module uses gdbm by default which is also a build dependency. (From OE-Core rev: 79121ff54420e5cc331552ca5620aed81a36aac9) (From OE-Core rev: f18fe9f116bd6697ded5d93eeccdfea7c3215d7b) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ruby: upgrade to 2.4.2Leonardo Sandoval2018-05-072-90/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | The CVE-2017-14064 patch is already at 2.4.2 as explained on project's commit, so removing from the recipe & repo. commit 83735ba29a0bfdaffa8e9c2a1dc025c3b0b63153 Author: hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> Date: Wed Apr 12 00:21:18 2017 +0000 Merge json-2.0.4. * https://github.com/flori/json/releases/tag/v2.0.4 * https://github.com/flori/json/blob/09fabeb03e73ed88dc8ce8f19d76ac59e51dae20/CHANGES.md#2017-03-23-204 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@58323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e (From OE-Core rev: 6e37a88af155d5e5453fb0f44bb11d6f8e406438) (From OE-Core rev: 59fed1c288bc8d5549fffccedcc24ae9f4f32dac) Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* grub/grub-efi: fix conflictHongxu Jia2018-05-073-13/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While installing grub and grub-efi, there are conflict files in ${sysconfdir} ${datadir} ${bindir} ${sbindir}. - Since all of the conflicted files are tools which is common for grub and grub-efi, we split them (except grub-editenv) to grub-common in grub. - The package grub-common runtime depends grub-editenv - The package grub-editenv runtime provides grub-efi-editenv - Remove SYSROOT_DIRS_BLACKLIST - The recipe grub-efi does not generate the duplicated files and use runtime depends grub-common to instead Debian and Fedora do the similar thing. Debian use a common package grub-common for both of pc bios and efi, and use package grub-pc-bin for pc bios, grub-efi-amd64-bin for efi. Both of grub-pc-bin and grub-efi-amd64-bin requires grub-common. https://packages.debian.org/sid/grub-common https://packages.debian.org/jessie/grub-pc-bin https://packages.debian.org/jessie/grub-efi-amd64-bin Fedora use a common package grub2-tools for both of pc bios and efi, and use package grub2 for pc bios, grub2-efi-modules for efi. Both of grub2 and grub2-efi-modules requires grub2-tools. https://www.rpmfind.net/linux/RPM/fedora/devel/rawhide/x86_64/g/grub2-tools-2.02-0.34.fc24.x86_64.html https://www.rpmfind.net/linux/RPM/fedora/devel/rawhide/x86_64/g/grub2-2.02-0.34.fc24.x86_64.html https://www.rpmfind.net/linux/RPM/fedora/devel/rawhide/x86_64/g/grub2-efi-modules-2.02-0.34.fc24.x86_64.html [YOCTO #11639] (From OE-Core rev: 60c360c0561f1ff5ff2135c4557f5992f9485617) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "waf.bbclass: explicitly pass bindir and libdir if supported"Martin Jansa2018-05-071-16/+1
| | | | | | | | | | | | | | | * this doesn't work correctly as discussed in: http://lists.openembedded.org/pipermail/openembedded-commits/2018-January/218460.html * some of the issues were fixed in master since then but not all, so revert it until it's completely resolved This reverts commit eac21f981337bfaddb2d67161a1ff049158041ce. (From OE-Core rev: 74c26c2f63121d92d50b0cca4d3288b8d196b777) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: Security fix CVE-2017-12883Armin Kuster2018-05-032-0/+45
| | | | | | | | | Affects: Perl < 5.24.3-rc1 and 5.26.x before 5.26.1-RC1 (From OE-Core rev: d20917f3ce9ac45fb9562d1cabf7ddc212b1d07a) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: add patch to solve libcrypt incompatibilityCharles-Antoine Couret2018-05-033-0/+30
| | | | | | | | | | | | | Add Perl's patch submitted to upstream to be compiled along with glibc with libcrypt split. (From OE-Core rev: 79703d83790a2973fefdb0e12e125b5f17e98cdf) (From OE-Core rev: 53eef48621b19a1b88c042f9ee5eeb84d9746c64) Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@essensium.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rsync: update to 3.1.3Yi Zhao2018-05-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | (From OE-Core rev: ded47001bec3fbbcbcdbe358a32c14ed0322d431) Updating is safer than backporting the CVE fixes. Included CVE: CVE-2017-16548 CVE-2017-15994 CVE-2017-17434 CVE-2017-17434 CVE-2018-5764 plus many bugfixes (From OE-Core rev: 3f244c68defd45d89107ff58a95c8d4462faeaed) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* mpfr: Update SRC_URI to use gnuArmin Kuster2018-05-031-1/+1
| | | | | | | | | | | | ERROR: mpfr-native-3.1.5-r0 do_checkuri: Fetcher failure for URL: 'http://www.mpfr.org/mpfr-3.1.5/mpfr-3.1.5.tar.xz'. URL http://www.mpfr.org/mpfr-3.1.5/mpfr-3.1.5.tar.xz doesn't work ERROR: mpfr-native-3.1.5-r0 do_checkuri: Function failed: do_checkuri Found gnu has the same copy (From OE-Core rev: ee3de1e4963ae56515be3a56b473f25ace286511) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uninative: Set the dynamic linker to use at compile timeRichard Purdie2018-05-031-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | Its possible some dynamic runtime library in the dependency chain may come from sstate and link to libraries which need the libc from uninative. If we don't do this and binaries are run at do_install time they would fail to find the symbols from the later libc. Examples: cmake-native do_install: bin/cmake: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by TOPDIR/tmp/work/x86_64-linux/cmake-native/3.10.3-r0/recipe-sysroot-native/usr/lib/libexpat.so.1) dbus-native do_install: tmp/work/x86_64-linux/dbus-native/1.12.2-r0/build/bus/.libs/lt-dbus-daemon: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x32/build/build/tmp/work/x86_64-linux/dbus-native/1.12.2-r0/recipe-sysroot-native/usr/lib/libexpat.so.1) This issue is resolved when the interpreter is changed at sstate unpack time but this isn't soon enough to avoid issues at compile/install time. By specifing which dynamic linker/loader to use at compile time, this race window is removed entirely. (From OE-Core rev: 35867ee035030ab76fc9ccdb0eb1c3f80126301c) (From OE-Core rev: cead3c4925d39f8adc328007d8a8c1b23cc72842) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* uninative: Add allow-shlib-undefined to BUILD_LDFLAGS and drop other workaroundsRichard Purdie2018-05-036-48/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We have a problem when for example, a glibc 2.27 based system builds some library like libpopt-native and puts it into sstate then it is reused on a pre glibc-2.27 system to build something which depends on popt like rpm-native. This results in an error like: recipe-sysroot-native/usr/lib/libpopt.so: undefined reference to `glob@GLIBC_2.27' In the past we've had this problem with new symbols like getrandom and getentropy, here its with a more complex symbol where there is an old version and a newer version. We've looked into various options, basically we cannot link against our uninative libc/ld.so since we don't have the right headers or compiler link libraries. The compiler doesn't allow you to switch in a new set either, even if we did want to ship them. Shipping a complete compiler, dev headers and libs also isn't an option. On the other hand if we follow the ld man page, it does say: """ The reasons for allowing undefined symbol references in shared libraries specified at link time are that: - A shared library specified at link time may not be the same as the one that is available at load time, so the symbol might actually be resolvable at load time. """ which is exactly this case. By the time the binary runs, it will use our uninative loader and libc and the symbol will be available. Therefore we basically have a choice, we get weird intermittent bugs, we drop uninative entirely, or we pass this option. If we pass the option, we can drop the other workarounds too. (From OE-Core rev: 75a62ede393bf6b4972390ef5290d50add19341a) (From OE-Core rev: d18bf7fa8e80d6cfaf3fdbe1ab06eec84b954432) (From OE-Core rev: 4545f5436a5a106154680825ecb1cb60437faa91) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Clean up for Rocko context] Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake.conf: Set and export TZ envvar to UTCRichard Purdie2018-05-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We just ran into an issue where tar failed to build on one server setup but built everywhere else just fine. It was running makeinfo to regenerate some docs files and makeinfo was too old for the host it was running on. There was no dependency on makeinfo-native as it was not meant to be regenerating the docs. It was being regenerated as a date from a timestamp used in the docs was different in Asian timezones than in the other timezones our builds were being tested in. I added an entry to https://wiki.yoctoproject.org/wiki/TipsAndTricks/ about how this was debugged. As such, lets default to setting and exporting TZ to 'UTC' as was already pioneered by the reproducibile builds work. This makes the builds deterministic. [YOCTO #12665] (From OE-Core rev: 2a90ae7a3286724ff9e3615c4dbf56038f703810) (From OE-Core rev: e31f31f81efe4b60938b724bece2a03c7c74a68d) (From OE-Core rev: 2c72aa56e6065100582cb17f281c4c11521712e6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Drop simple.bbclass changes] Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-uninative: Update to version 1.9 (fedora28 compatible)Richard Purdie2018-05-031-3/+3
| | | | | | | | | | | | | | This includes the libxcrypt change which allows uninative to work on fedora28. (From OE-Core rev: 4b27ab6487a54b42a52aa16e98ea4d19fa62b5ae) (From OE-Core rev: 0685eb697f1dfa3b858b6e594cbd8e6070b4fbb8) (From OE-Core rev: 2b462bdc2b9bad40425769ece380e46b52cca095) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package.bbclass: Add '-b' option to file call in isELFMark Hatle2018-05-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The isELF function works by running: result = file <pathname> if 'ELF' in result By default 'file' will prepend the result with the path name of the file that is being checked. This usually works fine, such as: $ file /home/foo/openembedded-core/meta/classes/package.bbclass /home/foo/openembedded-core/meta/classes/package.bbclass: Python script, ASCII text executable, with very long lines However, if the path includes 'ELF', ELF will end up in the result, and then the check will return positive. $ file /home/ELF/openembedded-core/meta/classes/package.bbclass /home/ELF/openembedded-core/meta/classes/package.bbclass: Python script, ASCII text executable, with very long lines This will then result in the isELF coming back true, and possibly causing the checks that use isELF, such as the 'is it already stripped' check, to do the incorrect thing. Adding the '-b' option to file will result in the path being omitted in the result: $ file /home/ELF/openembedded-core/meta/classes/package.bbclass Python script, ASCII text executable, with very long lines (From OE-Core rev: 5a324e9b2cf6378f8eaa4e394f9cb36d4e2680ac) (From OE-Core rev: 46ddc11a8be79515b4ab9f9f7568c3d624ac72fe) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [fixup for Rocko] Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch: fix CVE-2018-1000156Jackie Huang2018-05-033-0/+255
| | | | | | | | | | | | | | | | | | | | | | | * CVE detail: https://nvd.nist.gov/vuln/detail/CVE-2018-1000156 * upstream tracking: https://savannah.gnu.org/bugs/index.php?53566 * Fix arbitrary command execution in ed-style patches: - src/pch.c (do_ed_script): Write ed script to a temporary file instead of piping it to ed: this will cause ed to abort on invalid commands instead of rejecting them and carrying on. - tests/ed-style: New test case. - tests/Makefile.am (TESTS): Add test case. (From OE-Core rev: 6b6ae212837a07aaefd2b675b5b527fbce2a4270) (From OE-Core rev: 413c54e0698589b17976e88fa7ab76e5dbac51aa) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* patch: fix CVE-2018-6951Jackie Huang2018-05-032-1/+38
| | | | | | | | | | | | | | | | | | | | * CVE detail: https://nvd.nist.gov/vuln/detail/CVE-2018-6951 * upstream tracking: http://savannah.gnu.org/bugs/?53132 * Fix segfault with mangled rename patch - src/pch.c (intuit_diff_type): Ensure that two filenames are specified for renames and copies (fix the existing check). (From OE-Core rev: cdf74e1c67698b2d44a7460ff7d365d6da7b7b96) (From OE-Core rev: e628af83e8d00ed3e3db318b323a9f5e48d35aae) Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>