Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (1h)  netbsd-8 (5d)  netbsd-10 (6d)  netbsd-9 (12d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 13:55:24 UTC Now

2017-11-10 18:08:11 UTC MAIN commitmail json YAML

Restore the initial state at the end of line.
This matters for stateful encodings like iso-2022-jp.
Fix taken from yamt via nvi2.

(rin)

2017-11-10 17:31:12 UTC MAIN commitmail json YAML

PR bin/52715

Correct a (relatively harmless) use after free in prompt expansion
processing [detected by asan.]

Relatively harmless: as (while incorrect) the way the data is (was)
used more or less guaranteed that the buffer contents would be
unaltered until well after they are (were) no longer wanted (this
is the expanded prompt string, it is just output (or copied into
libedit internal storage) and forgotten.

This should make no visible difference to anyone (not using asan or
similar.)

XXX pullup -8

(kre)

2017-11-10 16:35:54 UTC MAIN commitmail json YAML

make the checkok test stricter to avoid races, and use O_REGULAR.

(christos)

2017-11-10 14:53:00 UTC MAIN commitmail json YAML

Change the behavior of join command in accordance with nvi-m17n, as proposed on
tech-userlevel@; when the last and first chars in joined lines are multi-width,
do not insert a white space.

(rin)

2017-11-10 14:44:13 UTC MAIN commitmail json YAML

- Fix cursor position when a multiwidth char does not fit within a line.
- Put cursor on the leftmost column of a multiwidth char, instead of
  the rightmost one. Otherwise, some terminal emulators do not focus on
  the entire of the char.

Logic taken from nvi-m17n by itojun.

(rin)

2017-11-10 14:35:25 UTC MAIN commitmail json YAML

2017-11-10 08:52:57 UTC MAIN commitmail json YAML

Implement memcpy, the builtin version does not work with variable sizes.

(maxv)

2017-11-10 08:05:38 UTC MAIN commitmail json YAML

2017-11-10 07:27:57 UTC MAIN commitmail json YAML

Use psref instead of pserialize because that code is sleepable

(ozaki-r)

2017-11-10 07:25:39 UTC MAIN commitmail json YAML

Use psref instead of pserialize because that code is sleepable

(ozaki-r)

2017-11-10 07:24:28 UTC MAIN commitmail json YAML

Fix a deadlock between a route update and lltable

It happens because rtalloc1 is called from lltable with holding
IF_AFDATA_WLOCK.

If a route update is in action, rtalloc1 would wait for its completion with
holding IF_AFDATA_WLOCK. At the same moment, a softint (e.g., arpintr) may try
to take IF_AFDATA_WLOCK and get stuck on it. Unfortunately the stuck softint
prevents the route update from progressing because the route update calls
psref_target_destroy that needs the softint to complete.

A resource allocation graph of the senario looks like this:
    route update =(psref_target_destroy)=> softint => IF_AFDATA_WLOCK
    =(rt_update_wait)=> route update

Fix the deadlock by pulling rtalloc1 out of the lltable codes inside
IF_AFDATA_WLOCK.

Note that the deadlock happens only if NET_MPSAFE is enabled.

(ozaki-r)

2017-11-10 07:15:32 UTC MAIN commitmail json YAML

Remove redundant KASSERTMSG

The function is static, has just one caller and the caller does the same check.

(ozaki-r)

2017-11-10 00:09:23 UTC MAIN commitmail json YAML

Allwinner NAND Flash Controller driver. Work in progress.

(jmcneill)

2017-11-09 23:51:54 UTC MAIN commitmail json YAML

Do not emit a meaningless message when lid open/close from valz(4)

(ryoon)

2017-11-09 23:20:12 UTC MAIN commitmail json YAML

Assert KM_SLEEP xor KM_NOSLEEP in all kmem allocation.

(riastradh)

2017-11-09 22:52:27 UTC MAIN commitmail json YAML

Add assertions that either PR_WAITOK or PR_NOWAIT are set.

(christos)

2017-11-09 22:34:07 UTC MAIN commitmail json YAML

panic ex nihilo -- PR_NOWAITing for zerot

(riastradh)

2017-11-09 22:22:58 UTC MAIN commitmail json YAML

use PR_NOWAIT instead of 0

(christos)

2017-11-09 22:21:27 UTC MAIN commitmail json YAML

Don't use 0 for PR_NOWAIT

(christos)

2017-11-09 22:20:26 UTC MAIN commitmail json YAML

2017-11-09 22:16:39 UTC MAIN commitmail json YAML

use PR_WAITOK everywhere.

(christos)

2017-11-09 22:16:35 UTC MAIN commitmail json YAML

Guess pool_cache_get(pc, 0) means PR_WAITOK here.

Earlier on in the same context we use kmem_alloc(sz, KM_SLEEP).

(riastradh)

2017-11-09 21:57:06 UTC MAIN commitmail json YAML

don't pass 0 to the pool flags

(christos)

2017-11-09 21:52:33 UTC MAIN commitmail json YAML

2017-11-09 21:50:15 UTC MAIN commitmail json YAML

2017-11-09 21:45:24 UTC MAIN commitmail json YAML

ul is not 64-bit on all platforms, use ull when calculating planesize

(jmcneill)

2017-11-09 21:39:48 UTC MAIN commitmail json YAML

2017-11-09 21:38:48 UTC MAIN commitmail json YAML

2017-11-09 21:38:25 UTC MAIN commitmail json YAML

2017-11-09 21:37:52 UTC MAIN commitmail json YAML

2017-11-09 21:36:46 UTC MAIN commitmail json YAML

2017-11-09 20:30:02 UTC MAIN commitmail json YAML

Add O_REGULAR to enforce opening of only regular files
(like we have O_DIRECTORY for directories).
This is better than open(, O_NONBLOCK), fstat()+S_ISREG() because opening
devices can have side effects.

(christos)

2017-11-09 20:27:50 UTC MAIN commitmail json YAML

2017-11-09 19:34:17 UTC MAIN commitmail json YAML

Handle the ERESTART case from pool_grow()

(christos)

2017-11-09 15:56:56 UTC MAIN commitmail json YAML

2017-11-09 15:53:40 UTC MAIN commitmail json YAML

make the KASSERTMSG/panic strings consistent as '%s: [%s], __func__, wchan'

(christos)

2017-11-09 15:46:48 UTC MAIN commitmail json YAML

Use another ld script for kaslr kernels, in which there are no alignment
directives. They don't matter since the bootloader overwrites them.

But, normally we still need to make sure .data.read_mostly is aligned.
Unfortunately I couldn't find any way to force sh_addralign to be 64, so
I'm leaving the alignment there as a useless reminder.

(maxv)

2017-11-09 15:40:23 UTC MAIN commitmail json YAML

Since pr_lock is now used to wait for two things now (PR_GROWING and
PR_WANTED) we need to loop for the condition we wanted.

(christos)

2017-11-09 15:24:39 UTC MAIN commitmail json YAML

Fill in the page padding. Only .text is pre-filled by the ld script, but
this will change in the future.

(maxv)

2017-11-09 15:03:01 UTC MAIN commitmail json YAML

Don't get stuck reading named pipes; only try to read plain files in
order to send mail.

(christos)

2017-11-09 12:46:55 UTC MAIN commitmail json YAML

2017-11-09 10:03:47 UTC MAIN commitmail json YAML

Wait 1ms first. Existing Intel xHCI requies 1ms delay to prevent system hang
(Errata).

XXX pullup-[78]

(msaitoh)

2017-11-09 09:33:28 UTC MAIN commitmail json YAML

On device which has SFP(+) cage and a module is inserted, hw->phy.id is not
MII PHY id but SFF 8024 ID. So checking hw->phy.id with 0 doesn't work.
Print PHY ID only for copper PHY.

(msaitoh)

2017-11-09 08:34:50 UTC MAIN commitmail json YAML

fix typo. (does not affect actual operation, but confuses reader...)

The function is called when racoon receives SADB_X_MIGRATE pfkey message,
however the message is not used now. It was compatible code for KAME.

(knakahara)

2017-11-09 05:57:23 UTC MAIN commitmail json YAML

2017-11-09 04:51:07 UTC MAIN commitmail json YAML

Dedup some checks

And the change a bit optimizes checks of SA expirations, which
may shorten testing time.

(ozaki-r)

2017-11-09 04:50:37 UTC MAIN commitmail json YAML

"Mark key_timehandler_ch callout as MP-safe" change needs one more sec to make lifetime tests stable

(ozaki-r)

2017-11-09 03:08:13 UTC MAIN commitmail json YAML

2017-11-09 03:07:10 UTC MAIN commitmail json YAML

Add PEX 8605 4port 4lane PCIe Gen 2 switch.

(msaitoh)

2017-11-09 01:28:06 UTC MAIN commitmail json YAML

Initialize boot_catalog_entry's entry_type properly.

This had been missing but the type was used in cd9660_setup_boot().

From OpenBSD usr.sbin/makefs/cd9660/cd9660_eltorito.c r1.10.

(nonaka)

2017-11-09 01:02:56 UTC MAIN commitmail json YAML

2017-11-09 01:01:33 UTC MAIN commitmail json YAML

add "prekern" to the string list.

(christos)

2017-11-08 22:26:58 UTC netbsd-8 commitmail json YAML

2017-11-08 22:24:55 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #350):
sys/netinet6/icmp6.c: revision 1.214
sys/netinet6/raw_ip6.c: revision 1.158
Fix usages of ipsec_used
If IPsec isn't used, we must go back to the normal path.
PR kern/52659

(snj)

2017-11-08 22:20:59 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by ozaki-r in ticket #349):
sys/net/if_l2tp.c: revision 1.14
sys/net/if_tap.c: revision 1.101
sys/net/if_tun.c: revision 1.141
sys/net/if_vlan.c: revision 1.106
Set IFEF_NO_LINK_STATE_CHANGE flag to pseudo devices that don't use
if_link_state_change

(snj)

2017-11-08 21:44:29 UTC MAIN commitmail json YAML

2017-11-08 21:33:36 UTC netbsd-6-1 commitmail json YAML

2017-11-08 21:32:14 UTC netbsd-6-0 commitmail json YAML

2017-11-08 21:28:24 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1390):
sys/arch/mips/mips/pmap.c: 1.221-1.223
Fix a bug introduced by me in 1.214 where unmanaged mappings would be
affected by calls to pmap_page_protect which is wrong.  Now PV_KENTER
mappings are left intact.
Thanks to chuq for spotting my mistake and reviewing this diff.
Thanks to everyone who tested it as well.
Fix PR/51288 reproducable panic on evbmips64-eb (erlite)
pmap_page_remove from the previous change neglected to terminate the pv
list correctly when it started with an initial unmanaged mapping and
subsequent managed mappings.  Fix this.
Fix MIPS3_NO_PV_UNCACHED alias handling by looping through the pv_list
looking for bad aliases and removing the bad entries.  That is, revert
to the code before the matt-mips64 merge.
Additionally, fix the pmap_update call to not use the (recently
  removed/freed) pv for the pmap_t.
Fixes the following two PRs
PR/49903: Panic during installation on WorkPad Z50 (hpcmips) whilst uncompressing base.tgz
PR/51226: Install bug for hpcmips NetBSD V7 using FTP Full installation

(snj)

2017-11-08 21:28:18 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1390):
sys/arch/mips/mips/pmap.c: 1.221-1.223
Fix a bug introduced by me in 1.214 where unmanaged mappings would be
affected by calls to pmap_page_protect which is wrong.  Now PV_KENTER
mappings are left intact.
Thanks to chuq for spotting my mistake and reviewing this diff.
Thanks to everyone who tested it as well.
Fix PR/51288 reproducable panic on evbmips64-eb (erlite)
pmap_page_remove from the previous change neglected to terminate the pv
list correctly when it started with an initial unmanaged mapping and
subsequent managed mappings.  Fix this.
Fix MIPS3_NO_PV_UNCACHED alias handling by looping through the pv_list
looking for bad aliases and removing the bad entries.  That is, revert
to the code before the matt-mips64 merge.
Additionally, fix the pmap_update call to not use the (recently
  removed/freed) pv for the pmap_t.
Fixes the following two PRs
PR/49903: Panic during installation on WorkPad Z50 (hpcmips) whilst uncompressing base.tgz
PR/51226: Install bug for hpcmips NetBSD V7 using FTP Full installation

(snj)

2017-11-08 21:22:58 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1068):
sys/arch/mips/include/pmap.h: revision 1.63
sys/arch/mips/mips/pmap.c: revision 1.214
sys/arch/mips/mips/pmap_segtab.c: revision 1.8
Deal with incompatible cache aliases. Specifically,
- always flush an ephemeral page on unmap
- track unmanaged mappings (mappings entered via pmap_kenter_pa) for
    aliases where required and handle appropriately (via pmap_enter_pv)
Hopefully this (finally) addresses the instability reported in the
following PRs:
PR/44900 - R5000/Rm5200 mips ports are broken
PR/46890 - upcoming NetBSD 6.0 release is very unstable / unusable on cobalt qube 2
PR/48628 - cobalt and hpcmips ports are dead

(snj)

2017-11-08 21:22:48 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1068):
sys/arch/mips/include/pmap.h: revision 1.63
sys/arch/mips/mips/pmap.c: revision 1.214
sys/arch/mips/mips/pmap_segtab.c: revision 1.8
Deal with incompatible cache aliases. Specifically,
- always flush an ephemeral page on unmap
- track unmanaged mappings (mappings entered via pmap_kenter_pa) for
    aliases where required and handle appropriately (via pmap_enter_pv)
Hopefully this (finally) addresses the instability reported in the
following PRs:
PR/44900 - R5000/Rm5200 mips ports are broken
PR/46890 - upcoming NetBSD 6.0 release is very unstable / unusable on cobalt qube 2
PR/48628 - cobalt and hpcmips ports are dead

(snj)

2017-11-08 21:19:46 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1056):
sys/arch/mips/mips/pmap.c: revision 1.210-1.213
sys/arch/mips/mips/vm_machdep.c: revision 1.143
Fix a logic inversion introduced with the matt-nb5-mips64 for
pmap_{zero,copy}_page cache alias handing. The check previously used
PG_MD_UNCACHED_P, where it now uses PG_MD_CACHED_P, when considering if
a cache invalidation is required.
Additionally flush the cache for the uarea va to avoid potential (future)
cache aliases in cpu_uarea_free when handing pages back to uvm for later
use.
ok matt@
Hopefully this addresses the instability reported in the following PRs:
PR/44900 - R5000/Rm5200 mips ports are broken
PR/46170 - NetBSD/cobalt 6.0_BETA does not boot
PR/46890 - upcoming NetBSD 6.0 release is very unstable / unusable on cobalt qube 2
PR/48628 - cobalt and hpcmips ports are dead
Grab pv_list lock in pmap_unmap_ephemeral_page only when needed.
Make PARANOIADIAG compile.
Use pmap_tlb_asid_check to reduce code c&p.

(snj)

2017-11-08 21:17:46 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by skrll in ticket #1056):
sys/arch/mips/mips/pmap.c: revision 1.210-1.213
sys/arch/mips/mips/vm_machdep.c: revision 1.143
Fix a logic inversion introduced with the matt-nb5-mips64 for
pmap_{zero,copy}_page cache alias handing. The check previously used
PG_MD_UNCACHED_P, where it now uses PG_MD_CACHED_P, when considering if
a cache invalidation is required.
Additionally flush the cache for the uarea va to avoid potential (future)
cache aliases in cpu_uarea_free when handing pages back to uvm for later
use.
ok matt@
Hopefully this addresses the instability reported in the following PRs:
PR/44900 - R5000/Rm5200 mips ports are broken
PR/46170 - NetBSD/cobalt 6.0_BETA does not boot
PR/46890 - upcoming NetBSD 6.0 release is very unstable / unusable on cobalt qube 2
PR/48628 - cobalt and hpcmips ports are dead
Grab pv_list lock in pmap_unmap_ephemeral_page only when needed.
Make PARANOIADIAG compile.
Use pmap_tlb_asid_check to reduce code c&p.

(snj)

2017-11-08 20:24:53 UTC MAIN commitmail json YAML

Add matt-nb8-mediatek branch

(matt)

2017-11-08 19:49:26 UTC MAIN commitmail json YAML

Use genassym.cf instead of #include <arch/arm/sunxi/sunxi_platform.h>

(skrll)

2017-11-08 18:31:00 UTC MAIN commitmail json YAML

2017-11-08 18:29:04 UTC MAIN commitmail json YAML

2017-11-08 17:55:54 UTC MAIN commitmail json YAML

2017-11-08 17:52:22 UTC MAIN commitmail json YAML

Call fpuinit_mxcsr_mask in cpu_init, after cr4 is initialized, but before
touching xcr0. Then use clts/stts instead of modifying cr0, and enable the
mxcsr_mask detection on Xen.

(maxv)

2017-11-08 10:35:30 UTC MAIN commitmail json YAML

Mark key_timehandler_ch callout as MP-safe (just forgot to do so)

(ozaki-r)

2017-11-08 08:41:13 UTC MAIN commitmail json YAML

Fix a bug that Denverton which uses firmware don't linkup if the media is
forced to 100baseTX-FDX or 10baseT-FDX. As I wrote in ixgbe_phy.c rev. 1.13,
popular switches and OSes don't use auto-negotiation if the media is forced to
100BASE-TX or 10BASE-T. Do the same thing. But, if we don't set
FW_PHY_ACT_SETUP_LINK_AN in ixgbe_setup_fw_link(), the firmware wrongly set
BMCR register. Two problems are observed:

a) FDX may not be set.
b) BMCR_SPEED1 (bit 6) is always cleard.

+ -------+------+-----------+-----+
|request | BMCR | BMCR spd | BMCR |
|        | (HEX)| (in bits)|  FDX |
+--------+------+----------+------+
|  10M  | 0000 |  10M(00) |    0 |
|  10M  | 2100 | 100M(01) |    1 |
|  100M  | 0000 |  10M(00) |    0 |
|  100M  | 0100 |  10M(00) |    1 |
+--------------------------+------+

To avoid this problem, after sending request to firmware, check BMCR register
and fix the setting if it's required.

Before this change:

+------------------+---------------------------------------------+
|                  |                    denverton                |
|                  +---------+--------+---------+----------------+
|                  |  auto  | 1G FDX | 100 FDX |        10 FDX |
+---------+--------+---------+--------+---------+----------------+
|        |  auto |  1G FDX | 1G FDX | 100 FDX | 10FDX/down(NG) |
|        +--------+---------+--------+---------+----------------+
|        | 1G FDX |  1G FDX | 1G FDX |    down |          down |
| link    +--------+---------+--------+---------+----------------+
| partner |100 FDX | down(*1)|  down | down(NG)|          down |
|        +--------+---------+--------+---------+----------------+
|        | 10 FDX | down(*1)|  down |    down |      down(NG) |
+---------+--------+---------+--------+---------+----------------+
(Observed on: NVM Image Version 0.05 ID 0x8, NVM Map version 1.16,
OEM NVM Image version 0.06, ETrackID 8000087c)

After this change:

+------------------+---------------------------------------------+
|                  |                    denverton                |
|                  +---------+--------+---------+----------------+
|                  |  auto  | 1G FDX | 100 FDX |        10 FDX |
+---------+--------+---------+--------+---------+----------------+
|        |  auto |  1G FDX | 1G FDX | 100 FDX |        10 FDX |
|        +--------+---------+--------+---------+----------------+
|        | 1G FDX |  1G FDX | 1G FDX |    down |          down |
| link    +--------+---------+--------+---------+----------------+
| partner |100 FDX | down(*1)|  down | 100 FDX |          down |
|        +--------+---------+--------+---------+----------------+
|        | 10 FDX | down(*1)|  down |    down |        10 FDX |
+---------+--------+---------+--------+---------+----------------+
*1): may be correct because ixg doesn't support half duplex.

(msaitoh)

2017-11-08 00:51:47 UTC MAIN commitmail json YAML

fix locking, remove error(1) comments.

(christos)

2017-11-08 00:42:12 UTC MAIN commitmail json YAML

use p->p_path, remove unused code.

(christos)

2017-11-07 22:20:06 UTC MAIN commitmail json YAML

remove both timestamp and static pie

(christos)

2017-11-07 22:13:43 UTC MAIN commitmail json YAML

not ready for static pie either.

(christos)

2017-11-07 21:28:33 UTC MAIN commitmail json YAML

remove tstamp.h, this is for a different time.

(christos)

2017-11-07 20:58:23 UTC MAIN commitmail json YAML

hack around namei problem.

(christos)

2017-11-07 19:44:05 UTC MAIN commitmail json YAML

Store full executable path in p->p_path as discussed in tech-kern.
This means that the full executable path is always available.

- exec_elf.c: use p->path to set AT_SUN_EXECNAME, and since this is
  always set, do so unconditionally.
- kern_exec.c: simplify pathexec, use kmem_strfree where appropriate
  and set p->p_path
- kern_exit.c: free p->p_path
- kern_fork.c: set p->p_path for the child.
- kern_proc.c: use p->p_path to return the executable pathname; the
  NULL check for p->p_path, should be a KASSERT?
- exec.h: gc ep_path, it is not used anymore
- param.h: bump version, 'struct proc' size change

TODO:
1. reference count the path string, to save copy at fork and free
  just before exec?
2. canonicalize the pathname by changing namei() to LOCKPARENT
  vnode and then using getcwd() on the parent directory?

(christos)

2017-11-07 18:37:00 UTC MAIN commitmail json YAML

kmem_str{dupsize,free} man pages.

(christos)

2017-11-07 18:36:28 UTC MAIN commitmail json YAML

document kmem_strdupsize/kmem_strdupfree

(christos)

2017-11-07 18:35:57 UTC MAIN commitmail json YAML

Add two utility functions to help use kmem with strings: kmem_strdupsize,
kmem_strfree.

(christos)

2017-11-07 16:30:32 UTC MAIN commitmail json YAML

Add driver for Broadcom 802.11a/b/g/n/ac SDIO wireless devices, based on
the OpenBSD bwfm(4) driver.

I could not test this on any hardware yet, as it does not attach as-is on
my Raspberry PI 3.

(khorben)

2017-11-07 15:57:38 UTC MAIN commitmail json YAML

We computed the length of the string already, so use it...

(christos)

2017-11-07 14:56:03 UTC MAIN commitmail json YAML

2017-11-07 14:55:30 UTC MAIN commitmail json YAML

2017-11-07 12:39:07 UTC MAIN commitmail json YAML

Return res in non-synaptics case like before. Fix ALPS case

(ryoon)

2017-11-07 09:26:55 UTC MAIN commitmail json YAML

Use mixring blocksizes in the right places when mixer is enabled.

This means that x68k's vs audio works once again with sysctl usemixer=1.

Tested with xm6i.

(nat)

2017-11-07 09:17:06 UTC MAIN commitmail json YAML

Stop using bpfjit

Because most architectures don't support it and npf still works without it.

(ozaki-r)

2017-11-07 09:05:06 UTC MAIN commitmail json YAML

on RPI2, fix compile failure without options MULTIPROCESSOR.

(ryo)

2017-11-07 07:21:13 UTC MAIN commitmail json YAML

Fix the "wait for any pending transmission to finish" - doesn't really
matter at the moment as the fifo is disabled.

(skrll)

2017-11-07 07:19:13 UTC MAIN commitmail json YAML

2017-11-07 05:41:54 UTC MAIN commitmail json YAML

Fix a bug that X550T(1) didn't linkup if it forces 100BaseTX-FDX.
Popular switches and OSes don't use auto-negotiation if the media is
100BASE-TX (and 10BASE-T). Do the same thig.

Another fix is required for Denverton's _T device which use firmware.

(msaitoh)

2017-11-07 05:33:12 UTC MAIN commitmail json YAML

Define bit definitions of MDIO_PMAPMD_CTRL1 and MDIO_AN_CTRL1.

(msaitoh)

2017-11-07 04:09:08 UTC MAIN commitmail json YAML

Make wddone poll all drives of a channel again.

(mlelstv)

2017-11-07 02:19:23 UTC MAIN commitmail json YAML

Let rtadvd not use syslog for logging

Thanks to christos@ now rtadvd can log via stderr instead of syslog
by -D option.

Address PR bin/52701

(ozaki-r)

2017-11-07 01:15:43 UTC MAIN commitmail json YAML

Remove 24 bit in a 32 bit container filters.

At present this filter did not work well and has caused problems with
the audio mixer disabled for hdaudio(4).

These filters may return when they are fixed.

(nat)

2017-11-07 01:13:19 UTC MAIN commitmail json YAML

A sysctl is now available to disable the in kernel mixer.
sysctl -w hw.hdafg0.usemixer=0

There currently is a problem draining the last block with the mixer
disabled.  I will fix this in a follow up commit.

AFAIK there will be a problem wiht vs(4) on x68k with the mixer disabled
as the filters for mulaw, alaw and unsigned linear have been removed post
audio mixing changes.

Documentation for this sysctl variable will be made to audio.4 in a follow
up commit.

Ok christos@.

(nat)

2017-11-06 23:06:55 UTC MAIN commitmail json YAML

In the fopen_regular and fopen_symlink tests, when (that is, if) a
failure occurs, distinguish in the failure message the cases where the
open succeeded (and should not have), and where it failed, but not for
the expected reason (the "wrong errno" case not tested, would require
manufacturing a broken kernel...).

Add O_NOFOLLOW ('l' mode modifier) tests to the fopen_mode test case
(tests that are intended to open the file) and also add a few missing
commas which were causing a few of the sub-tests to be skipped, and
others to be not quite testing exactly what was intended.

(kre)

2017-11-06 21:40:04 UTC MAIN commitmail json YAML

Bump date for previous. New sentence, new line. Fix typos.
Add missing word.

(wiz)

2017-11-06 21:16:04 UTC MAIN commitmail json YAML

init/fini for the main program is handled by crt0.o, so ifunc handling
is skipped right now as it iterates the same list. Don't repeat that
mistake and explicitly take care of it in the dynamic linker.

(joerg)

2017-11-06 21:11:17 UTC MAIN commitmail json YAML

Add documentation for clickpad mouse button emulation.

(blymn)

2017-11-06 21:07:17 UTC MAIN commitmail json YAML

2017-11-06 21:03:58 UTC MAIN commitmail json YAML

2017-11-06 19:20:54 UTC MAIN commitmail json YAML

2017-11-06 19:17:43 UTC MAIN commitmail json YAML

2017-11-06 19:12:23 UTC MAIN commitmail json YAML

Mark expandm as preserving format strings.

(joerg)

2017-11-06 18:41:23 UTC MAIN commitmail json YAML

Assert that pool_get failure happens only with PR_NOWAIT.

This would have caught the mistake I made last week leading to null
pointer dereferences all over the place, a mistake which I evidently
poorly scheduled alongside maxv's change to the panic message on x86
for null pointer dereferences.

(riastradh)

2017-11-06 17:56:25 UTC MAIN commitmail json YAML

Since _RUMPKERNEL is really userland code it needs ARCH_ELFSIZE,
not KERN_ELFSIZE, make it so!

(christos)

2017-11-06 17:32:53 UTC MAIN commitmail json YAML

2017-11-06 15:27:09 UTC MAIN commitmail json YAML

2017-11-06 15:21:23 UTC MAIN commitmail json YAML

Summary: xen/x86/intr.c has been retired. Don't try to build it.

(cherry)

2017-11-06 15:15:04 UTC MAIN commitmail json YAML

2017-11-06 14:26:03 UTC MAIN commitmail json YAML

Assert that __cxa_atexit is not used with NULL as DSO. Don't use
__cxa_atexit directly from atexit, they have different behavior.

(joerg)

2017-11-06 10:51:40 UTC MAIN commitmail json YAML

Kill rtadvd surely even if the tests fail in the middle

It may help PR bin/52701.

(ozaki-r)

2017-11-06 10:40:43 UTC netbsd-8 commitmail json YAML

338-341, 343, 344, 346-348

(snj)

2017-11-06 10:33:06 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #339):
sys/compat/netbsd32/netbsd32_conv.h: revision 1.33
PR kern/52681: fix msghdr conversion.

(snj)

2017-11-06 10:29:06 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by martin in ticket #338):
sys/arch/sparc64/dev/sab.c: revision 1.55
sys/dev/ic/com.c: revision 1.345
sys/dev/ic/z8530tty.c: revision 1.132
sys/dev/sun/sunkbd.c: revision 1.30
sys/dev/sun/sunms.c: revision 1.33
sys/sys/tty.h: revision 1.94
As discussed on tech-kern: define a new tty internal state flag: TS_KERN_ONLY
Implement it in a few tty drivers. If this flag is set, the underlying
hardware is used by another driver and userland has no right to open
it. A few uses will appear soon in sys/dev/sun/sun{kbd,ms}.c.
--
PR port-sparc64/52622: mark the parent device as TS_KERN_ONLY,
so userland will not touch it (and change serial params w/o our
control).

(snj)

2017-11-06 10:26:13 UTC MAIN commitmail json YAML

no more ssh1 code in openssh, so no use defining WITH_SSH1

(snj)

2017-11-06 09:59:01 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #341):
sys/net/if_l2tp.c: revision 1.12
fix l2tp panic when l2tp session id is changed (same as if_vlan.c:r1.104)
E.g. the following operation causes this panic.
    ====================
    # ifconfig l2tp0 create
    # ifconfig l2tp0 session 140 140
    # ifconfig l2tp1 create
    # ifconfig l2tp1 session 200 200
    # ifconfig l2tp1 session 300 300
    panic: kernel diagnostic assertion "new->ple_next == NULL" failed: file "/disk4/home/k-nakahara/repos/netbsd-src/sys/sys/pslist.h", line 118
    ====================
Pointed out by s-yamaguchi@IIJ, thanks.

(snj)

2017-11-06 09:57:39 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knahakara in ticket #340):
sys/net/if_vlan.c: revision 1.104
fix vlan panic when vlan is re-configured without destroy.
E.g. the following operation causes this panic.
    ====================
    # ifconfig vlan0 create
    # ifconfig vlan0 vlan 1 vlanif ixg3
    # ifconfig vlan1 create
    # ifconfig vlan1 vlan 1 vlanif ixg2
    # ifconfig vlan1 -vlanif
    # ifconfig vlan1 vlan 1 vlanif ixg2
    panic: kernel diagnostic assertion "new->ple_next == NULL" failed: file "/git/netbsd-src/sys/sys/pslist.h", line 118
    ====================
Pointed out and tested by msaitoh@n.o, fixed by s-yamaguchi@IIJ, thanks.

(snj)

2017-11-06 09:55:57 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #343):
sys/kern/kern_history.c: revision 1.16
sys/sys/kernhist.h: revision 1.22
usr.bin/vmstat/vmstat.c: revision 1.220
Remove the ABI version-and-length check that was recently introduced;
sysctl(9) ABIs should be stable across versions.

(snj)

2017-11-06 09:54:01 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by knakahara in ticket #348):
sys/dev/pci/if_wm.c: revision 1.542
sys/dev/pci/if_wmreg.h: revision 1.104
fix wm(4) vlan panic. Reported and tested by Tom Ivar Helbekkmo, thanks.
wm(4) used PRI bits and CFI bit as vlantag by mistake. It is found out
by if_ether.h:r1.67.

(snj)

2017-11-06 09:52:15 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by jmcneill in ticket #347):
usr.bin/mkubootimage/mkubootimage.c: revision 1.22
add missing break after -m case

(snj)

2017-11-06 09:43:03 UTC netbsd-8 commitmail json YAML

xsrc/external/mit/xorg-server.old/dist/Xext/panoramiX.c@1.1.1.1.2.1 / diff / nxr@1.1.1.1.2.1
xsrc/external/mit/xorg-server.old/dist/Xext/saver.c@1.1.1.1.2.1 / diff / nxr@1.1.1.1.2.1
xsrc/external/mit/xorg-server.old/dist/Xext/xvdisp.c@1.1.1.1.2.1 / diff / nxr@1.1.1.1.2.1
xsrc/external/mit/xorg-server.old/dist/Xi/xichangehierarchy.c@1.1.1.1.2.1 / diff / nxr@1.1.1.1.2.1
xsrc/external/mit/xorg-server.old/dist/dbe/dbe.c@1.1.1.1.2.1 / diff / nxr@1.1.1.1.2.1
xsrc/external/mit/xorg-server.old/dist/dix/dispatch.c@1.1.1.1.2.1 / diff / nxr@1.1.1.1.2.1
xsrc/external/mit/xorg-server.old/dist/hw/dmx/dmxpict.c@1.1.1.1.2.1 / diff / nxr@1.1.1.1.2.1
xsrc/external/mit/xorg-server.old/dist/hw/xfree86/dixmods/extmod/xf86dga2.c@1.1.1.1.2.1 / diff / nxr@1.1.1.1.2.1
xsrc/external/mit/xorg-server.old/dist/hw/xfree86/dri/xf86dri.c@1.1.1.1.2.1 / diff / nxr@1.1.1.1.2.1
xsrc/external/mit/xorg-server.old/dist/render/render.c@1.1.1.1.2.1 / diff / nxr@1.1.1.1.2.1
xsrc/external/mit/xorg-server.old/dist/xfixes/cursor.c@1.1.1.1.2.1 / diff / nxr@1.1.1.1.2.1
xsrc/external/mit/xorg-server.old/dist/xfixes/region.c@1.1.1.1.2.1 / diff / nxr@1.1.1.1.2.1
xsrc/external/mit/xorg-server.old/dist/xfixes/saveset.c@1.1.1.1.2.1 / diff / nxr@1.1.1.1.2.1
xsrc/external/mit/xorg-server.old/dist/xfixes/xfixes.c@1.1.1.1.2.1 / diff / nxr@1.1.1.1.2.1
xsrc/external/mit/xorg-server/dist/Xext/panoramiX.c@1.1.1.6.2.1 / diff / nxr@1.1.1.6.2.1
xsrc/external/mit/xorg-server/dist/Xext/saver.c@1.1.1.7.2.1 / diff / nxr@1.1.1.7.2.1
xsrc/external/mit/xorg-server/dist/Xext/vidmode.c@1.1.1.1.2.1 / diff / nxr@1.1.1.1.2.1
xsrc/external/mit/xorg-server/dist/Xext/xres.c@1.1.1.4.2.1 / diff / nxr@1.1.1.4.2.1
xsrc/external/mit/xorg-server/dist/Xext/xvdisp.c@1.6.2.1 / diff / nxr@1.6.2.1
xsrc/external/mit/xorg-server/dist/Xi/xibarriers.c@1.1.1.1.2.1 / diff / nxr@1.1.1.1.2.1
      :
(more 12 files)
Pull up following revision(s) (requested by mrg in ticket #346):
external/mit/xorg-server.old/dist/Xext/panoramiX.c: 1.2
external/mit/xorg-server.old/dist/Xext/saver.c: 1.2
external/mit/xorg-server.old/dist/Xext/xvdisp.c: 1.2
external/mit/xorg-server.old/dist/Xi/xichangehierarchy.c: 1.2
external/mit/xorg-server.old/dist/dbe/dbe.c: 1.2
external/mit/xorg-server.old/dist/dix/dispatch.c: 1.2
external/mit/xorg-server.old/dist/hw/dmx/dmxpict.c: 1.2
external/mit/xorg-server.old/dist/hw/xfree86/dixmods/extmod/xf86dga2.c: 1.2
external/mit/xorg-server.old/dist/hw/xfree86/dri/xf86dri.c: 1.2
external/mit/xorg-server.old/dist/render/render.c: 1.2
external/mit/xorg-server.old/dist/xfixes/cursor.c: 1.2
external/mit/xorg-server.old/dist/xfixes/region.c: 1.2
external/mit/xorg-server.old/dist/xfixes/saveset.c: 1.2
external/mit/xorg-server.old/dist/xfixes/xfixes.c: 1.2
external/mit/xorg-server/dist/Xext/panoramiX.c: 1.2
external/mit/xorg-server/dist/Xext/saver.c: 1.2
external/mit/xorg-server/dist/Xext/vidmode.c: 1.2
external/mit/xorg-server/dist/Xext/xres.c: 1.2
external/mit/xorg-server/dist/Xext/xvdisp.c: 1.7
external/mit/xorg-server/dist/Xi/xibarriers.c: 1.2
external/mit/xorg-server/dist/Xi/xichangehierarchy.c: 1.4
external/mit/xorg-server/dist/dbe/dbe.c: 1.4
external/mit/xorg-server/dist/dix/dispatch.c: 1.4
external/mit/xorg-server/dist/hw/dmx/dmxpict.c: 1.2
external/mit/xorg-server/dist/hw/xfree86/common/xf86DGA.c: 1.2
external/mit/xorg-server/dist/hw/xfree86/dri/xf86dri.c: 1.2
external/mit/xorg-server/dist/pseudoramiX/pseudoramiX.c: 1.2
external/mit/xorg-server/dist/render/render.c: 1.4
external/mit/xorg-server/dist/xfixes/cursor.c: 1.2
external/mit/xorg-server/dist/xfixes/region.c: 1.2
external/mit/xorg-server/dist/xfixes/saveset.c: 1.2
external/mit/xorg-server/dist/xfixes/xfixes.c: 1.2
apply fixes for CVEs 2017-12176 to 2017-12187.
--
From 1b1d4c04695dced2463404174b50b3581dbd857b Mon Sep 17 00:00:00 2001
From: Nathan Kidd <nkidd%opentext.com@localhost>
Date: Sun, 21 Dec 2014 01:10:03 -0500
Subject: hw/xfree86: unvalidated lengths
This addresses:
CVE-2017-12180 in XFree86-VidModeExtension
CVE-2017-12181 in XFree86-DGA
CVE-2017-12182 in XFree86-DRI
--
From 211e05ac85a294ef361b9f80d689047fa52b9076 Mon Sep 17 00:00:00 2001
From: Michal Srb <msrb%suse.com@localhost>
Date: Fri, 7 Jul 2017 17:21:46 +0200
Subject: Xi: Test exact size of XIBarrierReleasePointer
Otherwise a client can send any value of num_barriers and cause reading or swapping of values on heap behind the receive buffer.
--
From 4ca68b878e851e2136c234f40a25008297d8d831 Mon Sep 17 00:00:00 2001
From: Nathan Kidd <nkidd%opentext.com@localhost>
Date: Fri, 9 Jan 2015 10:09:14 -0500
Subject: dbe: Unvalidated variable-length request in ProcDbeGetVisualInfo
(CVE-2017-12177)
v2: Protect against integer overflow (Alan Coopersmith)
--
From 55caa8b08c84af2b50fbc936cf334a5a93dd7db5 Mon Sep 17 00:00:00 2001
From: Nathan Kidd <nkidd%opentext.com@localhost>
Date: Fri, 9 Jan 2015 11:43:05 -0500
Subject: xfixes: unvalidated lengths (CVE-2017-12183)
v2: Use before swap (Jeremy Huddleston Sequoia)
v3: Fix wrong XFixesCopyRegion checks (Alan Coopersmith)
--
From 859b08d523307eebde7724fd1a0789c44813e821 Mon Sep 17 00:00:00 2001
From: Nathan Kidd <nkidd%opentext.com@localhost>
Date: Wed, 24 Dec 2014 16:22:18 -0500
Subject: Xi: fix wrong extra length check in ProcXIChangeHierarchy
(CVE-2017-12178)
--
From 9c23685009aa96f4b861dcc5d2e01dbee00c4dd9 Mon Sep 17 00:00:00 2001
From: Michal Srb <msrb%suse.com@localhost>
Date: Fri, 7 Jul 2017 17:04:03 +0200
Subject: os: Make sure big requests have sufficient length.
A client can send a big request where the 32B "length" field has value
0. When the big request header is removed and the length corrected,
the value will underflow to 0xFFFFFFFF.  Functions processing the
request later will think that the client sent much more data and may
touch memory beyond the receive buffer.
--
From b747da5e25be944337a9cd1415506fc06b70aa81 Mon Sep 17 00:00:00 2001
From: Nathan Kidd <nkidd%opentext.com@localhost>
Date: Fri, 9 Jan 2015 10:15:46 -0500
Subject: Unvalidated extra length in ProcEstablishConnection (CVE-2017-12176)

(snj)

2017-11-06 09:37:24 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #344):
external/bsd/nvi/usr.bin/recover/virecover: 1.2-1.3
external/bsd/nvi/dist/common/recover.c: 1.6-1.9
be more careful about opening recovery files... in particular deal with
people trying to get 'vi -r' stuck using named pipes, symlink attacks,
and coercing others opening recovery files they did not create.
- don't use command substitution to glob a pattern into a list of filenames;
  it is less efficient than doing it directly and does not handle whitespace
  in filenames properly.
- change test to [
- quote variables
Put back the tests for "no files matched" (in a different way than they
were written previously - but that's just style.)  This is not csh...
Use the correct test operator to test for an empty file (rather than
testing for an empty file name...)
Write test ('[') commands in a way that is defined to work, rather than
just happens to - we can afford the (negligible) performance hit here.
Deal safely with recovery mail files.
oops, accidendally committed an earlier non-working version; fixed.
Don't use popenve() for portability; forking an extra shell here is not an
issue.

(snj)

2017-11-06 09:23:51 UTC netbsd-7-1 commitmail json YAML

2017-11-06 09:21:48 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by kardel in ticket #1385):
sys/dev/pci/if_wm.c: revision 1.497
PR kern/52039: use same safeguard as for the 82578

(snj)

2017-11-06 04:43:50 UTC MAIN commitmail json YAML

kill another wrong ELFSIZE setting.

(christos)

2017-11-06 04:08:02 UTC MAIN commitmail json YAML

remove more DB_ELFSIZE

(christos)

2017-11-06 03:51:37 UTC MAIN commitmail json YAML

2017-11-06 03:50:33 UTC MAIN commitmail json YAML

Use KERN_ELFSIZE if we are in the kernel.

(christos)

2017-11-06 03:50:13 UTC MAIN commitmail json YAML

Define the ELFSIZE to be KERN_ELFSIZE, since these headers always refer
to kernel objects (even when included from userland).

(christos)

2017-11-06 03:47:49 UTC MAIN commitmail json YAML

Cleanup and clarify the ELFSIZE mess:

We now have 2 variables automatically set in elf_machdep.h:

    ARCH_ELFSIZE: the size for userland binaries
    KERN_ELFSIZE: the size for the kernel binaries

DB_ELFSIZE has been deleted and KERN_ELFSIZE should have always the
same values DB_ELFSIZE used to have.

In sys/exec_elf.h, if ELFSIZE is not set, it is set to KERN_ELFSIZE
for the kernel and ARCH_ELFSIZE for userland. These defaults should
eliminate the need for most manual ELFSIZE setting.

(christos)

2017-11-06 03:37:52 UTC MAIN commitmail json YAML

No need to compile in ip_*.c and ipc_*.c to nvi, although they are
necessary for generation of header files.

Reduce 5% of binary size on amd64.

(rin)

2017-11-06 03:27:34 UTC MAIN commitmail json YAML

Introduce HAVE_XXX macros to where they should be.
No binary changes, but possibly improve portability for, e.g.,
sync with pkgsrc version in the near future.

(rin)

2017-11-06 03:21:13 UTC MAIN commitmail json YAML

Entries of abbrev[] should be sorted for bsearch(3) to work.
Fix the problem that option abbreviation "fe" is neglected.

(rin)

2017-11-06 03:17:37 UTC MAIN commitmail json YAML

Fix corruption in numbering of options without GTAGS compile-time option.
Now nvi works without GTAGS.

(rin)

2017-11-06 03:10:26 UTC MAIN commitmail json YAML

No need to include ip_extern.h here.
No binary changes.

(rin)

2017-11-06 03:08:41 UTC MAIN commitmail json YAML

Remove a hack which declares tigetstr(9) in cl_extern.h.
No binary changes.

(rin)

2017-11-06 03:03:54 UTC MAIN commitmail json YAML

Fix bogus file location in percentage.

(rin)

2017-11-06 03:02:22 UTC MAIN commitmail json YAML

Fix buffer overrun caused by lines longer than CONV_BUFFER_SIZE.
Take care of errno == E2BIG case of iconv(3) appropriately.

(rin)

2017-11-06 02:57:19 UTC MAIN commitmail json YAML

2017-11-05 22:52:12 UTC MAIN commitmail json YAML

- fix "obsolete" skipping to handle obsolete entries that contain other
  variables
- skip files particular to other xserver versions than ours.

XXX: How does this build in the build farm?

(christos)

2017-11-05 21:08:24 UTC netbsd-7-0 commitmail json YAML

1519, 1520, 1522, 1523

(snj)

2017-11-05 21:07:32 UTC netbsd-7-1 commitmail json YAML

1519, 1520, 1522, 1523

(snj)

2017-11-05 21:06:42 UTC netbsd-7 commitmail json YAML

1520, 1522, 1523

(snj)

2017-11-05 21:03:41 UTC netbsd-7 commitmail json YAML

xsrc/external/mit/xorg-server/dist/Xext/panoramiX.c@1.1.1.5.10.1 / diff / nxr@1.1.1.5.10.1
xsrc/external/mit/xorg-server/dist/Xext/saver.c@1.1.1.6.4.1 / diff / nxr@1.1.1.6.4.1
xsrc/external/mit/xorg-server/dist/Xext/xvdisp.c@1.4.4.2 / diff / nxr@1.4.4.2
xsrc/external/mit/xorg-server/dist/Xi/xichangehierarchy.c@1.1.1.3.4.2 / diff / nxr@1.1.1.3.4.2
xsrc/external/mit/xorg-server/dist/dbe/dbe.c@1.1.1.4.10.2 / diff / nxr@1.1.1.4.10.2
xsrc/external/mit/xorg-server/dist/dix/dispatch.c@1.1.1.7.4.2 / diff / nxr@1.1.1.7.4.2
xsrc/external/mit/xorg-server/dist/hw/dmx/dmxpict.c@1.1.1.4.10.1 / diff / nxr@1.1.1.4.10.1
xsrc/external/mit/xorg-server/dist/hw/xfree86/dixmods/extmod/xf86dga2.c@1.1.1.5.10.1 / diff / nxr@1.1.1.5.10.1
xsrc/external/mit/xorg-server/dist/hw/xfree86/dri/xf86dri.c@1.1.1.4.10.1 / diff / nxr@1.1.1.4.10.1
xsrc/external/mit/xorg-server/dist/render/render.c@1.1.1.7.10.2 / diff / nxr@1.1.1.7.10.2
xsrc/external/mit/xorg-server/dist/xfixes/cursor.c@1.1.1.6.4.1 / diff / nxr@1.1.1.6.4.1
xsrc/external/mit/xorg-server/dist/xfixes/region.c@1.1.1.5.10.1 / diff / nxr@1.1.1.5.10.1
xsrc/external/mit/xorg-server/dist/xfixes/saveset.c@1.1.1.3.10.1 / diff / nxr@1.1.1.3.10.1
xsrc/external/mit/xorg-server/dist/xfixes/xfixes.c@1.1.1.4.10.1 / diff / nxr@1.1.1.4.10.1
xsrc/xfree/xc/programs/Xserver/Xext/panoramiX.c@1.1.1.7.24.1 / diff / nxr@1.1.1.7.24.1
xsrc/xfree/xc/programs/Xserver/Xext/saver.c@1.1.1.6.24.1 / diff / nxr@1.1.1.6.24.1
xsrc/xfree/xc/programs/Xserver/Xext/xf86dga2.c@1.1.1.6.24.1 / diff / nxr@1.1.1.6.24.1
xsrc/xfree/xc/programs/Xserver/Xext/xvdisp.c@1.1.1.5.36.2 / diff / nxr@1.1.1.5.36.2
xsrc/xfree/xc/programs/Xserver/dbe/dbe.c@1.2.18.2 / diff / nxr@1.2.18.2
xsrc/xfree/xc/programs/Xserver/dix/dispatch.c@1.1.1.7.24.2 / diff / nxr@1.1.1.7.24.2
      :
(more 2 files)
Apply patch (requested by mrg in ticket #1523):
apply fixes for CVEs 2017-12176 to 2017-12187

(snj)

2017-11-05 21:03:26 UTC netbsd-7-1 commitmail json YAML

xsrc/external/mit/xorg-server/dist/Xext/panoramiX.c@1.1.1.5.14.1 / diff / nxr@1.1.1.5.14.1
xsrc/external/mit/xorg-server/dist/Xext/saver.c@1.1.1.6.8.1 / diff / nxr@1.1.1.6.8.1
xsrc/external/mit/xorg-server/dist/Xext/xvdisp.c@1.4.4.1.4.1 / diff / nxr@1.4.4.1.4.1
xsrc/external/mit/xorg-server/dist/Xi/xichangehierarchy.c@1.1.1.3.4.1.4.1 / diff / nxr@1.1.1.3.4.1.4.1
xsrc/external/mit/xorg-server/dist/dbe/dbe.c@1.1.1.4.10.1.4.1 / diff / nxr@1.1.1.4.10.1.4.1
xsrc/external/mit/xorg-server/dist/dix/dispatch.c@1.1.1.7.4.1.4.1 / diff / nxr@1.1.1.7.4.1.4.1
xsrc/external/mit/xorg-server/dist/hw/dmx/dmxpict.c@1.1.1.4.14.1 / diff / nxr@1.1.1.4.14.1
xsrc/external/mit/xorg-server/dist/hw/xfree86/dixmods/extmod/xf86dga2.c@1.1.1.5.14.1 / diff / nxr@1.1.1.5.14.1
xsrc/external/mit/xorg-server/dist/hw/xfree86/dri/xf86dri.c@1.1.1.4.14.1 / diff / nxr@1.1.1.4.14.1
xsrc/external/mit/xorg-server/dist/render/render.c@1.1.1.7.10.1.4.1 / diff / nxr@1.1.1.7.10.1.4.1
xsrc/external/mit/xorg-server/dist/xfixes/cursor.c@1.1.1.6.8.1 / diff / nxr@1.1.1.6.8.1
xsrc/external/mit/xorg-server/dist/xfixes/region.c@1.1.1.5.14.1 / diff / nxr@1.1.1.5.14.1
xsrc/external/mit/xorg-server/dist/xfixes/saveset.c@1.1.1.3.14.1 / diff / nxr@1.1.1.3.14.1
xsrc/external/mit/xorg-server/dist/xfixes/xfixes.c@1.1.1.4.14.1 / diff / nxr@1.1.1.4.14.1
xsrc/xfree/xc/programs/Xserver/Xext/panoramiX.c@1.1.1.7.28.1 / diff / nxr@1.1.1.7.28.1
xsrc/xfree/xc/programs/Xserver/Xext/saver.c@1.1.1.6.28.1 / diff / nxr@1.1.1.6.28.1
xsrc/xfree/xc/programs/Xserver/Xext/xf86dga2.c@1.1.1.6.28.1 / diff / nxr@1.1.1.6.28.1
xsrc/xfree/xc/programs/Xserver/Xext/xvdisp.c@1.1.1.5.36.1.4.1 / diff / nxr@1.1.1.5.36.1.4.1
xsrc/xfree/xc/programs/Xserver/dbe/dbe.c@1.2.18.1.4.1 / diff / nxr@1.2.18.1.4.1
xsrc/xfree/xc/programs/Xserver/dix/dispatch.c@1.1.1.7.24.1.4.1 / diff / nxr@1.1.1.7.24.1.4.1
      :
(more 2 files)
Apply patch (requested by mrg in ticket #1523):
apply fixes for CVEs 2017-12176 to 2017-12187

(snj)

2017-11-05 21:03:14 UTC netbsd-7-0 commitmail json YAML

xsrc/external/mit/xorg-server/dist/Xext/panoramiX.c@1.1.1.5.12.1 / diff / nxr@1.1.1.5.12.1
xsrc/external/mit/xorg-server/dist/Xext/saver.c@1.1.1.6.6.1 / diff / nxr@1.1.1.6.6.1
xsrc/external/mit/xorg-server/dist/Xext/xvdisp.c@1.4.4.1.2.1 / diff / nxr@1.4.4.1.2.1
xsrc/external/mit/xorg-server/dist/Xi/xichangehierarchy.c@1.1.1.3.4.1.2.1 / diff / nxr@1.1.1.3.4.1.2.1
xsrc/external/mit/xorg-server/dist/dbe/dbe.c@1.1.1.4.10.1.2.1 / diff / nxr@1.1.1.4.10.1.2.1
xsrc/external/mit/xorg-server/dist/dix/dispatch.c@1.1.1.7.4.1.2.1 / diff / nxr@1.1.1.7.4.1.2.1
xsrc/external/mit/xorg-server/dist/hw/dmx/dmxpict.c@1.1.1.4.12.1 / diff / nxr@1.1.1.4.12.1
xsrc/external/mit/xorg-server/dist/hw/xfree86/dixmods/extmod/xf86dga2.c@1.1.1.5.12.1 / diff / nxr@1.1.1.5.12.1
xsrc/external/mit/xorg-server/dist/hw/xfree86/dri/xf86dri.c@1.1.1.4.12.1 / diff / nxr@1.1.1.4.12.1
xsrc/external/mit/xorg-server/dist/render/render.c@1.1.1.7.10.1.2.1 / diff / nxr@1.1.1.7.10.1.2.1
xsrc/external/mit/xorg-server/dist/xfixes/cursor.c@1.1.1.6.6.1 / diff / nxr@1.1.1.6.6.1
xsrc/external/mit/xorg-server/dist/xfixes/region.c@1.1.1.5.12.1 / diff / nxr@1.1.1.5.12.1
xsrc/external/mit/xorg-server/dist/xfixes/saveset.c@1.1.1.3.12.1 / diff / nxr@1.1.1.3.12.1
xsrc/external/mit/xorg-server/dist/xfixes/xfixes.c@1.1.1.4.12.1 / diff / nxr@1.1.1.4.12.1
xsrc/xfree/xc/programs/Xserver/Xext/panoramiX.c@1.1.1.7.26.1 / diff / nxr@1.1.1.7.26.1
xsrc/xfree/xc/programs/Xserver/Xext/saver.c@1.1.1.6.26.1 / diff / nxr@1.1.1.6.26.1
xsrc/xfree/xc/programs/Xserver/Xext/xf86dga2.c@1.1.1.6.26.1 / diff / nxr@1.1.1.6.26.1
xsrc/xfree/xc/programs/Xserver/Xext/xvdisp.c@1.1.1.5.36.1.2.1 / diff / nxr@1.1.1.5.36.1.2.1
xsrc/xfree/xc/programs/Xserver/dbe/dbe.c@1.2.18.1.2.1 / diff / nxr@1.2.18.1.2.1
xsrc/xfree/xc/programs/Xserver/dix/dispatch.c@1.1.1.7.24.1.2.1 / diff / nxr@1.1.1.7.24.1.2.1
      :
(more 2 files)
Apply patch (requested by mrg in ticket #1523):
apply fixes for CVEs 2017-12176 to 2017-12187

(snj)

2017-11-05 20:57:00 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #1522):
external/bsd/nvi/usr.bin/recover/virecover: 1.2-1.3
external/bsd/nvi/dist/common/recover.c: 1.6-1.9
be more careful about opening recovery files... in particular deal with
people trying to get 'vi -r' stuck using named pipes, symlink attacks,
and coercing others opening recovery files they did not create.
Put back the tests for "no files matched" (in a different way than they
were written previously - but that's just style.)  This is not csh...
Use the correct test operator to test for an empty file (rather than
testing for an empty file name...)
Write test ('[') commands in a way that is defined to work, rather than
just happens to - we can afford the (negligible) performance hit here.
- don't use command substitution to glob a pattern into a list of filenames;
  it is less efficient than doing it directly and does not handle whitespace
  in filenames properly.
- change test to [
- quote variables
Deal safely with recovery mail files.
oops, accidendally committed an earlier non-working version; fixed.
Don't use popenve() for portability; forking an extra shell here is not an
issue.

(snj)

2017-11-05 20:56:58 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #1522):
external/bsd/nvi/usr.bin/recover/virecover: 1.2-1.3
external/bsd/nvi/dist/common/recover.c: 1.6-1.9
be more careful about opening recovery files... in particular deal with
people trying to get 'vi -r' stuck using named pipes, symlink attacks,
and coercing others opening recovery files they did not create.
Put back the tests for "no files matched" (in a different way than they
were written previously - but that's just style.)  This is not csh...
Use the correct test operator to test for an empty file (rather than
testing for an empty file name...)
Write test ('[') commands in a way that is defined to work, rather than
just happens to - we can afford the (negligible) performance hit here.
- don't use command substitution to glob a pattern into a list of filenames;
  it is less efficient than doing it directly and does not handle whitespace
  in filenames properly.
- change test to [
- quote variables
Deal safely with recovery mail files.
oops, accidendally committed an earlier non-working version; fixed.
Don't use popenve() for portability; forking an extra shell here is not an
issue.

(snj)

2017-11-05 20:56:56 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #1522):
external/bsd/nvi/usr.bin/recover/virecover: 1.2-1.3
external/bsd/nvi/dist/common/recover.c: 1.6-1.9
be more careful about opening recovery files... in particular deal with
people trying to get 'vi -r' stuck using named pipes, symlink attacks,
and coercing others opening recovery files they did not create.
Put back the tests for "no files matched" (in a different way than they
were written previously - but that's just style.)  This is not csh...
Use the correct test operator to test for an empty file (rather than
testing for an empty file name...)
Write test ('[') commands in a way that is defined to work, rather than
just happens to - we can afford the (negligible) performance hit here.
- don't use command substitution to glob a pattern into a list of filenames;
  it is less efficient than doing it directly and does not handle whitespace
  in filenames properly.
- change test to [
- quote variables
Deal safely with recovery mail files.
oops, accidendally committed an earlier non-working version; fixed.
Don't use popenve() for portability; forking an extra shell here is not an
issue.

(snj)

2017-11-05 20:52:43 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by taca in ticket #1520):
etc/namedb/root.cache: revision 1.23
Update root.cache to 2017102400 (October 24, 2017).
B.ROOT-SERVERS.NET's IPv4 and IPv6 address has changed.

(snj)

2017-11-05 20:52:36 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by taca in ticket #1520):
etc/namedb/root.cache: revision 1.23
Update root.cache to 2017102400 (October 24, 2017).
B.ROOT-SERVERS.NET's IPv4 and IPv6 address has changed.

(snj)

2017-11-05 20:52:28 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by taca in ticket #1520):
etc/namedb/root.cache: revision 1.23
Update root.cache to 2017102400 (October 24, 2017).
B.ROOT-SERVERS.NET's IPv4 and IPv6 address has changed.

(snj)

2017-11-05 20:44:41 UTC netbsd-7-0 commitmail json YAML

src/distrib/sets/lists/base/mi@1.1087.2.7.2.4 / diff / nxr@1.1087.2.7.2.4
src/doc/3RDPARTY@1.1145.2.18.2.25 / diff / nxr@1.1145.2.18.2.25
src/external/public-domain/tz/dist/CONTRIBUTING@1.1.1.1.2.2.2.3 / diff / nxr@1.1.1.1.2.2.2.3
src/external/public-domain/tz/dist/LICENSE@1.1.1.1.4.4 / diff / nxr@1.1.1.1.4.4
src/external/public-domain/tz/dist/Makefile@1.1.1.1.4.4.2.4 / diff / nxr@1.1.1.1.4.4.2.4
src/external/public-domain/tz/dist/NEWS@1.1.1.1.4.4.2.5 / diff / nxr@1.1.1.1.4.4.2.5
src/external/public-domain/tz/dist/TZDATA_VERSION@1.6.2.5 / diff / nxr@1.6.2.5
src/external/public-domain/tz/dist/Theory deleted
src/external/public-domain/tz/dist/africa@1.1.1.1.4.3.2.4 / diff / nxr@1.1.1.1.4.3.2.4
src/external/public-domain/tz/dist/antarctica@1.1.1.1.4.3.2.3 / diff / nxr@1.1.1.1.4.3.2.3
src/external/public-domain/tz/dist/asia@1.1.1.1.4.4.2.4 / diff / nxr@1.1.1.1.4.4.2.4
src/external/public-domain/tz/dist/australasia@1.1.1.1.4.3.2.4 / diff / nxr@1.1.1.1.4.3.2.4
src/external/public-domain/tz/dist/backward@1.1.1.1.4.3.2.4 / diff / nxr@1.1.1.1.4.3.2.4
src/external/public-domain/tz/dist/backzone@1.1.1.1.2.5.2.4 / diff / nxr@1.1.1.1.2.5.2.4
src/external/public-domain/tz/dist/calendars@1.1.1.1.8.2 / diff / nxr@1.1.1.1.8.2
src/external/public-domain/tz/dist/checklinks.awk@1.1.1.1.2.2.2.2 / diff / nxr@1.1.1.1.2.2.2.2
src/external/public-domain/tz/dist/europe@1.1.1.1.4.4.2.4 / diff / nxr@1.1.1.1.4.4.2.4
src/external/public-domain/tz/dist/leap-seconds.list@1.1.1.1.4.2.2.4 / diff / nxr@1.1.1.1.4.2.2.4
src/external/public-domain/tz/dist/leapseconds@1.1.1.1.4.4.2.4 / diff / nxr@1.1.1.1.4.4.2.4
src/external/public-domain/tz/dist/leapseconds.awk@1.1.1.1.4.3.2.2 / diff / nxr@1.1.1.1.4.3.2.2
      :
(more 7 files)
Pull up following revision(s) (requested by kre in ticket #1519):
distrib/sets/lists/base/mi: 1.1164
doc/3RDPARTY: 1.2326 via patch
external/public-domain/tz/dist/CONTRIBUTING: up to 1.1.1.4
external/public-domain/tz/dist/LICENSE: up to 1.1.1.3
external/public-domain/tz/dist/Makefile: up to 1.1.1.18
external/public-domain/tz/dist/NEWS: up to 1.1.1.19
external/public-domain/tz/dist/TZDATA_VERSION: up to 1.9
external/public-domain/tz/dist/Theory: delete
external/public-domain/tz/dist/africa: up to 1.1.1.12
external/public-domain/tz/dist/antarctica: up to 1.1.1.9
external/public-domain/tz/dist/asia: up to 1.1.1.17
external/public-domain/tz/dist/australasia: up to 1.1.1.12
external/public-domain/tz/dist/backward: up to 1.1.1.8
external/public-domain/tz/dist/backzone: up to 1.1.1.12
external/public-domain/tz/dist/calendars: up to 1.1.1.1
external/public-domain/tz/dist/checklinks.awk: up to 1.1.1.3
external/public-domain/tz/dist/europe: up to 1.1.1.18
external/public-domain/tz/dist/leap-seconds.list: up to 1.1.1.8
external/public-domain/tz/dist/leapseconds: up to 1.1.1.9
external/public-domain/tz/dist/leapseconds.awk: up to 1.1.1.6
external/public-domain/tz/dist/northamerica: up to 1.1.1.17
external/public-domain/tz/dist/southamerica: up to 1.1.1.12
external/public-domain/tz/dist/theory.html: up to 1.1.1.1
external/public-domain/tz/dist/version: up to 1.1.1.6
external/public-domain/tz/dist/zishrink.awk: up to 1.1.1.1
external/public-domain/tz/dist/zone.tab: up to 1.1.1.12
external/public-domain/tz/dist/zone1970.tab: up to 1.1.1.14
Update tzdata to 2017c.

(snj)

2017-11-05 20:43:37 UTC netbsd-7-1 commitmail json YAML

src/distrib/sets/lists/base/mi@1.1087.2.10.2.1 / diff / nxr@1.1087.2.10.2.1
src/doc/3RDPARTY@1.1145.2.37.2.8 / diff / nxr@1.1145.2.37.2.8
src/external/public-domain/tz/dist/CONTRIBUTING@1.1.1.1.2.4.2.1 / diff / nxr@1.1.1.1.2.4.2.1
src/external/public-domain/tz/dist/LICENSE@1.1.1.1.2.3.2.1 / diff / nxr@1.1.1.1.2.3.2.1
src/external/public-domain/tz/dist/Makefile@1.1.1.1.4.7.2.1 / diff / nxr@1.1.1.1.4.7.2.1
src/external/public-domain/tz/dist/NEWS@1.1.1.1.4.7.2.2 / diff / nxr@1.1.1.1.4.7.2.2
src/external/public-domain/tz/dist/TZDATA_VERSION@1.6.4.3.2.2 / diff / nxr@1.6.4.3.2.2
src/external/public-domain/tz/dist/Theory deleted
src/external/public-domain/tz/dist/africa@1.1.1.1.4.5.2.2 / diff / nxr@1.1.1.1.4.5.2.2
src/external/public-domain/tz/dist/antarctica@1.1.1.1.4.5.2.1 / diff / nxr@1.1.1.1.4.5.2.1
src/external/public-domain/tz/dist/asia@1.1.1.1.4.7.2.1 / diff / nxr@1.1.1.1.4.7.2.1
src/external/public-domain/tz/dist/australasia@1.1.1.1.4.6.2.1 / diff / nxr@1.1.1.1.4.6.2.1
src/external/public-domain/tz/dist/backward@1.1.1.1.4.6.2.1 / diff / nxr@1.1.1.1.4.6.2.1
src/external/public-domain/tz/dist/backzone@1.1.1.1.2.8.2.1 / diff / nxr@1.1.1.1.2.8.2.1
src/external/public-domain/tz/dist/calendars@1.1.1.1.6.2 / diff / nxr@1.1.1.1.6.2
src/external/public-domain/tz/dist/checklinks.awk@1.1.1.1.2.3.4.1 / diff / nxr@1.1.1.1.2.3.4.1
src/external/public-domain/tz/dist/europe@1.1.1.1.4.7.2.1 / diff / nxr@1.1.1.1.4.7.2.1
src/external/public-domain/tz/dist/leap-seconds.list@1.1.1.1.4.5.2.1 / diff / nxr@1.1.1.1.4.5.2.1
src/external/public-domain/tz/dist/leapseconds@1.1.1.1.4.7.2.1 / diff / nxr@1.1.1.1.4.7.2.1
src/external/public-domain/tz/dist/leapseconds.awk@1.1.1.1.4.4.4.1 / diff / nxr@1.1.1.1.4.4.4.1
      :
(more 7 files)
Pull up following revision(s) (requested by kre in ticket #1519):
distrib/sets/lists/base/mi: 1.1164
doc/3RDPARTY: 1.2326 via patch
external/public-domain/tz/dist/CONTRIBUTING: up to 1.1.1.4
external/public-domain/tz/dist/LICENSE: up to 1.1.1.3
external/public-domain/tz/dist/Makefile: up to 1.1.1.18
external/public-domain/tz/dist/NEWS: up to 1.1.1.19
external/public-domain/tz/dist/TZDATA_VERSION: up to 1.9
external/public-domain/tz/dist/Theory: delete
external/public-domain/tz/dist/africa: up to 1.1.1.12
external/public-domain/tz/dist/antarctica: up to 1.1.1.9
external/public-domain/tz/dist/asia: up to 1.1.1.17
external/public-domain/tz/dist/australasia: up to 1.1.1.12
external/public-domain/tz/dist/backward: up to 1.1.1.8
external/public-domain/tz/dist/backzone: up to 1.1.1.12
external/public-domain/tz/dist/calendars: up to 1.1.1.1
external/public-domain/tz/dist/checklinks.awk: up to 1.1.1.3
external/public-domain/tz/dist/europe: up to 1.1.1.18
external/public-domain/tz/dist/leap-seconds.list: up to 1.1.1.8
external/public-domain/tz/dist/leapseconds: up to 1.1.1.9
external/public-domain/tz/dist/leapseconds.awk: up to 1.1.1.6
external/public-domain/tz/dist/northamerica: up to 1.1.1.17
external/public-domain/tz/dist/southamerica: up to 1.1.1.12
external/public-domain/tz/dist/theory.html: up to 1.1.1.1
external/public-domain/tz/dist/version: up to 1.1.1.6
external/public-domain/tz/dist/zishrink.awk: up to 1.1.1.1
external/public-domain/tz/dist/zone.tab: up to 1.1.1.12
external/public-domain/tz/dist/zone1970.tab: up to 1.1.1.14
Update tzdata to 2017c.

(snj)

2017-11-05 20:42:18 UTC netbsd-7 commitmail json YAML

src/distrib/sets/lists/base/mi@1.1087.2.12 / diff / nxr@1.1087.2.12
src/doc/3RDPARTY@1.1145.2.47 / diff / nxr@1.1145.2.47
src/external/public-domain/tz/dist/CONTRIBUTING@1.1.1.1.2.5 / diff / nxr@1.1.1.1.2.5
src/external/public-domain/tz/dist/LICENSE@1.1.1.1.2.4 / diff / nxr@1.1.1.1.2.4
src/external/public-domain/tz/dist/Makefile@1.1.1.1.4.8 / diff / nxr@1.1.1.1.4.8
src/external/public-domain/tz/dist/NEWS@1.1.1.1.4.9 / diff / nxr@1.1.1.1.4.9
src/external/public-domain/tz/dist/TZDATA_VERSION@1.6.4.5 / diff / nxr@1.6.4.5
src/external/public-domain/tz/dist/Theory deleted
src/external/public-domain/tz/dist/africa@1.1.1.1.4.7 / diff / nxr@1.1.1.1.4.7
src/external/public-domain/tz/dist/antarctica@1.1.1.1.4.6 / diff / nxr@1.1.1.1.4.6
src/external/public-domain/tz/dist/asia@1.1.1.1.4.8 / diff / nxr@1.1.1.1.4.8
src/external/public-domain/tz/dist/australasia@1.1.1.1.4.7 / diff / nxr@1.1.1.1.4.7
src/external/public-domain/tz/dist/backward@1.1.1.1.4.7 / diff / nxr@1.1.1.1.4.7
src/external/public-domain/tz/dist/backzone@1.1.1.1.2.9 / diff / nxr@1.1.1.1.2.9
src/external/public-domain/tz/dist/calendars@1.1.1.1.4.2 / diff / nxr@1.1.1.1.4.2
src/external/public-domain/tz/dist/checklinks.awk@1.1.1.1.2.4 / diff / nxr@1.1.1.1.2.4
src/external/public-domain/tz/dist/europe@1.1.1.1.4.8 / diff / nxr@1.1.1.1.4.8
src/external/public-domain/tz/dist/leap-seconds.list@1.1.1.1.4.6 / diff / nxr@1.1.1.1.4.6
src/external/public-domain/tz/dist/leapseconds@1.1.1.1.4.8 / diff / nxr@1.1.1.1.4.8
src/external/public-domain/tz/dist/leapseconds.awk@1.1.1.1.4.5 / diff / nxr@1.1.1.1.4.5
      :
(more 7 files)
Pull up following revision(s) (requested by kre in ticket #1519):
distrib/sets/lists/base/mi: 1.1164
doc/3RDPARTY: 1.2326 via patch
external/public-domain/tz/dist/CONTRIBUTING: up to 1.1.1.4
external/public-domain/tz/dist/LICENSE: up to 1.1.1.3
external/public-domain/tz/dist/Makefile: up to 1.1.1.18
external/public-domain/tz/dist/NEWS: up to 1.1.1.19
external/public-domain/tz/dist/TZDATA_VERSION: up to 1.9
external/public-domain/tz/dist/Theory: delete
external/public-domain/tz/dist/africa: up to 1.1.1.12
external/public-domain/tz/dist/antarctica: up to 1.1.1.9
external/public-domain/tz/dist/asia: up to 1.1.1.17
external/public-domain/tz/dist/australasia: up to 1.1.1.12
external/public-domain/tz/dist/backward: up to 1.1.1.8
external/public-domain/tz/dist/backzone: up to 1.1.1.12
external/public-domain/tz/dist/calendars: up to 1.1.1.1
external/public-domain/tz/dist/checklinks.awk: up to 1.1.1.3
external/public-domain/tz/dist/europe: up to 1.1.1.18
external/public-domain/tz/dist/leap-seconds.list: up to 1.1.1.8
external/public-domain/tz/dist/leapseconds: up to 1.1.1.9
external/public-domain/tz/dist/leapseconds.awk: up to 1.1.1.6
external/public-domain/tz/dist/northamerica: up to 1.1.1.17
external/public-domain/tz/dist/southamerica: up to 1.1.1.12
external/public-domain/tz/dist/theory.html: up to 1.1.1.1
external/public-domain/tz/dist/version: up to 1.1.1.6
external/public-domain/tz/dist/zishrink.awk: up to 1.1.1.1
external/public-domain/tz/dist/zone.tab: up to 1.1.1.12
external/public-domain/tz/dist/zone1970.tab: up to 1.1.1.14
Update tzdata to 2017c.

(snj)

2017-11-05 20:34:36 UTC netbsd-6-0 commitmail json YAML

2017-11-05 20:33:02 UTC netbsd-6-1 commitmail json YAML

2017-11-05 20:32:27 UTC netbsd-6 commitmail json YAML

2017-11-05 20:15:38 UTC netbsd-6 commitmail json YAML

xsrc/external/mit/xorg-server/dist/Xext/panoramiX.c@1.1.1.5.2.1 / diff / nxr@1.1.1.5.2.1
xsrc/external/mit/xorg-server/dist/Xext/saver.c@1.1.1.5.2.1 / diff / nxr@1.1.1.5.2.1
xsrc/external/mit/xorg-server/dist/Xext/xvdisp.c@1.3.2.2 / diff / nxr@1.3.2.2
xsrc/external/mit/xorg-server/dist/Xi/xichangehierarchy.c@1.1.1.2.2.2 / diff / nxr@1.1.1.2.2.2
xsrc/external/mit/xorg-server/dist/dbe/dbe.c@1.1.1.4.2.2 / diff / nxr@1.1.1.4.2.2
xsrc/external/mit/xorg-server/dist/dix/dispatch.c@1.1.1.6.2.2 / diff / nxr@1.1.1.6.2.2
xsrc/external/mit/xorg-server/dist/hw/dmx/dmxpict.c@1.1.1.4.2.1 / diff / nxr@1.1.1.4.2.1
xsrc/external/mit/xorg-server/dist/hw/xfree86/dixmods/extmod/xf86dga2.c@1.1.1.5.2.1 / diff / nxr@1.1.1.5.2.1
xsrc/external/mit/xorg-server/dist/hw/xfree86/dri/xf86dri.c@1.1.1.4.2.1 / diff / nxr@1.1.1.4.2.1
xsrc/external/mit/xorg-server/dist/render/render.c@1.1.1.7.2.2 / diff / nxr@1.1.1.7.2.2
xsrc/external/mit/xorg-server/dist/xfixes/cursor.c@1.1.1.5.2.1 / diff / nxr@1.1.1.5.2.1
xsrc/external/mit/xorg-server/dist/xfixes/region.c@1.1.1.5.2.1 / diff / nxr@1.1.1.5.2.1
xsrc/external/mit/xorg-server/dist/xfixes/saveset.c@1.1.1.3.2.1 / diff / nxr@1.1.1.3.2.1
xsrc/external/mit/xorg-server/dist/xfixes/xfixes.c@1.1.1.4.2.1 / diff / nxr@1.1.1.4.2.1
xsrc/xfree/xc/programs/Xserver/Xext/panoramiX.c@1.1.1.7.14.1 / diff / nxr@1.1.1.7.14.1
xsrc/xfree/xc/programs/Xserver/Xext/saver.c@1.1.1.6.14.1 / diff / nxr@1.1.1.6.14.1
xsrc/xfree/xc/programs/Xserver/Xext/xf86dga2.c@1.1.1.6.14.1 / diff / nxr@1.1.1.6.14.1
xsrc/xfree/xc/programs/Xserver/Xext/xvdisp.c@1.1.1.5.26.2 / diff / nxr@1.1.1.5.26.2
xsrc/xfree/xc/programs/Xserver/dbe/dbe.c@1.2.8.2 / diff / nxr@1.2.8.2
xsrc/xfree/xc/programs/Xserver/dix/dispatch.c@1.1.1.7.14.2 / diff / nxr@1.1.1.7.14.2
      :
(more 2 files)
Apply patch (requested by mrg in ticket #1511):
apply fixes for CVEs 2017-12176 to 2017-12187

(snj)

2017-11-05 20:15:19 UTC netbsd-6-1 commitmail json YAML

xsrc/external/mit/xorg-server/dist/Xext/panoramiX.c@1.1.1.5.6.1 / diff / nxr@1.1.1.5.6.1
xsrc/external/mit/xorg-server/dist/Xext/saver.c@1.1.1.5.6.1 / diff / nxr@1.1.1.5.6.1
xsrc/external/mit/xorg-server/dist/Xext/xvdisp.c@1.3.6.2 / diff / nxr@1.3.6.2
xsrc/external/mit/xorg-server/dist/Xi/xichangehierarchy.c@1.1.1.2.6.2 / diff / nxr@1.1.1.2.6.2
xsrc/external/mit/xorg-server/dist/dbe/dbe.c@1.1.1.4.6.2 / diff / nxr@1.1.1.4.6.2
xsrc/external/mit/xorg-server/dist/dix/dispatch.c@1.1.1.6.6.2 / diff / nxr@1.1.1.6.6.2
xsrc/external/mit/xorg-server/dist/hw/dmx/dmxpict.c@1.1.1.4.6.1 / diff / nxr@1.1.1.4.6.1
xsrc/external/mit/xorg-server/dist/hw/xfree86/dixmods/extmod/xf86dga2.c@1.1.1.5.6.1 / diff / nxr@1.1.1.5.6.1
xsrc/external/mit/xorg-server/dist/hw/xfree86/dri/xf86dri.c@1.1.1.4.6.1 / diff / nxr@1.1.1.4.6.1
xsrc/external/mit/xorg-server/dist/render/render.c@1.1.1.7.6.2 / diff / nxr@1.1.1.7.6.2
xsrc/external/mit/xorg-server/dist/xfixes/cursor.c@1.1.1.5.6.1 / diff / nxr@1.1.1.5.6.1
xsrc/external/mit/xorg-server/dist/xfixes/region.c@1.1.1.5.6.1 / diff / nxr@1.1.1.5.6.1
xsrc/external/mit/xorg-server/dist/xfixes/saveset.c@1.1.1.3.6.1 / diff / nxr@1.1.1.3.6.1
xsrc/external/mit/xorg-server/dist/xfixes/xfixes.c@1.1.1.4.6.1 / diff / nxr@1.1.1.4.6.1
xsrc/xfree/xc/programs/Xserver/Xext/panoramiX.c@1.1.1.7.20.1 / diff / nxr@1.1.1.7.20.1
xsrc/xfree/xc/programs/Xserver/Xext/saver.c@1.1.1.6.20.1 / diff / nxr@1.1.1.6.20.1
xsrc/xfree/xc/programs/Xserver/Xext/xf86dga2.c@1.1.1.6.20.1 / diff / nxr@1.1.1.6.20.1
xsrc/xfree/xc/programs/Xserver/Xext/xvdisp.c@1.1.1.5.32.2 / diff / nxr@1.1.1.5.32.2
xsrc/xfree/xc/programs/Xserver/dbe/dbe.c@1.2.14.2 / diff / nxr@1.2.14.2
xsrc/xfree/xc/programs/Xserver/dix/dispatch.c@1.1.1.7.20.2 / diff / nxr@1.1.1.7.20.2
      :
(more 2 files)
Apply patch (requested by mrg in ticket #1511):
apply fixes for CVEs 2017-12176 to 2017-12187

(snj)

2017-11-05 20:15:05 UTC netbsd-6-0 commitmail json YAML

xsrc/external/mit/xorg-server/dist/Xext/panoramiX.c@1.1.1.5.4.1 / diff / nxr@1.1.1.5.4.1
xsrc/external/mit/xorg-server/dist/Xext/saver.c@1.1.1.5.4.1 / diff / nxr@1.1.1.5.4.1
xsrc/external/mit/xorg-server/dist/Xext/xvdisp.c@1.3.4.2 / diff / nxr@1.3.4.2
xsrc/external/mit/xorg-server/dist/Xi/xichangehierarchy.c@1.1.1.2.4.2 / diff / nxr@1.1.1.2.4.2
xsrc/external/mit/xorg-server/dist/dbe/dbe.c@1.1.1.4.4.2 / diff / nxr@1.1.1.4.4.2
xsrc/external/mit/xorg-server/dist/dix/dispatch.c@1.1.1.6.4.2 / diff / nxr@1.1.1.6.4.2
xsrc/external/mit/xorg-server/dist/hw/dmx/dmxpict.c@1.1.1.4.4.1 / diff / nxr@1.1.1.4.4.1
xsrc/external/mit/xorg-server/dist/hw/xfree86/dixmods/extmod/xf86dga2.c@1.1.1.5.4.1 / diff / nxr@1.1.1.5.4.1
xsrc/external/mit/xorg-server/dist/hw/xfree86/dri/xf86dri.c@1.1.1.4.4.1 / diff / nxr@1.1.1.4.4.1
xsrc/external/mit/xorg-server/dist/render/render.c@1.1.1.7.4.2 / diff / nxr@1.1.1.7.4.2
xsrc/external/mit/xorg-server/dist/xfixes/cursor.c@1.1.1.5.4.1 / diff / nxr@1.1.1.5.4.1
xsrc/external/mit/xorg-server/dist/xfixes/region.c@1.1.1.5.4.1 / diff / nxr@1.1.1.5.4.1
xsrc/external/mit/xorg-server/dist/xfixes/saveset.c@1.1.1.3.4.1 / diff / nxr@1.1.1.3.4.1
xsrc/external/mit/xorg-server/dist/xfixes/xfixes.c@1.1.1.4.4.1 / diff / nxr@1.1.1.4.4.1
xsrc/xfree/xc/programs/Xserver/Xext/panoramiX.c@1.1.1.7.16.1 / diff / nxr@1.1.1.7.16.1
xsrc/xfree/xc/programs/Xserver/Xext/saver.c@1.1.1.6.16.1 / diff / nxr@1.1.1.6.16.1
xsrc/xfree/xc/programs/Xserver/Xext/xf86dga2.c@1.1.1.6.16.1 / diff / nxr@1.1.1.6.16.1
xsrc/xfree/xc/programs/Xserver/Xext/xvdisp.c@1.1.1.5.28.2 / diff / nxr@1.1.1.5.28.2
xsrc/xfree/xc/programs/Xserver/dbe/dbe.c@1.2.10.2 / diff / nxr@1.2.10.2
xsrc/xfree/xc/programs/Xserver/dix/dispatch.c@1.1.1.7.16.2 / diff / nxr@1.1.1.7.16.2
      :
(more 2 files)
Apply patch (requested by mrg in ticket #1511):
apply fixes for CVEs 2017-12176 to 2017-12187

(snj)

2017-11-05 20:04:34 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #1509):
external/bsd/nvi/usr.bin/recover/virecover: 1.2-1.3 via patch
external/bsd/nvi/dist/common/recover.c: revision 1.6-1.9 via patch
be more careful about opening recovery files... in particular deal with
people trying to get 'vi -r' stuck using named pipes, symlink attacks,
and coercing others opening recovery files they did not create.
Put back the tests for "no files matched" (in a different way than they
were written previously - but that's just style.)  This is not csh...
Use the correct test operator to test for an empty file (rather than
testing for an empty file name...)
Write test ('[') commands in a way that is defined to work, rather than
just happens to - we can afford the (negligible) performance hit here.
- don't use command substitution to glob a pattern into a list of filenames;
  it is less efficient than doing it directly and does not handle whitespace
  in filenames properly.
- change test to [
- quote variables
Deal safely with recovery mail files.
oops, accidendally committed an earlier non-working version; fixed.
Don't use popenve() for portability; forking an extra shell here is not an
issue.

(snj)

2017-11-05 20:04:00 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #1509):
external/bsd/nvi/usr.bin/recover/virecover: 1.2-1.3 via patch
external/bsd/nvi/dist/common/recover.c: revision 1.6-1.9 via patch
be more careful about opening recovery files... in particular deal with
people trying to get 'vi -r' stuck using named pipes, symlink attacks,
and coercing others opening recovery files they did not create.
Put back the tests for "no files matched" (in a different way than they
were written previously - but that's just style.)  This is not csh...
Use the correct test operator to test for an empty file (rather than
testing for an empty file name...)
Write test ('[') commands in a way that is defined to work, rather than
just happens to - we can afford the (negligible) performance hit here.
- don't use command substitution to glob a pattern into a list of filenames;
  it is less efficient than doing it directly and does not handle whitespace
  in filenames properly.
- change test to [
- quote variables
Deal safely with recovery mail files.
oops, accidendally committed an earlier non-working version; fixed.
Don't use popenve() for portability; forking an extra shell here is not an
issue.

(snj)

2017-11-05 20:01:48 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by spz in ticket #1509):
external/bsd/nvi/usr.bin/recover/virecover: 1.2-1.3 via patch
external/bsd/nvi/dist/common/recover.c: revision 1.6-1.9 via patch
be more careful about opening recovery files... in particular deal with
people trying to get 'vi -r' stuck using named pipes, symlink attacks,
and coercing others opening recovery files they did not create.
Put back the tests for "no files matched" (in a different way than they
were written previously - but that's just style.)  This is not csh...
Use the correct test operator to test for an empty file (rather than
testing for an empty file name...)
Write test ('[') commands in a way that is defined to work, rather than
just happens to - we can afford the (negligible) performance hit here.
- don't use command substitution to glob a pattern into a list of filenames;
  it is less efficient than doing it directly and does not handle whitespace
  in filenames properly.
- change test to [
- quote variables
Deal safely with recovery mail files.
oops, accidendally committed an earlier non-working version; fixed.
Don't use popenve() for portability; forking an extra shell here is not an
issue.

(snj)

2017-11-05 19:55:18 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by taca in ticket #1508):
etc/namedb/root.cache: revision 1.23
Update root.cache to 2017102400 (October 24, 2017).
B.ROOT-SERVERS.NET's IPv4 and IPv6 address has changed.

(snj)

2017-11-05 19:55:16 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by taca in ticket #1508):
etc/namedb/root.cache: revision 1.23
Update root.cache to 2017102400 (October 24, 2017).
B.ROOT-SERVERS.NET's IPv4 and IPv6 address has changed.

(snj)

2017-11-05 19:55:15 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by taca in ticket #1508):
etc/namedb/root.cache: revision 1.23
Update root.cache to 2017102400 (October 24, 2017).
B.ROOT-SERVERS.NET's IPv4 and IPv6 address has changed.

(snj)

2017-11-05 17:44:29 UTC MAIN commitmail json YAML

deal with the stdbool.h mess defining bool in <net/if.h> and <net/route.h>
and then xf86Opt.h wanting to define a struct field called bool.

(christos)

2017-11-05 16:27:18 UTC MAIN commitmail json YAML

2017-11-05 16:26:15 UTC MAIN commitmail json YAML

2017-11-05 16:16:26 UTC MAIN commitmail json YAML

The XXX comment (do not pull in the uvm headers) might have been a nice idea
at the time, but now all other db_machdep files do this, so we follow suit.

(christos)

2017-11-05 15:33:15 UTC MAIN commitmail json YAML

fix error messages (use __func__, quotes)
also differentiate between canonical and non-relative.

(christos)

2017-11-05 11:07:32 UTC MAIN commitmail json YAML

add missing break after -m case

(jmcneill)

2017-11-05 09:11:43 UTC MAIN commitmail json YAML

2017-11-05 09:05:20 UTC MAIN commitmail json YAML

Disable USB_DEBUG by default

(skrll)

2017-11-05 07:49:45 UTC MAIN commitmail json YAML

pool_grow can now fail even when sleeping is ok. Catch this case in pool_get
and retry.

(mlelstv)

2017-11-05 07:03:37 UTC MAIN commitmail json YAML

Fix usages of ipsec_used

If IPsec isn't used, we must go back to the normal path.

PR kern/52659

(ozaki-r)

2017-11-05 02:36:00 UTC MAIN commitmail json YAML

Backport patch from gcc.old for liblto_plugin

Correct resolution of xstrerror(). Switch from -liberty (which has PIC
problems as a local library) to directly linking xstrerror.c with
liblto_plugin.

Fix in gcc.old by <christos>

PR 52674 by myself

(kamil)

2017-11-05 01:18:15 UTC MAIN commitmail json YAML

2017-11-05 01:16:16 UTC MAIN commitmail json YAML

undo previous; we can't link with libiberty because it is a private library
and not build as pic. Instead just bring in the xstrerror.c source from it.

(christos)

2017-11-04 22:17:55 UTC MAIN commitmail json YAML

2017-11-04 21:50:46 UTC MAIN commitmail json YAML

apply fixes for CVEs 2017-12176 to 2017-12187 to xorg-server 1.10.
several of the changes were in new code, and the DGA code had moved.

--
From 1b1d4c04695dced2463404174b50b3581dbd857b Mon Sep 17 00:00:00 2001
From: Nathan Kidd <nkidd@opentext.com>
Date: Sun, 21 Dec 2014 01:10:03 -0500
Subject: hw/xfree86: unvalidated lengths

This addresses:
CVE-2017-12180 in XFree86-VidModeExtension
CVE-2017-12181 in XFree86-DGA
CVE-2017-12182 in XFree86-DRI
--
From 211e05ac85a294ef361b9f80d689047fa52b9076 Mon Sep 17 00:00:00 2001
From: Michal Srb <msrb@suse.com>
Date: Fri, 7 Jul 2017 17:21:46 +0200
Subject: Xi: Test exact size of XIBarrierReleasePointer

Otherwise a client can send any value of num_barriers and cause reading or swapping of values on heap behind the receive buffer.
--
From 4ca68b878e851e2136c234f40a25008297d8d831 Mon Sep 17 00:00:00 2001
From: Nathan Kidd <nkidd@opentext.com>
Date: Fri, 9 Jan 2015 10:09:14 -0500
Subject: dbe: Unvalidated variable-length request in ProcDbeGetVisualInfo
(CVE-2017-12177)

v2: Protect against integer overflow (Alan Coopersmith)
--
From 55caa8b08c84af2b50fbc936cf334a5a93dd7db5 Mon Sep 17 00:00:00 2001
From: Nathan Kidd <nkidd@opentext.com>
Date: Fri, 9 Jan 2015 11:43:05 -0500
Subject: xfixes: unvalidated lengths (CVE-2017-12183)

v2: Use before swap (Jeremy Huddleston Sequoia)

v3: Fix wrong XFixesCopyRegion checks (Alan Coopersmith)
--
From 859b08d523307eebde7724fd1a0789c44813e821 Mon Sep 17 00:00:00 2001
From: Nathan Kidd <nkidd@opentext.com>
Date: Wed, 24 Dec 2014 16:22:18 -0500
Subject: Xi: fix wrong extra length check in ProcXIChangeHierarchy
(CVE-2017-12178)
--
From 9c23685009aa96f4b861dcc5d2e01dbee00c4dd9 Mon Sep 17 00:00:00 2001
From: Michal Srb <msrb@suse.com>
Date: Fri, 7 Jul 2017 17:04:03 +0200
Subject: os: Make sure big requests have sufficient length.

A client can send a big request where the 32B "length" field has value
0. When the big request header is removed and the length corrected,
the value will underflow to 0xFFFFFFFF.  Functions processing the
request later will think that the client sent much more data and may
touch memory beyond the receive buffer.
--
From b747da5e25be944337a9cd1415506fc06b70aa81 Mon Sep 17 00:00:00 2001
From: Nathan Kidd <nkidd@opentext.com>
Date: Fri, 9 Jan 2015 10:15:46 -0500
Subject: Unvalidated extra length in ProcEstablishConnection (CVE-2017-12176)

(mrg)

2017-11-04 21:49:33 UTC MAIN commitmail json YAML

apply fixes for CVEs 2017-12176 to 2017-12187.

--
From 1b1d4c04695dced2463404174b50b3581dbd857b Mon Sep 17 00:00:00 2001
From: Nathan Kidd <nkidd@opentext.com>
Date: Sun, 21 Dec 2014 01:10:03 -0500
Subject: hw/xfree86: unvalidated lengths

This addresses:
CVE-2017-12180 in XFree86-VidModeExtension
CVE-2017-12181 in XFree86-DGA
CVE-2017-12182 in XFree86-DRI
--
From 211e05ac85a294ef361b9f80d689047fa52b9076 Mon Sep 17 00:00:00 2001
From: Michal Srb <msrb@suse.com>
Date: Fri, 7 Jul 2017 17:21:46 +0200
Subject: Xi: Test exact size of XIBarrierReleasePointer

Otherwise a client can send any value of num_barriers and cause reading or swapping of values on heap behind the receive buffer.
--
From 4ca68b878e851e2136c234f40a25008297d8d831 Mon Sep 17 00:00:00 2001
From: Nathan Kidd <nkidd@opentext.com>
Date: Fri, 9 Jan 2015 10:09:14 -0500
Subject: dbe: Unvalidated variable-length request in ProcDbeGetVisualInfo
(CVE-2017-12177)

v2: Protect against integer overflow (Alan Coopersmith)
--
From 55caa8b08c84af2b50fbc936cf334a5a93dd7db5 Mon Sep 17 00:00:00 2001
From: Nathan Kidd <nkidd@opentext.com>
Date: Fri, 9 Jan 2015 11:43:05 -0500
Subject: xfixes: unvalidated lengths (CVE-2017-12183)

v2: Use before swap (Jeremy Huddleston Sequoia)

v3: Fix wrong XFixesCopyRegion checks (Alan Coopersmith)
--
From 859b08d523307eebde7724fd1a0789c44813e821 Mon Sep 17 00:00:00 2001
From: Nathan Kidd <nkidd@opentext.com>
Date: Wed, 24 Dec 2014 16:22:18 -0500
Subject: Xi: fix wrong extra length check in ProcXIChangeHierarchy
(CVE-2017-12178)
--
From 9c23685009aa96f4b861dcc5d2e01dbee00c4dd9 Mon Sep 17 00:00:00 2001
From: Michal Srb <msrb@suse.com>
Date: Fri, 7 Jul 2017 17:04:03 +0200
Subject: os: Make sure big requests have sufficient length.

A client can send a big request where the 32B "length" field has value
0. When the big request header is removed and the length corrected,
the value will underflow to 0xFFFFFFFF.  Functions processing the
request later will think that the client sent much more data and may
touch memory beyond the receive buffer.
--
From b747da5e25be944337a9cd1415506fc06b70aa81 Mon Sep 17 00:00:00 2001
From: Nathan Kidd <nkidd@opentext.com>
Date: Fri, 9 Jan 2015 10:15:46 -0500
Subject: Unvalidated extra length in ProcEstablishConnection (CVE-2017-12176)

(mrg)

2017-11-04 21:02:37 UTC MAIN commitmail json YAML

fix comment - scsipi_rw_big was renamed to scsipi_rw_10 a while ago

(jdolecek)

2017-11-04 17:09:55 UTC MAIN commitmail json YAML

Ensure CNTVOFF is 0 before dropping out of Hyp mode
CVS ----------------------------------------------------------------------

(skrll)

2017-11-04 16:21:50 UTC MAIN commitmail json YAML

2017-11-04 16:03:12 UTC MAIN commitmail json YAML

Link liblto_plugin with -liberty (gcc)

GCC passes liblto_plugin.so in the linker invocation (part of "gcc -v file.c"):

ld -plugin /usr/libexec/liblto_plugin.so -plugin-opt=/usr/libexec/lto-wrapper \
-plugin-opt=-fresolution=/var/tmp//ccxda9Ar.res \
-plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc \
-plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s \
-plugin-opt=-pass-through=-lgcc --eh-frame-hdr -dc -dp -e _start \
-dynamic-linker /usr/libexec/ld.elf_so /usr/lib/crt0.o /usr/lib/crti.o \
/usr/lib/crtbegin.o /var/tmp//cc7A7mOK.o --as-needed -lgcc_s --no-as-needed \
-lgcc -lc --as-needed -lgcc_s --no-as-needed -lgcc /usr/lib/crtend.o \
/usr/lib/crtn.o

When attempting to use GNU GOLD, liblto_plugin.so cannot be used because it \
has missing symbol xstrerror:

ld: error: /usr/libexec/liblto_plugin.so: could not load plugin library: \
/usr/libexec/liblto_plugin.so: Undefined PLT symbol "xstrerror" (symnum = 38)

From Makefiles and sources inspection, liblto_plugin.so shall be linked with \
libiberty (-liberty), a utility GNU library for internal usage with helping \
functions.

PR 52674 by myself

(kamil)

2017-11-04 15:59:16 UTC MAIN commitmail json YAML

Link liblto_plugin with -liberty (gcc.old)

GCC passes liblto_plugin.so in the linker invocation (part of "gcc -v file.c"):

ld -plugin /usr/libexec/liblto_plugin.so -plugin-opt=/usr/libexec/lto-wrapper \
-plugin-opt=-fresolution=/var/tmp//ccxda9Ar.res \
-plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc \
-plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lgcc_s \
-plugin-opt=-pass-through=-lgcc --eh-frame-hdr -dc -dp -e _start \
-dynamic-linker /usr/libexec/ld.elf_so /usr/lib/crt0.o /usr/lib/crti.o \
/usr/lib/crtbegin.o /var/tmp//cc7A7mOK.o --as-needed -lgcc_s --no-as-needed \
-lgcc -lc --as-needed -lgcc_s --no-as-needed -lgcc /usr/lib/crtend.o \
/usr/lib/crtn.o

When attempting to use GNU GOLD, liblto_plugin.so cannot be used because it \
has missing symbol xstrerror:

ld: error: /usr/libexec/liblto_plugin.so: could not load plugin library: \
/usr/libexec/liblto_plugin.so: Undefined PLT symbol "xstrerror" (symnum = 38)

From Makefiles and sources inspection, liblto_plugin.so shall be linked with \
libiberty (-liberty), a utility GNU library for internal usage with helping \
functions.

PR 52674 by myself

(kamil)

2017-11-04 15:24:42 UTC MAIN commitmail json YAML

Remove bitrotted xen specific versions of pci, pciide machdep related code.

Use the common x86/ code instead.

(cherry)

2017-11-04 14:56:48 UTC MAIN commitmail json YAML

Retire xen/x86/intr.c and use the new xen specific glue in x86/x86/intr.c

The purpose of this change is to expose the x86/include/intr.h API
to drivers. Specifically the following functions:

  void *intr_establish_xname(...);
  void *intr_establish(...);
  void intr_disestablish(...);

while maintaining the old API from xen/include/evtchn.h, specifically
the following functions:

    int event_set_handler(...);
    int event_remove_handler(...);

This is so that if things break, we can keep using the old API until
everything stabilises. This is a stepping stone towards getting the
actual XEN event callback path rework code in place - which can be
done opaquely behind the intr.h API - NetBSD/XEN specific drivers that
have been ported to the intr.h API should then work without
significant further modifications.

(cherry)

2017-11-04 14:47:06 UTC MAIN commitmail json YAML

Firmware after May 8, 2017 places APs in WFE state at boot. Add a "sev"
after writing the start vector, otherwise secondary CPUs will not boot.

(jmcneill)

2017-11-04 14:20:13 UTC MAIN commitmail json YAML

Don't use popenve() for portability; forking an extra shell here is not an
issue.

(christos)

2017-11-04 12:53:00 UTC MAIN commitmail json YAML

Fix stack overflow, found when testing a new feature.

(maxv)

2017-11-04 12:14:41 UTC MAIN commitmail json YAML

Make kobj_sym_lookup's result type an Elf_Addr.
Fixes the arm builds.

(martin)

2017-11-04 10:26:14 UTC MAIN commitmail json YAML

Add a PIC_XEN abstraction to evtchn.c

This allows us to get XEN interrupt code closer to unification to x86/intr.c

(cherry)

2017-11-04 09:31:08 UTC MAIN commitmail json YAML

protect header against recursive include

(cherry)