summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* kernel, license, sstate, rootfs.py: Remove deploy directory READMEMike Crowe2017-08-295-17/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | It isn't clear that the README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt file in the deploy directory warrants the complexity it brings elsewhere. Let's just remove it entirely. In particular, if two do_image_complete tasks run in parallel they risk both trying to put their image into ${DEPLOY_DIR_IMAGE} at the same time. Both will contain a README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt file. In theory this should be safe because "cp -alf" will just cause one to overwrite the other. Unfortunately, coreutils cp also has a race[1] which means that if one copy creates the file at just the wrong point the other will fail with: cp: cannot create hard link ‘..../tmp-glibc/deploy/images/pantera/README_-_DO_NOT_DELETE_FILES_IN_THIS_D.txt’ to +‘..../tmp-glibc/work/rage_against-oe-linux-gnueabi/my-own-image/1.0-r0/deploy-my-own-image-complete/README_-_DO_NOT_DELETE_FILES_IN_THIS_DIRECTORY.txt’: File exists [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=25680 (From OE-Core rev: 71e9e88847d7000781642ea6187ebd8f40dfdcfe) (From OE-Core rev: 20c39fdbb25c1b1867709c5bfb3ae2baef249be9) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* insane.bbclass: fix override handling in RDEPENDS QAGan Yau Wai2017-08-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | The package_qa_check_rdepends() in insane.bbclass has incorrectly replace its localdata OVERRIDES value with the package name. Fixing it by appending the package name to the existing OVERRIDES value. This resolves RDEPENDS QA error when setting PACKAGECONFIG using a pn- override at local.conf. Cherry picked from master 60d28dd72daee235150ab6605cbf953f1ea691df and modified to work with older bitbake where 2nd parameter in localdata.getVar was mandatory. [YOCTO #11374] (From OE-Core rev: 15fabf4d6507d2a3f9b98ad56e822eba35950662) Signed-off-by: Gan Yau Wai <yau.wai.gan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> 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>
* icecc.bbclass: prevent nativesdk builds depending on target specific KERNEL_CCMartin Jansa2017-08-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | * without this we cause nativesdk-linux-libc-headers to depend on target specific KERNEL_CC (through icecc_get_tool -> icecc_is_kernel -> KERNEL_CC -> HOST_CC_KERNEL_ARCH -> TARGET_CC_KERNEL_ARCH -> TUNE_FEATURES(thumb) as shown by bitbake-diffsigs: OE qemux86@ ~/build/oe-core $ ls /OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemu*/*sdk*/*/*do_configure.sigdata* /OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemuarm/x86_64-nativesdk-oesdk-linux/nativesdk-linux-libc-headers/4.10-r0.do_configure.sigdata.3a9a423878d56524e0ee8e42eba1804f /OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemux86/x86_64-nativesdk-oesdk-linux/nativesdk-linux-libc-headers/4.10-r0.do_configure.sigdata.401071dbaa88903ece37d35a47965ff2 OE qemux86@ ~/build/oe-core $ bitbake-diffsigs /OE/build/oe-core/tmp-glibc/sstate-diff/1499859497/qemu*/*sdk*/*/*do_configure.sigdata* basehash changed from 39774238b66763c598153132e87a2c1a to aa2d66e770bf533e312536eb0a401c4c Variable TARGET_CC_KERNEL_ARCH value changed from '${@bb.utils.contains('TUNE_FEATURES', 'thumb', '-mno-thumb-interwork-marm', '', d)} TUNE_FEATURES{thumb} = Set' to '' (From OE-Core rev: 6aa5dcc472e6be971a4cef06aab5c1c125367eca) 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>
* sstate-sysroot-cruft: Add /etc/ld.so.conf to whitelistMartin Jansa2017-08-291-0/+12
| | | | | | | | | | | | * it reports at least 2 issues in every build (this file in native and target sysroot) add it to whitelist (From OE-Core rev: f15f98c2da473a2597e5178058e4855b5d5ac5ec) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* test-dependencies.sh: Strip also '\.bb: .*' before adding failed recipe to ↵Martin Jansa2017-08-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | list of failed * format of bitbake tasks changed in: 2c88afb taskdata/runqueue: Rewrite without use of ID indirection -ERROR: Task 4 (/OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb, do_fetch) failed with exit code '1' +ERROR: Task /OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb:do_fetch (/OE/build/oe-core/openembedded-core/meta/recipes-devtools/rpm/sftp.bb:do_fetch) failed with exit code '1' so strip not only '\.bb, .*' used before, but also '\.bb:.*' to drop the task name to get recipe name. * for more details see: http://lists.openembedded.org/pipermail/openembedded-core/2016-June/123132.html * without this change you can see test-dependencies.sh trying to rebuild packages like: Building recipe: fbprogress (6/21) Building recipe: fbprogress.bb:do (7/21) where the later of course doesn't exist as a recipe (From OE-Core rev: 1cea8997f7ce2d6a137d3648b4942a27e2c6e62e) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image: Fix "metadata is not deterministic" when chaining 2+ CONVERSION_CMDsTom Rini2017-08-291-1/+1
| | | | | | | | | | | | | | | | | | When we have more than one CONVERSION_CMD being used, for example ext4.gz.sha256sum we will see errors about "metadata is not deterministic". This is because we do not have a stable order of intermediate files that will be removed in the generated shell command. We fix this by calling sorted() on the set of rm_tmp_images so that we will have a stable hash again. Cc: Patrick Ohly <patrick.ohly@intel.com> (From OE-Core rev: a786b59a42e6b49229e2e0633728fd7b268438a9) Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 98a2afeb3a53bec7a72a4a9846e1dba636cc6f3d) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image.bbclass: Correct chaining compression supportTom Rini2017-08-292-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | When chaining of compression/conversion types was added, we had a new way to handle doing things like "ext4.bz2.sha256sum" or "ext2.gz.u-boot". However, because the U-Boot image class isn't included normally, it wasn't properly converted at the time. After the support was added the "clean" argument that the .u-boot code uses no longer functions. The fix for this inadvertently broke chaining compression/conversion. First, correct the u-boot conversion code. Fixes: 46bc438374de ("image.bbclass: do exact match for rootfs type") Cc: Zhenhua Luo <zhenhua.luo@nxp.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Cc: Patrick Ohly <patrick.ohly@intel.com> (From OE-Core rev: e1546856890a438b5ea3763af3cdc13db8e8f236) Signed-off-by: Tom Rini <trini@konsulko.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0a7ce0b971a208956cb895ba5a869ec8c5d94703) excluded lz4 and lzo chnages Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: refuse to load units with errors (CVE-2017-1000082)Ross Burton2017-08-292-0/+857
| | | | | | | | | | | | | | If a unit has a statement such as User=0day where the username exists but is strictly speaking invalid, the unit will be started as the root user instead. Backport a patch from upstream to mitigate this by refusing to start units such as this. (From OE-Core rev: e56cb926c170f493ee2a9c4c63d0ecbf883d4685) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: remove upstreamed patchRoss Burton2017-08-292-28/+0
| | | | | | | | | | The addition of missing.h to user-utils.c was done in v230 with 0b6b45d5. (From OE-Core rev: b9e5a58f64e45be37b9532b20bf22d91257abbd6) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* archiver: Escape recipe name in regexJoshua Watt2017-08-291-2/+2
| | | | | | | | | | | | The recipe name needs to be escaped when using it in a regular expression so that and special characters are treated literally (From OE-Core rev: a26d12e43059fe37c843d3ff9480ead2e796e21f) Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libpng12: move SRC_URI back to SOURCEFORGE_MIRRORMaxin John2017-08-291-1/+5
| | | | | | | | | | | | | | Since GENTOO_MIRROR removes older binaries, move back to SOURCEFORGE_MIRROR. Also provide a MIRROR to "older-releases" directory. [YOCTO #11556] (From OE-Core rev: 2340d0d244ea8eb3568d6ce06dd751bedf93eb1e) Signed-off-by: Maxin B. John <maxin.john@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd: Disable DefaultDependencies for sysv scripts on rcS runlevelNikolay Merinov2017-08-291-4/+14
| | | | | | | | | | | | | | | | | | | systemd-sysv-generator translate sysv services on rcS runlevel to services that starts before sysinit.target. This behavour conflict with default dependency on same tartget. String that define "DefaultDependency=no" was lost from patch for sysv generator during porting patches to systemd 229 in commit 64ab17b707dc431aaed880d6d8615971243f46f8. Current commit returns changes required for services that work on rcS runlevel. (From OE-Core rev: 5c0a87c94ab086514039f2f8d0e9b06daa2179a7) Signed-off-by: Nikolay Merinov <n.merinov@inango-systems.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsof: update SRC_URIAndre McCurdy2017-08-291-3/+6
| | | | | | | | | | | | | | | | | | | | Upstream lsof releases are hosted on an ftp server which times out download attempts from hosts for which it can not perform a DNS reverse-lookup. See: https://people.freebsd.org/~abe/ http://www.mirrorservice.org seems to be the most commonly used alternative (and using it for SRC_URI allows the custom UPSTREAM_CHECK_URI to be removed). (From OE-Core rev: ac31b1b2eaa22d32c5c3e7dcb6fa4f66303123e0) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 4e718242c1554021689a7946add055b22b81ec42) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsof: minor recipe cleanupAndre McCurdy2017-08-291-7/+8
| | | | | | | | | | | | | | | - Add HOMEPAGE - Remove ${S} from LIC_FILES_CHKSUM path - Use tabs consistently to indent do_configure() - Re-order LIC_FILES_CHKSUM definition to follow OE style guide (From OE-Core rev: 4304ea26b7d4cd9d83b7f3414165e9399b640c73) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 78701c5b873605240226c502de3b940097433596) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lsof: clear setuidKai Kang2017-08-291-1/+1
| | | | | | | | | | | | | | Having 'lsof' as a +s (setuid) binary could lead to security issues if a compromise in the binary is found. It is better that it be -s by default as a precaution. (From OE-Core rev: 4ea593aed96129c58e6bc24df71334c2a2bccff0) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 346c65dd6855106069d1861ca965d3121eb084d1) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ed: update SRC_URI to OSLArmin Kuster2017-08-291-1/+1
| | | | | | | | | | | ERROR: ed-1.9-r0 do_checkuri: Function failed: do_checkuri [Yocto # 11798] (From OE-Core rev: 643979162fa7f0329ed9d01c4b1c7f142e2cae0e) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rng-tools: update SRC_URI to SOURCEFORGE_MIRRORArmin Kuster2017-08-291-1/+1
| | | | | | | | | | | | | fixes: k ERROR: rng-tools-5-r0 do_checkuri: Function failed: do_checkuri [Yocto # 11799] (From OE-Core rev: df65f494bdb480b24d663c8e8f22c70e1ce8a3ea) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pcre: update SRC_URI to SOURCEFORGE_MIRRORArmin Kuster2017-08-291-1/+3
| | | | | | | | | | | ERROR: libpcre-8.39-r0 do_checkuri: Function failed: do_checkuri [Yocto # 11796] (From OE-Core rev: 3fd12a06fabcdcac0ef40ca71eb694ac988e6cd7) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: fix pthread_cond_broadcast issue (arm)Catalin Enache2017-08-297-0/+10786
| | | | | | | | | | | | | | | | | | | | | | | | | pthread_mutex functions such as pthread_cond_wait(), pthread_mutex_unlock() return errors after PTHREAD_PRIO_INHERIT is enabled Reference: https://sourceware.org/bugzilla/show_bug.cgi?id=18463 Upstream patches: https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=f0e3925bf3b8df6940c3346db17e42615979d458 https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=13cb8f76da9d9420330796f469dbf10643ba5b12 https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=23b5cae1af04f2d912910fdaf73cb482265798c1 https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=ed19993b5b0d05d62cc883571519a67dae481a14 https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=2e4cf778972573221e9b87fd992844ea9b67b9bf https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=abff18c0c6055ca5d1cd46923fd1205c057139a5 This issue is Morty specific (glibc 2.24). The issue is no longer present in glibc 2.25 (master branch). (From OE-Core rev: 6dc1f1c3cc871d00ecd59d5aeeef86b7e6965750) Signed-off-by: Catalin Enache <catalin.enache@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: fix calculation of partition numberEd Bartosh2017-08-291-1/+1
| | | | | | | | | | | | | | | | Total number of partitions should be taken into account when calculating real partition number for msdos partition table. The number can be different for the 4th partition: it can be 4 if there are 4 partitions in the table and 5 if there are more than 4 partitions in the table. In the latter case number 4 is occupied by extended partition. [YOCTO #11790] (From OE-Core rev: a1d18c00b8c9ce800a5147eaa71372083b8ae91e) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* docbook-utils: update SRC_URI from fedora to oslArmin Kuster2017-08-291-1/+1
| | | | | | | | | WARNING: docbook-utils-native-0.6.14-r3 do_fetch: Failed to fetch URL ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/docbook-utils-0.6.14.tar.gz, attempting MIRRORS if available (From OE-Core rev: ef47f682034f591c90572c082a753787aa1a8b9c) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sgml-common: update SRC_URI from fedora to OSLArmin Kuster2017-08-291-1/+1
| | | | | | | | | WARNING: sgml-common-native-0.6.3-r1 do_fetch: Failed to fetch URL ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/sgml-common-0.6.3.tgz, attempting MIRRORS if available (From OE-Core rev: cdb32a75b935985e5e86184d97b5a05c8f3ff21a) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* glibc: Security fix CVE-2016-6323Armin Kuster2017-08-292-0/+40
| | | | | | | | | | | | arm: mark __startcontext as .cantunwind, GNU CVE: CVE-2016-6323 (From OE-Core rev: e80d454711f67a9a3a2a43bb7d9ff911c4664a84) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* automake: Backport perl 5.22 fixMarek Vasut2017-08-292-1/+35
| | | | | | | | | | | | | | | | Backport 13f00eb4493c "automake: port to Perl 5.22 and later" from automake upstream to fix build with perl 5.22 . (From OE-Core rev: 7fa044e799db651d45e4732e2527acfc2bc7cd47) (From OE-Core rev: 139d15f4af282eeef0a7f368eef518f400a4471a) Signed-off-by: Marek Vasut <marex@denx.de> Cc: Ross Burton <ross.burton@intel.com> Cc: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Cody P Schafer <dev@codyps.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* GNU_MIRROR: switch from ftp to httpsMaxin B. John2017-08-291-1/+1
| | | | | | | | | | | | | | Based on the same reason behind DEBIAN's switch from ftp: https://www.debian.org/News/2017/20170425 (From OE-Core rev: ba119d836c0f4b20a39c92fa2e64abb0d5a55ad4) (From OE-Core rev: 16a43d53533dcc9bb6fca141b2a66cff648df0d2) Signed-off-by: Maxin B. John <maxin.john@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>
* DEBIAN_MIRROR: switch from ftp to httpMaxin B. John2017-08-292-19/+19
| | | | | | | | | | | | | | | | | | All public-facing debian.org FTP services will be shut down on November 1, 2017 The mirrors should just be accessed using HTTP instead. https://www.debian.org/News/2017/20170425 Fixes [YOCTO #11413] (From OE-Core rev: c2cdc4d9155d7a3b9cba60fa9cbb448cf64c62bd) (From OE-Core rev: 04790a0d9ddc072a19701ba449a3aefe51dc3997) Signed-off-by: Maxin B. John <maxin.john@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>
* bash: CVE-2016-0634Zhixiong Chi2017-08-291-0/+3
| | | | | | | | | | | | | | | | | | | | | | | A vulnerability was found in a way bash expands the $HOSTNAME. Injecting the hostname with malicious code would cause it to run each time bash expanded \h in the prompt string. Porting patch from <https://ftp.gnu.org/gnu/bash/bash-4.3-patches/ bash43-047> to solve CVE-2016-0634 CVE: CVE-2016-0634 (From OE-Core rev: 7dd6aa1a4bf6e9fc8a1998cda6ac5397bb5cd5cb) (From OE-Core rev: a4b37b05140b549960baef49237ce3316e84a041) (From OE-Core rev: a75c9657f785be3b2d14b10a7044105329c88e8a) Signed-off-by: Zhixiong Chi <zhixiong.chi@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>
* libxslt: Fix CVE-2017-5029Fan Xin2017-08-292-0/+81
| | | | | | | | | | | | | | | Backport upstream patch to fix CVE-2017-5029. (From OE-Core rev: 5266e74c990df1cf965d162d9695eb5a698883ae) (From OE-Core rev: 172f76a1a43921d92a385d6d123dffaf27eb368f) (From OE-Core rev: 25b87ebfce7216b18e85b6bc5fc7f20bcf4cf31d) Signed-off-by: Fan Xin <fan.xin@jp.fujitsu.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>
* libxslt: Add build fix (with ld-is-gold)Jussi Kukkonen2017-08-292-0/+49
| | | | | | | | | | | | | | | Libraries must be linked with "-lm", otherwise gold fails to link binaries with those libraries. (From OE-Core rev: 9175164380b50852a21a05d4e81294394c5486f4) (From OE-Core rev: 3bd47a7db76cead77d0aa2b3b29f8513469dbe60) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@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>
* eudev: set LGPL-2.1+ for libudev packageMartin Jansa2017-08-291-1/+2
| | | | | | | | (From OE-Core rev: 56210d562347eafd1433b3fbab64dd023ece421f) 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>
* elfutils: fix building elfutils-native with GCC7Cody P Schafer2017-08-295-0/+529
| | | | | | | | | | | | | | | | | | | | | | | | | This is heavily based on the oe-core master commit with the same subject, but includes a backport of upstream's fix for the fallthrough warnings rebased to 0.166 (the oe-core patch which targeted 0.168 did not apply), a rebase of the format-truncation patch, and a backport of the upstream format-length patch. Info from OE-Core master patch follows: From OE-Core rev: aaf4c4f3d09ac3897205417eb15e19d54e0c0d05 From: Joshua Lock <joshua.g.lock@intel.com> Backport a fix from upstream for a -Wformat-truncation=2 warning and implement a simple fix for a -Wimplicit-fallthrough warning. Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (From OE-Core rev: 3b91be97ae8c36cd6bad86fed992efc9800f4c9e) Signed-off-by: Cody P Schafer <dev@codyps.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gcc-6.2: backport fix of check for empty string in ubsan.cJoshua Lock2017-08-292-2/+31
| | | | | | | | | | | | | | | | | | | | | | Building gcc-cross-initial with GCC7 on the host fails due to the comparison of a pointer to an integer in ubsan_use_new_style_p, which is forbidden by ISO C++: ubsan.c:1474:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive] || xloc.file == '\0' || xloc.file[0] == '\xff' Backport the fix from upstream GCC to enable the build with GCC 7 (From OE-Core rev: 7a7fcbab0365b9501c737dbc02715be14dda72a3) (From OE-Core rev: ad685600d52b2e8b6f4cdbf46baa9f14b51565dd) Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Cody P Schafer <dev@codyps.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: fix CVE-2017-7210Yuanjie Huang2017-08-292-0/+72
| | | | | | | | | | | | | CVE: CVE-2017-7210 [BZ 21157] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21157 PR binutils/21157: Fix handling of corrupt STABS enum type strings. (From OE-Core rev: 066a7acc4c19a4ef3428d0a7c695a2b08f45bc14) Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: fix CVE-2017-7209 in readelfYuanjie Huang2017-08-292-0/+64
| | | | | | | | | | | | | | | CVE: CVE-2017-7209 [BZ 21135] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21135 PR binutils/21135: Fix invalid read of section contents whilst processing a corrupt binary. (From OE-Core rev: fd7a91e2a6db1fb806c57c137f72efcffbf1f26b) Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: fix CVE-2017-6969 in readelfYuanjie Huang2017-08-293-0/+180
| | | | | | | | | | | | | | | | CVE: CVE-2017-6969 [BZ 21156] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21156 PR binutils/21156: Fix illegal memory accesses in readelf when ing a corrupt binary. PR binutils/21156: Fix another memory access error in readelf when parsing a corrupt binary. (From OE-Core rev: 565d4b9432c898e4483f392a91f4b4aaebb4b184) Signed-off-by: Yuanjie Huang <yuanjie.huang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl-native: Compile with -fPICKhem Raj2017-08-291-0/+1
| | | | | | | | | | | | | | Fixes | /usr/bin/ld: libcrypto.a(sha1-x86_64.o): relocation R_X86_64_PC32 against undefined symbol `OPENSSL_ia32cap_P' can not be used when making a shared object; recompile with -fPIC | /usr/bin/ld: final link failed: Bad value (From OE-Core rev: 9e6a0da06aa832fbce06326622744b2a5ab9c091) Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 0a19e72081771fca8ed94fb2a2a8996fd3dce00c) Signed-off-by: Mirza Krak <mirza.krak@endian.se> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* packagegroup-core-standalone-sdk-target: add libsspPaul Eggleton2017-08-291-0/+5
| | | | | | | | | | | | | | | | | | If you want to be able to use -fstack-protector then you need the runtime support - you can either write this yourself or use libssp supplied with GCC. If you're using GCC then it seems likely that you'd just be using libssp, so include in the SDK by default; however use RRECOMMENDS just in case it's been disabled or you aren't using GCC. (From OE-Core rev: 6c990655e35bb3a14d59555662ec5802c9980028) (From OE-Core rev: 69b5643ec66e1495c9d805736d8765a06f67416c) Signed-off-by: Paul Eggleton <paul.eggleton@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>
* wic: partition: Run fsck on EXT file systemsDaniel Schultz2017-08-291-0/+3
| | | | | | | | | | | | | | Mkfs may create EXT file systems which can only be optimized by fsck and not by itself, e.g. directory optimization (in Pass 3A). To prevent those optimizations during runtime, it will be performed after the creation of an EXT file system. (From OE-Core rev: b8af7c10637c14b2c226fb7063b736755ee46802) Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: Fix wrong error code after optimizationDaniel Schultz2017-08-292-0/+286
| | | | | | | | | | | | | | | | | | | | | fsck.ext will return an error code of 1 if a file systems was checked and successfully repaired. Even when an optimization was performed it will return this error code. This patch will change the error code to 0 if only optimizations had changed the file systems. The reason for this patch is a question I asked at the ext4 ML: http://www.spinics.net/lists/linux-ext4/msg55700.html Backport from git://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git Based on commit bf9f3b6d5b10d19218b4ed904c12b22e36ec57dd (From OE-Core rev: 34ccb6b66162400c3a3164cbdcca02fc1b42c92b) Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemtap: Add patch to remove quotesSaul Wold2017-08-292-0/+39
| | | | | | | | | | | | | | | | This fixes the -I include lines that are getting passed to the kernel macros [YOCTO #10990] (From OE-Core rev: b4d2f41a474c111e5fc64cae635d851386d860ba) (From OE-Core rev: d767d24edb32f2a4303579371df2e526cdbf5c04) Signed-off-by: Saul Wold <sgw@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>
* systemtap: update to 3.1Alexander Kanavin2017-08-298-73/+109
| | | | | | | | | | | | | | | | | | | | | | | Removed patches are in upstream. Rebase monitor-option.patch and no-msgfmt-check.patch Add support for python 3 probes (this necessitates the 0001-Do-not-let-configure-write-a-python-location-into-th.patch and the Add 0001-Install-python-modules-to-correct-library-dir.patch to install python modules to correct destination). Add perl to RDEPENDS to fix a QA warning about one of the installed files. (From OE-Core rev: e3bccfba499565ea13f154a11dadcab48ef5e0ab) (From OE-Core rev: 74f390351bdf5b8749cba6e2345ef14d3ff9f077) Signed-off-by: Alexander Kanavin <alexander.kanavin@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>
* linux-yocto/4.8: update to 4.8.24Bruce Ashfield2017-08-293-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integration the -stable updates to 4.8, which comprise the following commits: ae51b3b4efe6 Linux 4.8.24 accb950219c0 nvme/pci: Disable on removal when disconnected 995be68699ef padata: avoid race in reordering bea2fdcc6d3e blk: improve order of bio handling in generic_make_request() 26690f5a8bdf mm: workingset: fix premature shadow node shrinking with cgroups f52ade55d6e9 MIPS: Lantiq: Fix cascaded IRQ setup feae78cdcaef ARM: dts: BCM5301X: Correct GIC_PPI interrupt flags e36a1a1a9695 ARM: BCM5301X: Add back handler ignoring external imprecise aborts 26fbe60844a9 mm, hugetlb: use pte_present() instead of pmd_present() in follow_huge_pmd() d15202219abe mm: rmap: fix huge file mmap accounting in the memcg stats 72f38e33793c x86/mce: Fix copy/paste error in exception table entries 9e08a6f8e64e x86/mm/KASLR: Exclude EFI region from KASLR VA space randomization 100aa553e31b x86/mm/64: Enable KASLR for vmemmap memory region 2e5c45495433 drm/etnaviv: (re-)protect fence allocation with GPU mutex 7f160b149090 drm/vc4: Allocate the right amount of space for boot-time CRTC state. 38cdfd6153cf drm/radeon: Override fpfn for all VRAM placements in radeon_evict_flags ccd0fc5589ca KVM: kvm_io_bus_unregister_dev() should never fail 332e2ac55d3b KVM: x86: clear bus pointer when destroyed fcbdbe1290d6 serial: mxs-auart: Fix baudrate calculation 3b7bb3391f62 USB: fix linked-list corruption in rh_call_control() 5f004babfd46 tty/serial: atmel: fix race condition (TX+DMA) 4509ea7b4349 ACPI: Do not create a platform_device for IOAPIC/IOxAPIC 12fddf4d255f ACPI: Fix incompatibility with mcount-based function graph tracing 8805bbdea121 nfsd: map the ENOKEY to nfserr_perm for avoiding warning 1fa18f8fad45 mmc: sdhci-of-at91: fix MMC_DDR_52 timing selection 3a0df02f0387 mmc: sdhci: Disable runtime pm when the sdio_irq is enabled d742580939f5 ASoC: Intel: Skylake: fix invalid memory access due to wrong reference of pointer 726514355250 ASoC: atmel-classd: fix audio clock rate 0dd77376bd45 ALSA: hda - fix a problem for lineout on a Dell AIO machine 12788ff3a917 ALSA: seq: Fix race during FIFO resize 5ccedc21345f PCI: iproc: Save host bridge window resource in struct iproc_pcie 61b133e83718 scsi: scsi_dh_alua: Ensure that alua_activate() calls the completion function ae4a71a0b8b4 scsi: scsi_dh_alua: Check scsi_device_get() return value 1b82bcc866c3 scsi: libsas: fix ata xfer length 0b9b5b603f27 scsi: sg: check length passed to SG_NEXT_CMD_LEN 8b02a4b8e3b3 xfs: Use xfs_icluster_size_fsb() to calculate inode alignment mask a8eded7e1484 xfs: tune down agno asserts in the bmap code 7650b45a6dd8 xfs: Use xfs_icluster_size_fsb() to calculate inode chunk alignment e9d4a4b55c86 xfs: don't reserve blocks for right shift transactions 81f456210999 xfs: split indlen reservations fairly when under reserved 842c9d864561 xfs: handle indlen shortage on delalloc extent merge f90db61ed148 xfs: don't fail xfs_extent_busy allocation 590e612677e2 xfs: reset b_first_retry_time when clear the retry status of xfs_buf_t c493142b3a2c xfs: verify free block header fields 4dda58920fb9 xfs: check for obviously bad level values in the bmbt root 0faf06ef8b24 xfs: filter out obviously bad btree pointers 6974d828ce0c xfs: fail _dir_open when readahead fails 365ec079aeeb xfs: fix toctou race when locking an inode to access the data map 06a1dbe68823 xfs: fix eofblocks race with file extending async dio writes fc1ff6abfb5d xfs: pull up iolock from xfs_free_eofblocks() 2de02a1aa708 xen/setup: Don't relocate p2m over existing one bd37e332bc35 libceph: force GFP_NOIO for socket allocations 14d57fe1fcd3 sched/rt: Add a missing rescheduling point 461aa14a19df metag/ptrace: Reject partial NT_METAG_RPIPE writes 35d078d3b1f5 metag/ptrace: Provide default TXSTATUS for short NT_PRSTATUS 9519f4083b0d metag/ptrace: Preserve previous registers for short regset write b2d2e181ebe4 sparc/ptrace: Preserve previous registers for short regset write 0a89a38ebbae mips/ptrace: Preserve previous registers for short regset write a303cc3a707b h8300/ptrace: Fix incorrect register transfer count 576d881764eb c6x/ptrace: Remove useless PTRACE_SETREGSET implementation 1661ca89ebd1 pinctrl: qcom: Don't clear status bit on irq_unmask 5c52be1e1c55 virtio_balloon: init 1st buffer in stats vq 171bd47e04fa KVM: x86: cleanup the page tracking SRCU instance 37c063abc015 xfrm_user: validate XFRM_MSG_NEWAE incoming ESN size harder f5e8896582a0 xfrm_user: validate XFRM_MSG_NEWAE XFRMA_REPLAY_ESN_VAL replay_window ef704417015e xfrm: policy: init locks early 54b82b92b678 crypto: algif_hash - avoid zero-sized array 35a836ab3d9b fbcon: Fix vc attr at deinit d64422cfc106 drm: reference count event->completion 5b8d397ea73a drm/bridge: analogix dp: Fix runtime PM state on driver bind 409d2330bd85 libceph: don't set weight to IN when OSD is destroyed cb7f50af5964 Drivers: hv: vmbus: Don't leak channel ids 7d63e96a483f intel_th: Don't leak module refcount on failure to activate bca70ad00096 blk-mq: don't complete un-started request in timeout handler 7ca7701e2615 cgroup, net_cls: iterate the fds of only the tasks which are being migrated c3accccd8ebe cpufreq: Restore policy min/max limits on CPU online 42ec5a5b3f7a arm64: kaslr: Fix up the kernel image alignment b74685fc49ce ARM: at91: pm: cpu_idle: switch DDR to power-down mode cba43efed603 Revert "ARM: at91/dt: sama5d2: Use new compatible for ohci node" a54b0f345230 xen/acpi: upload PM state from init-domain to Xen 3700c9549893 crypto: ccp - Assign DMA commands to the channel's CCP c05851c95c30 clk: sunxi-ng: mp: Adjust parent rate for pre-dividers 298b4bcbee9e mmc: sdhci: Do not disable interrupts while waiting for clock d3bde483cd4e mmc: sdhci-of-arasan: fix incorrect timeout clock 1a0c2899c1fc mmc: sdhci-of-at91: Support external regulators 512b6b14b972 mmc: sdhci: Rename sdhci_set_power() to sdhci_set_power_noreg() fcc465466352 powerpc/64s: Fix idle wakeup potential to clobber registers e31490f131bd ext4: lock the xattr block before checksuming it 9515b8a3e59d ext4: mark inode dirty after converting inline directory ee78dd996a48 parport: fix attempt to write duplicate procfiles 7aa1f90f7bc9 iio: hid-sensor-trigger: Change get poll value function order to avoid sensor properties losing after resume from S3 46ed5a6a0317 iio: sw-device: Fix config group initialization 4fd6237dcb15 iio: adc: ti_am335x_adc: fix fifo overrun recovery 10481fe5bcc5 mmc: ushc: fix NULL-deref at probe b18275c8ca06 uwb: hwa-rc: fix NULL-deref at probe 90f875db3d83 uwb: i1480-dfu: fix NULL-deref at probe fedb7364f161 USB: usbtmc: fix probe error path 19ab12977470 USB: usbtmc: add missing endpoint sanity check d2f6089a604a usb: hub: Fix crash after failure to read BOS descriptor 4fe7f56d5936 usb: musb: cppi41: don't check early-TX-interrupt for Isoch transfer c314f1d496b3 USB: wusbcore: fix NULL-deref at probe 67ca7e6fbefe USB: idmouse: fix NULL-deref at probe 979ce26d7e67 USB: lvtest: fix NULL-deref at probe bc5daa8fcb39 USB: uss720: fix NULL-deref at probe 778e23f6cd77 usb-core: Add LINEAR_FRAME_INTR_BINTERVAL USB quirk 8d38a9d16950 usb: gadget: f_uvc: Fix SuperSpeed companion descriptor's wBytesPerInterval ac5c5689dd1e ACM gadget: fix endianness in notifications 8e39a4d96fa0 USB: serial: qcserial: add Dell DW5811e d3e557a5e277 USB: serial: option: add Quectel UC15, UC20, EC21, and EC25 modems 0ff11fc75667 ALSA: hda - Adding a group of pin definition to fix headset problem 73ac94f75f27 ALSA: seq: Fix racy cell insertions during snd_seq_pool_done() ed79a62ce3b5 Input: sur40 - validate number of endpoints before using them 9f4a9350c962 Input: kbtab - validate number of endpoints before using them 535ecfd9ce37 Input: cm109 - validate number of endpoints before using them d4d90cc1939b Input: yealink - validate number of endpoints before using them 6cd3c938420d Input: hanwang - validate number of endpoints before using them 114ea08f2b53 Input: ims-pcu - validate number of endpoints before using them 8e536247967f Input: iforce - validate number of endpoints before using them d8e9da7cf4d2 Input: i8042 - add noloop quirk for Dell Embedded Box PC 3000 d7bd4ff902d4 Input: elan_i2c - add ASUS EeeBook X205TA special touchpad fw 15cbc365f36f tcp: initialize icsk_ack.lrcvtime at session start time 8d816936cb47 socket, bpf: fix sk_filter use after free in sk_clone_lock 599dca4e637a ipv4: provide stronger user input validation in nl_fib_input() 4dce5676bf12 net: bcmgenet: remove bcmgenet_internal_phy_setup() e54a886d9c7e ipv6: make sure to initialize sockc.tsflags before first use de7b203e7a07 net/mlx5e: Count LRO packets correctly 7e3b2755ae57 net/mlx5e: Count GSO packets correctly 0bb7b7ed9983 net/mlx5: Increase number of max QPs in default profile de1454d45e43 net/mlx5: Add missing entries for set/query rate limit commands aea1c1b15494 net: vrf: Reset rt6i_idev in local dst after put 30467a2d6a10 qmi_wwan: add Dell DW5811e 74a4f76fd1ac net: unix: properly re-increment inflight counter of GC discarded candidates b4927d54c638 openvswitch: Add missing case OVS_TUNNEL_KEY_ATTR_PAD d98fc268e284 amd-xgbe: Fix jumbo MTU processing on newer hardware 4ceda29faefa net: properly release sk_frag.page 42603fb986e2 net: bcmgenet: Do not suspend PHY if Wake-on-LAN is enabled 40dbeb5b15df net/openvswitch: Set the ipv6 source tunnel key address attribute correctly 81ecfc287d5a cgroup/pids: remove spurious suspicious RCU usage warning b488f503b905 percpu: acquire pcpu_lock when updating pcpu_nr_empty_pop_pages 1924ae622fd9 gfs2: Avoid alignment hole in struct lm_lockname e279f259f3e2 isdn/gigaset: fix NULL-deref at probe 0907a6cf5831 target: Fix VERIFY_16 handling in sbc_parse_cdb 6d71fefbf405 scsi: libiscsi: add lock around task lists to fix list corruption regression 4835fd5ad7aa scsi: lpfc: Add shutdown method for kexec 93ecb4c0e2cf target/pscsi: Fix TYPE_TAPE + TYPE_MEDIMUM_CHANGER export e5660310dac8 powerpc/boot: Fix zImage TOC alignment 8ce12dd199ac cpufreq: Fix and clean up show_cpuinfo_cur_freq() 4d5c2d2099a8 perf/core: Fix event inheritance on fork() f7b9504c680d perf/core: Fix use-after-free in perf_release() 848b0d18a847 parisc: Optimize flush_kernel_vmap_range and invalidate_kernel_vmap_range fbb1e639d3e1 qla2xxx: Fix request queue corruption. 60d674590d02 qla2xxx: Fix memory leak for abts processing e5e1af16aeae give up on gcc ilog2() constant optimizations 2401ecb47c7f drm/vc4: Use runtime autosuspend to avoid thrashing V3D power state. c495444e18c6 drm/vc4: Fix termination of the initial scan for branch targets. 97b74d794fa3 Linux 4.8.23 5d2e054aa127 crypto: powerpc - Fix initialisation of crc32c context 30eacf198cab locking/rwsem: Fix down_write_killable() for CONFIG_RWSEM_GENERIC_SPINLOCK=y 6ceef14519cd futex: Add missing error handling to FUTEX_REQUEUE_PI 0596ef2a1984 futex: Fix potential use-after-free in FUTEX_REQUEUE_PI e0421c6f49b0 x86/perf: Fix CR4.PCE propagation to use active_mm instead of mm b88efae3588c x86/kasan: Fix boot with KASAN=y and PROFILE_ANNOTATED_BRANCHES=y 429bf916381e x86/tsc: Fix ART for TSC_KNOWN_FREQ 5eb6ff068525 drm/vc4: Fix ->clock_select setting for the VEC encoder 4a3f522f63ab drm/vc4: Fix race between page flip completion event and clean-up 02c5256b110c clk: bcm2835: Fix ->fixed_divider of pllh_aux d5dd232fc11e usb: gadget: udc: atmel: remove memory leak e85561f6aca8 serial: 8250_pci: Detach low-level driver during PCI error recovery 54c73832c576 ACPI / blacklist: Make Dell Latitude 3350 ethernet work f92b80712355 ACPI / blacklist: add _REV quirks for Dell Precision 5520 and 3520 990db74c5c87 slub: move synchronize_sched out of slab_mutex on shrink 06e966ded31e [media] uvcvideo: uvc_scan_fallback() for webcams with broken chain e30814bb2038 s390/zcrypt: Introduce CEX6 toleration c73c813f59ed block: allow WRITE_SAME commands with the SG_IO ioctl bb64e9763f59 drm/nouveau/disp/nv50-: specify ctrl/user separately when constructing classes 3c5d63c13311 drm/nouveau/disp/nv50-: split chid into chid.ctrl and chid.user 49e8233a2726 drm/nouveau/disp/gp102: fix cursor/overlay immediate channel indices 275ff35915b3 vfio/spapr: Postpone default window creation a6cc475b194a vfio/spapr: Add a helper to create default DMA window 95045ae80bba powerpc/mm/iommu, vfio/spapr: Put pages on VFIO container shutdown 789e7eac7ee0 vfio/spapr: Reference mm in tce_container 28a412c87e63 powerpc/iommu: Stop using @current in mm_iommu_xxx 605c802e3cb9 powerpc/iommu: Pass mm_struct to init/cleanup helpers c70e411994d8 vfio/spapr: Postpone allocation of userspace version of TCE table 89b9c28ca6d7 Drivers: hv: ring_buffer: count on wrap around mappings in get_next_pkt_raw() (v2) ea35dd4dc3d5 PCI: Do any VF BAR updates before enabling the BARs ddb11bb30cbc PCI: Ignore BAR updates on virtual functions bfaf6ec96d7f PCI: Update BARs using property bits appropriate for type c09761e3af3f PCI: Don't update VF BARs while VF memory space is enabled f49fdb5fb9aa PCI: Decouple IORESOURCE_ROM_ENABLE and PCI_ROM_ADDRESS_ENABLE 4453d0980e47 PCI: Add comments about ROM BAR updating e9026b999d64 PCI: Remove pci_resource_bar() and pci_iov_resource_bar() bf5194f0e771 PCI: Separate VF BAR updates from standard BAR updates 4c25b4da1978 x86/hyperv: Handle unknown NMIs on one CPU when unknown_nmi_panic f86de0bf6845 scsi: ibmvscsis: Synchronize cmds at remove time 03780edbb14b scsi: ibmvscsis: Synchronize cmds at tpg_enable_store time 6e76f14e8da7 scsi: ibmvscsis: Rearrange functions for future patches 87e714992008 scsi: ibmvscsis: Clean up properly if target_submit_cmd/tmr fails 26d9e831807f scsi: ibmvscsis: Return correct partition name/# to client 017f9415d242 scsi: ibmvscsis: Issues from Dan Carpenter/Smatch 1a865ae47435 igb: add i211 to i210 PHY workaround 7af86b0c55e3 igb: Workaround for igb i210 firmware issue 15fdb8c2a904 xen: do not re-use pirq number cached in pci device msi msg data 4af906f27c02 dmaengine: iota: ioat_alloc_chan_resources should not perform sleeping allocations. 7815d4127881 dccp: fix memory leak during tear-down of unsuccessful connection request 348714c022b1 tun: fix premature POLLOUT notification on tun devices a1bc0a9f122e dccp/tcp: fix routing redirect race 0a787971aa5b bridge: drop netfilter fake rtable unconditionally ee1d5c66f7d9 ipv6: avoid write to a possibly cloned skb 81ed14c04c32 ipv6: make ECMP route replacement less greedy 0949ba4922e5 mpls: Do not decrement alive counter for unregister events 76aaba0ce52e mpls: Send route delete notifications when router module is unloaded 48325fbb1d05 act_connmark: avoid crashing on malformed nlattrs with null parms 4331398f440e uapi: fix linux/packet_diag.h userspace compilation error f5f6f5529468 net/tunnel: set inner protocol in network gro hooks 2a00f4bf0780 vrf: Fix use-after-free in vrf_xmit 61e3a5db6e7d dccp: fix use-after-free in dccp_feat_activate_values 39ff72664911 net: fix socket refcounting in skb_complete_tx_timestamp() 9d88ea01fe88 net: fix socket refcounting in skb_complete_wifi_ack() 65f7a3f9b6c0 tcp: fix various issues for sockets morphing to listen state 5531ae9e101d dccp: Unlock sock before calling sk_free() beb7cb3c2a3d ipv6: orphan skbs in reassembly unit 728edccaedbf net: net_enable_timestamp() can be called from irq contexts e9f82ae95dcc net: don't call strlen() on the user buffer in packet_bind_spkt() b0c360a043c0 tcp/dccp: block BH for SYN processing b64d0db77b52 mlxsw: spectrum_router: Avoid potential packets loss 8e1715480d7c l2tp: avoid use-after-free caused by l2tp_ip_backlog_recv 44797e4d24c0 net sched actions: decrement module reference count after table flush. 9c1294eeb41e ipv4: mask tos for input route 368d2236b926 vxlan: don't allow overwrite of config src addr 9ead713bc6ac vti6: return GRE_KEY for vti6 a305478b6e7d vxlan: correctly validate VXLAN ID against VXLAN_N_VID bc68673783c7 net/mlx5e: Fix wrong CQE decompression 4e8f4987b785 IB/mlx5: Verify that Q counters are supported f0d5cfb83dcb ext4: don't BUG when truncating encrypted inodes on the orphan list 9ac44a73a4c5 [media] rc: raw decoder for keymap protocol is not loaded on register 56174559c310 dm: flush queued bios when process blocks to avoid deadlock 875142c6e879 KVM: arm/arm64: Let vcpu thread modify its own active state 220f66f1f4d8 KVM: s390: Fix guest migration for huge guests resulting in panic 3dd1f5f0b22c serial: samsung: Continue to work if DMA request fails 2a7c66c1a7c0 USB: serial: io_ti: fix information leak in completion handler 71f396d687e9 USB: serial: io_ti: fix NULL-deref in interrupt callback d9682fbb1252 USB: iowarrior: fix NULL-deref in write e1affee35832 USB: iowarrior: fix NULL-deref at probe 07c5918e96e7 USB: serial: omninet: fix reference leaks at open 782317bc4eba USB: serial: safe_serial: fix information leak in completion handler 15b553818e00 usb: host: xhci-plat: Fix timeout on removal of hot pluggable xhci controllers e5df1d8231d8 usb: host: xhci-dbg: HCIVERSION should be a binary number a03e4fb73679 usb: gadget: function: f_fs: pass companion descriptor along bf600df6aa66 usb: dwc3-omap: Fix missing break in dwc3_omap_set_mailbox() 40b091328f1c usb: dwc3: gadget: make Set Endpoint Configuration macros safe 7ab8263169d2 usb: gadget: dummy_hcd: clear usb_gadget region before registration 0a9e57a61494 PCI: Prevent VPD access for QLogic ISP2722 0c925288d9e2 powerpc/xics: Work around limitations of OPAL XICS priority handling e7ef86271857 powerpc: Emulation support for load/store instructions on LE 88cb0342bbc9 i2c: add missing of_node_put in i2c_mux_del_adapters 49817d5f81a0 efi/arm: Fix boot crash with CONFIG_CPUMASK_OFFSTACK=y b463b3b26bf5 tracing: Add #undef to fix compile error 03a9b9c5eb0f cpmac: remove hopeless #warning 9e7e1616fb69 MIPS: ralink: Remove unused rt*_wdt_reset functions 774bd1f0f2e0 MIPS: ralink: Cosmetic change to prom_init(). 1ec4e1a6c373 mtd: pmcmsp: use kstrndup instead of kmalloc+strncpy e6c4a646d490 MIPS: Update lemote2f_defconfig for CPU_FREQ_STAT change b70dce737466 MIPS: ip22: Fix ip28 build for modern gcc c5f71770663f MIPS: Update ip27_defconfig for SCSI_DH change 4baa71bf6ca0 MIPS: ip27: Disable qlge driver in defconfig 810c65dcf036 crypto: improve gcc optimization flags for serpent and wp512 4b256e46c8e3 USB: serial: digi_acceleport: fix OOB data sanity check b88d9bf6ce41 fat: fix using uninitialized fields of fat_inode/fsinfo_inode bd390a837bf2 mm: do not call mem_cgroup_free() from within mem_cgroup_alloc() bc83fdbb1b88 thp: fix another corner case of munlock() vs. THPs 6f3effcbddd2 x86/tlb: Fix tlb flushing when lguest clears PGE 52f93fd5358e x86, mm: fix gup_pte_range() vs DAX mappings ab0eea711de5 libceph: use BUG() instead of BUG_ON(1) 6dd79e33d04d drm/i915: Fix not finding the VBT when it overlaps with OPREGION_ASLE_EXT 267b0207162b drm: Cancel drm_fb_helper_dirty_work on unload 60a94aca40ff drm/i915/gvt: Disable access to stolen memory as a guest 076bb9ce1a9f drm/atomic: fix an error code in mode_fixup() a6d98a3a3c5c drm/imx: imx-tve: Do not set the regulator voltage 3036e519c3f8 drm/ttm: Make sure BOs being swapped out are cacheable 8c52d5581851 drm/edid: Add EDID_QUIRK_FORCE_8BPC quirk for Rotel RSX-1058 b4f89786c979 drm/ast: Fix AST2400 POST failure without BMC FW or VBIOS 23c1fdaced81 drm/ast: Call open_key before enable_mmio in POST code cb624df381a6 drm/ast: Fix test for VGA enabled 8b6e3ca35b51 drm/amdgpu: add more cases to DCE11 possible crtc mask setup 77a708d95727 mac80211: use driver-indicated transmitter STA only for data frames 72aaf6d71167 mac80211: don't handle filtered frames within a BA session 680c812d7bdc mac80211: don't reorder frames with SN smaller than SSN e9d8c725c29b mac80211: flush delayed work when entering suspend 9a7a9c5c88b2 xtensa: move parse_tag_fdt out of #ifdef CONFIG_BLK_DEV_INITRD b389c603b09e pwm: pca9685: Fix period change with same duty cycle 711e95e9a7d4 nlm: Ensure callback code also checks that the files match 29f3a5545183 target: Fix NULL dereference during LUN lookup + active I/O shutdown f82148e9ffd3 pci/hotplug/pnv-php: Remove WARN_ON() in pnv_php_put_slot() 1d53d522e4d1 ceph: remove req from unsafe list when unregistering it a0e963dbeecc ktest: Fix child exit code processing d8e905726d90 memory/atmel-ebi: Fix ns <-> cycles conversions aef2ccf1d832 orangefs: Use RCU for destroy_inode f0453d44086f fs: Better permission checking for submounts eef4fcd21313 IB/srp: Fix race conditions related to task management 24960d72feeb IB/srp: Avoid that duplicate responses trigger a kernel bug f3572a0ce31f IB/SRP: Avoid using IB_MR_TYPE_SG_GAPS 63129c2502c1 IB/mlx5: Fix out-of-bound access f54cae186e6e IB/ipoib: Fix deadlock between rmmod and set_mode 77563b9714b9 mnt: Tuck mounts under others instead of creating shadow/side mounts. 521cf3b70359 brcmfmac: fix incorrect event channel deduction 55730c566d11 cxl: Prevent read/write to AFU config space while AFU not configured 3c20ea7dd380 net: mvpp2: fix DMA address calculation in mvpp2_txq_inc_put() 7006fe7139f6 s390: use correct input data address for setup_randomness e936795084d3 s390: make setup_randomness work bb318913c8ab s390: TASK_SIZE for kernel threads 64deb4069c4b s390/chsc: Add exception handler for CHSC instruction a35d74c9c4a0 s390/kdump: Use "LINUX" ELF note name instead of "CORE" b3e8ded18f8e s390/dcssblk: fix device size calculation in dcssblk_direct_access() e1b323f8b65e s390/qdio: clear DSCI prior to scanning multiple input queues 7d9a72f5eb8c Bluetooth: Add another AR3012 04ca:3018 device 7f422c5aec89 KVM: VMX: use correct vmcs_read/write for guest segment selector/base 61157eabc44e KVM: s390: Disable dirty log retrieval for UCONTROL guests d44d2ea64003 serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards eaae8c8005c1 tty: n_hdlc: get rid of racy n_hdlc.tbuf (From OE-Core rev: 78ae0bb02175e601ca99387855a743a37294dee2) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: wget: Fix handling of urls with user/passwordRichard Purdie2017-08-291-3/+2
| | | | | | | | | | | | | URL decoding was improved in the core a while ago and this looks like a leftover from those times which caused urls needing a user/password to fail. Use the parameters from the core instead of the broken split implementation. [YOCTO #11262] (Bitbake rev: 32a249cf33f79b579a2cf6224c7d23cdb20d376f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: codeparser.py: support deeply nested tokensPatrick Ohly2017-07-211-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | For shell constructs like echo hello & wait $! the process_tokens() method ended up with a situation where "token" in the "name, value = token" assignment was a list of tuples and not the expected tuple, causing the assignment to fail. There were already two for loops (one in _parse_shell(), one in process_tokens()) which iterated over token lists. Apparently the actual nesting can also be deeper. Now there is just one such loop in process_token_list() which calls itself recursively when it detects that a list entry is another list. As a side effect (improvement?!) of the loop removal in _parse_shell(), the local function definitions in process_tokens() get executed less often. Fixes: [YOCTO #10668] (Bitbake rev: 887ea6d25cee5114365dfbf1130603599e13ee80) Signed-off-by: Patrick Ohly <patrick.ohly@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgcrypt: fix CVE-2017-7526Ross Burton2017-07-192-0/+456
| | | | | | | | | | Fixes CVE-2017-7526, 'flush+reload side-channel attack on RSA secret keys dubbed "Sliding right into disaster"'. (From OE-Core rev: e3911133ee9aad7cc3ae89faea80a097f6614fab) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libgcrypt: fix CVE-2017-9526Ross Burton2017-07-192-0/+40
| | | | | | | | | | | | | In libgcrypt before 1.7.7, an attacker who learns the EdDSA session key (from side-channel observation during the signing process) can easily recover the long-term secret key. 1.7.7 makes a cipher/ecc-eddsa.c change to store this session key in secure memory, to ensure that constant-time point operations are used in the MPI library. (From OE-Core rev: 04d7a4adafa09f9f3012c355f4f2f9728cb0b166) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: siggen: Make calc_taskhash match get_taskhash for file checksumsRichard Purdie2017-06-271-1/+2
| | | | | | | | | | | The code in these two functions is meant to be equivlanet in behaviour but isn't. Add in code to ensure files that don't exist are handled consistently by both functions. Users did report being able to generate tracebacks otherwise. (Bitbake rev: df69c0257aaa9f4e2f4a20d130b7bc0ce2ca0848) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oe/path.py: fix for "Argument list too long"Robert Yang2017-06-271-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | Issue: LIN9-1648 Fixed when len(TMPDIR) = 410: $ bitbake core-image-sato-sdk [snip] Subprocess output: /bin/sh: /bin/cp: Argument list too long ERROR: core-image-sato-sdk-1.0-r0 do_rootfs: Function failed: do_rootfs [snip] This is because "copyhardlinktree(src, dst)" does "cp -afl src/* dst", while src/* is expanded to "src/file1 src/file2, src/file3..." which causes the "Argument list too long", use ./* as src and change cwd in subprocess.check_output() to fix the problem. (From OE-Core rev: a3dc93eb25fba32109edd1db6e8766074fb52e4b) (From OE-Core rev: befda6ce3fd916ab04c035d1d82ed173759f7f09) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* ref-manual: uClibc Replaced by musl from Yocto 2.2Changhyeok Bae2017-06-221-7/+7
| | | | | | | (From yocto-docs rev: e131c26ee1ab268679f7762dbe26760bd859e0e5) Signed-off-by: Kristi Rifenbark <kristi.rifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* package_ipk: Clean up Source entry in ipk packagesRichard Purdie2017-06-161-4/+3
| | | | | | | | | | | | | | | | There is the potential for sensitive information to leak through the urls there and removing it brings this into the behavior of the other package backends since filtering it is likely error prone. Since ipks don't appear to be generated at all if we don't set this, set the field to the recipe name used (basename only, no paths). This avoids information leaking. We may want to drop the field if opkg can allow that at a future point but the recipe name is a suitable identifier for now. Reported-by: Andrej Valek <andrej.valek@siemens.com> (From OE-Core rev: 4c353eeff45f91533f22392f129bc5a477ee5207) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>