summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* make PREFERRED_VERSION_openssl* overwritable on sumorocko-nextStefan Lendl2018-12-061-3/+3
| | | | | | | | | | | defaultsetup.conf and therefore default-versions.inc is sourced pretty late in bitbake.conf. default-versions.inc overwrites previous assignments of PREFERRED_VERSION_openssl. Assigning it with ?= allows other .conf files to assign correctly. in particular assignment in conf/local.conf and machine config is used instead of default. (From OE-Core rev: dc69018e3be64c244b4b97d81f1f1a1e9e552c10) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnupg: patch gnupg-native to allow path relocationRoss Burton2018-12-062-1/+87
| | | | | | | | | | | | | | | | | GnuPG hard-codes $bindir etc and uses them to find the helper binaries, such as gpg-agent. This breaks if gnupg-native is reused from sstate for a different build directory and GPG signing of packages is required. Patch in getenv() checks for gnupg-native when returning the hardcoded paths, and create a wrapper script which overrides GNUPG_BINDIR. There are more paths that can be overridden, but this one is sufficient to make GnuPG work. (From OE-Core rev: dfd69ff889ed78bf137116583d8ae351859ee203) (From OE-Core rev: e0cc225fc5bbc964f0f41ee0ca29e6b7b5ebef41) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnupg: upgrade 2.2.8 -> 2.2.9Ross Burton2018-12-062-9/+6
| | | | | | | | | (From OE-Core rev: b7da8d50ebc2f44376d352d001371e03f465e3be) (From OE-Core rev: 23043b5d94f1e126876143a47f87fa3baabd60e8) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnupg: 2.2.5 -> 2.2.8Hongxu Jia2018-12-061-2/+2
| | | | | | | | | | (From OE-Core rev: 4d09b6a411504be78379dff172ef12620204b89a) (From OE-Core rev: 46aaf2d941f8b4619591e1a24216f36c3431671d) 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>
* gnupg: upgrade 2.2.4 -> 2.2.5Hongxu Jia2018-12-062-5/+6
| | | | | | | | | (From OE-Core rev: 37b17c45e643171e3cfb9a4b1f84c6f0ee934a94) (From OE-Core rev: a3f7c9b643babf3ef5afdccf717a9f15bf62a5c5) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* oeqa/selftest/runtime_test: Ensure we build/use gnupg-nativeRichard Purdie2018-12-061-1/+3
| | | | | | | | | | | Without this, we see errors if gpg is missing from the host system for "oe-selftest -r runtime_test.TestImage.test_testimage_dnf". (From OE-Core rev: e91838b63b506e2969582b2b8511fd3724d6aa3f) (From OE-Core rev: ad65659c124095b660a71d508510a52ab7bb0ce5) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnupg: add a patch to avoid native vs. host gpg-agent clashesAlexander Kanavin2018-12-062-0/+32
| | | | | | | | | | (From OE-Core rev: 04f6e01c1d9c8b53ed43405cdb7d3b8b242a27b6) (From OE-Core rev: 72b439daf65846c814f804dcc5d48c21159b1536) 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>
* gnupg: use native version for signing, rather than one provided by hostAlexander Kanavin2018-12-064-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | Using host gpg has been problematic, and particularly this removes the need to serialize package creation, as long as --auto-expand-secmem is passed to gpg-agent, and gnupg >= 2.2.4 is in use (https://dev.gnupg.org/T3530). Sadly, gpg-agent itself is single-threaded, so in the longer run we might want to seek alternatives: https://lwn.net/Articles/742542/ (a smaller issue is that rpm itself runs the gpg fronted in a serial fashion, which slows down the build in cases of recipes with very large amount of packages, e.g. glibc-locale) Note that sstate signing and verification continues to use host gpg, as depending on native gpg would create circular dependencies. [YOCTO #12022] (From OE-Core rev: 08fef6198122fe79d4c1213f9a64b862162ed6cd) (From OE-Core rev: d449179eaf3cc25fdf6757342e9f95562a84696f) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnupg: enable native versionAlexander Kanavin2018-12-064-0/+8
| | | | | | | | | (From OE-Core rev: 3945ddd6eea9d84f7b0f82c66e6d4512bc239bb2) (From OE-Core rev: 143545237080138f4bbfe82830d4dd4ac5d53409) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gnupg: upgrade to 2.2.4Alexander Kanavin2018-12-061-2/+2
| | | | | | | | | (From OE-Core rev: 745da1074a134f7d6a2110af100bdc65f031720b) (From OE-Core rev: c6ba4b6953a900023a85e03d2ad499ad272cdcbe) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-3.5: Fix manifest to handle reprlib correctlyRichard Purdie2018-11-242-2/+2
| | | | | | | | | | | | | | | | The current line is looking for py files in __pycache__ which is incorrect. Fix it to correctly include the right files (modelled after ${PN}-signal). Patch isn't relavent to later releases since manifest generation changed significantly. [YOCTO #12831] (From OE-Core rev: 3638cb32ba9ba32b4d498fc31ab7fdf82f0d2495) 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>
* bitbake: main: Fix environment handling for UI module importsRichard Purdie2018-11-231-3/+4
| | | | | | | | | | | | | | | The environment was being cleared before the UI imports occurred which caused problems for graphical UIs like taskexp. The full environment was intended to be available to UI clients and it was only meant to be cleared for the server/cooker, so tweak the code order so this is the case. This fixes problems reported for taskexp. [YOCTO #12670] (Bitbake rev: 2e4845c526117d5524cff910afbb6f8212a3e199) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Documentation: Updated month and year date for 2.4.4 release.Scott Rifenbark2018-11-229-8/+9
| | | | | | | | | | | | Implemented the ENTITY method to apply the month and date release time for the 2.4.4 release, which is now "December 2018". Updated poky.ent to use the new ENTITY. (From yocto-docs rev: 89f034c819288a936fd029dd754fcdd17a86ce43) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to rocko head revisionyocto-2.4.4rocko-18.0.4Richard Purdie2018-11-071-1/+1
| | | | | | (From OE-Core rev: 8a2c177c7dad5c838b3c6abd3088a2bc3896a6a3) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* poky.conf: Bump version for 2.4.4 rocko releaseRichard Purdie2018-11-071-1/+1
| | | | | | (From meta-yocto rev: b6e1076d4ec38a61854efbeaa13faa9785a56c8d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yoct-rt/4.4: update to 4.4.162Armin Kuster2018-11-071-3/+3
| | | | | | | (From OE-Core rev: e5698cbd2f6b848666db9be0834974a92151f986) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto-tiny/4.4: update to 4.4.162Armin Kuster2018-11-071-3/+3
| | | | | | | (From OE-Core rev: 1ec800e929f0b8bd3f14aa55d4f7123230eb53d5) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.4: update to 4.4.162Armin Kuster2018-11-071-10/+10
| | | | | | | (From OE-Core rev: 1e4a0b4a9ecc45d211aabe2822e1d594a9293d3d) 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.28Bruce Ashfield2018-11-073-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating Paul Gortmaker's -stable updates to 4.12 that comprise the following changes: f4fd7580487d Linux 4.12.28 d15dfc7d192f net: mvneta: eliminate wrong call to handle rx descriptor error c7a79cbd2b44 net: mvneta: use proper rxq_number in loop on rx queues f65f1aed2ef2 net: mvneta: clear interface link status on port disable 402f4ea26693 tcp: add tcp_ooo_try_coalesce() helper 035eddf502ef tcp: call tcp_drop() from tcp_data_queue_ofo() c224a5920d55 tcp: detect malicious patterns in tcp_collapse_ofo_queue() 7c5d21c36cec tcp: avoid collapses in tcp_prune_queue() if possible f999a5cfc3eb tcp: free batches of packets in tcp_prune_ofo_queue() 3471d76b1128 net: add rb_to_skb() and other rb tree helpers fcd212157f50 libnvdimm, pfn: fix start_pad handling for aligned namespaces d90d61722843 libnvdimm, dax: fix 1GB-aligned namespaces vs physical misalignment df6a2110169e drm/sun4i: Fix error path handling d2d90272068d drm/i915: Flush pending GTT writes before unbinding 55e3ba836aee powerpc/perf: Dereference BHRB entries safely 32c5b092ac7e clk: sunxi: sun9i-mmc: Implement reset callback for reset controls a472f9b5c546 pinctrl: cherryview: Mask all interrupts on Intel_Strago based systems 32f9f01a1b49 spi: a3700: Fix clk prescaling for coefficient over 15 39e2376e2774 spi: xilinx: Detect stall with Unknown commands 104bf43e4653 Revert "parisc: Re-enable interrupts early" 2c6a864363b5 parisc: Hide Diva-built-in serial aux and graphics card 4e92abc4d371 parisc: Align os_hpmc_size on word boundary 8df2ad333664 ALSA: usb-audio: Add native DSD support for Esoteric D-05X 2d7184d7f8b1 ALSA: rawmidi: Avoid racy info ioctl via ctl device 425708ccc413 mfd: twl6040: Fix child-node lookup d99aacab316b mfd: twl4030-audio: Fix sibling-node lookup cd2ca561cdd7 mfd: cros ec: spi: Don't send first message too soon f5d153b69e6a crypto: mcryptd - protect the per-CPU queue with a lock 01b2634b17f4 acpi, nfit: fix health event notification 1170a37d5339 ACPI: APEI / ERST: Fix missing error handling in erst_reader() 0cf5d1f5ce10 bpf: fix incorrect sign extension in check_alu_op() 39cc58874bfc bpf, sparc: fix usage of wrong reg for load_skb_regs after call 8c570303798e bpf, ppc64: do not reload skb pointers in non-skb context 05bd23b36b88 bpf, s390x: do not reload skb pointers in non-skb context da92e092ffa7 platform/x86: asus-wireless: send an EV_SYN/SYN_REPORT between state changes ab3980511fa0 thermal/drivers/hisi: Fix multiple alarm interrupts firing ed7ec377cb05 thermal/drivers/hisi: Simplify the temperature/step computation b4322338048d thermal/drivers/hisi: Fix kernel panic on alarm interrupt e9b4b6019cc2 thermal/drivers/hisi: Fix missing interrupt enablement 01f1870f5aa8 IB/opa_vnic: Properly return the total MACs in UC MAC list 59522364dab2 IB/opa_vnic: Properly clear Mac Table Digest 84cf0ea1cb2a cpuidle: fix broadcast control when broadcast can not be entered fdb28a72dafa rtc: set the alarm to the next expiring timer 245a952509f6 tcp: fix under-evaluated ssthresh in TCP Vegas ebe28298b759 clk: sunxi-ng: sun6i: Rename HDMI DDC clock to avoid name collision c31c122f7744 staging: greybus: light: Release memory obtained by kasprintf 7900ee86e495 net: ipv6: send NS for DAD when link operationally up 0c8d7ea9c7db ibmvnic: Set state UP eb3237c59a98 fm10k: ensure we process SM mbx when processing VF mbx a076534d71b3 vfio/pci: Virtualize Maximum Payload Size 0e8c3cf3f83e i40e: fix client notify of VF reset 2e3bad157461 scsi: lpfc: PLOGI failures during NPIV testing 022e3fe9ac98 scsi: lpfc: Fix secure firmware updates 9e7341570bf9 fm10k: fix mis-ordered parameters in declaration for .ndo_set_vf_bw af88451b2676 ASoC: codecs: msm8916-wcd-analog: fix module autoload 2fc38deb5bed ASoC: img-parallel-out: Add pm_runtime_get/put to set_fmt callback 4529e660bc83 tracing: Exclude 'generic fields' from histograms 3485fd44f243 PCI/AER: Report non-fatal errors only to the affected endpoint 64e367610786 Bluetooth: BT_HCIUART now depends on SERIAL_DEV_BUS 47663fe61367 Bluetooth: hci_uart_set_flow_control: Fix NULL deref when using serdev 58adf4fe65f8 md: always set THREAD_WAKEUP and wake up wqueue if thread existed e9f7be0e550e block,bfq: Disable writeback throttling c09fcc304541 IB/rxe: put the pool on allocation failure 392f4c00adca IB/rxe: check for allocation failure on elem 179099ba0d69 ixgbe: fix use of uninitialized padding e2e131da3b6b i40e: use the safe hash table iterator when deleting mac filters 757ad831c703 igb: check memory allocation failure e156a3afb676 PM / OPP: Move error message to debug level 9bd17b3b4bb6 PCI: Create SR-IOV virtfn/physfn links before attaching driver 54da833e63b0 scsi: mpt3sas: Fix IO error occurs on pulling out a drive from RAID1 volume created on two SATA drive 929cc7c94e3b scsi: cxgb4i: fix Tx skb leak 84aa72a81de3 PCI: Avoid bus reset if bridge itself is broken 3932edaebc65 net: phy: at803x: Change error to EINVAL for invalid MAC e9bd07539e3f rtc: pl031: make interrupt optional 9f77ab2f562c crypto: lrw - Fix an error handling path in 'create()' 59e5a2e7eec9 crypto: crypto4xx - increase context and scatter ring buffer elements 13c0df6a379d clk: sunxi-ng: sun5i: Fix bit offset of audio PLL post-divider 68e13e506d6e clk: sunxi-ng: nm: Check if requested rate is supported by fractional clock 3996734fc715 drm: Add retries for lspcon mode detection 77190a6d2d57 backlight: pwm_bl: Fix overflow condition d3b4b8043ff7 optee: fix invalid of_node_put() in optee_driver_init() 752218b19686 posix-timer: Properly check sigevent->sigev_notify 16c39a33a5c6 ACPI / APEI: adjust a local variable type in ghes_ioremap_pfn_irq() ba0b2e6cbb82 Linux 4.12.27 feea4d492d73 usb: musb: da8xx: fix babble condition handling 6d8d83c4ec67 ath10k: fix build errors with !CONFIG_PM 00e875f83a3c ath9k: fix tx99 potential info leak 01cf18e17476 lightnvm: pblk: fix min size for page mempool 4413575d48be lightnvm: pblk: initialize debug stat counter 87135620a06a lightnvm: pblk: fix changing GC group list for a line 3b1abf7d20f6 icmp: don't fail on fragment reassembly time exceeded 4be8ae2da97b IB/ipoib: Fix lockdep issue found on ipoib_ib_dev_heavy_flush 7d284754ed54 IB/ipoib: Grab rtnl lock on heavy flush when calling ndo_open/stop 634b3e0fefd7 RDMA/cma: Avoid triggering undefined behavior f9f24086ba42 macvlan: Only deliver one copy of the frame to the macvlan interface aba3745fc9b0 udf: Avoid overflow when session starts at large offset 4a9bf3983ef9 md-cluster: fix wrong condition check in raid1_write_request e08da1a3d9d5 raid5-ppl: check recovery_offset when performing ppl recovery a6b9b60622b0 scsi: bfa: integer overflow in debugfs a6adc19ff5a4 scsi: sd: change allow_restart to bool in sysfs interface d23a6641b217 scsi: sd: change manage_start_stop to bool in sysfs interface be59ef05ed52 rtl8188eu: Fix a possible sleep-in-atomic bug in rtw_disassoc_cmd 9257df5ece69 vt6655: Fix a possible sleep-in-atomic bug in vt6655_suspend 5d0d0b750520 IB/core: Fix calculation of maximum RoCE MTU 950215a22a7a scsi: scsi_devinfo: Add REPORTLUN2 to EMC SYMMETRIX blacklist entry 40dd3da9911d raid5: Set R5_Expanded on parity devices as well as data. d63147f7712f pinctrl: adi2: Fix Kconfig build problem b25a34c20291 dev/dax: fix uninitialized variable build warning 3b928d69ed7c tty fix oops when rmmod 8250 6fd73bd5acc5 ipv4: ipv4_default_advmss() should use route mtu e8552a24db2a soc: mediatek: pwrap: fix compiler errors 023499e5fff8 powerpc/xmon: Check before calling xive functions 7092b9c569ee powerpc/perf/hv-24x7: Fix incorrect comparison in memord d85bb8676f60 serdev: ttyport: enforce tty-driver open() requirement dcc2d9b7db19 mfd: mxs-lradc: Fix error handling in mxs_lradc_probe() d7630ac47698 scsi: hpsa: destroy sas transport properties before scsi_host a2133c918746 scsi: hpsa: cleanup sas_phy structures in sysfs when unloading 37686080a0c8 PCI: Detach driver before procfs & sysfs teardown on device remove 585eb66776b7 RDMA/cxgb4: Declare stag as __be32 06a21042a540 xfs: fix incorrect extent state in xfs_bmap_add_extent_unwritten_real 98da748f2c95 xfs: fix log block underflow during recovery cycle verification 9aaebfb38490 l2tp: cleanup l2tp_tunnel_delete calls 4fd806e81bcb nvme: use kref_get_unless_zero in nvme_find_get_ns 377d9449f868 platform/x86: hp_accel: Add quirk for HP ProBook 440 G4 89e9f0fce2a4 liquidio: fix kernel panic in VF driver 85aad298ecc2 samples/bpf: adjust rlimit RLIMIT_MEMLOCK for xdp1 767f9da42096 ARM64: dts: meson-gxbb-odroidc2: fix usb1 power supply 65743dd02181 mtd: spi-nor: stm32-quadspi: Fix uninitialized error return code 0501313aa697 btrfs: tests: Fix a memory leak in error handling path in 'run_test()' 563e097ec448 btrfs: avoid null pointer dereference on fs_info when calling btrfs_crit 3faadbbe68b1 btrfs: undo writable superblocke when sprouting fails 7028f26c6034 btrfs: Explicitly handle btrfs_update_root failure 3f0a4dfc8eb9 Bluetooth: hci_ldisc: Fix another race when closing the tty. abb921b20fa0 Ib/hfi1: Return actual operational VLs in port info query 879b18ebb8f4 bcache: fix wrong cache_misses statistics 744eb7bd3386 bcache: explicitly destroy mutex while exiting 653aad5c1702 media: usbtv: fix brightness and contrast controls c4d5c7940953 GFS2: Take inode off order_write list when setting jdata flag 2e510357e1a6 scsi: scsi_debug: write_same: fix error report 56c755841ee6 misc: pci_endpoint_test: Avoid triggering a BUG() b55d52393e28 misc: pci_endpoint_test: Fix failure path return values in probe aeac8e4c0c15 thermal/drivers/step_wise: Fix temperature regulation misbehavior aaca414203c4 ASoC: rsnd: rsnd_ssi_run_mods() needs to care ssi_parent_mod 0587e5a36d00 ppp: Destroy the mutex when cleanup 4a7735ca4455 clk: tegra: Fix cclk_lp divisor register 0006385aadd0 clk: tegra: Use readl_relaxed_poll_timeout_atomic() in tegra210_clock_init() 6ae2754d991b blk-mq-sched: dispatch from scheduler IFF progress is made in ->dispatch ec4585cdc959 clk: hi6220: mark clock cs_atb_syspll as critical f203d6193f5c clk: imx6: refine hdmi_isfr's parent to make HDMI work on i.MX6 SoCs w/o VPU c9ce9a4d1734 clk: imx: imx7d: Fix parent clock for OCRAM_CLK 5f200f317929 clk: mediatek: add the option for determining PLL source clock 6f7955a0aa2a crypto: tcrypt - fix buffer lengths in test_aead_speed() 40734099baaa xfs: truncate pagecache before writeback in xfs_setattr_size() 165b974bd72a iommu/amd: Limit the IOVA page range to the specified addresses a2e1fcc04fb6 badblocks: fix wrong return value in badblocks_set if badblocks are disabled 75920b77b802 target/file: Do not return error for UNMAP if length is zero ca73c042292d target:fix condition return in core_pr_dump_initiator_port() 8e2ee3f5ff33 iscsi-target: fix memory leak in lio_target_tiqn_addtpg() f1ae60da96df target/iscsi: Fix a race condition in iscsit_add_reject_from_cmd() d5adfbee09dc target/iscsi: Detect conn_cmd_list corruption early edd7fdf83184 platform/x86: intel_punit_ipc: Fix resource ioremap warning da2aa58cb07b powerpc/pseries/vio: Dispose of virq mapping on vdevice unregister 2ae1d60028ab powerpc/ipic: Fix status get and status clear 1d0cfd6df447 powerpc/opal: Fix EBUSY bug in acquiring tokens 88189efa7ee7 netfilter: ipvs: Fix inappropriate output of procfs 39254860365c iommu/mediatek: Fix driver name c82f9ea385ab PCI: dwc: Fix enumeration end when reaching root subordinate 5dad0dfd17df PCI: Do not allocate more buses than available in parent 4a917030981d powerpc: Don't preempt_disable() in show_cpuinfo() 0bc0d339ff6c powerpc/powernv/cpufreq: Fix the frequency read by /proc/cpuinfo 7842177fdc43 PCI/PME: Handle invalid data when reading Root Status 301c44edb5a1 dmaengine: ti-dma-crossbar: Correct am335x/am43xx mux value type 2761bc37b1c2 ASoC: Intel: Skylake: Fix uuid_module memory leak in failure case c42830902147 PM / s2idle: Clear the events_check_enabled flag 9c70ec2c413d scsi: aacraid: address UBSAN warning regression 3819c3c756b0 scsi: aacraid: use timespec64 instead of timeval e262d43729be rtc: pcf8563: fix output clock rate 3ecf1bdeb61e video: fbdev: au1200fb: Return an error code if a memory allocation fails d56242baba22 video: fbdev: au1200fb: Release some resources if a memory allocation fails 3b53b4e4c0ab video: udlfb: Fix read EDID timeout f50c8ab6dc0d fbdev: controlfb: Add missing modes to fix out of bounds access bfbfacb318cd sfc: don't warn on successful change of MAC ae058bf77e63 HID: cp2112: fix broken gpio_direction_input callback 91590951dec1 ext4: fix crash when a directory's i_size is too small 4fae0491c35c ext4: fix fdatasync(2) after fallocate(2) operation df19eb58d7be dmaengine: dmatest: fix container_of member in dmatest_callback 100cb4506fb4 dmaengine: dmatest: move callback wait queue to thread context 4d873e954ac0 eeprom: at24: change nvmem stride to 1 b90737b239b0 iw_cxgb4: only insert drain cqes if wq is flushed 6b1f48a27656 dm: fix various targets to dm_register_target after module __init resources created 26c2e6fc10f1 scsi: core: Fix a scsi_show_rq() NULL pointer dereference 04039227baf7 nfsd: auth: Fix gid sorting when rootsquash enabled 143fdc512ac6 NFS: Fix unstable write completion 7482c56f758c NFS: Use an atomic_long_t to count the number of commits 3ef4a32040bf nfs: don't wait on commit in nfs_commit_inode() if there were no commit requests 4a70dd38f444 xhci: Don't add a virt_dev to the devs array before it's fully allocated fa7944fd5601 usb: xhci: fix TDS for MTK xHCI1.1 80aa2eb9b51b ceph: drop negative child dentries before try pruning inode's alias b9db0ab47687 mmc: core: apply NO_CMD23 quirk to some specific cards ff1b82c5314c usbip: fix stub_send_ret_submit() vulnerability to null transfer_buffer cea2ad71f37b usbip: fix stub_rx: harden CMD_SUBMIT path to handle malicious input 1e5edda8ccd3 usbip: fix stub_rx: get_pipe() to validate endpoint number 3ac1e4089c48 USB: core: prevent malicious bNumInterfaces overflow 2479ee21bf60 USB: uas and storage: Add US_FL_BROKEN_FUA for another JMicron JMS567 ID b3fd05a19818 tracing: Allocate mask_str buffer dynamically 5eb37713e296 kernel: make groups_sort calling a responsibility group_info allocators d87a616735d8 cifs: fix NULL deref in SMB2_read d22121ce1210 crypto: rsa - fix buffer overread when stripping leading zeroes 0ad02bd37731 mfd: fsl-imx25: Clean up irq settings during removal (From OE-Core rev: 408daaa6d0fb2147a541b0f14d73b362bd848d3c) (From OE-Core rev: 768051963683a354a80e11c7d792791b160c2f2b) (From OE-Core rev: 717dea8a2b98c15f4eacca333c3fa7d5df612a1c) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> {Fixup for Sumo context] 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-yocto/4.12: update to v4.12.26Bruce Ashfield2018-11-073-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating Paul Gortmaker's -stable 4.12 release, which comprises the following commits: b0f63e84c132 Linux 4.12.26 61be5424616e usbnet: fix alignment for frames with no ethernet header 6d0519e75609 tipc: fix memory leak in tipc_accept_from_sock() 8560506d5b7a tipc: call tipc_rcv() only if bearer is up in tipc_udp_recv() 5ceba73f1c24 tcp: remove buggy call to tcp_v6_restore_cb() 450a839e54a6 tcp/dccp: block bh before arming time_wait timer 872d246eaed9 stmmac: reset last TSO segment size after device open 74386d6ee7bf sit: update frag_off info 3df033244a42 s390/qeth: fix GSO throughput regression b7bd0107008f s390/qeth: fix early exit from error path 7f02573318ba s390/qeth: build max size GSO skbs on L2 devices 3c8a527e0496 rds: Fix NULL pointer dereference in __rds_rdma_map 00c0600c0a35 net: remove hlist_nulls_add_tail_rcu() 193d9a02e802 net: realtek: r8169: implement set_link_ksettings() 8fb1c5e220ee net: qmi_wwan: add Quectel BG96 2c7c:0296 0c2ba29a13d9 net/packet: fix a race in packet_bind() and packet_notifier() bb06331e9156 net: openvswitch: datapath: fix data type in queue_gso_packets ea15a664c5b8 usb: gadget: ffs: Forbid usb_ep_alloc_request from sleeping 7f11deffc177 ipmi: Stop timers before cleaning up the module fb006a18929e fix kcm_clone() ee82eaf439cc RDMA/cxgb4: Annotate r2 and stag as __be32 b71be191d4ed md: free unused memory after bitmap resize 6d24efc56915 dm raid: fix panic when attempting to force a raid to sync 490fc05683b4 blk-mq: Avoid that request queue removal can trigger list corruption d9e8cb49aaf1 ide: ide-atapi: fix compile error with defining macro DEBUG 115978628b54 ipvlan: fix ipv6 outbound device ee2ce344ee06 powerpc/powernv/idle: Round up latency and residency values 0fe4d3f9fb5b afs: Connect up the CB.ProbeUuid 94bdd552d7b1 IB/mlx5: Assign send CQ and recv CQ of UMR QP aa02d85e4d08 IB/mlx4: Increase maximal message size under UD QP dd955bcce383 bnxt_re: changing the ip address shouldn't affect new connections a4b3e59bcb04 f2fs: fix to clear FI_NO_PREALLOC 78f9d39a2735 xfrm: Copy policy family in clone_policy 4577662b6010 atm: horizon: Fix irq release error d7241b40fe6d kbuild: rpm-pkg: fix jobserver unavailable warning bffb011d5446 mailbox: mailbox-test: don't rely on rx_buffer content to signal data ready 849ef7edfa4c clk: hi3660: fix incorrect uart3 clock freqency d561354fe15d clk: uniphier: fix DAPLL2 clock rate of Pro5 eada5db0be6e clk: qcom: common: fix legacy board-clock registration 11ea07285eb4 geneve: fix fill_info when link down 4e0b53bd177a sctp: return error if the asoc has been peeled off in sctp_wait_for_sndbuf be7cba326d33 sctp: use the right sk after waking up from wait_buf sleep 2c485f6fa3be sctp: do not free asoc when it is already dead in sctp_sendmsg 6e2b427a32da slub: fix sysfs duplicate filename creation when slub_debug=O e66ebbc23607 zsmalloc: calling zs_map_object() from irq is a bug dc423eda615d sparc64/mm: set fields in deferred pages 956c73ca6664 block: wake up all tasks blocked in get_request() 1f35bda74d1a dt-bindings: usb: fix reg-property port-number range 412c76f0f9b8 sunrpc: Fix rpc_task_begin trace point 09f79313b317 NFS: Fix a typo in nfs_rename() a550f7b43f63 dynamic-debug-howto: fix optional/omitted ending line number to be LARGE instead of 0 80f443550f8f lib/genalloc.c: make the avail variable an atomic_long_t 1dfea0e03917 drivers/rapidio/devices/rio_mport_cdev.c: fix resource leak in error handling path in 'rio_dma_transfer()' 4add25bf3dff route: update fnhe_expires for redirect when the fnhe exists c53ad6cb2f86 route: also update fnhe_genid when updating a route cache d09b814cd2aa gre6: use log_ecn_error module parameter in ip6_tnl_rcv() f9ef4cd05462 mac80211_hwsim: Fix memory leak in hwsim_new_radio_nl() a95269b0e4e5 x86/mpx/selftests: Fix up weird arrays 76e5bd0ae30a coccinelle: fix parallel build with CHECK=scripts/coccicheck 59f2aa43a314 kbuild: pkg: use --transform option to prefix paths in tar 50ce05457e39 irqchip/qcom: Fix u32 comparison with value less than zero e3fec500f619 ARM: avoid faulting on qemu 602f85aeefb7 crypto: talitos - fix ctr-aes-talitos 73e76cb0ca1f crypto: talitos - fix use of sg_link_tbl_len f17fe30404de crypto: talitos - fix AEAD for sha224 on non sha224 capable chips f5fa317606b7 crypto: talitos - fix setkey to check key weakness 519619ec114a crypto: talitos - fix memory corruption on SEC2 e7984cca5abc crypto: talitos - fix AEAD test failures 64d05b5d1d86 bus: arm-ccn: fix module unloading Error: Removing state 147 which has instances left. e14e213dfd51 bus: arm-ccn: Fix use of smp_processor_id() in preemptible context 63efd55a2c6b bus: arm-ccn: Check memory allocation failure fd30c25b5596 bus: arm-cci: Fix use of smp_processor_id() in preemptible context d358187f050b media: dvb: i2c transfers over usb cannot be done from stack 2ae277ebe31f drm/exynos: gem: Drop NONCONTIG flag for buffers allocated without IOMMU 0792a5a27074 drm/bridge: analogix dp: Fix runtime PM state in get_modes() callback fdc899328ff3 kdb: Fix handling of kallsyms_symbol_next() return value 08f22e2251fd brcmfmac: change driver unbind order of the sdio function devices f9a77013fa02 powerpc/64s: Initialize ISAv3 MMU registers before setting partition table 9c6dfd696e5a KVM: s390: Fix skey emulation permission check 092937ce1aae s390: fix compat system call table 4f4b2e279816 s390: always save and restore all registers on context switch 8c54b7d880d4 smp/hotplug: Move step CPUHP_AP_SMPCFD_DYING to the correct place a2ec325c7d20 iommu/vt-d: Fix scatterlist offset handling 743ac71ece80 ALSA: usb-audio: Fix the missing ctl name suffix at parsing SU 1df6e988ae39 ALSA: usb-audio: Add check return value for usb_string() 974394e57a05 ALSA: usb-audio: Fix out-of-bound error f4753360efda ALSA: seq: Remove spurious WARN_ON() at timer check 478c2ed7ca1c ALSA: pcm: prevent UAF in snd_pcm_info b12060cae8c2 btrfs: handle errors while updating refcounts in update_ref_for_cow ecfc013c7f23 btrfs: fix missing error return in btrfs_drop_snapshot 45822ea3d1bf X.509: fix comparisons of ->pkey_algo 19057ced2699 X.509: reject invalid BIT STRING for subjectPublicKey a3ad8e49bc26 KEYS: reject NULL restriction string when type is specified 7c2ccfe13faa KEYS: add missing permission check for request_key() destination 664879ff9aef ASN.1: check for error from ASN1_OP_END__ACT actions 4c0e7ec3072d ASN.1: fix out-of-bounds read when parsing indefinite length item 17a6f363daf9 efi/esrt: Use memunmap() instead of kfree() to free the remapping 8dd372dd8845 efi: Move some sysfs files to be read-only by root 97c6b857262f scsi: libsas: align sata_device's rps_resp on a cacheline eb78a8b8f172 scsi: use dma_get_cache_alignment() as minimum DMA alignment db4a32fa5cf2 scsi: dma-mapping: always provide dma_get_cache_alignment 1f55442d0992 isa: Prevent NULL dereference in isa_bus driver callbacks 93fdb7dc713e hv: kvp: Avoid reading past allocated blocks from KVP file d745d533737a pinctrl: armada-37xx: Fix direction_output() callback behavior ae6add36f3ce iio: adc: meson-saradc: fix the bit_idx of the adc_en clock 50c87ecdb250 iio: adc: cpcap: fix incorrect validation 657257ba13ae iio: health: max30102: Temperature should be in milli Celsius 3da92b4ab2cc virtio: release virtio index when fail to device_register f6fe0d2777b2 can: peak/pcie_fd: fix potential bug in restarting tx queue 654babccd437 can: usb_8dev: cancel urb on -EPIPE and -EPROTO bda1dccdda47 can: esd_usb2: cancel urb on -EPIPE and -EPROTO 9ff8eb7ef05b can: ems_usb: cancel urb on -EPIPE and -EPROTO 51e5de2b036b can: mcba_usb: cancel urb on -EPROTO c94c94a367ef can: kvaser_usb: cancel urb on -EPIPE and -EPROTO c8474d8798ab can: kvaser_usb: ratelimit errors if incomplete messages are received 1936ba2b0b40 can: kvaser_usb: Fix comparison bug in kvaser_usb_read_bulk_callback() bc86162fa81a can: kvaser_usb: free buf in error paths 4a879f2d1636 can: ti_hecc: Fix napi poll return value for repoll 09b06e3f7b1d can: flexcan: fix VF610 state transition issue f81db8e7d0cb can: peak/pci: fix potential bug when probe() fails 7b747f65c553 can: mcba_usb: fix device disconnect bug 0a3964b0a8d3 usb: f_fs: Force Reserved1=1 in OS_DESC_EXT_COMPAT d1c24d05d7ec serdev: ttyport: fix tty locking in close 541fbaaf6db7 serdev: ttyport: fix NULL-deref on hangup a6d00d0df9e5 serdev: ttyport: add missing receive_buf sanity checks b30e0bedb66b usb: gadget: udc: renesas_usb3: fix number of the pipes (From OE-Core rev: 5fddf0226efc996f7eeba76f15e3335c9e60c2f3) (From OE-Core rev: 650cbbf76742adfd4e8c44c2c98dbeaaebc9e3bc) (From OE-Core rev: 433b22acce62dde53ac82f5ed3a65b153f4de47d) Signed-off-by: Bruce Ashfield <bruce.ashfield@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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.12: bump to v4.12.25Bruce Ashfield2018-11-073-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating Paul Gortmaker's v4.12.25 -stable queue, which comprises the following commits: e61748ef5db0 Linux 4.12.25 c34553e3e8af x86/bugs: Rename SSBD_NO to SSB_NO 4aa9e65a91b9 x86/bugs: Remove x86_spec_ctrl_set() 7283d22a40c4 x86/bugs: Expose x86_spec_ctrl_base directly 60fb8f1bbd46 x86/speculation: Rework speculative_store_bypass_update() cc8a65725832 x86/cpufeatures: Disentangle SSBD enumeration 4cadf648f802 x86/cpufeatures: Disentangle MSR_SPEC_CTRL enumeration from IBRS 14476a34b4d0 x86/speculation: Use synthetic bits for IBRS/IBPB/STIBP e66dd0595eac x86/cpu: Make alternative_msr_write work for 32-bit code 32e38eda9958 x86/bugs: Fix the parameters alignment and missing void 5593194735ea x86/bugs: Make cpu_show_common() static 86e7eb199990 x86/bugs: Fix __ssb_select_mitigation() return type 4efd9170a722 Documentation/spec_ctrl: Do some minor cleanups e074092d9d0a proc: Use underscores for SSBD in 'status' f57b4be9a391 x86/bugs: Rename _RDS to _SSBD f395cafed558 x86/speculation: Make "seccomp" the default mode for Speculative Store Bypass 9599751872de seccomp: Move speculation migitation control to arch code 647fb2d84f05 seccomp: Add filter flag to opt-out of SSB mitigation 44d5a1d9fe07 seccomp: Use PR_SPEC_FORCE_DISABLE 9490e71c3074 prctl: Add force disable speculation ad5b97fe1ab6 x86/bugs: Make boot modes __ro_after_init cfc00a7877b6 seccomp: Enable speculation flaw mitigations bc4bf81c64b0 proc: Provide details on speculation flaw mitigations a41d2136a447 nospec: Allow getting/setting on non-current task 7e17279e72b9 x86/speculation: Add prctl for Speculative Store Bypass mitigation eea6b1abc91e x86/process: Allow runtime control of Speculative Store Bypass c8630c28cd28 prctl: Add speculation control prctls ecefae5ca101 x86/speculation: Create spec-ctrl.h to avoid include hell 4bcdf54612aa x86/bugs/AMD: Add support to disable RDS on Fam[15,16,17]h if requested 6ce1317929a3 x86/bugs: Whitelist allowed SPEC_CTRL MSR values cd5e5e6f2e39 x86/bugs/intel: Set proper CPU features and setup RDS d97584229d85 x86/bugs: Provide boot parameters for the spec_store_bypass_disable mitigation 793b7453cfc5 x86/cpufeatures: Add X86_FEATURE_RDS c6c3cd47ccbb x86/bugs: Expose /sys/../spec_store_bypass 2d92a521bda7 x86/bugs: Read SPEC_CTRL MSR during boot and re-use reserved bits 81865e325abe x86/bugs: Concentrate bug reporting into a separate function 45245a5b9dc4 x86/bugs: Concentrate bug detection into a separate function 05e82d536970 x86/nospec: Simplify alternative_msr_write() effb0dfecfa2 x86/cpu_entry_area: Sync cpu_entry_area to initial_page_table 89fffee9d555 x86/xen: Zero MSR_IA32_SPEC_CTRL before suspend 76199d7beb0b x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPP 426210b00b02 x86/speculation: Use IBRS if available before calling into firmware 63904f8a6d41 x86/entry/64: Fix CR3 restore in paranoid_exit() 35cf6a9daf5f x86/cpu: Change type of x86_cache_size variable to unsigned int 7fded60b2cb7 x86/spectre: Fix an error message 343945a16727 x86/speculation: Add <asm/msr-index.h> dependency eb0f059ee2de nospec: Move array_index_nospec() parameter checking into separate macro 31951a39de73 x86/speculation: Fix up array_index_nospec_mask() asm constraint 344711f16fec x86/entry/64: Remove the unused 'icebp' macro d4324affaf05 x86/entry/64: Fix paranoid_entry() frame pointer warning 3cadbc9228b4 x86/entry/64: Indent PUSH_AND_CLEAR_REGS and POP_REGS properly 0d561147160c x86/entry/64: Get rid of the ALLOC_PT_GPREGS_ON_STACK and SAVE_AND_CLEAR_REGS macros 22c1269eefa9 x86/entry/64: Use PUSH_AND_CLEAN_REGS in more cases ac897d25b1d3 x86/entry/64: Introduce the PUSH_AND_CLEAN_REGS macro 226eea037fa6 x86/entry/64: Interleave XOR register clearing with PUSH instructions 120d889cac9f x86/entry/64: Merge the POP_C_REGS and POP_EXTRA_REGS macros into a single POP_REGS macro 2d5eb3888f24 x86/entry/64: Merge SAVE_C_REGS and SAVE_EXTRA_REGS, remove unused extensions 797a6f4444f1 x86/speculation: Clean up various Spectre related details ff032faca431 KVM/nVMX: Set the CPU_BASED_USE_MSR_BITMAPS if we have a valid L02 MSR bitmap 1aaab2d1a1fd KVM/x86: Reduce retpoline performance impact in slot_handle_level_range(), by always inlining iterator helper methods dd17c0f5a114 Revert "x86/speculation: Simplify indirect_branch_prediction_barrier()" add7dd4f1f81 x86/speculation: Correct Speculation Control microcode blacklist again 358f03a9395f x86/speculation: Update Speculation Control microcode blacklist 0307861327c7 x86/mm/pti: Fix PTI comment in entry_SYSCALL_64() a612b987b028 x86/entry/64/compat: Clear registers for compat syscalls, to reduce speculation attack surface 1b8b432f6dee x86/entry/64: Clear registers for exceptions/interrupts, to reduce speculation attack surface 513e4bbfc32c x86/entry/64: Clear extra registers beyond syscall arguments, to reduce speculation attack surface (From OE-Core rev: 400c1bd54c0191b96bccfe0d2755995bdfc04fc1) (From OE-Core rev: 50bf492ce1db930b5a1c3f0d750015c04a6aaaf0) (From OE-Core rev: 7f06443cbf482c6922fba077330738ea505f85f7) Signed-off-by: Bruce Ashfield <bruce.ashfield@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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.12: gcc8 + platform supportBruce Ashfield2018-11-073-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the following changes to fix gcc8 issues, add perf support for new platforms, and misc bug fixes: 7e7ac3f0fda9 perf vendor events intel: Update Goldmont events to V12 0a384f4a74bb perf intel-pt: Always set no branch for dummy event d55c0eebc474 perf intel-pt: Set no_aux_samples for the tracking event 1f0b8b1b621f perf vendor events: Add Goldmont Plus V1 event file 6b230bd7967e objtool, perf: Fix GCC 8 -Wrestrict error 2eb720eab978 tools/lib/subcmd/pager.c: do not alias select() params 16818d5811b1 clocksource/drivers/arm_arch_timer: Fix mem frame loop initialization 0924074f300a of: dynamic: fix memory leak related to properties of __of_node_dup f6579a9e6a8e debugobjects: Make kmemleak ignore debug objects 9184d19fa9ba intel-socfpga: dts: improve qspi node for rsu feature 68846ecd1d27 intel-socfpga: dts: add rsu node to enable rsu driver 9f174f4e95f7 FogBugz #514234: arm64: dts: stratix10: Add PL330 DMA to Stratix10 dts 8a97ef8580e8 FogBugz #554835-3: Intel RSU binding documentation c850e5570554 FogBugz #554835-1: Add Stratix 10 SoC RSU Driver e030a1b198b4 FogBugz #549288-4: dts: add Stratix10 sdram ecc c25a3bffb901 FogBugz #549288-3: edac: Add support for Stratix10 SDRAM EDAC 64430c11c84b FogBugz #549288-2: Add Stratix10 ECC Manager binding c34e0d995e50 FogBugz #549288-1: misc: Stratix10 Protected register access defines ac8afaba8d13 mtd: spi-nor: cadence-quadspi: Fix page fault kernel panic 16431863e036 FogBugz #554812: fpga: stratix10: unitialized data 1ee99e139667 arm64: dts: stratix10: Change pad skew values for EMAC0 PHY driver 3269b14acb76 FogBugz #251539-2: dts: Add Altera Quad SPI Driver Device Tree Binding 99a5d81c3ea7 FogBugz #251539-1: Add Altera Quad SPI Driver (From OE-Core rev: 37410a8ff156530dabdfdc7be4cd575768fa688d) (From OE-Core rev: bffa3ca508b8542157efdd2ff61ff8a7922a6468) (From OE-Core rev: 6130fad4231f4fb78abffb11b397fa6e4261be13) Signed-off-by: Bruce Ashfield <bruce.ashfield@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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* yocto-uninative: Upgrade to verson 2.3 which includes glibc 2.28Richard Purdie2018-11-071-4/+4
| | | | | | | | | | | | | | | | This allows us to handle distros which contain glibc 2.28 such as Ubuntu 18.10. (From OE-Core rev: 5c7d9abcd611d23d4340f9a0aee2564f72158a0b) (From OE-Core rev: b3d50458fdf8de719030a9d316fc766dc52912af) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Fixed up for sumo context] Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* os-release: move to nonarch_libdirDan McGregor2018-11-071-4/+4
| | | | | | | | | | | | | | Even on multilib systems, /usr/lib is where systemd expects the os-release file to live. (From OE-Core rev: b7b476efee8c959a0227905e40bd9b5ef493632d) (From OE-Core rev: b1d7ff6eea46af96c84d16111d5327700723cb98) Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> 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>
* os-release: fix to install in the expected locationJoshua Lock2018-11-071-3/+6
| | | | | | | | | | | | | | | | | | | os-release (5) recommends that the os-release file be installed in /usr/lib/os-release and that /etc/os-release be a relative symlink to it. (From OE-Core rev: 4feb8614ee25a3d3ceb7f5187120a1256a993155) (From OE-Core rev: 4e67fa950cd3ca6e44d7f46743904d23a756e498) (From OE-Core rev: 26138b13baddf8b236ede7f0e01fb39063d65eb1) Signed-off-by: Joshua Lock <joshua.g.lock@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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata: update to 2018fArmin Kuster2018-11-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Briefly: Volgograd moves from +03 to +04 on 2018-10-28. Fiji ends DST 2019-01-13, not 2019-01-20. Most of Chile changes DST dates, effective 2019-04-06. Changes to future timestamps Volgograd moves from +03 to +04 on 2018-10-28 at 02:00. (Thanks to Alexander Fetisov and Stepan Golosunov.) Fiji ends DST 2019-01-13 instead of the 2019-01-20 previously predicted. (Thanks to Raymond Kumar.) Adjust future predictions accordingly. Most of Chile will end DST on the first Saturday in April at 24:00 mainland time, and resume DST on the first Saturday in September at 24:00 mainland time. The changes are effective from 2019-04-06, and do not affect the Magallanes region modeled by America/Punta_Arenas. (Thanks to Juan Correa and Tim Parenti.) Adjust future predictions accordingly. Changes to past timestamps The 2018-05-05 North Korea 30-minute time zone change took place at 23:30 the previous day, not at 00:00 that day. China's 1988 spring-forward transition was on April 17, not April 10. Its DST transitions in 1986/91 were at 02:00, not 00:00. (Thanks to P Chan.) Fix several issues for Macau before 1992. Macau's pre-1904 LMT was off by 10 s. Macau switched to +08 in 1904 not 1912, and temporarily switched to +09/+10 during World War II. Macau observed DST in 1942/79, not 1961/80, and there were several errors for transition times and dates. (Thanks to P Chan.) The 1948-1951 fallback transitions in Japan were at 25:00 on September's second Saturday, not at 24:00. (Thanks to Phake Nick.) zic turns this into 01:00 on the day after September's second Saturday, which is the best that POSIX or C platforms can do. Incorporate 1940-1949 Asia/Shanghai DST transitions from a 2014 paper by Li Yu, replacing more-questionable data from Shanks. Changes to time zone abbreviations Use "PST" and "PDT" for Philippine time. (Thanks to Paul Goyette.) Changes to documentation New restrictions: A Rule name must start with a character that is neither an ASCII digit nor "-" nor "+", and an unquoted name should not use characters in the set "!$%&'()*,/:;<=>?@[\]^`{|}~". The latter restriction makes room for future extensions (a possibility noted by Tom Lane). tzfile.5 now documents what time types apply before the first and after the last transition, if any. Documentation now uses the spelling "timezone" for a TZ setting that determines timestamp history, and "time zone" for a geographic region currently sharing the same standard time. The name "TZif" is now used for the tz binary data format. tz-link.htm now mentions the A0 TimeZone Migration utilities. (Thanks to Aldrin Martoq for the link.) Changes to build procedure New 'make' target 'rearguard_tarballs' to build the rearguard tarball only. This is a convenience on platforms that lack lzip if you want to build the rearguard tarball. (Problem reported by Deborah Goldsmith.) tzdata.zi is now more stable from release to release. (Problem noted by Tom Lane.) It is also a bit shorter. tzdata.zi now can contain comment lines documenting configuration information, such as which data format was selected, which input files were used, and how leap seconds are treated. (Problems noted by Lester Caine and Brian Inglis.) If the Makefile defaults are used these comment lines are absent, for backward compatibility. A redistributor intending to alter its copy of the files should also append "-LABEL" to the 'version' file's first line, where "LABEL" identifies the redistributor's change. (From OE-Core rev: 9d786808fb9471eff46d95dd354f6254e468aa17) (From OE-Core rev: 834df7b26c12e4d164a50bcd07b194cb455336ae) 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>
* tzcode: update to 2018fArmin Kuster2018-11-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to code zic now always generates TZif files where time type 0 is used for timestamps before the first transition. This simplifies the reading of TZif files and should not affect behavior of existing TZif readers because the same set of time types is used; only their internal indexes may have changed. This affects only the legacy zones EST5EDT, CST6CDT, MST7MDT, PST8PDT, CET, MET, and EET, which previously used nonzero types for these timestamps. Because of the type 0 change, zic no longer outputs a dummy transition at time -2**59 (before the Big Bang), as clients should no longer need this to handle historical timestamps correctly. This reverts a change introduced in 2013d and shrinks most TZif files by a few bytes. zic now supports negative time-of-day in Rule and Leap lines, e.g., "Rule X min max - Apr lastSun -6:00 1:00 -" means the transition occurs at 18:00 on the Saturday before the last Sunday in April. This behavior was documented in 2018a but the code did not entirely match the documentation. localtime.c no longer requires at least one time type in TZif files that lack transitions or have a POSIX-style TZ string. This future-proofs the code against possible future extensions to the format that would allow TZif files with POSIX-style TZ strings and without transitions or time types. A read-access subscript error in localtime.c has been fixed. It could occur only in TZif files with timecnt == 0, something that does not happen in practice now but could happen in future versions. localtime.c no longer ignores TZif POSIX-style TZ strings that specify only standard time. Instead, these TZ strings now override the default time type for timestamps after the last transition (or for all time stamps if there are no transitions), just as DST strings specifying DST have always done. leapseconds.awk now outputs "#updated" and "#expires" comments, and supports leap seconds at the ends of months other than June and December. (Inspired by suggestions from Chris Woodbury.) (From OE-Core rev: 4670dcdb6e2504469c30ebed828d4702d8c0003c) (From OE-Core rev: 14b02a009ee97da39ad3f140215812c853d40348) 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>
* tzdata: update to 2018eArmin Kuster2018-11-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Briefly: North Korea switches back to +09 on 2018-05-05. The main format uses negative DST again, for Ireland etc. 'make tarballs' now also builds a rearguard tarball. New 's' and 'd' suffixes in SAVE columns of Rule and Zone lines. Changes to past and future time stamps North Korea switches back from +0830 to +09 on 2018-05-05. (Thanks to Kang Seonghoon, Arthur David Olson, Seo Sanghyeon, and Tim Parenti.) Bring back the negative-DST changes of 2018a, except be more compatible with data parsers that do not support negative DST. Also, this now affects historical time stamps in Namibia and the former Czechoslovakia, not just Ireland. The main format now uses negative DST to model time stamps in Europe/Dublin (from 1971 on), Europe/Prague (1946/7), and Africa/Windhoek (1994/2017). This does not affect UT offsets, only time zone abbreviations and the tm_isdst flag. Also, this does not affect rearguard or vanguard formats; effectively the main format now uses vanguard instead of rearguard format. Data parsers that do not support negative DST can still use data from the rearguard tarball described below (From OE-Core rev: f717eeff2d4823163cb72fb79101220cc48b3286) (From OE-Core rev: 7e3d97ca8ceea71f66385ba733c389a1c410ebd3) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzcode-native: updatet to 2018eArmin Kuster2018-11-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to build procedure The command 'make tarballs' now also builds the tarball tzdataVERSION-rearguard.tar.gz, which is like tzdataVERSION.tar.gz except that it uses rearguard format intended for trailing-edge data parsers. Changes to data format and to code The SAVE column of Rule and Zone lines can now have an 's' or 'd' suffix, which specifies whether the adjusted time is standard time or daylight saving time. If no suffix is given, daylight saving time is used if and only if the SAVE column is nonzero; this is the longstanding behavior. Although this new feature is not used in tzdata, it could be used to specify the legal time in Namibia 1994-2017, as opposed to the popular time (see below). Changes to past time stamps From 1994 through 2017 Namibia observed DST in winter, not summer. That is, it used negative DST, as Ireland still does. This change does not affect UTC offsets; it affects only the tm_isdst flag and the abbreviation used during summer, which is now CAT, not WAST. Although (as noted by Michael Deckers) summer and winter time were both simply called "standard time" in Namibian law, in common practice winter time was considered to be DST (as noted by Stephen Colebourne). The full effect of this change is only in vanguard format; in rearguard and main format, the tm_isdst flag is still zero in winter and nonzero in summer. In 1946/7 Czechoslovakia also observed negative DST in winter. The full effect of this change is only in vanguard format; in rearguard and main formats, it is modeled as plain GMT without daylight saving. Also, the dates of some 1944/5 DST transitions in Czechoslovakia have been changed. (From OE-Core rev: aeb3d295581908ca9a9d8f1705f70b49b2de32e3) (From OE-Core rev: 46bbf84f441c65f910558649c7ed2350b023cbf9) 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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzcode-native: update to 2018dakuster@mvista.com2018-11-071-4/+4
| | | | | | | | | | | | (From OE-Core rev: 257a61425075aaace928ce1e2303cd0de2127203) (From OE-Core rev: 1019edfded5ae323d51606f933eb6177d4d49ee2) Signed-off-by: Armin Kuster <akuster@mvista.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>
* tzdata: update to 2018dakuster@mvista.com2018-11-071-2/+2
| | | | | | | | | | | | (From OE-Core rev: af7ca3e3596784c5837e9bd339cc7114883ce67a) (From OE-Core rev: 159f9a120b5407517d825302ca19786dd042b64f) Signed-off-by: Armin Kuster <akuster@mvista.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>
* tzcode: remove unused patch filesJuro Bystricky2018-11-072-289/+0
| | | | | | | | | | | (From OE-Core rev: 7118b4df6d43de4d27426826ce2dce93b2baf9b4) (From OE-Core rev: 7edc4a6d92599fa56b0b70e24e9789f3dbbeeee2) Signed-off-by: Juro Bystricky <juro.bystricky@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>
* valgrind: fix compile ptest failure on mips32Hongxu Jia2018-11-053-1/+131
| | | | | | | | | | | | | | | | | | - Pass mips32's CFLAGS to tests - Fix broken inline asm in tests on mips32-linux - Build mips n32 successfully, support it. (From OE-Core rev: 23d9eba99d1180a0b859aadc23a10b391b8f6440) (From OE-Core rev: 2c7d665e9f643a3b13565b0a4a75d5cb3f8eba94) 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>
* valgrind: fix ptest compilation for PowerPC64Jagadeesh Krishnanjanappa2018-11-051-0/+78
| | | | | | | | | | | | | | | | | | | | | | | The fix is similar to what was done for PowerPC32. It solves below error, while compiling for PowerPC64, -- snip -- | ../../../../valgrind-3.13.0/none/tests/ppc64/test_isa_2_06_part2.c: In function 'usage': | ../../../../valgrind-3.13.0/none/tests/ppc64/test_isa_2_06_part2.c:1778:3: warning: implicit declaration of function 'fprintf' [-Wimplicit-function-declaration] | fprintf(stderr, | ^~~~~~~ | ../../../../valgrind-3.13.0/none/tests/ppc64/test_isa_2_06_part2.c:1778:3: warning: incompatible implicit declaration of built-in function 'fprintf' | ../../../../valgrind-3.13.0/none/tests/ppc64/test_isa_2_06_part2.c:1778:3: note: include '<stdio.h>' or provide a declaration of 'fprintf' | ../../../../valgrind-3.13.0/none/tests/ppc64/test_isa_2_06_part2.c:1778:11: error: 'stderr' undeclared (first use in this function) | fprintf(stderr, | ^~~~~~ -- snip -- (From OE-Core rev: 49bac1a59bc1cfebce69cad723f74d44e1fbe1d5) Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* valgrind: fix the shared object issue while prelink ptestZhixiong Chi2018-11-052-36/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | If valgrind-ptest is installed, we will get the some prelink error like below at do_image: .../usr/sbin/prelink: /usr/lib64/valgrind/ptest/memcheck/tests/wrap7:\ Could not find one of the dependencies: \ .../usr/sbin//prelink-rtld: error \ while loading shared libraries: wrap7so.so: cannot open shared \ object file: No such file or directory The wrap7 needs to link the shared object in the path /usr/lib64/valgrind/ptest/memcheck/tests, but it fails. So we correct the path for ptest. (From OE-Core rev: 1ec0c977c55ae2c38252e1807dc15c56007d30dc) (From OE-Core rev: f679285f54fa1d160d22a25682d50eb5032c2569) Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Chen Qi <Qi.Chen@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>
* valgrind: Mask CPUID support in HWCAP on aarch64Manjukumar Matha2018-11-052-0/+37
| | | | | | | | | | | | | | | | | | | | | | | | | valgrind currently does not know anything about the CPUID flag added to the HWCAP auxv entry in kernel 4.11+ At runtime it will fails like this: ARM64 front end: branch_etc disInstr(arm64): unhandled instruction 0xD5380001 disInstr(arm64): 1101'0101 0011'1000 0000'0000 0000'0001 ==2082== valgrind: Unrecognised instruction at address 0x4014e64. This patch is a workaround by masking all HWCAP. This patch is dervied from https://bugzilla.redhat.com/show_bug.cgi?id=1464211 (From OE-Core rev: cdeb3d530af6cec1959c986aff3d6906939c8918) (From OE-Core rev: e6cb66399f6ba874a7954d3212157576030dda34) Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.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>
* toolchain-scripts: preserve host path in environment setup scriptChin Huat Ang2018-11-051-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | The environment setup script generated in the build directory sets the PATH variable by expanding ${PATH} which would have host paths filtered. Sourcing this script to run runqemu will not work as it complains host stty (/bin/stty) cannot be found. To resolve this, the script no longer expands ${PATH} during generation time, instead it will now source oe-init-build-env to initialize the build environment so that all host paths will be preserved. Also be sure to prepend STAGING_BINDIR_TOOLCHAIN to the PATH variable so that the toolchain from the build directory can be found. [YOCTO #12695] (From OE-Core rev: a64a144096c0637387244b89ed22f4b5352b2522) (From OE-Core rev: d4657ac24542967ecd241726063da2d2dc3e9e23) Signed-off-by: Chin Huat Ang <chin.huat.ang@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>
* lsb/lsbtests: Update package lists to use latest version of binaryJose Perez Carranza2018-11-051-1/+1
| | | | | | | | | | | | | | | | | | | | Currently package list is pointing to "lsb-setup-4.1.0-1.noarch.rpm" which is not available anymore on http://ftp.linuxfoundation.org/pub/lsb/base/released-all/binary/ hence BASE_PACKAGES_LIST is updated to point to the latest available version. [YOCTO #12240] (From OE-Core rev: a1e61b05d83de0feeb6d05851477108902d1dfb0) (From OE-Core rev: 5db7781c27bb4bb57e8a6749337bf52dc33355cc) Signed-off-by: Jose Perez Carranza <jose.perez.carranza@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* perl: skip tests that are not usefulAnuj Mittal2018-11-054-88/+128
| | | | | | | | | | | | | | | | | | | | | | Some tests, like the one that compares the hashes for a list of files against those stored in a .dat file, don't make sense for downstream distros packaging perl. Backport a patch from upstream that allows skipping of these tests at runtime. Also remove the local patch trying to keep hashes up-to-date for one of those tests. Fixes [YOCTO #12787] (From OE-Core rev: 557f4618b75b8739a647e46054ab587ae2bbdc25) (From OE-Core rev: 5cabded0895a5634b194ba125d1231b52e09a5e9) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Fix up for rocko context] Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* documentation: Updated release date for 2.4.4 releaseScott Rifenbark2018-10-208-8/+8
| | | | | | | | | | It was September. More likely to be November now. All manual history tables updated. (From yocto-docs rev: ee04a4f2b95ab99d16b2c0418c12f91350c5bdef) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* make: add missing Signed-off-byRoss Burton2018-10-181-0/+1
| | | | | | | | | | | | (From OE-Core rev: 5282774e0a8df40a04808622e6d265157477488f) (From OE-Core rev: 4aa55a2c338e38816275789ac89cdd617bda9b42) 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>
* make: Backport fixes to not assume glibc internal glob implementationKhem Raj2018-10-183-1/+111
| | | | | | | | | | | | | Exposed with glibc 2.27 (From OE-Core rev: cdf370f1bd046ba6207b63c9a82bdfff2b261a7d) (From OE-Core rev: bd81e47c12b8f3bbb8a9e24379b6632e36f11462) Signed-off-by: Khem Raj <raj.khem@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>
* recipes: Update git.gnome.org addresses after upstream changesRichard Purdie2018-10-187-8/+9
| | | | | | | | | | | | | | | | | | | | git.gnome.org is no more. It has ceased to be. It's an ex-git. Please see here: https://about.gitlab.com/2018/05/31/welcome-gnome-to-gitlab/ Note that gitlab does not support git://, only https:// (and ssh). [Commit message from Alexander Kanavin] (From OE-Core rev: 8382cdc0888ca645a44aacaac1155afb8dcde979) (From OE-Core rev: d40c87b003b290a1739039156b27f194f68f12c2) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Fixup for sumo context] Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* cryptodev: Fix build errors with v4.17+He Zhe2018-10-182-0/+44
| | | | | | | | | | | | | | | | Backport from upstream to update internal syscall function usage. https://github.com/cryptodev-linux/cryptodev-linux f60aa08c63fc02780554a0a12180a478ca27d49f (From OE-Core rev: 270a1e9bcf26a43f5cbdc5b901c4c6f79495311d) (From OE-Core rev: 87718444c054bad8d83e19d4ead2397420c63289) Signed-off-by: He Zhe <zhe.he@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>
* shadow: CVE-2016-6252Armin Kuster2018-10-102-0/+49
| | | | | | | | | | | | Backport patch from the upstream https://github.com/shadow-maint/shadow/commit/ 1d5a926cc2d6078d23a96222b1ef3e558724dad1 (From OE-Core rev: dd9e2dedb9ab41f509bae26f12704cbee1eb765d) Signed-off-by: Zhixiong Chi <zhixiong.chi@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: update ownership and permission of /var/spool/mailKai Kang2018-10-101-1/+2
| | | | | | | | | | | | | | | | | | | | Update shadow to change ownership of /var/spool/mail from root:root to root:mail and permission from 0755 to 0775 just as in most popular distributions such as fedora and debian(It also set setgid bit in debian but we don't need it). (From OE-Core rev: b3ab5fe359c38cdd5cd86cb8ffe076d7a2baac18) (From OE-Core rev: a77eff19be1d5812999bf584364000440f218fbb) (From OE-Core rev: 1af360c925a044fa4fa093cd109f3f2a5cbe7944) Signed-off-by: Kai Kang <kai.kang@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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* shadow: CVE-2018-7169Jagadeesh Krishnanjanappa2018-10-102-0/+187
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | newgidmap: enforce setgroups=deny if self-mapping a group This is necessary to match the kernel-side policy of "self-mapping in a user namespace is fine, but you cannot drop groups" -- a policy that was created in order to stop user namespaces from allowing trivial privilege escalation by dropping supplementary groups that were "blacklisted" from certain paths. This is the simplest fix for the underlying issue, and effectively makes it so that unless a user has a valid mapping set in /etc/subgid (which only administrators can modify) -- and they are currently trying to use that mapping -- then /proc/$pid/setgroups will be set to deny. This workaround is only partial, because ideally it should be possible to set an "allow_setgroups" or "deny_setgroups" flag in /etc/subgid to allow administrators to further restrict newgidmap(1). We also don't write anything in the "allow" case because "allow" is the default, and users may have already written "deny" even if they technically are allowed to use setgroups. And we don't write anything if the setgroups policy is already "deny". Ref: https://bugs.launchpad.net/ubuntu/+source/shadow/+bug/1729357 Fixes: CVE-2018-7169 Affects shadow <= 4.5 (From OE-Core rev: a875522540372a4fa6658885692e564dfd729f54) (From OE-Core rev: cfc8931d53cf9959995a4068a7e397e100922358) Signed-off-by: Jagadeesh Krishnanjanappa <jkrishnanjanappa@mvista.com> 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>
* shadow: fix CVE-2017-2616Andrej Valek2018-10-102-0/+65
| | | | | | | | | | | | | | | | (From OE-Core rev: 94a1e2794df15f0f2cb62ae030cd81e6c0798b1f) (From OE-Core rev: 8894c70ae5a44974f74434d251def3148818a866) (From OE-Core rev: eec9169658733335c6f8251b5122706fa8ab467d) Signed-off-by: Andrej Valek <andrej.valek@siemens.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> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license.bbclass: be a bit more strict when searching ↵Martin Jansa2018-10-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ${PN}-${LICENSE_PACKAGE_SUFFIX} in packages * linux-firmware contains ${PN}-license package since this commit: commit 1ee083da0730408fffdbbf5f29abc299c0e61be9 Author: Jackie Huang <jackie.huang@windriver.com> Date: Mon Apr 13 10:17:21 2015 +0800 linux-firmware: fix the mess of licenses * LICENSE_CREATE_PACKAGE functionality in license.bbclass when enabled adds new package with suffix: LICENSE_PACKAGE_SUFFIX ??= "-lic" but then it checks if ${PN}-${LICENSE_PACKAGE_SUFFIX} is included in PACKAGES before adding it and when found it shows: WARNING: linux-firmware-1_0.0+gitAUTOINC+4c0bf113a5-r0 do_package: linux-firmware-lic package already existed in linux-firmware. and doesn't add the ${PN}-lic to PACKAGES and causes another warning: WARNING: linux-firmware-1_0.0+gitAUTOINC+4c0bf113a5-r0 do_package: QA Issue: linux-firmware: Files/directories were installed but not shipped in any package: /usr /usr/share /usr/share/licenses /usr/share/licenses/linux-firmware that's because it was searching ${PN}-lic in PACKAGES as a string so it found ${PN}-lic as a substring of ${PN}-license, add a split to search in an list (From OE-Core rev: 9b9897fc034819385a9d4ce591cc79dd458f3f24) (From OE-Core rev: 9aed83eb8694a0bd409a6a2481bfd2a1b98919e1) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> [Yocto 12572] Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* license.bbclass: Minor simplification of get_deployed_dependencies()Peter Kjellerstedt2018-10-101-3/+1
| | | | | | | | | | | | | | | Since ${SSTATE_ARCHS} now contains ${PACKAGE_EXTRA_ARCHS} there is no longer any need to add those extra architectures to the list of architectures handled in get_deployed_dependencies(). (From OE-Core rev: e55e6df4f1434458cdfa0e2d3610b48119e5a782) (From OE-Core rev: 64ca9e513eabc85db9648a6483bd3024c7fe8746) Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.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>