summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* linux-yocto/4.8: update to -rt10Bruce Ashfield2017-05-183-4/+4
| | | | | | | | | | | | | | | Paul Gortmaker has updated 4.8 to the latest -rt release. This integrates those changes to standard/preempt-rt/*. As usual the branches are kept fast forward, and a clean copy of the patches can be found on standard/preempt-rt/rebase. (From OE-Core rev: f20ab66d2d012c535755af556d81412d5182cefd) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 9b4a71785221e2b67180fe6047e2ba2ad83f6523) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.1: update to v4.1.37Bruce Ashfield2017-05-183-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the -stable release. Changes are as follows: 35327468a79d Linux 4.1.37 c27edfb64bbf scsi: megaraid_sas: fix macro MEGASAS_IS_LOGICAL to avoid regression 016d02981cce tipc: check minimum bearer MTU efcf38bd4020 net: ping: check minimum size on ICMP header length e29fdf045048 packet: fix race condition in packet_set_ring fabaaaa96d54 net: add recursion limit to GRO 7abf32087c1d Bluetooth: Fix potential NULL dereference in RFCOMM bind callback 74cd81c810b9 ptrace: being capable wrt a process requires mapped uids/gids 8165fc3eb28c scsi: arcmsr: Buffer overflow in arcmsr_iop_message_xfer() 1171afc4a34e mnt: Add a per mount namespace limit on the number of mounts 62fa696b7b43 posix_acl: Clear SGID bit when setting file permissions de42b9559d0c fs: Avoid premature clearing of capabilities cb8e1eef351b fs: Give dentry to inode_change_ok() instead of inode 2ee3ceeccd34 nfsd: Disable NFSv2 timestamp workaround for NFSv3+ 820bc4582ab9 fuse: Propagate dentry down to inode_change_ok() 89bc54c54027 xfs: Propagate dentry down to inode_change_ok() 1b364dc9edba xattr: Option to disable meta-data block cache 9a66bc6ee0f9 tcp: fix use after free in tcp_xmit_retransmit_queue() ebdb88b8e465 x86/kexec: add -fno-PIE 672612a21845 scripts/has-stack-protector: add -fno-PIE e06ded86d961 x86/init: Fix cr4_init_shadow() on CR4-less machines eec746939372 ARM: 8617/1: dma: fix dma_max_pfn() 58024f829d0b mm,ksm: fix endless looping in allocating memory when ksm enable d427d645ccf9 can: dev: fix deadlock reported after bus-off 791a92897274 cpuset: handle race between CPU hotplug and cpuset_hotplug_work 6b82b0601ac2 mtd: nand: davinci: Reinitialize the HW ECC engine in 4bit hwctl e537a0977f3e drm/msm: fix use of copy_from_user() while holding spinlock b56eb9cdc5f1 bus: arm-ccn: Fix PMU handling of MN 7298a8bf4c63 bus: arm-ccn: Provide required event arguments (From OE-Core rev: f38c64c607373070982d52c40af545d37a7217ee) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 592468a262cc01e4954be33b4281ffca84fea838) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.8: -stable update to v4.8.17Bruce Ashfield2017-05-183-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the korg 4.8.17 -stable release. Changes are as follows: 3d8f8d06abb3 Linux 4.8.17 adf363fd5ab9 drm/i915: skip the first 4k of stolen memory on everything >= gen8 000e612673da drm/i915: Initialize dev_priv->atomic_cdclk_freq at init time 22aba475d97b drm/i915: Fix cdclk vs. dev_cdclk mess when not recomputing things 294bb3402c76 drm/i915/dsi: Do not clear DPOUNIT_CLOCK_GATE_DISABLE from vlv_init_display_clock_gating 6a412ff3df87 drm/i915/dsi: Fix chv_exec_gpio disabling the GPIOs it is setting 4803ec2a74c4 net: mvpp2: fix dma unmapping of TX buffers for fragments 48f26edb689c sg_write()/bsg_write() is not fit to be called under KERNEL_DS d787c6b32c3f kconfig/nconf: Fix hang when editing symbol with a long prompt e141d1a21e31 target/user: Fix use-after-free of tcmu_cmds if they are expired 29f3d1127c4b libnvdimm, pfn: fix align attribute 3a4e4281b5cd powerpc/ps3: Fix system hang with GCC 5 builds e451d674bac5 powerpc/64e: Convert cmpi to cmpwi in head_64.S 0349fbebd984 SUNRPC: fix refcounting problems with auth_gss messages. c513ade4ca56 pNFS: Fix a deadlock between read resends and layoutreturn abb2903f1ac2 pNFS: Clear NFS_LAYOUT_RETURN_REQUESTED when invalidating the layout stateid f061c76c1d56 pNFS: Don't clear the layout stateid if a layout return is outstanding 7de1b81c27fd pNFS: On error, do not send LAYOUTGET until the LAYOUTRETURN has completed 8f5ff877bf19 nfs_write_end(): fix handling of short copies 1678adac85da libceph: verify authorize reply on connect 1f93d1a77b17 PCI: Check for PME in targeted sleep state c75bc2bde102 i40iw: Use correct src address in memcpy to rdma stats counters 7d0a6cf3e8c9 Input: drv260x - fix input device's parent assignment b7843712cbd2 v4l: tvp5150: Add missing break in set control handler 4963b1910090 media: solo6x10: fix lockup by avoiding delayed register write 88bfde25e60f s5p-mfc: fix failure path of s5p_mfc_alloc_memdev() c3fe33d185e0 mn88473: fix chip id check on probe 84b2f664409c mn88472: fix chip id check on probe 15d1d226eab4 IB/cma: Fix a race condition in iboe_addr_get_sgid() 7b3721aff59b IB/rxe: Fix a memory leak in rxe_qp_cleanup() 2a0aa77a54fb IB/multicast: Check ib_find_pkey() return value 37d4adba02d3 IPoIB: Avoid reading an uninitialized member variable f079fc11f28e IB/mad: Fix an array index check e661b5d4b94f fgraph: Handle a case where a tracer ignores set_graph_notrace b2758da04d73 platform/x86: asus-nb-wmi.c: Add X45U quirk f61152e3bbf0 ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to it 8569aadeed3f vsock/virtio: fix src/dst cid format 576ea9e5e92e fsnotify: Fix possible use-after-free in inode iteration on umount 43983ce75e61 kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF) 9a5cf8c4b112 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT b751eb6e9d99 KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state 0773e9248ae3 scsi: aacraid: remove wildcard for series 9 controllers b202064f0b3f md/raid5: limit request size according to implementation limits 47090341ec97 sc16is7xx: Drop bogus use of IRQF_ONESHOT c33e1abd2e31 arm64: KVM: pmu: Reset PMSELR_EL0.SEL to a sane value before entering the guest d3d61bb37afb s390/kexec: use node 0 when re-adding crash kernel memory 9652b62af49d s390/vmlogrdr: fix IUCV buffer allocation f356ab038e78 firmware: fix usermode helper fallback loading 5c98bf834d6f ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache cc328ce59a4a scsi: avoid a permanent stop of the scsi device's request queue 6d675dffd425 scsi: zfcp: fix rport unblock race with LUN recovery 057fe03d627e scsi: zfcp: do not trace pure benign residual HBA responses at default level 5cebfea8080c scsi: zfcp: fix use-after-"free" in FC ingress path after TMF de8a06c673ac iscsi-target: Return error if unable to add network portal 9c3928be0dba scsi: megaraid_sas: Do not set MPI2_TYPE_CUDA for JBOD FP path for FW which does not support JBOD sequence map dbd4e6c60b4f scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset 3863ab6d710d stm class: Fix device leak in open error path 698ac693dbb4 vt: fix Scroll Lock LED trigger name 6d8bb567102c block: protect iterate_bdevs() against concurrent close 2695afd5e9c2 mei: me: add lewisburg device ids 7be0a5f39d64 mei: request async autosuspend at the end of enumeration dfc3c8a0fa1b drivers/gpu/drm/ast: Fix infinite loop if read fails 0f95e4a58ecd drm/amdgpu: fix init save/restore list in gfx_v8.0 8bfa4f5e6395 drm/gma500: Add compat ioctl 10b598df92d9 drm/radeon/si: load the proper firmware on 0x87 oland boards cdb7aaaaecff drm/radeon: add additional pci revision to dpm workaround 1f884ec818a6 drm/radeon: Hide the HW cursor while it's out of bounds 6fb94229b2f6 drm/radeon: Also call cursor_move_locked when the cursor size changes 9c6fb7bf404d drm/nouveau/fifo/gf100-: protect channel preempt with subdev mutex 2a7a43772bff drm/nouveau/i2c/gk110b,gm10x: use the correct implementation 28d186430686 drm/nouveau/ttm: wait for bo fence to signal before unmapping vmas 82d9824d9446 drm/nouveau/ltc: protect clearing of comptags with mutex ce71868acee2 drm/nouveau/bios: require checksum to match for fast acpi shadow method 764e8e8af190 drm/nouveau/kms: lvds panel strap moved again on maxwell 00e1fb138ffa drm/nouveau/gr: fallback to legacy paths during firmware lookup fef542735a48 drm/amd/amdgpu: enable GUI idle INT after enabling CGCG bab520835f81 ACPI / video: Add force_native quirk for HP Pavilion dv6 b7eea51a3a5c ACPI / video: Add force_native quirk for Dell XPS 17 L702X ce8100660364 staging: comedi: ni_mio_common: fix E series ni_ai_insn_read() data 689d59259385 staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask 823c5c94f716 hv: acquire vmbus_connection.channel_mutex in vmbus_free_channels() 235394e1625c docs: sphinx-extensions: make rstFlatTable work with docutils 0.13 a26a016a4e2f thermal: hwmon: Properly report critical temperature in sysfs def2c87dc7ac clk: bcm2835: Avoid overwriting the div info when disabling a pll_div clk 2f885dafe704 arm64: tegra: Add VDD_GPU regulator to Jetson TX1 bd12562fceb4 gpio: chardev: Return error for seek operations 61d0b7139cf9 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion 95d2a43e5a59 regulator: stw481x-vmmc: fix ages old enable error 52980ceb1832 mmc: sdhci: Fix recovery from tuning timeout 0ed0b2592437 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards. d80ff7cb5d06 ath9k: fix ath9k_hw_gpio_get() to return 0 or 1 on success 42e76c596c93 cfg80211/mac80211: fix BSS leaks when abandoning assoc attempts d2546f653bb0 rtl8xxxu: Work around issue with 8192eu and 8723bu devices not reconnecting 2abcc023a460 perf/x86/intel/cstate: Prevent hotplug callback leak 7b9e1a16a1b0 perf/x86: Fix exclusion of BTS and LBR for Goldmont e24523a80c19 rtlwifi: Fix enter/exit power_save c9fce6ba9c09 ssb: Fix error routine when fallback SPROM fails c65ed08dcc04 Linux 4.8.16 645897231f96 driver core: fix race between creating/querying glue dir and its cleanup f199bdbaab37 Revert "netfilter: move nat hlist_head to nf_conn" 99d6d4e0c50c Revert "netfilter: nat: convert nat bysrc hash to rhashtable" 774225699b4d arm64: mark reserved memblock regions explicitly in iomem 587e89bd56c1 xfs: set AGI buffer type in xlog_recover_clear_agi_bucket 959e363eaf14 arm/xen: Use alloc_percpu rather than __alloc_percpu 6fbd3fb6c4df xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing 883f12a20583 tpm xen: Remove bogus tpm_chip_unregister 8419f5215db3 kernel/debug/debug_core.c: more properly delay for secondary CPUs 63b33e0885d6 watchdog: qcom: fix kernel panic due to external abort on non-linefetch bf902ead61d8 watchdog: mei_wdt: request stop on reboot to prevent false positive event 2f826a72ea8b kernel/watchdog: use nmi registers snapshot in hardlockup handler bbf23f00d55e CIFS: Fix a possible memory corruption in push locks 9f1f5076149a CIFS: Fix missing nls unload in smb2_reconnect() ff04da387c10 CIFS: Fix a possible memory corruption during reconnect 6cb589c7529f ASoC: intel: Fix crash at suspend/resume without card registration 769c0922d4a6 dm space map metadata: fix 'struct sm_metadata' leak on failed create ab10ab0a2a3d dm raid: fix discard support regression 454b98d3f2b5 dm rq: fix a race condition in rq_completed() 26011e67339e dm crypt: mark key as invalid until properly loaded bd5fcd18c8c3 dm flakey: return -EINVAL on interval bounds error in flakey_ctr() 1ca66d6a19d2 dm table: an 'all_blk_mq' table must be loaded for a blk-mq DM device d948d3b1e416 dm table: fix 'all_blk_mq' inconsistency when an empty table is loaded 45f631113b36 blk-mq: Do not invoke .queue_rq() for a stopped queue e3742a15d6cd PM / OPP: Pass opp_table to dev_pm_opp_put_regulator() 8b63a922ac07 usb: gadget: composite: always set ep->mult to a sensible value d4f4b2e659f5 mm, page_alloc: keep pcp count and list contents in sync if struct page is corrupted 0927d281a2fc mm/vmscan.c: set correct defer count for shrinker 3e0ef1b8e0cc nvmet: Fix possible infinite loop triggered on hot namespace removal 6290a3bcd3c3 loop: return proper error from loop_queue_rq() bf0f02079039 f2fs: fix overflow due to condition check order 154d83a8384e f2fs: set ->owner for debugfs status file's file_operations 67e5239c8366 Revert "f2fs: use percpu_counter for # of dirty pages in inode" d06eaf28f1bb ext4: do not perform data journaling when data is encrypted e33673bef6f0 ext4: return -ENOMEM instead of success 3664877022ea ext4: reject inodes with negative size 1bfcffbb8801 ext4: add sanity checking to count_overhead() 9689eb99ce0f ext4: fix in-superblock mount options processing 52a9daa3d5c0 ext4: use more strict checks for inodes_per_block on mount 7505584356d2 ext4: fix stack memory corruption with 64k block size 86efd99f0ebe ext4: fix mballoc breakage with 64k block size 8022387d236a crypto: caam - fix AEAD givenc descriptors ade692b8f1f5 ptrace: Capture the ptracer's creds not PT_PTRACE_CAP 23d179acb363 vfs,mm: fix return value of read() at s_maxbytes e45692fa1aea mm: Add a user_ns owner to mm_struct and fix ptrace permission checks 04804d83d483 block_dev: don't test bdev->bd_contains when it is not stable 52d69727a441 fs: exec: apply CLOEXEC before changing dumpable task flags 781e976ac2c6 exec: Ensure mm->user_ns contains the execed files fc1d3e5f3cd0 btrfs: make file clone aware of fatal signals 8c59356c1232 Btrfs: fix incremental send failure caused by balance 02fffa116bda Btrfs: don't BUG() during drop snapshot 0f2e022db237 btrfs: fix a possible umount deadlock 65563ab7271b Btrfs: fix memory leak in do_walk_down 364b85c57d25 btrfs: clean the old superblocks before freeing the device 6a6e9276f3f5 Btrfs: don't leak reloc root nodes on error 4d3d9b59d963 Btrfs: return gracefully from balance if fs tree is corrupted a6522e487b2c Btrfs: bail out if block group has different mixed flag d7839adcb0e3 Btrfs: fix memory leak in reading btree blocks 1a087cd869c6 clk: ti: omap36xx: Work around sprz319 advisory 2.1 2b96c4b19e0a ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq dc8144f49988 ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO 685c4db17890 ALSA: hda - fix headset-mic problem on a Dell laptop b757fc019fc9 ALSA: hda - ignore the assoc and seq when comparing pin configurations 38c6095f48fe ALSA: hda/ca0132 - Add quirk for Alienware 15 R2 2016 5496ec423449 ALSA: hiface: Fix M2Tech hiFace driver sampling rate change abf549a8b969 ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks 6b0a56e9aaf3 usbip: vudc: fix: Clear already_seen flag also for ep0 a9143e58d3cc USB: UHCI: report non-PME wakeup signalling for Intel hardware 4422a26936ae usb: gadget: composite: correctly initialize ep->maxpacket be8f1c44177a usb: gadget: f_uac2: fix error handling at afunc_bind 79d5a30e37ab usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices e3dfbc8904b3 usb: dwc3: gadget: set PCM1 field of isochronous-first TRBs 269edaef820f USB: cdc-acm: add device id for GW Instek AFG-125 741523f3da82 USB: serial: kl5kusb105: fix open error path f34b7e027eeb USB: serial: option: add dlink dwm-158 e47e81c4e705 USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041 3aa3cb940878 Btrfs: fix qgroup rescan worker initialization 691ea6c7eb1e Btrfs: fix emptiness check for dirtied extent buffers at check_leaf() 0695d8b10a88 btrfs: store and load values of stripes_min/stripes_max in balance status item 80f7d2836e37 Btrfs: fix relocation incorrectly dropping data references f1b268d7a8e2 Btrfs: fix tree search logic when replaying directory entry deletes 65553a02a313 Btrfs: fix deadlock caused by fsync when logging directory entries 361e82137a2d Btrfs: fix BUG_ON in btrfs_mark_buffer_dirty 562de9c7ce24 btrfs: limit async_work allocation and worker func duration f080d7094838 aoe: fix crash in page count manipulation 8bba2e2e62cb Linux 4.8.15 762c9bb16fce crypto: rsa - Add Makefile dependencies to fix parallel builds 014e5a7d9354 hotplug: Make register and unregister notifier API symmetric 3527ad05b46e batman-adv: Check for alloc errors when preparing TT local data 32ccd76788a5 m68k: Fix ndelay() macro 9fc7a4758608 ceph: don't set req->r_locked_dir in ceph_d_revalidate a05f493f8d4e ARM: dts: imx7d: fix LCDIF clock assignment 798c825fb006 ARM: dts: orion5x: fix number of sata port for linkstation ls-gl d271b9bec2d3 Revert "ACPI: Execute _PTS before system reboot" 3ee9f16cff18 can: peak: fix bad memory access and free sequence 212e0ff80970 can: raw: raw_setsockopt: limit number of can_filter that can be set bdb5ed2040f5 crypto: marvell - Don't corrupt state of an STD req for re-stepped ahash bfef274e4dae crypto: mcryptd - Check mcryptd algorithm compatibility 86bea59218a0 crypto: caam - fix pointer size for AArch64 boot loader, AArch32 kernel 666531ca650e crypto: marvell - Don't copy hash operation twice into the SRAM 04925ba9b944 acpi, nfit: fix bus vs dimm confusion in xlat_status 53ed7c2e8d02 acpi, nfit: validate ars_status output buffer size e04e2dace316 acpi, nfit, libnvdimm: fix / harden ars_status output length handling 483ac1487a9d acpi, nfit: fix extended status translations for ACPI DSMs 0525cebf8ef7 perf/x86: Fix full width counter, counter overflow eceab1fd7f9e vhost-vsock: fix orphan connection reset b0224f36735e sched/autogroup: Fix 64-bit kernel nice level adjustment 2a477999977c scsi: lpfc: fix oops/BUG in lpfc_sli_ringtxcmpl_put() ac65fe0bbdea device-dax: fix private mapping restriction, permit read-only 2386c6b188c5 locking/rtmutex: Use READ_ONCE() in rt_mutex_owner() 7b2347c8e803 locking/rtmutex: Prevent dequeue vs. unlock race bed4eef2e8fa zram: restrict add/remove attributes to root only 4fb7569c7370 parisc: Fix TLB related boot crash on SMP machines b81e5db49515 parisc: Remove unnecessary TLB purges from flush_dcache_page_asm and flush_icache_page_asm 7e8f68aa1833 parisc: Purge TLB before setting PTE 6e284445bab5 fuse: fix clearing suid, sgid for chown() e70d6d2d7383 powerpc/boot: Fix build failure in 32-bit boot wrapper a82ad493f045 powerpc/mm: Fix lazy icache flush on pre-POWER5 84b36287c72d powerpc/eeh: Fix deadlock when PE frozen state can't be cleared 7b8c57cad53a Linux 4.8.14 1670d1584701 esp6: Fix integrity verification when ESN are used b3e9d4982939 esp4: Fix integrity verification when ESN are used be5339492b29 flowcache: Increase threshold for refusing new allocations 3a116fa8c95d Revert: "ip6_tunnel: Update skb->protocol to ETH_P_IPV6 in ip6_tnl_xmit()" 686182870c6a ipv4: Set skb->protocol properly for local output e67bd82fb79d ipv6: Set skb->protocol properly for local output 22d94c326660 Don't feed anything but regular iovec's to blk_rq_map_user_iov e4a6c61c6b71 constify iov_iter_count() and iter_is_iovec() 907bc3181c9a sparc32: Fix inverted invalid_frame_pointer checks on sigreturns 360e257f8cf3 sparc64: fix compile warning section mismatch in find_node() 2f02dcb673a4 sparc64: Fix find_node warning if numa node cannot be found ad02ec7d37a2 ipv4: Drop suffix update from resize code 0b1c601d367f ipv4: Drop leaf from suffix pull/push functions cd8a6c0e95bf ipv4: Fix memory leak in exception case for splitting tries a8780378b39e ipv4: Restore fib_trie_flush_external function and fix call ordering 5ff5e5c06c25 net: ping: check minimum size on ICMP header length f818e5d86aef net: avoid signed overflows for SO_{SND|RCV}BUFFORCE bfecf9017f8b geneve: avoid use-after-free of skb->data 4daa2c73eb05 tipc: check minimum bearer MTU 1ff3209a21c8 sh_eth: remove unchecked interrupts for RZ/A1 bbf913d774b7 net: bcmgenet: Utilize correct struct device for all DMA operations accb7c99fc0f cdc_ether: Fix handling connection notification 34457543e203 ip6_offload: check segs for NULL in ipv6_gso_segment. cef222d40f2e packet: fix race condition in packet_set_ring 17941a9d6409 GSO: Reload iph after pskb_may_pull ff0d7874078d net/dccp: fix use-after-free in dccp_invalid_packet 023cd33ece37 net: macb: fix the RX queue reset in macb_rx() 25d9b4bb64ea netlink: Do not schedule work from sk_destruct f5dad3473d83 netlink: Call cb->done from a worker thread 360d6a23e79d net/sched: pedit: make sure that offset is valid aa239369bdfa net: dsa: fix unbalanced dsa_switch_tree reference counting 9a7479273949 net, sched: respect rcu grace period on cls destruction a9437ebc69f5 net: dsa: bcm_sf2: Ensure we re-negotiate EEE during after link change ddf053431efe udplite: call proper backlog handlers 7b0aa75be3ab ipv6: bump genid when the IFA_F_TENTATIVE flag is clear 58c8cc33de6c rtnl: fix the loop index update error in rtnl_dump_ifinfo() 84df56749f48 l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind() 7f8b251a0985 rtnetlink: fix FDB size computation c39caa8f80c0 af_unix: conditionally use freezable blocking calls in read bdc5c63e4b38 net: sky2: Fix shutdown crash a75684ab7a12 ip6_tunnel: disable caching when the traffic class is inherited 1b079d5b9fc1 net: check dead netns for peernet2id_alloc() 65dfc8b4547f net: dsa: b53: Fix VLAN usage and how we treat CPU port f959eb507439 virtio-net: add a missing synchronize_net() 8070f33be6c4 gro_cells: mark napi struct as not busy poll candidates 55d64c0b3c15 Linux 4.8.13 a4edb1a2b045 arm64: suspend: Reconfigure PSTATE after resume from idle 6353400d9130 arm64: mm: Set PSTATE.PAN from the cpu_enable_pan() call b49b1ae6d341 arm64: cpufeature: Schedule enable() calls instead of calling them via IPI e4e77deda200 batman-adv: Detect missing primaryif during tp_send as error f106de5604dd clk: sunxi: Fix M factor computation for APB1 9e2d9e95094a perf/x86: Restore TASK_SIZE check on frame pointer ab34b429a01f drm/mediatek: fix null pointer dereference 43b5bb262711 pwm: Fix device reference leak 6c6947613979 KVM: use after free in kvm_ioctl_create_device() ff8b06b4efa6 arm64: dts: juno: fix cluster sleep state entry latency on all SoC versions f67b89acdfa1 drm/radeon: fix check for port PM availability 835bb5cd3653 drm/amdgpu: fix check for port PM availability 972d595824b6 drm/radeon: fix power state when port pm is unavailable (v2) be1b75edf20b drm/amdgpu: fix power state when port pm is unavailable bd78c077f8fe drm/i915: drop the struct_mutex when wedged or trying to reset 5dd86b6e5873 drm/i915: Don't touch NULL sg on i915_gem_object_get_pages_gtt() error 05abe7452b71 KVM: arm/arm64: vgic: Don't notify EOI for non-SPIs ca42bd35d308 mwifiex: printk() overflow with 32-byte SSIDs de9ba13ebfdb PCI: Set Read Completion Boundary to 128 iff Root Port supports it (_HPX) 4f4857148b4a PCI: Export pcie_find_root_port 27dce9bcad4d mm: workingset: fix NULL ptr in count_shadow_nodes 60e33689a06e rcu: Fix soft lockup for rcu_nocb_kthread b6f9e236b7ef Input: psmouse - disable automatic probing of BYD touchpads 6ca8ab7052c4 Input: change KEY_DATA from 0x275 to 0x277 600bec25b855 ovl: fix d_real() for stacked fs 5661a6926871 mm: fix false-positive WARN_ON() in truncate/invalidate for hugetlb 48b6b50a2ba5 kasan: update kasan_global for gcc 7 db04d354b7f1 zram: fix unbalanced idr management at hot removal 010020900006 thp: fix corner case of munlock() of PTE-mapped THPs 08fd95de5eee mm, thp: propagation of conditional compilation in khugepaged.c 76e59ecacd54 ARC: Don't use "+l" inline asm constraint b43fb9f6f162 ARC: mm: PAE40: Fix crash at munmap 8d1ee7b245ef scsi: libfc: fix seconds_since_last_reset miscalculation 10e2627377b0 scsi: hpsa: use bus '3' for legacy HBA devices e170c1003c02 libata-scsi: Fixup ata_gen_passthru_sense() (From OE-Core rev: e58e0ed459c18e2e8de63350e95a45307ce2b7c7) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 9cd1850a0a8882796f89c65c073bc80f915f413f) fix merged conflicts do to changes in master Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* linux-yocto/4.4: update to v4.4.41Bruce Ashfield2017-05-183-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Integrating the korg -stable release. Changes are as follows: cdd86b972265 Linux 4.4.41 9f11a0ab6a96 net: mvpp2: fix dma unmapping of TX buffers for fragments d85727365859 sg_write()/bsg_write() is not fit to be called under KERNEL_DS 7fb5a936457d kconfig/nconf: Fix hang when editing symbol with a long prompt e321f384d8a5 target/user: Fix use-after-free of tcmu_cmds if they are expired e5de1c724c06 powerpc: Convert cmp to cmpd in idle enter sequence cadaba838f1b powerpc/ps3: Fix system hang with GCC 5 builds 8a2bcaae1bc7 nfs_write_end(): fix handling of short copies b66e3126569e libceph: verify authorize reply on connect edfe6a79f905 PCI: Check for PME in targeted sleep state 8db00756afbd Input: drv260x - fix input device's parent assignment 44685f03dd56 media: solo6x10: fix lockup by avoiding delayed register write 952a9f5af9f8 IB/cma: Fix a race condition in iboe_addr_get_sgid() b7f73ada92a3 IB/multicast: Check ib_find_pkey() return value 7b1369215616 IPoIB: Avoid reading an uninitialized member variable 0de381ca35b5 IB/mad: Fix an array index check e945df4c6bc2 fgraph: Handle a case where a tracer ignores set_graph_notrace 88e41441ccd4 platform/x86: asus-nb-wmi.c: Add X45U quirk 2ef502e860f1 ftrace/x86_32: Set ftrace_stub to weak to prevent gcc from using short jumps to it 19aa9c14989e kvm: nVMX: Allow L1 to intercept software exceptions (#BP and #OF) 129e4323df37 KVM: PPC: Book3S HV: Don't lose hardware R/C bit updates in H_PROTECT ddf5718adfb8 KVM: PPC: Book3S HV: Save/restore XER in checkpointed register state 1c8841c9b7d2 md/raid5: limit request size according to implementation limits d78006d2345f sc16is7xx: Drop bogus use of IRQF_ONESHOT b988320dab53 s390/vmlogrdr: fix IUCV buffer allocation 656c9abd574b firmware: fix usermode helper fallback loading 429a533a3d9a ARC: mm: arc700: Don't assume 2 colours for aliasing VIPT dcache dbb67e1d585d scsi: avoid a permanent stop of the scsi device's request queue 565ae61d8995 scsi: zfcp: fix rport unblock race with LUN recovery 3b3739dfa69c scsi: zfcp: do not trace pure benign residual HBA responses at default level 1cc0f9488b91 scsi: zfcp: fix use-after-"free" in FC ingress path after TMF bccd78746f88 scsi: megaraid_sas: Do not set MPI2_TYPE_CUDA for JBOD FP path for FW which does not support JBOD sequence map 49ea06561154 scsi: megaraid_sas: For SRIOV enabled firmware, ensure VF driver waits for 30secs before reset edf1169bbbaa vt: fix Scroll Lock LED trigger name f4f02a856a92 block: protect iterate_bdevs() against concurrent close abb78811e242 mei: request async autosuspend at the end of enumeration 1f9c91a37542 drivers/gpu/drm/ast: Fix infinite loop if read fails 970dc8cdec9c drm/gma500: Add compat ioctl 0e0b70f581fc drm/radeon: add additional pci revision to dpm workaround 62a272498dbe drm/radeon: Hide the HW cursor while it's out of bounds deac395e0ba8 drm/radeon: Also call cursor_move_locked when the cursor size changes cb8d63d885e9 drm/nouveau/i2c/gk110b,gm10x: use the correct implementation adea4a7b0f2b drm/nouveau/fifo/gf100-: protect channel preempt with subdev mutex d32d4b3d7c9f drm/nouveau/ltc: protect clearing of comptags with mutex 3a2990e67b05 drm/nouveau/bios: require checksum to match for fast acpi shadow method a163451c80b0 drm/nouveau/kms: lvds panel strap moved again on maxwell 69e236e70ead ACPI / video: Add force_native quirk for HP Pavilion dv6 2c2375e40d28 ACPI / video: Add force_native quirk for Dell XPS 17 L702X 01b6089b5622 staging: comedi: ni_mio_common: fix E series ni_ai_insn_read() data 5283a7bedbcb staging: comedi: ni_mio_common: fix M Series ni_ai_insn_read() data mask e692edec93c1 thermal: hwmon: Properly report critical temperature in sysfs 9d9541d44a26 clk: bcm2835: Avoid overwriting the div info when disabling a pll_div clk e01b04be3eb0 timekeeping_Force_unsigned_clocksource_to_nanoseconds_conversion 96ea1b9ea099 regulator: stw481x-vmmc: fix ages old enable error 842ec27cd3f2 mmc: sdhci: Fix recovery from tuning timeout dae7cb414834 ath9k: Really fix LED polarity for some Mini PCI AR9220 MB92 cards. b63929e8e130 cfg80211/mac80211: fix BSS leaks when abandoning assoc attempts 05f4183ab5a4 rtlwifi: Fix enter/exit power_save f5d90f434c9a ssb: Fix error routine when fallback SPROM fails a3edc7b2e537 Linux 4.4.40 7a2b4ee54b3f ppp: defer netns reference release for ppp channel 37de955c11b5 driver core: fix race between creating/querying glue dir and its cleanup f85a337b4066 xfs: set AGI buffer type in xlog_recover_clear_agi_bucket fdb17ddd0a49 arm/xen: Use alloc_percpu rather than __alloc_percpu 9397e79c4b2d xen/gntdev: Use VM_MIXEDMAP instead of VM_IO to avoid NUMA balancing 00a0de085d60 tpm xen: Remove bogus tpm_chip_unregister f93777c91544 kernel/debug/debug_core.c: more properly delay for secondary CPUs f2b8b3455b22 kernel/watchdog: use nmi registers snapshot in hardlockup handler 597f9c03b2d5 CIFS: Fix a possible memory corruption in push locks a9c69e152897 CIFS: Fix missing nls unload in smb2_reconnect() f0b715409cb9 CIFS: Fix a possible memory corruption during reconnect 6dcb01e78333 ASoC: intel: Fix crash at suspend/resume without card registration 701ec6e5cea7 dm space map metadata: fix 'struct sm_metadata' leak on failed create 85290a163b06 dm crypt: mark key as invalid until properly loaded 9188611f81e3 dm flakey: return -EINVAL on interval bounds error in flakey_ctr() f0898dc2852b blk-mq: Do not invoke .queue_rq() for a stopped queue c53af76d5de1 usb: gadget: composite: always set ep->mult to a sensible value b35f34f66943 exec: Ensure mm->user_ns contains the execed files 0812936b11ea fs: exec: apply CLOEXEC before changing dumpable task flags 14d8e5cae039 mm/vmscan.c: set correct defer count for shrinker ffef1630187b loop: return proper error from loop_queue_rq() 011ded975e34 f2fs: set ->owner for debugfs status file's file_operations 3460edfc70c2 ext4: do not perform data journaling when data is encrypted 36af7cd560b9 ext4: return -ENOMEM instead of success 519a30148e23 ext4: reject inodes with negative size f655b3575c47 ext4: add sanity checking to count_overhead() 3995881b0f72 ext4: fix in-superblock mount options processing 386588013810 ext4: use more strict checks for inodes_per_block on mount 7b74c351de1c ext4: fix stack memory corruption with 64k block size 26492d8a22b0 ext4: fix mballoc breakage with 64k block size 4b6050922fb8 crypto: caam - fix AEAD givenc descriptors 1c1f15f8ebfb ptrace: Capture the ptracer's creds not PT_PTRACE_CAP 03eed7afbc09 mm: Add a user_ns owner to mm_struct and fix ptrace permission checks d80411dea6a4 block_dev: don't test bdev->bd_contains when it is not stable 85cfbd9db2c6 btrfs: make file clone aware of fatal signals 323ffc03ddb2 Btrfs: don't BUG() during drop snapshot 107800061996 Btrfs: fix memory leak in do_walk_down 5a9b659edef6 Btrfs: don't leak reloc root nodes on error 8ca6845a58cd Btrfs: return gracefully from balance if fs tree is corrupted 78a587c608f9 Btrfs: bail out if block group has different mixed flag 25ee81e54620 Btrfs: fix memory leak in reading btree blocks 590202271ffd clk: ti: omap36xx: Work around sprz319 advisory 2.1 119b6658ce05 ALSA: hda: when comparing pin configurations, ignore assoc in addition to seq f0ea0ade046e ALSA: hda - Gate the mic jack on HP Z1 Gen3 AiO fa695bdc1741 ALSA: hda - fix headset-mic problem on a Dell laptop faff777fb456 ALSA: hda - ignore the assoc and seq when comparing pin configurations 518fca87c645 ALSA: hda/ca0132 - Add quirk for Alienware 15 R2 2016 29348065c339 ALSA: hiface: Fix M2Tech hiFace driver sampling rate change d0ba0f6a8291 ALSA: usb-audio: Add QuickCam Communicate Deluxe/S7500 to volume_control_quirks cbb2a2563587 USB: UHCI: report non-PME wakeup signalling for Intel hardware 8ede2d7908aa usb: gadget: composite: correctly initialize ep->maxpacket c67c2ed829f3 usb: gadget: f_uac2: fix error handling at afunc_bind 747b31526369 usb: hub: Fix auto-remount of safely removed or ejected USB-3 devices acca3cf0d62b USB: cdc-acm: add device id for GW Instek AFG-125 5d6a392b6d36 USB: serial: kl5kusb105: fix open error path 6a6e113cd928 USB: serial: option: add dlink dwm-158 17907f291779 USB: serial: option: add support for Telit LE922A PIDs 0x1040, 0x1041 1f5adadcd032 Btrfs: fix qgroup rescan worker initialization b5e715ed11ec btrfs: store and load values of stripes_min/stripes_max in balance status item 919b74ba5ed5 Btrfs: fix tree search logic when replaying directory entry deletes 0d619cf6f982 btrfs: limit async_work allocation and worker func duration a34f0e8a2f89 Linux 4.4.39 5d488dee9236 crypto: rsa - Add Makefile dependencies to fix parallel builds 1c0f4e0ebb79 hotplug: Make register and unregister notifier API symmetric 537e42d759ae batman-adv: Check for alloc errors when preparing TT local data f03531d09125 m68k: Fix ndelay() macro 55e15b2f44d7 arm64: futex.h: Add missing PAN toggling e29949ed3903 can: peak: fix bad memory access and free sequence 083021bdba1e can: raw: raw_setsockopt: limit number of can_filter that can be set 9a3baed9103b crypto: mcryptd - Check mcryptd algorithm compatibility c4db8a7d1e0c perf/x86: Fix full width counter, counter overflow c6a5bf4cda12 locking/rtmutex: Use READ_ONCE() in rt_mutex_owner() b27d9147f24a locking/rtmutex: Prevent dequeue vs. unlock race e286b6c16758 zram: restrict add/remove attributes to root only a0bd6aa097a4 parisc: Fix TLB related boot crash on SMP machines 605f315c5a83 parisc: Remove unnecessary TLB purges from flush_dcache_page_asm and flush_icache_page_asm db9598605768 parisc: Purge TLB before setting PTE 4bcea472de10 powerpc/eeh: Fix deadlock when PE frozen state can't be cleared c95b7f1fab0c Linux 4.4.38 52783ada69b4 esp6: Fix integrity verification when ESN are used 3bf28ce9c749 esp4: Fix integrity verification when ESN are used 2176ec1c82ea ipv4: Set skb->protocol properly for local output 25d8b7c105e1 ipv6: Set skb->protocol properly for local output d41fb2fbb28d Don't feed anything but regular iovec's to blk_rq_map_user_iov fd1aa12c6340 constify iov_iter_count() and iter_is_iovec() 899b60535a2a sparc64: fix compile warning section mismatch in find_node() ed7b60db00a1 sparc64: Fix find_node warning if numa node cannot be found 438e91da24fa sparc32: Fix inverted invalid_frame_pointer checks on sigreturns 06cdad2b6d92 net: ping: check minimum size on ICMP header length 77125815f058 net: avoid signed overflows for SO_{SND|RCV}BUFFORCE 6e682c528b3e geneve: avoid use-after-free of skb->data a89e2ff894bc sh_eth: remove unchecked interrupts for RZ/A1 c36a2a14f26d net: bcmgenet: Utilize correct struct device for all DMA operations 5a01eaf19858 packet: fix race condition in packet_set_ring 1a15519fdcdb net/dccp: fix use-after-free in dccp_invalid_packet baaf0c65bc8e netlink: Do not schedule work from sk_destruct d1ed9c1dba63 netlink: Call cb->done from a worker thread 6c42bd6a393c net/sched: pedit: make sure that offset is valid cfa7c16d4577 net, sched: respect rcu grace period on cls destruction 94de6f2ffb3d net: dsa: bcm_sf2: Ensure we re-negotiate EEE during after link change 56366fa0ad46 l2tp: fix racy SOCK_ZAPPED flag check in l2tp_ip{,6}_bind() aece024e38cb rtnetlink: fix FDB size computation 6ef59b986190 af_unix: conditionally use freezable blocking calls in read acf9504ae220 net: sky2: Fix shutdown crash 49695d1e3b81 ip6_tunnel: disable caching when the traffic class is inherited 2b54505c877f net: check dead netns for peernet2id_alloc() 790fd11f9ed6 virtio-net: add a missing synchronize_net() (From OE-Core rev: c3c66220630162c84ead895dc98c7d951b0e2e85) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 2042e74352fcec84ac69645387273438794966f6) fixed up merge conflicts do to changes in master Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Security fix BUG9071Martin Balik2017-05-182-0/+54
| | | | | | | | | | | (From OE-Core rev: 3842dc98a471530e23305d09669d7f4bdc05a532) Signed-off-by: Martin Balik <martin.balik@siemens.com> Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 0354a9b7adad27b012bcd6bb6cab54dfe0297bcd) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: Security fix CVE-2016-6301Andrej Valek2017-05-182-0/+38
| | | | | | | | | | | | | | ntpd: NTP server denial of service flaw CVE: CVE-2016-6301 (From OE-Core rev: dafbf8a9e9ed068ecbf22cc816f9a6a3a2da7aa9) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Pascal Bach <pascal.bach@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 301dc9df16cce1f4649f90af47159bc21be0de59) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: ifupdown:pass interface device name for ipv6 route commandHaiqing Bai2017-05-182-0/+53
| | | | | | | | | | | | | | | IPv6 routes need the device argument for link-local routes, or they cannot be used at all. E.g. "gateway fe80::def" seems to be used in some places, but kernel refuses to insert the route unless device name is explicitly specified in the route addition. (From OE-Core rev: 4d9fcf9f2fa573218cda3a133e0da34c4185838a) Signed-off-by: Haiqing Bai <Haiqing.Bai@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 96ed437d57316153453bb5e170a4fd4f3a95883d) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: allow libiproute to handle table ids larger than 255Lukasz Nowak2017-05-182-0/+135
| | | | | | | | | | | | | These changes are required for compatibility with ConnMan, which by default uses table ids greater than 255. (From OE-Core rev: 8ab20681730a3cbd75ed0c7c208a30b437714915) Signed-off-by: Lukasz Nowak <lnowak@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit e9114bdd8a83b88f59526780910c49e3092fdd57) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* binutils: Fix CVE-2017-6965 and CVE-2017-6966Yuanjie Huang2017-05-183-0/+369
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backport upstream commit to address vulnerabilities: CVE: CVE-2017-6965 [BZ 21137] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21137 Fix readelf writing to illegal addresses whilst processing corrupt input files containing symbol-difference relocations. PR binutils/21137 * readelf.c (target_specific_reloc_handling): Add end parameter. Check for buffer overflow before writing relocated values. (apply_relocations): Pass end to target_specific_reloc_handling. CVE: CVE-2017-6966 [BZ 21139] -- https://sourceware.org/bugzilla/show_bug.cgi?id=21139 Fix read-after-free error in readelf when processing multiple, relocated sections in an MSP430 binary. PR binutils/21139 * readelf.c (target_specific_reloc_handling): Add num_syms parameter. Check for symbol table overflow before accessing symbol value. If reloc pointer is NULL, discard all saved state. (apply_relocations): Pass num_syms to target_specific_reloc_handling. Call target_specific_reloc_handling with a NULL reloc pointer after processing all of the relocs. (From OE-Core rev: 477afc5634698d6c5cdb6d7705a31d859495695d) 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>
* base-files: resize only serial tty's in profileDaniel Díaz2017-05-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | [Backported from master.] We don't want to run resize on non serial consoles. There's been an earlier attempt (6557787), so this builds upon that. The problem we're seeing is that if there is text buffered in the virtual console (like from a desperate user trying to enter login details), resize will get stuck while calling ioctl(tty, TCSETAW); Since serial consoles are named (not just numbered), this change limits resize's reach even further to run only on /dev/tty[A-z] (thus avoiding /dev/tty[0-9]). (From OE-Core rev: 00ff70dc6284a510e4fe3acfaae6b59663fd3141) Signed-off-by: Daniel Díaz <daniel.diaz@linaro.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* logrotate: replace fedorahosted.org SRC_URI with github.com sourceChoong YinThong2017-05-181-4/+13
| | | | | | | | | | | | | | | | fedorahosted.org was retired on March 1st, 2017. This is to update the SRC_URI to point to github.com. Update the ${PN} to ${BPN} in order to pass the autobuilder mulitlib enable configuration. [YOCTO #11226] (From OE-Core rev: b935c1e9dd17afa85a9ffe213d5f94051f585529) Signed-off-by: Choong YinThong <yin.thong.choong@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>
* volatile-binds: correct some errors reported by systemdJoe Slater2017-05-181-0/+9
| | | | | | | | | | | | | | systemd-tmpfiles-setup will fail at boot, so we suppress the default versions of etc.conf and home.conf. We also make sure that /var/{cache,spool} and /srv are writeable if they exist. (From OE-Core rev: a7c6129a7c9c0c7e1b729e16a60b2ca704af3f97) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* parselogs: Whitelist NUC6 firmware load error message on genericx86-64Sullivan, California L2017-05-181-0/+1
| | | | | | | | | | | | | | | | This was already whitelisted, but the 4.8 kernel changed the error message, causing it to get caught by parselogs again. Fixes [YOCTO #10494]. (From OE-Core rev: a163060c25615fd29cdc477319f83997e65d0846) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit e1bad14231115f3b1a2bf844ef5b2022c648b55d) Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* sstate.bbclass: update .siginfo atimeEd Bartosh2017-05-181-0/+2
| | | | | | | | | | | | | | | | | | | | | .siginfo files are not being accessed from local or NFS-mounted sstate mirrors when sstate package is installed, so their atime is not updated. If sstate mirror is cleaned based on access time, they get deleted, even though they are still being used. Updated atime of .siginfo symlinks with 'touch -a'. This command dereferences symlinks pointing to the local mirror and updates atime of the .siginfo file on the mirror. [YOCTO #10857] (From OE-Core rev: 9f8013e3339533c7d60139c1993a5d077fe02ee5) Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rootfs.py: Respect OPKGLIBDIR variableMartin Jansa2017-05-181-1/+3
| | | | | | | | | | | | | | * when OPKGLIBDIR doesn't have the default /var/lib value it will silently fail to copy package database from normal rootfs to debugfs rootfs and then when trying to install *-dbg complimentary packages it won't install anything, because installed_pkgs.txt file generated from debugfs is empty (From OE-Core rev: 0554537271f56d95cb43e09bb831f57f82e8f3ac) 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>
* package_manager.py: respect OPKGLIBDIRMartin Jansa2017-05-181-7/+14
| | | | | | | | | | | | | | | | | | | | * respect it for incremental rootfs generation * add lists_dir option to opkg.conf * also fix setting info_dir and status_file when they use default value, the problem is that self.opkg_dir is already prefixed with rootfs directory, comparing it with /var/lib/opkg always returned false and the options were appended to config file unnecessary * with opkg 0.3.4 we can use VARDIR prefix added in: commit d2a8e23dc669adc398f4bb8bcfcabfcf925708f7 Author: Florin Gherendi <floring2502@gmail.com> Date: Mon Dec 19 12:25:38 2016 +0200 libopkg: make the /var and /etc directories configurable at compile time. (From OE-Core rev: f1d21d1d408d89cc3bd59cd30ab10c902863c7c0) 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>
* python-3-manifest: fix adding imp to importlibAnders Darander2017-05-181-1/+1
| | | | | | | | | | | | | | Commit: 512334f102a33833d39af53467894315f0715d07 "python-3.5-manifest: Add imp to importlib" added imp to importlib in the generated manifest, but not in the generator script. (From OE-Core rev: 70bea8d0be82781ce615794434225418cce63a90) Signed-off-by: Anders Darander <anders@chargestorm.se> 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>
* runqemu: support multiple qemus running when nfsRobert Yang2017-05-182-24/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed: * In build1: $ runqemu nfs qemux86-64 In build2: $ runqemu nfs qemux86-64 It would fail before since the port numerbs and conf files are conflicted, now make runqemu-export-rootfs work together with runqemu to fix the problem. * And we don't need export PSEUDO_LOCALSTATEDIR in runqemu, the runqemu-export-rootfs can handle it well based on NFS_EXPORT_DIR. * Remove "async" option from unfsd to fix warning in syslog: Warning: unknown exports option `async' ignored * Fixed typos Both slirp and tap can work. (From OE-Core rev: f3a9ff2cea88cf4c90b1037b3ca17e6a63ea33ee) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* runqemu-export-rootfs: fix inconsistent var namesRobert Yang2017-05-181-12/+9
| | | | | | | | | | | | | | | | | | | | | Fixed: $ runqemu nfs qemux86-64 [snip] On your target please remember to add the following options for NFS nfsroot=IP_ADDRESS:/path/to/nfsroot,nfsvers=3,port=,mountprog=,nfsprog=,udp,mountport= [snip] Note that the values are null, this is because their var names are inconsistent. [YOCTO #10519] (From OE-Core rev: b572921b359010f281cdb861a73bf05317c6dacf) Signed-off-by: Robert Yang <liezhi.yang@windriver.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>
* sanity.bbclass: modify check for shellJuro Bystricky2017-05-181-1/+3
| | | | | | | | | | | | | | | | | | Due to the recently implemented update-alternatives for bash binary, sanity checker may end up with a (false-positive) error such as: Error, /bin/sh links to /bin/bash.bash, must be dash or bash This patch modifies the test: presence of "/bash" or "/dash" in shell binary name results in pass. [YOCTO#11108] (From OE-Core rev: 3f2bc735e514b27a21ac47524fe0c5ca16e19dd7) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types.bbclass: fix image dependency chain collectionAndre McCurdy2017-05-181-1/+1
| | | | | | | | | | | | | | If image type "foo" depends on image type "bar.xz", then dependencies should be collected from the base image type (ie "IMAGE_DEPENDS_bar") not from "IMAGE_DEPENDS_bar.xz". (From OE-Core rev: 854fff614059100494326adeec7c48fa5272d080) Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 8a9f249a9166347cc0468191ce130003e3d306e1) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* image_types.bbclass: IMAGE_TYPEDEP_ now adds deps for conversion typesRandy Witt2017-05-181-3/+11
| | | | | | | | | | | | | | | | Previously if IMAGE_TYPEDEP_* contained a conversion type of the form, "foo.bar", the dependency on CONVERSION_DEPENDS_bar would not get added to the task depends for do_rootfs. [YOCTO #10883] (From OE-Core rev: c0ff0e1ff872b04006b26c6db4f8c9cf053b0764) Signed-off-by: Randy Witt <randy.e.witt@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 037d39898e0e16c6d5b24a8d3844abfb328d3c14) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gmp: Disable assembly for MIPS R6Zubair Lutfullah Kakakhel2017-05-181-0/+1
| | | | | | | | | | | | | | gmplib has some assembly routines. These have not been optimized for MIPS R6 yet. Add --disable-assembly so that the C implementation is used. (From OE-Core rev: b21d5c0c615c99bd0d756ab32818acc3b648fb4e) Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit b0975809fe43b7506cc30a60245f5e32b275a3ec) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: Add support for many MIPS configurationsZubair Lutfullah Kakakhel2017-05-181-9/+15
| | | | | | | | | | | | Add more case statements to catch MIPS tune configurations (From OE-Core rev: d9f8f12881d1b1be5761f0aa3a1785f979dc9076) Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit cd1f6fbf9a2113cf510c25de2eb3895468e79149) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* busybox: refresh the flock patchMaxin John2017-05-181-43/+34
| | | | | | | | | | | | Upstream accepted the flock fix with some improvements. Backport those changes. (From OE-Core rev: 58c01c9ccbec416b297dacd4b917d4073c35c6fb) Signed-off-by: Maxin B. John <maxin.john@intel.com> 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>
* wic: plugins: rawcopy: Fixed wrong variable typeDaniel Schultz2017-05-181-1/+1
| | | | | | | | | | | | | | | | | | | Without the int() function this variable will be a string. This will led to a error in Filemap on line 545 due wrong types. > [...] > File > ".../poky/scripts/lib/wic/filemap.py", line 545, in sparse_copy > if start < skip < end: > TypeError: unorderable types: int() < str() (From OE-Core rev: 5b9bcfef9086c19a4577d36729b7b339f959d5c4) Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 46b5814bcdc0e7e3cb293e877e2aa949baf5fef8) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* wic: filemap: Fixed spared_copy skipDaniel Schultz2017-05-181-3/+3
| | | | | | | | | | | | | | This patches removes the empty space in front of the copied file which was skipped. Without this reduction it's not possible to place a partition with rawcopy and skip parameter on a desired alignment. (From OE-Core rev: e29deac69ed29226b68001db2fcfb3ed24c0568a) Signed-off-by: Daniel Schultz <d.schultz@phytec.de> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 5c024d71f9413b81ee1707dbc41f0721f8f27bdb) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzcode-native: Set cc to ${CC}Richard Purdie2017-05-181-0/+2
| | | | | | | | | | | Building on a system without "cc" showed this recipe doesn't respect the $CC variable. Fix this by passing the right option to the makefile. (From OE-Core rev: 313d977fdfe571ad6edf65c6ed20bbb0110dc320) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 402080c0a77443f541fa3d658b79f3fba327279d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata: update to 2017aArmin Kuster2017-05-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Briefly: Southern Chile moves from -04/-03 to -03, and Mongolia discontinues DST. Changes to future time stamps Mongolia no longer observes DST. (Thanks to Ganbold Tsagaankhuu.) Chile's Region of Magallanes moves from -04/-03 to -03 year-round. Its clocks diverge from America/Santiago starting 2017-05-13 at 23:00, hiving off a new zone America/Punta_Arenas. Although the Chilean government says this change expires in May 2019, for now assume it's permanent. (Thanks to Juan Correa and Deborah Goldsmith.) This also affects Antarctica/Palmer. Changes to past time stamps Fix many entries for historical time stamps for Europe/Madrid before 1979, to agree with tables compiled by Pere Planesas of the National Astronomical Observatory of Spain. As a side effect, this changes some time stamps for Africa/Ceuta before 1929, which are probably guesswork anyway. (Thanks to Steve Allen and Pierpaolo Bernardi for the heads-ups, and to Michael Deckers for correcting the 1901 transition.) Ecuador observed DST from 1992-11-28 to 1993-02-05. (Thanks to Alois Treindl.) Asia/Atyrau and Asia/Oral were at +03 (not +04) before 1930-06-21. (Thanks to Stepan Golosunov.) Changes to past and future time zone abbreviations Switch to numeric time zone abbreviations for South America, as part of the ongoing project of removing invented abbreviations. This avoids the need to invent an abbreviation for the new Chilean new zone. Similarly, switch from invented to numeric time zone abbreviations for Afghanistan, American Samoa, the Azores, Bangladesh, Bhutan, the British Indian Ocean Territory, Brunei, Cape Verde, Chatham Is, Christmas I, Cocos (Keeling) Is, Cook Is, Dubai, East Timor, Eucla, Fiji, French Polynesia, Greenland, Indochina, Iran, Iraq, Kiribati, Lord Howe, Macquarie, Malaysia, the Maldives, Marshall Is, Mauritius, Micronesia, Mongolia, Myanmar, Nauru, Nepal, New Caledonia, Niue, Norfolk I, Palau, Papua New Guinea, the Philippines, Pitcairn, Qatar, Réunion, St Pierre & Miquelon, Samoa, Saudi Arabia, Seychelles, Singapore, Solomon Is, Tokelau, Tuvalu, Wake, Vanuatu, Wallis & Futuna, and Xinjiang; for 20-minute daylight saving time in Ghana before 1943; for half-hour daylight saving time in Belize before 1944 and in the Dominican Republic before 1975; and for Canary Islands before 1946, for Guinea-Bissau before 1975, for Iceland before 1969, for Indian Summer Time before 1942, for Indonesia before around 1964, for Kenya before 1960, for Liberia before 1973, for Madeira before 1967, for Namibia before 1943, for the Netherlands in 1937-9, for Pakistan before 1971, for Western Sahara before 1977, and for Zaporozhye in 1880-1924. For Alaska time from 1900 through 1967, instead of "CAT" use the abbreviation "AST", the abbreviation commonly used at the time (Atlantic Standard Time had not been standardized yet). Use "AWT" and "APT" instead of the invented abbreviations "CAWT" and "CAPT". Use "CST" and "CDT" instead of invented abbreviations for Macau before 1999 and Taiwan before 1938, and use "JST" instead of the invented abbreviation "JCST" for Japan and Korea before 1938. Change to database entry category Move the Pacific/Johnston link from 'australasia' to 'backward', since Johnston is now uninhabited. (From OE-Core rev: 697ea2e2776e54b5cac70461b8aafa2c9b7a0bc3) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 784a8379260759700ab8482b1699c9567d6e9f3f) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzcode-native: update to 2017aArmin Kuster2017-05-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to code zic no longer mishandles some transitions in January 2038 when it attempts to work around Qt bug 53071. This fixes a bug affecting Pacific/Tongatapu that was introduced in zic 2016e. localtime.c now contains a workaround, useful when loading a file generated by a buggy zic. (Problem and localtime.c fix reported by Bradley White.) zdump -i now outputs non-hour numeric time zone abbreviations without a colon, e.g., "+0530" rather than "+05:30". This agrees with zic %z and with common practice, and simplifies auditing of zdump output. zdump is now buildable again with -DUSE_LTZ=0. (Problem reported by Joseph Myers.) zdump.c now always includes private.h, to avoid code duplication with private.h. (Problem reported by Kees Dekker.) localtime.c no longer mishandles early or late timestamps when TZ is set to a POSIX-style string that specifies DST. (Problem reported by Kees Dekker.) date and strftime now cause %z to generate "-0000" instead of "+0000" when the UT offset is zero and the time zone abbreviation begins with "-". Changes to documentation and commentary The 'Theory' file now better documents choice of historical time zone abbreviations. (Problems reported by Michael Deckers.) tz-link.htm now covers leap smearing, which is popular in clouds. (From OE-Core rev: 064457dd47cff339ae442c29ce23648a83a695b9) Signed-off-by: Armin Kuster <akuster@mvista.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 6c95fbf51ec538e29083a4a890d106b732c1b182) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzcode-native: update to 2016jArmin Kuster2017-05-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes to code zic no longer mishandles file systems that lack hard links, fixing bugs introduced in 2016g. (Problems reported by Tom Lane.) Also, when the destination already contains symbolic links, zic should now work better on systems where the 'link' system call does not follow symbolic links. Changes to documentation and commentary tz-link.htm now documents the relationship between release version numbers and development-repository commit tags. (Suggested by Paul Koning.) The 'Theory' file now documents UT. iso3166.tab now accents "Curaçao", and commentary now mentions the names "Cabo Verde" and "Czechia". (Thanks to Jiří Boháč.) (From OE-Core rev: 3fb5ddce97af1d4ada0dcc7f9c0ceef6ac392918) (From OE-Core rev: b83b3565554c923468049ea1fdc9bb5dcec631aa) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit f9d6b482f2275c054dff91b81ac901b612f9c9b4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tzdata: update to 2016jArmin Kuster2017-05-181-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Briefly: Saratov, Russia moves from +03 to +04 on 2016-12-04. Changes to future time stamps Saratov, Russia switches from +03 to +04 on 2016-12-04 at 02:00. This hives off a new zone Europe/Saratov from Europe/Volgograd. (Thanks to Yuri Konotopov and Stepan Golosunov.) Changes to past time stamps The new zone Asia/Atyrau for Atyraū Region, Kazakhstan, is like Asia/Aqtau except it switched from +05/+06 to +04/+05 in spring 1999, not fall 1994. (Thanks to Stepan Golosunov.) Changes to past time zone abbreviations Asia/Gaza and Asia/Hebron now use "EEST", not "EET", to denote summer time before 1948. The old use of "EET" was a typo. (From OE-Core rev: a0b389b5f3effad5194109f9914dec6125b3569d) (From OE-Core rev: 5e117f4250d6155d3014f85dd1cbbfad0afdf282) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 147d7802926153ef0abb12d5e738576d8dfd02d7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* tar: CVE-2016-6321Sona Sarmadi2017-05-182-0/+67
| | | | | | | | | | | | | | | | | | Skip members whose names contain "..". Reference: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-6321 Upstream patch: http://git.savannah.gnu.org/cgit/tar.git/commit/?id=7340f67b9860ea0531c1450e5aa261c50f671 (From OE-Core rev: 3dd835eb0cdd6f530aef5c870d06bc971eec7857) Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit cfa2b5facd1aa6a2bac4cb04687e1a977c533934) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bash: fix CVE-2016-9401Li Zhou2017-05-182-0/+51
| | | | | | | | | | | | | | | | popd in bash might allow local users to bypass the restricted shell and cause a use-after-free via a crafted address. Porting patch from <https://ftp.gnu.org/pub/gnu/bash/bash-4.4-patches/ bash44-006> to solve CVE-2016-9401. (From OE-Core rev: 9b5e17b45ca5b2518f1f7c13bb2f79b5b669744f) Signed-off-by: Li Zhou <li.zhou@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 6987b317d5ce8dc50a37ebba395aa8424bec358c) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: lib/bs4: Fix imports from html5lib >= 0.9999999/1.0b8Daniel Lublin2017-03-261-5/+12
| | | | | | | | | | | As of html5lib 0.9999999/1.0b8 (released on July 14, 2016), some modules have moved from _base to base. Handle this, while staying compatible with earlier versions. (Bitbake rev: bdf7a362ecdafd47f309b7a21feac4b94624f287) Signed-off-by: Daniel Lublin <daniel@lublin.se> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Revert "file: update SRCREV for 5.28 to fix fetch fail on missing commit"Richard Purdie2017-03-211-1/+1
| | | | | | | | This reverts commit 87c17b352daa63bc4f62e8802982288ab1839f1b. Upstream restored the original hashes. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* file: update SRCREV for 5.28 to fix fetch fail on missing commitPaul Gortmaker2017-03-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Machines that cloned a while ago will have the commit, but new deployments won't because it seems the upstream changed/rebased and the old commit ID has been garbage-collected away. Hence the fetch fails to check out the named commit ID. Both the old (gone) commit, and the "new" commit show the same dates and commit log and point at 5.28, so hopefully this is the right thing to do. A git diff of the two seems to only show a blanket uprev of CVS tags and deletion of a couple autogen'd files, and no real source changes. (From OE-Core rev: adb71e06768adadda7b69c3b5e81ca3ad67237f4) Cc: Christos Zoulas <christos@zoulas.com> (From OE-Core rev: 87c17b352daa63bc4f62e8802982288ab1839f1b) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Denys Dmytriyenko <denys@ti.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker.py: run sanity checks for multiconfigJuro Bystricky2017-03-161-1/+2
| | | | | | | | | | | | Also run sanity check for all additional multiconfig configurations as listed in BBMULTICONFIG, not just the "default" configuration. [YOCTO#10810] (Bitbake rev: 0f7fdaa8212a8b9f1f089d32e652400d6c4b4822) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: cooker.py: new multiconfig '*' syntax supportJuro Bystricky2017-03-161-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently you cannot build a target for all the configured multiconfigs without specifying a list. The list can be quite long, requiring to type several lines of text. This enhancement is to support globbing so that you can do this, e.g. instead of: $ bitbake multiconfig:A:bash multiconfig:B:bash bash you can do: $ bitbake multiconfig:*:bash There are real world use cases where it is desirable to use multiconfig with two different tasks. For example: SDKs with multiple toolchains but also containing set of additional host tools, or multiconfig builds requiring one image for the main CPU(s) and a different co-image for a companion CPU. For this reason, two variations of the new syntax are supported. For example, the following: $ bitbake multiconfig:*:meta-toolhchain would expand to: $ bitbake multiconfig:A:meta-toolchain multiconfig:B:meta-toolchain meta-toolchain However the following: $ bitbake multiconfig:*:meta-toolhchain hosttools would expand to: $ bitbake multiconfig:A:meta-toolchain multiconfig:B:meta-toolchain hosttools In other words, if the user specified the "default" task explicitly, it replaces the implicit "default" task. [YOCTO#10680] (Bitbake rev: 3e80d47bea51b64ed6c8bffc033f2d11a630481e) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* bitbake: data_smart: Fix unneeded variable manipulationRichard Purdie2017-03-161-7/+8
| | | | | | | | | | | | | | | | | If was pointed out that if we have: XXX = " A" XXX_remove_inactive-override = "YY" then XXX can become "A" and the leading space can be removed. This is because the remove override code changes the variable value even when there is no removals active. In the process it dirties the cache. We don't really need to do this so tweak the code accordingly. (Bitbake rev: f1ee6dfd3d193a9055320bdd555c1dbaa63f9475) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/gpg_sign: fix rpm signing with gpg > 2.1Markus Lehtonen2017-03-141-0/+2
| | | | | | | | | | | | | | We need to check the gpg version and alter its command line options accordingly. [YOCTO #11054] (From OE-Core rev: 863459e6b565eb6b1a74b78bc01e884ffeac2085) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 44a44b7e582a5a654baf21829d168568481c13d9) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/gpg_sign: make gpg version a property of the signerMarkus Lehtonen2017-03-141-5/+5
| | | | | | | | | (From OE-Core rev: 951d22cb62891c4bc078925c4af8445d7be940e0) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit a00a362e3dc18ba04230cbbd6f91264e5d76f40d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* rpm: support customizing gpg command lineMarkus Lehtonen2017-03-142-0/+44
| | | | | | | | | | | | | | | | Add a new %_gpg_sign_cmd_extra_args macro that allows customizing the gpg options used when signing rpm packages. This is needed to be able to sign packages with gpg 2.1 which requires "--pinentry-mode loopback" to allow non-interactive signing. [YOCTO #11054] (From OE-Core rev: 5cbba2c4016ad84a54f83531868aa6e66eef468e) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 373a7146d596d27376a003014df0d06f3df5348d) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* lib/oe/gpg_sign: sign rpm packages in chunks of 100Markus Lehtonen2017-03-141-4/+5
| | | | | | | | | | | | | | | | | Split the file list into chunks in order to avoid "OSError: [Errno 7] Argument list too long" This would happend when a package has huge amount of subpackages, e.g. glibc-locale. [YOCTO #11069] (From OE-Core rev: 786eafd7b1080eccfe1c7d417eede20d75d80cb0) Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 874f5016fd4dc76bc867b68470297fe59e78a9e6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* e2fsprogs: have configure expand @mkdir_p@Joe Slater2017-03-142-0/+21
| | | | | | | | | | | | Without doing this, locale data is not written into usr/src/locale. We could also just use MKDIR_P instead of mkdir_p. (From OE-Core rev: 6a767f6587a9d60e21fa1d9687c7c08efe3f89ab) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* python-3.5-manifest: Add imp to importlibJuro Bystricky2017-03-141-1/+1
| | | | | | | | | | | | | | | | The imp python module is the forerunner of importlib. Include imp in the importlib subpackage instead of the misc subpackage so that it can be depended on without bringing in a bunch of unrelated, unused modules. (Slightly modified backport of afd9de380dc04780da1eeb94a4c8c46529254231 by George McCollister <george.mccollister@gmail.com>) [YOCTO#11134] (From OE-Core rev: 65f6010346c08bf90f381a2d834dd9908ba2100c) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* gdb-cross-canadian: Depend on nativesdk-python3-importlibGeorge McCollister2017-03-141-1/+2
| | | | | | | | | | | | | | | | | | Add missing dependency on nativesdk-python3-importlib so the imp Python module is installed. Before this patch, running gdb from the sdk would give the following error: Python Exception <class 'ImportError'> No module named 'imp': (From OE-Core rev: ad00a31fbe93e073a2d83616efcd08c5a7ef37c9) (From OE-Core rev: d6e7dc5cbf1cc09c8882a717cd4dd34d10ec7fa3) Signed-off-by: George McCollister <george.mccollister@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* build-appliance-image: Update to morty head revisionyocto-2.2.1morty-16.0.1Richard Purdie2017-02-081-1/+1
| | | | | | (From OE-Core rev: 55c835c73cc41b6fc809c941c295d62a612e49e0) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* openssl: CVE: CVE-2017-3731Alexandru Moise2017-02-083-0/+101
| | | | | | | | | | | | | | | | | | | | If an SSL/TLS server or client is running on a 32-bit host, and a specific cipher is being used, then a truncated packet can cause that server or client to perform an out-of-bounds read, usually resulting in a crash. Backported from: https://github.com/openssl/openssl/commit/8e20499629b6bcf868d0072c7011e590b5c2294d https://github.com/openssl/openssl/commit/2198b3a55de681e1f3c23edb0586afe13f438051 * CVE: CVE-2017-3731 Upstream-status: Backport (From OE-Core rev: 1fe1cb3e6e03b4f7f0d30b2b67edc8809a18fe70) Signed-off-by: Alexandru Moise <alexandru.moise@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* libx11: CVE-2016-7943Sona Sarmadi2017-02-082-0/+104
| | | | | | | | | | | | | | | | | | The XListFonts function in X.org libX11 before 1.6.4 might allow remote X servers to gain privileges via vectors involving length fields, which trigger out-of-bounds write operations. References: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-7943 https://lists.x.org/archives/xorg-announce/2016-October/002720.html Upstream patch: https://cgit.freedesktop.org/xorg/lib/libX11/commit/?id=8c29f1607a31dac0911e45a0dd3d74173822b3c9 (From OE-Core rev: d627e5bd50f66275cb3a77036ea3376a6f1e9a96) Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>