Bruce Ashfield [Sun, 24 Dec 2017 05:20:39 +0000 (00:20 -0500)]
linux-yocto/4.4: update to 4.4.99
Integrating the korg stable updates that comprise the following
commits:
0cbac004e673 Linux 4.4.99 e8d650563c5f misc: panel: properly restore atomic counter on error path 01000c56cacc target: Fix node_acl demo-mode + uncached dynamic shutdown regression 4063c2093349 target/iscsi: Fix iSCSI task reassignment handling 7ecc076a5d51 brcmfmac: remove setting IBSS mode when stopping AP d27383faf144 tipc: fix link attribute propagation bug c8f13916c4c9 security/keys: add CONFIG_KEYS_COMPAT to Kconfig 11fa3353205e tcp/dccp: fix other lockdep splats accessing ireq_opt 6f8048cd59d7 tcp/dccp: fix lockdep splat in inet_csk_route_req() 13eddc67565a tcp/dccp: fix ireq->opt races b9b0c99a426a ipip: only increase err_count for some certain type icmp in ipip_err 9bae2ffb87d6 ppp: fix race in ppp device destruction 4b5bb7723da1 sctp: reset owner sk for data chunks on out queues when migrating a sock bcb3b90cf3c8 tun: allow positive return values on dev_get_valid_name() call 5c8a0850bae2 ip6_gre: only increase err_count for some certain type icmpv6 in ip6gre_err 93b12f202a4e net/unix: don't show information about sockets from other namespaces 84237c54b239 ipv6: flowlabel: do not leave opt->tot_len with garbage d552c8c5007a packet: avoid panic in packet_getsockopt() ef3a12f1dc4a sctp: add the missing sock_owned_by_user check in sctp_icmp_redirect 4b27fe34a226 tun: call dev_get_valid_name() before register_netdevice() 196f4755cc82 l2tp: check ps->sock before running pppol2tp_session_ioctl() 71c4a0fc3576 tcp: fix tcp_mtu_probe() vs highest_sack 735818a8b45c tun/tap: sanitize TUNSETSNDBUF input 1e98fd54c356 ALSA: seq: Cancel pending autoload work at unbinding device b7c625ce6d27 Input: ims-psu - check if CDC union descriptor is sane de46c1adbea6 usb: usbtest: fix NULL pointer dereference c93df40f3c73 mac80211: don't compare TKIP TX MIC key in reinstall prevention cdac2028c901 mac80211: use constant time comparison with keys 6440f0ee8a17 mac80211: accept key reinstall without changing anything c4e3d53bd9e7 Linux 4.4.98 9c405157269d PKCS#7: fix unitialized boolean 'want' b01f1d60dd1c x86/oprofile/ppro: Do not use __this_cpu*() in preemptible context 4df27e649308 can: c_can: don't indicate triple sampling support for D_CAN cdb5a2def61c can: sun4i: handle overrun in RX FIFO 493cb19b2522 rbd: use GFP_NOIO for parent stat and data requests ba4828af60e2 drm/vmwgfx: Fix Ubuntu 17.10 Wayland black screen issue 05b690ccb077 Input: elan_i2c - add ELAN060C to the ACPI table 4694272c470a MIPS: AR7: Ensure that serial ports are properly set up 721d4be9e05d MIPS: AR7: Defer registration of GPIO d0cfebd9b1db tools: firmware: check for distro fallback udev cancel rule 4afaa496d7f3 selftests: firmware: send expected errors to /dev/null ed1deec127d9 selftests: firmware: add empty string and async tests c08f3a82f66f test: firmware_class: report errors properly on failure 6004eb4d1adc MIPS: SMP: Fix deadlock & online race 857e81041f69 MIPS: Fix race on setting and getting cpu_online_mask 175c0622ab11 MIPS: SMP: Use a completion event to signal CPU up 207c2143322c MIPS: Fix CM region target definitions ff8e97326b6a MIPS: microMIPS: Fix incorrect mask in insn_table_MM 1e54b5f72115 ALSA: seq: Avoid invalid lockdep class warning adc4bacd5164 ALSA: seq: Fix OSS sysex delivery in OSS emulation 4d5b67a54e6d ARM: 8720/1: ensure dump_instr() checks addr_limit 3fc61b8dd6bb KEYS: fix NULL pointer dereference during ASN.1 parsing [ver #2] 48276703a037 crypto: x86/sha1-mb - fix panic due to unaligned access 44540ead8a8a workqueue: Fix NULL pointer dereference ad8c619750c4 x86/uaccess, sched/preempt: Verify access_ok() context 44e0e2b47af2 platform/x86: hp-wmi: Do not shadow error values ce93b664540d platform/x86: hp-wmi: Fix error value for hp_wmi_tablet_state df5371592aca KEYS: trusted: fix writing past end of buffer in trusted_read() 939cafad2f51 KEYS: trusted: sanitize all key material 75f82a703b30 cdc_ncm: Set NTB format again after altsetting switch for Huawei devices 5ffc673161be platform/x86: hp-wmi: Fix detection for dock and tablet mode f38a3a1c8f1a net: dsa: select NET_SWITCHDEV 581243dc5528 s390/qeth: issue STARTLAN as first IPA command 3652b0b6f2c2 IB/ipoib: Change list_del to list_del_init in the tx object aa4af0fca101 Input: mpr121 - set missing event capability 0a731928f264 Input: mpr121 - handle multiple bits change of status register ffa6332b8d80 IPsec: do not ignore crypto err in ah4 input 9ee83b03365a netfilter: nft_meta: deal with PACKET_LOOPBACK in netdev family cfb2cb34d32e usb: hcd: initialize hcd->flags to 0 when rm hcd 6450c9a96ff3 serial: sh-sci: Fix register offsets for the IRDA serial port ca2090aa58ba phy: increase size of MII_BUS_ID_SIZE and bus_id 079822da0a00 iio: trigger: free trigger resource correctly 26fa336d69a2 crypto: vmx - disable preemption to enable vsx in aes_ctr.c 30019ca7dc09 ARM: omap2plus_defconfig: Fix probe errors on UARTs 5 and 6 83fe38f2c4a3 powerpc/corenet: explicitly disable the SDHC controller on kmcoge4 158bc64a4dfe iommu/arm-smmu-v3: Clear prior settings when updating STEs f20065b466d4 KVM: PPC: Book 3S: XICS: correct the real mode ICP rejecting counter 2393241b7a22 drm: drm_minor_register(): Clean up debugfs on failure 4e0d26b22e79 xen/netback: set default upper limit of tx/rx queues to 8 f3170e6607be PCI: mvebu: Handle changes to the bridge windows while enabled 414aa11de923 video: fbdev: pmag-ba-fb: Remove bad `__init' annotation 8a56b1b25e3c adv7604: Initialize drive strength to default when using DT c54d0707aa09 Linux 4.4.97 2ed81e62b2ab staging: r8712u: Fix Sparse warning in rtl871x_xmit.c 883706dcda17 xen: don't print error message in case of missing Xenstore entry 298455f466cb bt8xx: fix memory leak 4b7a35866b0c s390/dasd: check for device error pointer within state change interrupts 45a012ace954 mei: return error on notification request to a disconnected client 0e97077574c6 exynos4-is: fimc-is: Unmap region obtained by of_iomap() 2d097e5f5c03 staging: lustre: ptlrpc: skip lock if export failed efa8f1b7a65a staging: lustre: hsm: stack overrun in hai_dump_data_field 2d1d45396585 staging: lustre: llite: don't invoke direct_IO for the EOF case 28a8fc6416ab platform/x86: intel_mid_thermal: Fix module autoload d1f96c30ce2d scsi: aacraid: Process Error for response I/O fff544c8cf68 xen/manage: correct return value check on xenbus_scanf() 762d0762b9bb cx231xx: Fix I2C on Internal Master 3 Bus 0806eaf13850 perf tools: Only increase index if perf_evsel__new_idx() succeeds 3b7d9a95ccd3 drm/amdgpu: when dpm disabled, also need to stop/start vce. dec5fcf11b45 i2c: riic: correctly finish transfers 358008062202 ext4: do not use stripe_width if it is not set 5624ea161040 ext4: fix stripe-unaligned allocations a76eb0e8655e staging: rtl8712u: Fix endian settings for structs describing network packets f9776d7ee5f5 mfd: axp20x: Fix axp288 PEK_DBR and PEK_DBF irqs being swapped 8800aba50292 mfd: ab8500-sysctrl: Handle probe deferral ed414aeb5291 ARM: pxa: Don't rely on public mmc header to include leds.h a3e021504fcf mmc: s3cmci: include linux/interrupt.h for tasklet_struct ba28f16cfa2a PM / wakeirq: report a wakeup_event on dedicated wekup irq b83c2880b348 Fix tracing sample code warning. a48fce662380 tracing/samples: Fix creation and deletion of simple_thread_fn creation ded34f972348 drm/msm: fix an integer overflow test 031b02bc16ae drm/msm: Fix potential buffer overflow issue 6e6eba5ba145 perf tools: Fix build failure on perl script context fa312b481b2b ocfs2: fstrim: Fix start offset of first cluster group during fstrim cc7d9933400f ARM: 8715/1: add a private asm/unaligned.h 4e351b8dd8b7 ARM: dts: mvebu: pl310-cache disable double-linefill 581ac5f431c9 arm64: ensure __dump_instr() checks addr_limit 97d64b7f2fdf ASoC: adau17x1: Workaround for noise bug in ADC 618b930317fb KEYS: fix out-of-bounds read during ASN.1 parsing 97c5668c9724 KEYS: return full count in keyring_read() if buffer is too small d304c9169b38 cifs: check MaxPathNameComponentLength != 0 before using it 8142e9516d5d ALSA: seq: Fix nested rwsem annotation for lockdep splat 70358782743f ALSA: timer: Add missing mutex lock for compat ioctls 27e68f1bca91 Linux 4.4.96 b3d04695be52 Revert "drm: bridge: add DT bindings for TI ths8135" 50044e419e83 ecryptfs: fix dereference of NULL user_key_payload da0933ceec96 x86/microcode/intel: Disable late loading on model 79 a272dc770f7d regulator: fan53555: fix I2C device ids 120ef1a38f79 can: kvaser_usb: Ignore CMD_FLUSH_QUEUE_REPLY messages c1b092102124 can: kvaser_usb: Correct return value in printout 0c3cdb4536d1 can: sun4i: fix loopback mode 62b54cc63a1c scsi: sg: Re-fix off by one in sg_fill_request_table() 6e9abbc96411 scsi: zfcp: fix erp_action use-before-initialize in REC action trace 1cbbd99f3bfe assoc_array: Fix a buggy node-splitting case 2c99438cf66d Input: gtco - fix potential out-of-bound access 31d770a8b887 Input: elan_i2c - add ELAN0611 to the ACPI table 8b396ff8eee7 xen/gntdev: avoid out of bounds access in case of partial gntdev_mmap() 82e05e935ffd fuse: fix READDIRPLUS skipping an entry 7d74eecca960 spi: uapi: spidev: add missing ioctl header 3505478d6fec usb: xhci: Handle error condition in xhci_stop_device() da0345d723f0 ceph: unlock dangling spinlock in try_flush_caps() 5f1d33ab4d53 ALSA: hda - fix headset mic problem for Dell machines with alc236 8c812f0335dd ALSA: hda/realtek - Add support for ALC236/ALC3204 fce67b31c7cd workqueue: replace pool->manager_arb mutex with a flag 9b36699635c5 Linux 4.4.95 aa3a0a70bdb8 FS-Cache: fix dereference of NULL user_key_payload 1bb1d4252d1e fscrypto: require write access to mount to set encryption policy 8a004caec12b KEYS: Fix race between updating and finding a negative key 1dda04c761ab fscrypt: fix dereference of NULL user_key_payload 7d9e13d953f2 f2fs crypto: add missing locking for keyring_key access 4db9f1113196 f2fs crypto: replace some BUG_ON()'s with error checks 0f85c0954be4 sched/autogroup: Fix autogroup_move_group() to never skip sched_move_task() fcc65ab173eb parisc: Fix double-word compare and exchange in LWS code on 32-bit kernels 558ca24dc296 parisc: Avoid trashing sr2 and sr3 in LWS code 6f0dee7d9c9b pkcs7: Prevent NULL pointer dereference, since sinfo is not always set. 33dea302f9bc KEYS: don't let add_key() update an uninstantiated key 503ef5c070a1 lib/digsig: fix dereference of NULL user_key_payload 2b7e02267d3c KEYS: encrypted: fix dereference of NULL user_key_payload 51ba40fcfd67 rtlwifi: rtl8821ae: Fix connection lost problem cffdaa65e72f clockevents/drivers/cs5535: Improve resilience to spurious interrupts b178c94efdfd bus: mbus: fix window size calculation for 4GB windows 260b6739e8b7 brcmsmac: make some local variables 'static const' to reduce stack size efdcbffb2b16 i2c: ismt: Separate I2C block read from SMBus block read 68c610776cfb ALSA: hda: Remove superfluous '-' added by printk conversion f9e937124ec2 ALSA: seq: Enable 'use' locking in all configurations 4516069f1b05 drm/nouveau/mmu: flush tlbs before deleting page tables 195674adee57 drm/nouveau/bsp/g92: disable by default 4d56587c28d4 can: esd_usb2: Fix can_dlc value for received RTR, frames aa629364c0e3 usb: musb: Check for host-mode using is_host_active() on reset interrupt 583a4219841d usb: musb: sunxi: Explicitly release USB PHY on exit d68b07a19a9e can: gs_usb: fix busy loop if no more TX context is available f7d8b2e150ee ALSA: usb-audio: Add native DSD support for Pro-Ject Pre Box S2 Digital 67e25805e748 usb: hub: Allow reset retry for USB2 devices on connect bounce d012ab210f5f usb: quirks: add quirk for WORLDE MINI MIDI keyboard d729f29a291f usb: cdc_acm: Add quirk for Elatec TWN3 4512d6503a4d USB: serial: metro-usb: add MS7820 device id 9dff499d8226 USB: core: fix out-of-bounds access bug in usb_get_bos_descriptor() abe43c97cae2 USB: devio: Revert "USB: devio: Don't corrupt user memory" af9a9a7bed51 Linux 4.4.94 401231d063c5 Revert "tty: goldfish: Fix a parameter of a call to free_irq" cdbbea7809ca cpufreq: CPPC: add ACPI_PROCESSOR dependency c2c6f43e023a nfsd/callback: Cleanup callback cred on shutdown 429a4ac5895d target/iscsi: Fix unsolicited data seq_end_offset calculation 823ba64c5719 uapi: fix linux/mroute6.h userspace compilation errors 028a419869e3 uapi: fix linux/rds.h userspace compilation errors c7a20ed2951f ceph: clean up unsafe d_parent accesses in build_dentry_path c128baf6a1bc i2c: at91: ensure state is restored after suspending d7ecae726698 net: mvpp2: release reference to txq_cpu[] entry after unmapping 693e6513b244 scsi: scsi_dh_emc: return success in clariion_std_inquiry() 9ac38e30f2b0 slub: do not merge cache if slub_debug contains a never-merge flag 315689d2e202 ocfs2/dlmglue: prepare tracking logic to avoid recursive cluster lock d3335f5653ec crypto: xts - Add ECB dependency 02744a55ed38 net/mlx4_core: Fix VF overwrite of module param which disables DMFS on new probed PFs 7bf94b9595cc sparc64: Migrate hvcons irq to panicked cpu d14591e83b49 md/linear: shutup lockdep warnning 48ca88f93533 f2fs: do not wait for writeback in write_begin 3109615b52ee Btrfs: send, fix failure to rename top level inode due to name collision 4d134d830ea7 iio: adc: xilinx: Fix error handling 5c65ed5c07d7 netfilter: nf_ct_expect: Change __nf_ct_expect_check() return value. 743a3ce1e0fd net/mlx4_en: fix overflow in mlx4_en_init_timestamp() 7ed668eeb851 mac80211: fix power saving clients handling in iwlwifi 3e8c1a04d335 mac80211_hwsim: check HWSIM_ATTR_RADIO_NAME length 4a464dacc23f irqchip/crossbar: Fix incorrect type of local variables 7e53f0390dbd watchdog: kempld: fix gcc-4.3 build 28eab3db727e locking/lockdep: Add nest_lock integrity test d44e463c9460 Revert "bsg-lib: don't free job in bsg_prepare_job" 01e3e6315171 tipc: use only positive error codes in messages 685699703a0a net: Set sk_prot_creator when cloning sockets to the right proto 1299f7e17e9e packet: only test po->has_vnet_hdr once in packet_snd 1b6c80e797ee packet: in packet_do_bind, test fanout with bind_lock held ee534927f0c0 tun: bail out from tun_get_user() if the skb is empty b5f689d94bc3 l2tp: fix race condition in l2tp_tunnel_delete 110cf3dd4bcc l2tp: Avoid schedule while atomic in exit_net 93040aa17862 vti: fix use after free in vti_tunnel_xmit/vti6_tnl_xmit d9cb4dc0221e isdn/i4l: fetch the ppp_write buffer in one shot 1a4f1ecdb257 bpf: one perf event close won't free bpf program attached by another perf event 5be6824b9704 packet: hold bind lock when rebinding to fanout hook aa90be3e1248 net: emac: Fix napi poll list corruption 3483c65090dc ip6_gre: skb_push ipv6hdr before packing the header in ip6gre_header 5356f7e40d23 udpv6: Fix the checksum computation when HW checksum does not apply 2ec54b21dd7b bpf/verifier: reject BPF_ALU64|BPF_END dee4506f067a sctp: potential read out of bounds in sctp_ulpevent_type_enabled() 9f5bbe694df1 MIPS: Fix minimum alignment requirement of IRQ stack c088f7bc3310 drm/dp/mst: save vcpi with payloads 951ba9f6c8b9 percpu: make this_cpu_generic_read() atomic w.r.t. interrupts
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
(cherry picked from commit ab748d3239b3b641bb9e26cc36afed7fad540748) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Armin Kuster [Thu, 25 Jan 2018 16:33:43 +0000 (08:33 -0800)]
tzdata: update to 2018c
The 2018c release of the tz code and data is available. It follows on the 2018a and 2018b releases, which were published but were not announced until now, due to problems discovered late in their release processes. 2018a had a build-failure typo, and 2018a and 2018b both had problems with ICU and Java, downstream packages which do not support a feature (negative DST offsets) used in 2018a and 2018b. The typo has been fixed, and data changes using negative DST offsets have been reverted pending development of a mechanism to export data to platforms lacking support for such data.
Starting in 2018 southern Brazil will begin DST on November's
first Sunday instead of October's third Sunday. (Thanks to
Steffen Thorsen.)
Changes to past time stamps
Japanese DST transitions (1948-1951) were Sundays at 00:00, not
Saturdays or Sundays at 02:00. (Thanks to Takayuki Nikai.)
A discrepancy of 4 s in timestamps before 1931 in South Sudan has
been corrected. The 'backzone' and 'zone.tab' files did not agree
with the 'africa' and 'zone1970.tab' files. (Problem reported by
Michael Deckers.)
The abbreviation invented for Bolivia Summer Time (1931-2) is now
BST instead of BOST, to be more consistent with the convention
used for Latvian Summer Time (1918-9) and for British Summer Time.
Changes to build procedure
The default installation locations have been changed to mostly
match Debian circa 2017, instead of being designed as an add-on to
4.3BSD circa 1986. This affects the Makefile macros TOPDIR,
TZDIR, MANDIR, and LIBDIR. New Makefile macros TZDEFAULT, USRDIR,
USRSHAREDIR, BINDIR, ZDUMPDIR, and ZICDIR let installers tailor
locations more precisely. (This responds to suggestions from
Brian Inglis and from Steve Summit.)
The default installation procedure no longer creates the
backward-compatibility link US/Pacific-New, which causes
confusion during user setup (e.g., see Debian bug 815200).
Use 'make BACKWARD="backward pacificnew"' to create the link
anyway, for now. Eventually we plan to remove the link entirely.
tzdata.zi now contains a version-number comment.
(Suggested by Tom Lane.)
The Makefile now quotes values like BACKWARD more carefully when
passing them to the shell. (Problem reported by Zefram.)
Builders no longer need to specify -DHAVE_SNPRINTF on platforms
that have snprintf and use pre-C99 compilers. (Problem reported
by Jon Skeet.)
The build procedure now works around mawk 1.3.3's lack of support
for character class expressions. (Problem reported by Ohyama.)
Armin Kuster [Thu, 25 Jan 2018 16:33:42 +0000 (08:33 -0800)]
tzcode: update to 2018c
removed patches now included in update.
The 2018a through 2018c releases reflect the following changes, which were either circulated on the tz mailing list or are relatively minor technical or administrative changes. This announcement has merged the set of changes made by the three releases, to make it easier to see the difference between 2017c and 2018c; please see the 2018c NEWS file for more details about intermediate versions.
zic has a new option -t FILE that specifies the location of the
file that determines local time when TZ is unset. The default for
this location can be configured via the new TZDEFAULT makefile
macro, which defaults to /etc/localtime.
Diagnostics and commentary now distinguish UT from UTC more
carefully; see theory.html for more information about UT vs UTC.
zic has been ported to GCC 8's -Wstringop-truncation option.
(Problem reported by Martin Sebor.)
Changes to documentation and commentary
The zic man page now documents the longstanding behavior that
times and years can be out of the usual range, with negative times
counting backwards from midnight and with year 0 preceding year 1.
(Problem reported by Michael Deckers.)
The theory.html file now mentions the POSIX limit of six chars
per abbreviation, and lists alphabetic abbreviations used.
The files tz-art.htm and tz-link.htm have been renamed to
tz-art.html and tz-link.html, respectively, for consistency with
other file names and to simplify web server configuration.
Briefly:
Northern Cyprus switches from +03 to +02/+03 on 2017-10-29.
Fiji ends DST 2018-01-14, not 2018-01-21.
Namibia switches from +01/+02 to +02 on 2018-04-01.
Sudan switches from +03 to +02 on 2017-11-01.
Tonga likely switches from +13/+14 to +13 on 2017-11-05.
Turks & Caicos switches from -04 to -05/-04 on 2018-11-04.
A new file tzdata.zi now holds a small text copy of all data.
The zic input format has been regularized slightly.
Changes to future time stamps
Northern Cyprus has decided to resume EU rules starting
2017-10-29, thus reinstituting winter time.
Fiji ends DST 2018-01-14 instead of the 2018-01-21 previously
predicted. (Thanks to Dominic Fok.) Adjust future predictions
accordingly.
Namibia will switch from +01 with DST to +02 all year on
2017-09-03 at 02:00. This affects UT offsets starting 2018-04-01
at 02:00. (Thanks to Steffen Thorsen.)
Sudan will switch from +03 to +02 on 2017-11-01. (Thanks to Ahmed
Atyya and Yahia Abdalla.) South Sudan is not switching, so
Africa/Juba is no longer a link to Africa/Khartoum.
Tonga has likely ended its experiment with DST, and will not
adjust its clocks on 2017-11-05. Although Tonga has not announced
whether it will continue to observe DST, the IATA is assuming that
it will not. (Thanks to David Wade.)
Turks & Caicos will switch from -04 all year to -05 with US DST on
2018-03-11 at 03:00. This affects UT offsets starting 2018-11-04
at 02:00. (Thanks to Steffen Thorsen.)
Changes to past time stamps
Namibia switched from +02 to +01 on 1994-03-21, not 1994-04-03.
(Thanks to Arthur David Olson.)
Detroit did not observe DST in 1967.
Use railway time for Asia/Kolkata before 1941, by switching to
Madras local time (UT +052110) in 1870, then to IST (UT +0530) in
1906. Also, treat 1941-2's +0630 as DST, like 1942-5.
Europe/Dublin's 1946 and 1947 fallback transitions occurred at
02:00 standard time, not 02:00 DST. (Thanks to Michael Deckers.)
Pacific/Apia and Pacific/Pago_Pago switched from Antipodean to
American time in 1892, not 1879. (Thanks to Michael Deckers.)
Adjust the 1867 transition in Alaska to better reflect the
historical record, by changing it to occur on 1867-10-18 at 15:30
Sitka time rather than at the start of 1867-10-17 local time.
Although strictly speaking this is accurate only for Sitka,
the rest of Alaska's blanks need to be filled in somehow.
Fix off-by-one errors in UT offsets for Adak and Nome before 1867.
(Thanks to Michael Deckers.)
Add 7 s to the UT offset in Asia/Yangon before 1920.
Changes to zone names
Remove Canada/East-Saskatchewan from the 'backward' file, as it
exceeded the 14-character limit and was an unused misnomer anyway.
zic and the reference runtime now reject multiple leap seconds
within 28 days of each other, or leap seconds before the Epoch.
As a result, support for double leap seconds, which was
obsolescent and undocumented, has been removed. Double leap
seconds were an error in the C89 standard; they have never existed
in civil timekeeping. (Thanks to Robert Elz and Bradley White for
noticing glitches in the code that uncovered this problem.)
zic now warns about use of the obsolescent and undocumented -y
option, and about use of the obsolescent TYPE field of Rule lines.
zic now allows unambiguous abbreviations like "Sa" and "Su" for
weekdays; formerly it rejected them due to a bug. Conversely, zic
no longer considers non-prefixes to be abbreviations; for example,
it no longer accepts "lF" as an abbreviation for "lastFriday".
Also, zic warns about the undocumented usage with a "last-"
prefix, e.g., "last-Fri".
Similarly, zic now accepts the unambiguous abbreviation "L" for
"Link" in ordinary context and for "Leap" in leap-second context.
Conversely, zic no longer accepts non-prefixes such as "La" as
abbreviations for words like "Leap".
zic no longer accepts leap second lines in ordinary input, or
ordinary lines in leap second input. Formerly, zic sometimes
warned about this undocumented usage and handled it incorrectly.
The new macro HAVE_TZNAME governs whether the tzname external
variable is exported, instead of USG_COMPAT. USG_COMPAT now
governs only the external variables "timezone" and "daylight".
This change is needed because the three variables are not in the
same category: although POSIX requires tzname, it specifies the
other two variables as optional. Also, USG_COMPAT is now 1 or 0:
if not defined, the code attempts to guess it from other macros.
localtime.c and difftime.c no longer require stdio.h, and .c files
other than zic.c no longer require sys/wait.h.
zdump.c no longer assumes snprintf. (Reported by Jonathan Leffler.)
Calculation of time_t extrema works around a bug in GCC 4.8.4
(Reported by Stan Shebs and Joseph Myers.)
zic.c no longer mistranslates formats of line numbers in non-English
locales. (Problem reported by Benno Schulenberg.)
Several minor changes have been made to the code to make it a
bit easier to port to MS-Windows and Solaris. (Thanks to Kees
Dekker for reporting the problems.)
Changes to documentation and commentary
The two new files 'theory.html' and 'calendars' contain the
contents of the removed file 'Theory'. The goal is to document
tzdb theory more accessibly.
The zic man page now documents abbreviation rules.
tz-link.htm now covers how to apply tzdata changes to clients.
(Thanks to Jorge Fábregas for the AIX link.) It also mentions MySQL.
The leap-seconds.list URL has been updated to something that is
more reliable for tzdb. (Thanks to Tim Parenti and Brian Inglis.)
Mikko Ylinen [Tue, 10 Oct 2017 12:27:06 +0000 (15:27 +0300)]
linux-firmware: make i.MX SDMA split complete
The commit to split i.MX SDMA firmware blobs in their
own packages was not complete and results in a failure
when trying to install full linux-firmware:
* Solver encountered 1 problem(s):
* Problem 1/1:
* - nothing provides linux-firmware-imx-sdma-license needed
* by linux-firmware-1:0.0+git0+a61ac5cf83-r0.all
*
* Solution 1:
* - do not ask to install a package providing linux-firmware
Make the split complete by installing the license in
${PN}-imx-sdma-license and have the blob packages depend on it.
Signed-off-by: Mikko Ylinen <mikko.ylinen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 229f70a5f6d29d82e1a7b1f780e2149fb91d5385) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Otavio Salvador [Thu, 5 Oct 2017 18:00:06 +0000 (15:00 -0300)]
linux-firmware: Split i.MX SDMA firmwares
This splits out the i.MX SDMA firmwares for i.MX6 and i.MX7 SoCs. This
also includes the required runtime provides, conflicts and replaces
for the old firmware-imx which was provided by NXP BSP layer.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b3f3078fd4349fdf6986dd57e4b04bce03630924) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Stefan Agner [Wed, 13 Sep 2017 23:05:49 +0000 (16:05 -0700)]
linux-firmware: bump to latest linux-firmware git revision
This requires MD5 sum updates for
- LICENSE.QualcommAtheros_ath10k: year change
- WHENCE: various version updates and addition of new firmwares
The new firmware for Qualcom Venus causes a QA error:
QA Issue: linux-firmware: Recipe inherits the allarch class, but has packaged architecture-specific binaries
Since firmware typically do not run on the CPU, the architecture of
the firmware file is independent from the CPU architecture the image
will be running on. Disable the QA check for the linux-firmware
package by default.
Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: California Sullivan <california.l.sullivan@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit a83dd65e64e9b7fa702927f96947bd3f0537adfd) Signed-off-by: Armin Kuster <akuster808@gmail.com>
ibt-firmware was not packaged separately and was part of big linux-firmware
package. Packaging allows to install it separately, according to requirements.
Signed-off-by: Maciej Pijanowski <maciej.pijanowski@3mdeb.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f1414d6f9c327547023375f9e298f6f021eaee1b) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Ng Wei Tee [Fri, 5 May 2017 02:04:58 +0000 (19:04 -0700)]
linux-firmware: enable netronome firmware
It was previously disabled, as rpm refused to package it into noarch
package, due to the firmware being considered arch-specific. This
check is disabled in rpm now.
The netronome binaries has ELF headers which will trigger an
arch-specific error. INSANE_SKIP variable is used to skip some
package_qa check usage.
Signed-off-by: Ng Wei Tee <wei.tee.ng@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
(cherry picked from commit 8b2f6b308019e697c9d3e66969807eb573350d78)
Manual fixup to current base Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
linux-firmware: Fix build failure when update SRCREV to latest HEAD
When we update the SRCREV to latest, we will encouter the following
bitbake error.
Build error message:
| Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
| error: Arch dependent binaries in noarch package
|
|
| RPM build errors:
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0081-0001_1x40.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0099-0001_2x25.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_8x10.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0081-0001_4x10.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_4x10_1x40.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0099-0001_2x10.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0097-0001_2x40.nffw
| Missing build-id in /home/phoongst/work2/test00/tmp/work/all-poky-linux/linux-firmware/1_0.0+gitAUTOINC+44d8e8d4fd-r0/package/lib/firmware/netronome/nic_AMDA0096-0001_2x10.nffw
| Deprecated external dependency generator is used!
| Arch dependent binaries in noarch package
| WARNING: exit code 1 from a shell command.
This is due to netronome firmware is not included in noarch package.
Hence we removed the netronome firmware before it is packaged,
until the rpm issue is resolved.
Signed-off-by: Chang, Rebecca Swee Fun <rebecca.swee.fun.chang@intel.com> Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
linux-firmware: Set the license for carl9170 to GPLv2
linux-firmwara-carl9170 was set to a wrong license string.
Carl9170 firmware is bounded by GPLv2 via code inspection on
linux firmware source tree. Hence we include GPLv2 in LICENSE
field and set carl9170 firmware to the correct license.
[YOCTO #11090]
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
-change in amdgpu firmware copyright year
-change in radeon firmware copyright year
-LICENCE.mwl8335 was removed in linux-firmware source tree
-specify the copyright year for siano
-change in qla2xxx firmware copyright year
Signed-off-by: Ng, Wei Tee <wei.tee.ng@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Ross Burton [Thu, 22 Dec 2016 17:07:43 +0000 (17:07 +0000)]
linux-firmware: remove alternatives for brcmfmac-stdio.bin
These alternatives are only used to provide an unversioned brcmfmac-sdio.bin,
which was required by kernels prior to 3.13. As these alternatives all have the
same priority there's no determinism in which one is selected, and current
kernels (since January 2014) use the appropriately versioned firmware names.
Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Mike Looijmans [Thu, 15 Dec 2016 13:31:57 +0000 (14:31 +0100)]
linux-firmware: Split out Realtek chipsets rtl8188 rtl8723 rtl8821
Add rtl8188 rtl8712 rtl8723 rtl8821 packages to install only firmware for the
corresponding chipset. Uses a rather blunt approach by simply adding all firmware
files with matching prefix, to keep the package count down a bit.
Richard Purdie [Sun, 21 Jan 2018 09:44:07 +0000 (09:44 +0000)]
populate_sdk_ext: Set cleandirs correctly
The current conflicting use of SDKDEPLOYDIR causes a race between do_populate_sdk
and do_populate_sdk_ext potentially causing the SDK to either go missing or the
build to fail.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sun, 7 Jan 2018 16:59:40 +0000 (16:59 +0000)]
libunwind: Disable documentation explicitly
We don't have latex2man in HOSTTOOLs so documentaion is never built but this
dependency does cause problems on older releases like morty, pre-HOSTTOOLS.
Document the configuration explicitly in master.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
webkitgtk: update to 2.18.5 (includes Spectre mitigations; see commit description)
This is the only available stable version with mitigation fixes for Spectre.
Webkit upstream developers do not port CVE fixes to earlier stable series,
no exception was made in this case.
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>
===
webkit: Reduce duplication in MIPS variants.
Reduce duplication in MIPS variants now that the MACHINEOVERRIDES
variable is defined
Signed-off-by: Zubair Lutfullah Kakakhel <Zubair.Kakakhel@imgtec.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: drop patch 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch
* This patch is not longer needed. Upstream has fixed this issue in:
https://trac.webkit.org/changeset/205672 which is already included
in WebKitGTK+ >= 2.14.0
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: Add an option to disable opengl support
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: Use MIPS MACHINE_OVERRIDES
The mipsarch* MACHINE_OVERRIDES can be used to pass the same
parameters to MIPS pre-R2 and R6 ISA variants.
Use them to reduce duplication in supporting MIPS R6 ISA.
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
Revert "webkitgtk: drop patch 0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch"
Upstream fixed the issue with GCC. But the build still fails with Clang.
Therefore reintroduce this patch until a better solution is found.
Upstream bug: https://bugs.webkit.org/show_bug.cgi?id=161697
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: Fix atomic detection on arm architecture
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: add missing python-native dep
Since we can't inherit pythonnative, we need this dep explicitly.
Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: update to 2.14.5
Remove a reference to WebKit/LICENSE, as the directory is not there anymore
(and the LICENSE file in it hasn't been moved somewhere else) - it was
a relic of webkit 1.x era.
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>
===
webkitgtk: Fix build on aarch64
Do not try to do runtime tests during cross compile
Fixes
| CMake Error at Source/cmake/OptionsCommon.cmake:73 (math):
| math cannot parse the expression: "-1": syntax error, unexpected exp_MINUS,
| expecting exp_OPENPARENT or exp_NUMBER (1)
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>
===
webkitgtk: Fix build for armv5
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: Upgrade to 2.16.5
Adjust some dependencies: libgcrypt is now required (instead of gnutls)
and the following build deps where missing: gettext-native, glib-2.0
and glib-2.0-native.
Also the CMake argument ENABLE_CREDENTIAL_STORAGE has been renamed to
USE_LIBSECRET.
This new upstream release (2.16.4 actually) includes security fixes for
CVE: CVE-2017-2538
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: update to 2.16.6
Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: Do not use -isystem forcibly
this causes include_next <stdlib.h> to not find
this header since -isystem <sysroot> is added via
cmake, we alrady are using --sysroot so rely on that
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>
===
webkitgtk: Add a recommends on shared-mime-info.
* without this package installed any WebKitGTK+ based browser
will fail to correctly open html files (and other files)
from disk (file:// URIs). It will open them as plain txt files.
Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: disable gobject-introspection on armv7a
Disable gobject-introspection on armv7a and armv7ve
to avoid do_compile failure:
Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
===
webkitgtk: update to 2.18.3
gcc7.patch, musl-fixes.patch, and ppc-musl-fix.patch all change code that is no
longer present in upstream tree. However, a patch with different musl fixes
has been added.
The rest of the patches are rebased to the new tree.
Libtasn is a new dependency.
Disable Gstreamer GL support on x86 due to clashing headers problem.
Existing version of ruby-native (2.2.5) was crashing on my machine (and others' too),
yet a functional ruby is necessary to upgrade webkit to a version that less vulnerable
to Spectre.
I've performed the update by copying the ruby recipe directory over from the current
pyro tree; if you want to see the list of specific commits, issue this command:
PR22209, invalid memory read in find_abstract_instance_name
This patch adds bounds checking for DW_FORM_ref_addr die refs, and
calculates them relative to the first .debug_info section. See the
big comment for why calculating relative to the current .debug_info
section was wrong for relocatable object files.
PR 22209
* dwarf2.c (struct comp_unit): Delete sec_info_ptr field.
(find_abstract_instance_name): Calculate DW_FORM_ref_addr relative
to stash->info_ptr_memory, and check die_ref is within that memory.
Set info_ptr_end correctly when another CU is refd. Check die_ref
for DW_FORM_ref4 etc. is within CU.
PR22187, infinite loop in find_abstract_instance_name
This patch prevents the simple case of infinite recursion in
find_abstract_instance_name by ensuring that the attributes being
processed are not the same as the previous call.
The patch also does a little cleanup, and leaves in place some changes
to the nested_funcs array that I made when I wrongly thought looping
might occur in scan_unit_for_symbols.
PR 22187
* dwarf2.c (find_abstract_instance_name): Add orig_info_ptr and
pname param. Return status. Make name const. Don't abort,
return an error. Formatting. Exit if current info_ptr matches
orig_info_ptr. Update callers.
(scan_unit_for_symbols): Start at nesting_level of zero. Make
nested_funcs an array of structs for extensibility. Formatting.
There should be only one entry in PLT for a given symbol. Set howto to
NULL after processing a PLT entry to guard against corrupted PLT so that
the duplicated PLT entries are skipped.
Fix seg-faults in objdump when disassembling a corrupt versados binary.
PR binutils/21591
* versados.c (versados_mkobject): Zero the allocated tdata structure.
(process_otr): Check for an invalid offset in the otr structure.
Fix potential address violations when processing a corrupt Alpha VMA binary.
PR binutils/21589
* vms-alpha.c (_bfd_vms_get_value): Add an extra parameter - the
maximum value for the ascic pointer. Check that name processing
does not read beyond this value.
(_bfd_vms_slurp_etir): Add checks for attempts to read beyond the
end of etir record.
Affects: <= 2.28
Fix address violation problems when disassembling a corrupt RX binary.
PR binutils/21587
* rx-decode.opc: Include libiberty.h
(GET_SCALE): New macro - validates access to SCALE array.
(GET_PSCALE): New macro - validates access to PSCALE array.
(DIs, SIs, S2Is, rx_disp): Use new macros.
* rx-decode.c: Regenerate.
Fix heap-buffer overflow bugs caused when dumping debug information from a corrupt binary.
PR binutils/21438
* dwarf.c (process_extended_line_op): Do not assume that the
string extracted from the section is NUL terminated.
(fetch_indirect_string): If the string retrieved from the section
is not NUL terminated, return an error message.
(fetch_indirect_line_string): Likewise.
(fetch_indexed_string): Likewise.
The existing reloc offset range tests didn't catch small negative
offsets less than the size of the reloc field.
PR 21432
* reloc.c (reloc_offset_in_range): New function.
(bfd_perform_relocation, bfd_install_relocation): Use it.
(_bfd_final_link_relocate): Likewise.
PR 21412, get_reloc_section assumes .rel/.rela name for SHT_REL/RELA.
This patch fixes an assumption made by code that runs for objcopy and
strip, that SHT_REL/SHR_RELA sections are always named starting with a
.rel/.rela prefix. I'm also modifying the interface for
elf_backend_get_reloc_section, so any backend function just needs to
handle name mapping.
PR 21813
binutils* rddbg.c (read_symbol_stabs_debugging_info): Check for an empty
string whilst concatenating symbol names.
bfd * mach-o.c (bfd_mach_o_canonicalize_relocs): Pass the base address
of the relocs to the canonicalize_one_reloc routine.
* mach-o.h (struct bfd_mach_o_backend_data): Update the prototype
for the _bfd_mach_o_canonicalize_one_reloc field.
* mach-o-arm.c (bfd_mach_o_arm_canonicalize_one_reloc): Add
res_base parameter. Use to check for corrupt pair relocs.
* mach-o-aarch64.c (bfd_mach_o_arm64_canonicalize_one_reloc):
Likewise.
* mach-o-i386.c (bfd_mach_o_i386_canonicalize_one_reloc):
Likewise.
* mach-o-x86-64.c (bfd_mach_o_x86_64_canonicalize_one_reloc):
Likewise.
* vms-alpha.c (_bfd_vms_slurp_eihd): Make sure that there is
enough data in the record before attempting to parse it.
(_bfd_vms_slurp_eeom): Likewise.
(_bfd_vms_slurp_egsd): Check for an invalid section index.
(image_set_ptr): Likewise.
(alpha_vms_slurp_relocs): Likewise.
Fix address violation when attempting to read a corrupt field in a COFF archive header structure.
PR 21786
* coff-rs6000.c (_bfd_strntol): New function.
(_bfd_strntoll): New function.
(GET_VALUE_IN_FIELD): New macro.
(EQ_VALUE_IN_FIELD): new macro.
(_bfd_xcoff_slurp_armap): Use new macros.
(_bfd_xcoff_archive_p): Likewise.
(_bfd_xcoff_read_ar_hdr): Likewise.
(_bfd_xcoff_openr_next_archived_file): Likewise.
(_bfd_xcoff_stat_arch_elt): Likewise.
Extend previous fix to coff-rs6000.c to coff64-rs6000.c
PR 21786
* coff64-rs6000.c (_bfd_strntol): New function.
(_bfd_strntoll): New function.
(GET_VALUE_IN_FIELD): New macro.
(xcoff64_slurp_armap): Use new macros.
Fix address violation issues encountered when parsing corrupt binaries.
PR 21840
* mach-o.c (bfd_mach_o_read_symtab_strtab): Fail if the symtab
size is -1.
* nlmcode.h (nlm_swap_auxiliary_headers_in): Replace assertion
with error return.
* section.c (bfd_make_section_with_flags): Fail if the name or bfd
are NULL.
* vms-alpha.c (bfd_make_section_with_flags): Correct computation
of end pointer.
(evax_bfd_print_emh): Check for invalid string lengths.
Fix address violations when reading corrupt VMS records.
PR binutils/21618
* vms-alpha.c (evax_bfd_print_emh): Check for insufficient record
length.
(evax_bfd_print_eeom): Likewise.
(evax_bfd_print_egsd): Check for an overlarge record length.
(evax_bfd_print_etir): Likewise.
Fix use-after-free error when parsing a corrupt nested archive.
PR 21787
* archive.c (bfd_generic_archive_p): If the bfd does not have the
correct magic bytes at the start, set the error to wrong format
and clear the format selector before returning NULL.
Richard Purdie [Sat, 6 Jan 2018 10:02:10 +0000 (10:02 +0000)]
local.conf.sample: Weakly set BB_DISKMON_DIRS
For various reasons we need to be able to set and override this from
auto.conf on our test infrastructure. We have tried forcing the variable
but this then breaks other selftests. In the interests of not complicating
things further and needing to modify the tests across releases, weaken
the default assignment.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Sat, 9 Dec 2017 10:59:34 +0000 (10:59 +0000)]
populate_sdk_ext: Use prebuilt uninative tarball
For uninative to work, it relies on it being updated to new versions as
newer glibcs are built. This means the uninative generated by the current
build may not be as recent as the uninative that is being downloaded by
uninative.bbclass.
If this occurs, we can get symbol mismatch errors.
Ultimately, the sstate and the uninative versions need to match so we
should use the same tarball as uninative.bbclass is using, not the one
we built.
[YOCTO #12405]
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Richard Purdie [Fri, 8 Dec 2017 15:14:31 +0000 (15:14 +0000)]
uninative: Handle futex hangs caused by glibc version mismatches
We've been seeing hangs in smart on the autobuilders where it hangs in
pthread futex calls. It appears to happen when some components are
installed from sstate (which use the interpreter from uninative)
and other components are built natively (and use the host's interpreter).
Its primarily affecting software which uses shared memory with futexs in
for locking purposes (which bdb does called from librpm from smart).
This isn't an issue in pyro and rocko and beyond since they use recipe
specific sysroots which included a change to always change to the
uninative interpreter. We could backport those changes but they're
fairly invasive changes to the sstate code. This patch is a more
minimal change which ensures binaries are always using the uninative
interpreter regardless of whether they're built locally or installed
from sstate.
This is only an issue if you're using an sstate mirror and hosts
with a variety of different libc versions. It has only become an issue
on recent libc versions where there was clearly some forwards compatibility
issue introduced.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: sweeaun <swee.aun.khor@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Hand applied for morty version
Gnu-efi needs to be build for 64bit since it is a boot time tool. It
needs these 2 headers to be in 64 bit versions, we can use the existing
32bit ones as there is not really any difference.