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 (176d)  thorpej-altq-separation (178d) 

2024-05-10 16:08:12 UTC Now

2016-12-21 12:03:48 UTC MAIN commitmail json YAML

Add xref for ethers(5) and hosts(5).
Remove extra white space in the middle of a sentence.
Use more markup for AUTHORS section.

ok wiz@

(abhinav)

2016-12-21 11:56:55 UTC MAIN commitmail json YAML

Less magic. 0x00000c00 is equal to PCIE_LCAP_ASPM.

(maya)

2016-12-21 09:46:39 UTC MAIN commitmail json YAML

Enable DEBUG to see what happened on babylon5

(ozaki-r)

2016-12-21 09:33:08 UTC MAIN commitmail json YAML

Fix sentences at a couple of places.

(abhinav)

2016-12-21 09:06:24 UTC MAIN commitmail json YAML

Add missing full stop.

(abhinav)

2016-12-21 08:47:02 UTC MAIN commitmail json YAML

Fix deadlock between llentry timers and destruction of llentry

llentry timer (of nd6) holds both llentry's lock and softnet_lock.
A caller also holds them and calls callout_halt to wait for the
timer to quit. However we can pass only one lock to callout_halt,
so passing either of them can cause a deadlock. Fix it by avoid
calling callout_halt without holding llentry's lock.

BTW in the first place we cannot pass llentry's lock to callout_halt
because it's a rwlock...

(ozaki-r)

2016-12-21 07:02:16 UTC MAIN commitmail json YAML

Restore multiple_routers_single_prefix_cleanup removed wrongly

(ozaki-r)

2016-12-21 04:08:47 UTC MAIN commitmail json YAML

Hold the big locks only where they are needed

(ozaki-r)

2016-12-21 04:01:57 UTC MAIN commitmail json YAML

Don't call psref_target_destroy unless NET_MPSAFE

We don't need it if NET_MPSAFE off and also it causes lockup
sometimes because of calling it with holding softnet_lock.

(ozaki-r)

2016-12-21 03:13:00 UTC MAIN commitmail json YAML

2016-12-21 03:00:51 UTC MAIN commitmail json YAML

Don't remap mkdep, otherwise we add dependencies for /usr/include instead
of ${DESTDIR}/usr/include and things go south.

(christos)

2016-12-21 02:46:08 UTC MAIN commitmail json YAML

2016-12-21 01:16:18 UTC MAIN commitmail json YAML

Suppress harmless warning message

rump.netstat: sysctlnametomib: net.inet6.udp6.pcblist: No such file or directory

(ozaki-r)

2016-12-21 00:56:30 UTC MAIN commitmail json YAML

cdrestart takes a softc parameter, not a periph.

(mlelstv)

2016-12-21 00:33:49 UTC MAIN commitmail json YAML

Fix kernel build with RT_DEBUG and !NET_MPSAFE

(ozaki-r)

2016-12-20 14:09:09 UTC MAIN commitmail json YAML

kernel modules on xen

(maxv)

2016-12-20 14:03:15 UTC MAIN commitmail json YAML

When the i386 port was designed, the bootstrap code needed little physical
memory, and taking it below the kernel image was fine: we had 160 free
pages, and never allocated more than 20. With amd64 however, we create a
direct map, and for this map we need a number of page table pages that is
mostly proportionate to the number of physical addresses available, which
implies that these 160 free pages may not be enough.

In particular, if the CPU does not support 1GB superpages, each 1GB chunk
of physical memory needs a 4k page in the direct map, which means that if
a machine has 160GB of ram, the bootstrap code allocates more than 160
pages, thereby overwriting the I/O mem area. If we push a little further,
if a machine has 512GB of ram, we allocate ~525 pages, and start
overwriting the kernel text, causing the system to go crazy at boot time.

Fix this moving the physical allocation area from below the kernel to above
it. avail_start is now beyond the kernel, and lowmem_rsvd indicates the
reserved low-memory pages. The area [lowmem_rsvd; IOM_BEGIN[ is
internalized into UVM, so there is no pa loss.

The only limit now is the pa of LAPIC, which is located at ~4GB of memory,
so it is perfectly fine.

This change theoretically adds va support for 512GB of ram; and it is a
prerequisite if we want to support more memory anyway.

(maxv)

2016-12-20 12:48:30 UTC MAIN commitmail json YAML

Depend on KERNTEXTOFF - KERNBASE, not IOM_END, both are equal but the text
address may change in the future.

(maxv)

2016-12-20 10:12:24 UTC MAIN commitmail json YAML

Reduce unnecessary wait

(ozaki-r)

2016-12-20 10:02:21 UTC MAIN commitmail json YAML

Restructure vdrain_vrele().  While it is not possible for another thread
to lock this vnodes v_interlock -> vdrain_lock another vnode sharing the
v_interlock may lock this order.
While here, restore fstrans_start_nowait arg to FSTRANS_LAZY.

Fixes a deadlock seen recently on some pbulk environments.

(hannken)

2016-12-20 09:22:18 UTC MAIN commitmail json YAML

s/users/user's

Also, add an xref to services(5)

(abhinav)

2016-12-20 08:21:32 UTC MAIN commitmail json YAML

Update SYNOPSIS to reflect that y and n options are mutually exclusive.

Also, mention what does biff(1) do if no arguments are given.
Add xref to from(1)

ok wiz@

(abhinav)

2016-12-20 07:48:04 UTC netbsd-7 commitmail json YAML

2016-12-20 06:16:43 UTC netbsd-7-0 commitmail json YAML

2016-12-20 06:16:25 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1310):
common/lib/libc/stdlib/_strtoul.h: revision 1.10
Set *endptr in all paths out of strtoul and family.

(snj)

2016-12-20 06:13:19 UTC MAIN commitmail json YAML

define __TEST_FENV in the makefile for t_fe_round
should fix vax build (it doesn't have fenv.h)

(maya)

2016-12-20 06:07:38 UTC MAIN commitmail json YAML

use labs for absolute value of long
should fix arm build

(maya)

2016-12-20 05:25:26 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by rin in ticket #1312):
external/bsd/nvi/dist/ex/ex_script.c: revision 1.7
improve logic related to sh_prompt:
- sscr_insert(): sh_prompt should be compared with t, not p
- replace strnstr(3) with memcmp(3)
now, nvi is free from strnstr(3); it can be safely pulled-up into netbsd-7

(snj)

2016-12-20 03:35:13 UTC MAIN commitmail json YAML

Fix that routed deletes local routes

routed previousely ignored local routes, which have RTF_LOCAL flag, because
such routes have RTF_LLINFO and routed ignored routes having the flag. When
we obsoleted RTF_LLINFO, we removed the ignoring logic from routed, then
routed started removing local routes unexpectedly.

Fix this behavior by teaching local routes to routed to ignore them.

kardel@ reported the issue and helped testing, thanks!

(ozaki-r)

2016-12-19 17:51:40 UTC MAIN commitmail json YAML

improve logic related to sh_prompt:
- sscr_insert(): sh_prompt should be compared with t, not p
- replace strnstr(3) with memcmp(3)
now, nvi is free from strnstr(3); it can be safely pulled-up into netbsd-7

(rin)

2016-12-19 17:38:39 UTC MAIN commitmail json YAML

2016-12-19 17:38:24 UTC MAIN commitmail json YAML

add test for fesetround/fegetround that uses lrint (and tests it a bunch).
It doesn't fail on amd64.

(maya)

2016-12-19 17:31:47 UTC MAIN commitmail json YAML

2016-12-19 16:23:10 UTC MAIN commitmail json YAML

2016-12-19 15:50:13 UTC MAIN commitmail json YAML

grow so that new intel firmware fits.

(christos)

2016-12-19 15:09:38 UTC MAIN commitmail json YAML

2016-12-19 15:08:03 UTC MAIN commitmail json YAML

Add LAN-TXU2C and LAN-TXU2H3A

(ryoon)

2016-12-19 15:03:59 UTC MAIN commitmail json YAML

Add Anker A7611 and DIEWU USB-DW8152, and bump date

(ryoon)

2016-12-19 14:55:32 UTC MAIN commitmail json YAML

Add LUA3-U2-ATX and bump date

(ryoon)

2016-12-19 14:30:23 UTC MAIN commitmail json YAML

PR/50228: Christian Groessler: fix bzero(ptr, 0) on ppc. Check for 0 length
before jumping to cb_memset like memset does.

(christos)

2016-12-19 14:10:57 UTC MAIN commitmail json YAML

Escape hyphen when parsing .Nd

(abhinav)

2016-12-19 13:45:57 UTC MAIN commitmail json YAML

Various improvements.

New sentence, new line.
Better punctuation.
More appropriate macros.
More markup.

(wiz)

2016-12-19 13:02:15 UTC MAIN commitmail json YAML

panic() must be able to take varargs - in userspace testing too.

(cherry)

2016-12-19 12:21:29 UTC MAIN commitmail json YAML

This is a preview of the uvm_hotplug(9) api code.
This commit does not actually introduce the UVM_HOTPLUG option.
However it does provide developers a way to review, test and try out
the API.

To do this, please go to tests/sys/uvm/ and build and run the tests
there. The tests also have a set of basic load tests, to get a measure
of the performance penalties due to enabling the UVM_HOTPLUG option.

In order to build the tests you need to have at least done the
following in $SRC/

cd $SRC; $NBMAKE do-distrib-dirs includes
cd $SRC/lib/csu; $NBMAKE all install || exit
cd $SRC/external/gpl3/gcc/lib/libgcc/libgcc_s; $NBMAKE all install || exit
cd $SRC/external/gpl3/gcc/lib/libgcc/libgcc; $NBMAKE all install || exit
cd $SRC/lib/libc; $NBMAKE includes all install || exit
cd $SRC/lib/libpthread; $NBMAKE all install || exit
cd $SRC/lib/libm; $NBMAKE all install || exit
cd $SRC/external/gpl3/gcc/lib/libstdc++-v3/; $NBMAKE all install || exit

Once the development environment has these userspace libraries, one
can simple build using $NBMAKE and finally test the kernel API using

atf-run|atf-report

(cherry)

2016-12-19 11:17:00 UTC MAIN commitmail json YAML

Fix gcc complaining about int to unsigned long conversion issues by
explictly marking as unsigned in RT_ROUNDUP2.

(roy)

2016-12-19 07:51:34 UTC MAIN commitmail json YAML

Protect IPv6 default router and prefix lists with coarse-grained rwlock

in6_purgeaddr (in6_unlink_ifa) itself unrefernces a prefix entry and calls
nd6_prelist_remove if the counter becomes 0, so callers doesn't need to
handle the reference counting.

Performance-sensitive paths (sending/forwarding packets) call just one
reader lock. This is a trade-off between performance impact vs. the amount
of efforts; if we want to remove the reader lock, we need huge amount of
works including destroying objects with psz/psref in softint, for example.

(ozaki-r)

2016-12-19 07:48:35 UTC MAIN commitmail json YAML

Use markup for errno
Also remove a .Pp before .Bl while there

(abhinav)

2016-12-19 07:17:45 UTC MAIN commitmail json YAML

Be consistent in using process' (vs process's).

(abhinav)

2016-12-19 06:45:29 UTC MAIN commitmail json YAML

2016-12-19 04:54:49 UTC MAIN commitmail json YAML

remove obsolete comment, flip polarity.

(christos)

2016-12-19 04:52:17 UTC MAIN commitmail json YAML

Kill pr->ndpr_refcnt = 0

The reference counter represents the numuber of references from IPv6
addresses to a prefix entry. If all IPv6 addresses assigned to an
interface are purged, all references to a prefix for the interface are
also released. For now nd6_purge is always called after purging all IPv6
addresses, so we can get rid of clearing pr->ndpr_refcnt from nd6_purge
and instead we can assert it's 0 there.

Note that nd6_ifdetach is only called via dom_ifdetach when processing
if_detach where dom_ifdetach is called after pr_purgeif that eventually
calls in6_ifdetach. So in the call path nd6_purge in nd6_ifdetach does
nothing. That said, we should explicitly make it sure to purge all
IPv6 addresses before nd6_purge for future changes (or the case I missed
something). So if_purgeaddrs is added to nd6_ifdetach.

(ozaki-r)

2016-12-19 04:44:35 UTC MAIN commitmail json YAML

2016-12-19 04:37:13 UTC MAIN commitmail json YAML

add -t to preserve timestamps.

(christos)

2016-12-19 03:32:54 UTC MAIN commitmail json YAML

Get rid of extra nd6_purge from in6_ifdetach

There were two nd6_purge in in6_ifdetach for some reason, but at least now
We don't need extra nd6_purge. Remove it and instead add assertions that
check if surely purged.

(ozaki-r)

2016-12-19 03:19:37 UTC MAIN commitmail json YAML

TODO.ptrace: Update notes about MD documentation

Currently all the MD interfaces are documented, remove this line from TODO.
Add new note:
    once the API for hardware watchpoints will stabilize, document it

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-19 03:15:31 UTC MAIN commitmail json YAML

Always pass the modification time of the file to the client and let it decide
if it is going to use it to set the time. This makes update work like checkout
with respect to time setting. The time of the updated file is set to the
repository modification time of the file as opposed to the the time that the
file was checked out.

(christos)

2016-12-19 03:07:05 UTC MAIN commitmail json YAML

Add a test case for exceeding the number of maximum prefixes

The test case pinpoints purge_detached.

(ozaki-r)

2016-12-19 02:27:03 UTC MAIN commitmail json YAML

Add tests for multiple routers with a single prefix

(ozaki-r)

2016-12-19 01:48:00 UTC MAIN commitmail json YAML

print only the latest entry for debugging.

(christos)

2016-12-19 01:37:30 UTC MAIN commitmail json YAML

Fix the description of a test

(ozaki-r)

2016-12-19 01:26:31 UTC MAIN commitmail json YAML

arrange for .in files to be rebuilt.

(christos)

2016-12-19 01:24:40 UTC MAIN commitmail json YAML

flesh out _Unwind_Exception, rust needs it.

(christos)

2016-12-18 19:39:05 UTC MAIN commitmail json YAML

add a trailing / to force symlink resolution.

(christos)

2016-12-18 19:00:20 UTC MAIN commitmail json YAML

Bail out on error computing the timestamp

(christos)

2016-12-18 18:32:24 UTC MAIN commitmail json YAML

Need <stdint.h> for uintmax_t.

From debidi in #netbsd on Freenode.

(riastradh)

2016-12-18 17:58:08 UTC MAIN commitmail json YAML

mark old firmware obsolete.

(christos)

2016-12-18 17:57:39 UTC MAIN commitmail json YAML

2016-12-18 17:34:36 UTC MAIN commitmail json YAML

clarify res_nclose and res_ndestroy.

(christos)

2016-12-18 17:18:01 UTC MAIN commitmail json YAML

Change CLOCK_THREAD_CPUTIME_ID so that it is not negative; requested by joerg
this breaks ABI compatibility, but not much should be using this yet, since
it was recently added.

(christos)

2016-12-18 16:58:17 UTC MAIN commitmail json YAML

src/external/public-domain/sqlite/man/SQLITE_ACCESS_EXISTS.3@1.2 / diff / nxr@1.2
src/external/public-domain/sqlite/man/SQLITE_CHANGESET_DATA.3@1.2 / diff / nxr@1.2
src/external/public-domain/sqlite/man/SQLITE_CHANGESET_OMIT.3@1.2 / diff / nxr@1.2
src/external/public-domain/sqlite/man/SQLITE_CHECKPOINT_PASSIVE.3@1.3 / diff / nxr@1.3
src/external/public-domain/sqlite/man/SQLITE_CONFIG_SINGLETHREAD.3@1.3 / diff / nxr@1.3
src/external/public-domain/sqlite/man/SQLITE_CREATE_INDEX.3@1.2 / diff / nxr@1.2
src/external/public-domain/sqlite/man/SQLITE_DBCONFIG_LOOKASIDE.3@1.3 / diff / nxr@1.3
src/external/public-domain/sqlite/man/SQLITE_DBSTATUS_LOOKASIDE_USED.3@1.3 / diff / nxr@1.3
src/external/public-domain/sqlite/man/SQLITE_DENY.3@1.3 / diff / nxr@1.3
src/external/public-domain/sqlite/man/SQLITE_DETERMINISTIC.3@1.2 / diff / nxr@1.2
src/external/public-domain/sqlite/man/SQLITE_FCNTL_LOCKSTATE.3@1.3 / diff / nxr@1.3
src/external/public-domain/sqlite/man/SQLITE_INDEX_CONSTRAINT_EQ.3@1.3 / diff / nxr@1.3
src/external/public-domain/sqlite/man/SQLITE_INDEX_SCAN_UNIQUE.3@1.2 / diff / nxr@1.2
src/external/public-domain/sqlite/man/SQLITE_INTEGER.3@1.2 / diff / nxr@1.2
src/external/public-domain/sqlite/man/SQLITE_IOCAP_ATOMIC.3@1.3 / diff / nxr@1.3
src/external/public-domain/sqlite/man/SQLITE_IOERR_READ.3@1.3 / diff / nxr@1.3
src/external/public-domain/sqlite/man/SQLITE_LIMIT_LENGTH.3@1.3 / diff / nxr@1.3
src/external/public-domain/sqlite/man/SQLITE_LOCK_NONE.3@1.2 / diff / nxr@1.2
src/external/public-domain/sqlite/man/SQLITE_MUTEX_FAST.3@1.3 / diff / nxr@1.3
src/external/public-domain/sqlite/man/SQLITE_OK.3@1.3 / diff / nxr@1.3
      :
(more 179 files)
change $Mdocdate$ to a fixed date for reproducible builds.

(christos)

2016-12-18 16:56:32 UTC MAIN commitmail json YAML

Don't emit $Mdocdate$ in the next regeneration.

(christos)

2016-12-18 16:34:19 UTC MAIN commitmail json YAML

2016-12-18 15:32:36 UTC MAIN commitmail json YAML

KNF

No functional change.

(skrll)

2016-12-18 15:27:34 UTC MAIN commitmail json YAML

2016-12-18 15:18:41 UTC MAIN commitmail json YAML

mlelstv accidentaly dropped a mutex_enter

(skrll)

2016-12-18 13:59:14 UTC MAIN commitmail json YAML

The mutex passed to cv_wait must also be held when calling cv_broadcast.
Also optimizing mutex handling in completion thread.

From nick@.

(mlelstv)

2016-12-18 12:02:37 UTC MAIN commitmail json YAML

check for serial console flag also when re-using console from
primary bootstrap.

(mlelstv)

2016-12-18 08:48:09 UTC netbsd-7-0 commitmail json YAML

2016-12-18 08:40:54 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #1333):
sbin/ping/ping.c: revision 1.113
PR bin/36997 Zafer Aydogan: ping doesn't validate numeric inputs enough.
Check for values between INT_MAX and LONG_MAX (if they're different)
when using strtol to get an int. This applies to the -c and -l options;
the other uses were already checked.
Also limit the inter-packet interval given with -i to values that
don't cause integer overflow calling poll() with milliseconds.
Really large intervals (the number is read as floating point) can
produce positive poll() values but negative integers when converted to
struct timespec; this produces behavior akin to using -l at first and
could be construed as a local DoS vulnerability.

(snj)

2016-12-18 08:27:59 UTC netbsd-7 commitmail json YAML

tickets 1310-1317, 1319, 1325-1327, 1330-1333.

(snj)

2016-12-18 08:22:29 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by dholland in ticket #1333):
sbin/ping/ping.c: revision 1.113
PR bin/36997 Zafer Aydogan: ping doesn't validate numeric inputs enough.
Check for values between INT_MAX and LONG_MAX (if they're different)
when using strtol to get an int. This applies to the -c and -l options;
the other uses were already checked.
Also limit the inter-packet interval given with -i to values that
don't cause integer overflow calling poll() with milliseconds.
Really large intervals (the number is read as floating point) can
produce positive poll() values but negative integers when converted to
struct timespec; this produces behavior akin to using -l at first and
could be construed as a local DoS vulnerability.

(snj)

2016-12-18 08:05:52 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by uwe in ticket #1332):
tools/Makefile.nbincludes: revision 1.4
Add endian_machdep.h files for sh3 machines to _ARCH_INCS as
sh3/include/elf_machdep.h needs it since r1.11.
Unbreaks tools build on non-netbsd hosts (and whatever problems on
netbsd hosts of different endianness that might have been caused by
the mismatch).

(snj)

2016-12-18 08:03:09 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #1331):
usr.bin/ftp/fetch.c: revision 1.226
handle proxy authentication correctly.

(snj)

2016-12-18 07:58:52 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by jnemeth in ticket #1330):
external/bsd/blacklist/bin/blacklistctl.c: revision 1.21
Correct misplaced break; from FreeBSD.
Approved By: christos

(snj)

2016-12-18 07:53:09 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #1327):
sys/dev/pci/if_wm.c: revision 1.457
sys/dev/pci/if_wmreg.h: revision 1.94
- Change to use 2500Base-KX correctly on C2000(I354). It worked, but the
output of ifconfig and if_baudrate was not good. Tested by nils@:
  - The STATUS_TBIMODE bit in the STATUS register is deleted since 82575,
    so check for 82575 and newer first and then check for old devices.
  - Check the 2P5_SKU and 2P5_SKU_OVER bit for KX.
  - Set IFM_2500_SX instead of IFM_1000_SX for 2.5G.
- Check SERDES's speed directly from the PCS layer (PCS_LSTS register) for old
  devices.
- Style fix.

(snj)

2016-12-18 07:50:37 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by jnemeth in ticket #1326):
sys/arch/xen/conf/files.xen: revision 1.141
make CPU microcode loading dependent on both DOM0OPS AND CPU_UCODE

(snj)

2016-12-18 07:47:22 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by jnemeth in ticket #1325):
usr.bin/calendar/calendars/calendar.birthday: revision 1.26
usr.bin/calendar/calendars/calendar.christian: revision 1.6
usr.bin/calendar/calendars/calendar.history: revisions 1.33, 1.34
usr.bin/calendar/calendars/calendar.holiday: revisions 1.26, 1.27
usr.bin/calendar/calendars/calendar.judaic: revision 1.6
usr.bin/calendar/calendars/calendar.netbsd: revisions 1.36, 1.37
usr.bin/calendar/calendars/calendar.usholiday: revision 1.7
note the release of NetBSD 7.0
--
Fix typo - Bahamas starts with a 'B' not with a 'G'
--
typo
--
allllllexander the greeeaaaaat, his name struck fear into hearts of men!
...but let's conquer that fear and give ol' alex a consistent and
correct date of death.
(he died of fever in baaaaaabylooooooonnnn)
--
update floating holidays for 2017 in preparation for pullup for 7.1 release

(snj)

2016-12-18 07:40:50 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by rmind in ticket #1319):
sys/modules/npf/Makefile: revision 1.19
sys/net/npf/files.npf: revision 1.18
sys/net/npf/lpm.c: revision 1.1
sys/net/npf/lpm.h: revision 1.1
sys/net/npf/npf_impl.h: revision 1.62
sys/net/npf/npf_tableset.c: revision 1.24
sys/net/npf/npf_tableset_ptree.c: file removal
sys/rump/net/lib/libnpf/Makefile: revision 1.18
This patches ditches the ptree(3) library, because it is broken (you
can get missing entries!).  Instead, as a temporary solution, we switch
to a simple linear scan of the hash tables for the longest-prefix-match
(lpm.c lpm.h) algorithm. In fact, with few unique prefixes in the set,
on modern hardware this simple algorithm is pretty fast anyway!
--
ditch ptree and use lpm
--
remove ptree add lpm

(snj)

2016-12-18 07:12:06 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by nakayama in ticket #1317):
share/misc/bsd-family-tree: revisions 1.57, 1.58
Sync with FreeBSD r305215
--
Add NetBSD rcs tag which was lost with r1.13.
Add NetBSD 7.0.1
heads up by wiz@

(snj)

2016-12-18 07:02:59 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1316):
sys/arch/x86/x86/pmap.c: revision 1.223
sys/arch/x86/x86/vm_machdep.c: revision 1.26
sys/arch/x86/include/pmap.h: revision 1.61
PR/49691: KAMADA Ken'ichi: free deferred ptp mappings if present.
XXX: pullup-7

(snj)

2016-12-18 07:01:57 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1316):
sys/arch/x86/x86/pmap.c: revision 1.223
sys/arch/x86/x86/vm_machdep.c: revision 1.26
sys/arch/x86/include/pmap.h: revision 1.61
PR/49691: KAMADA Ken'ichi: free deferred ptp mappings if present.
XXX: pullup-7

(snj)

2016-12-18 06:56:43 UTC MAIN commitmail json YAML

2016-12-18 06:52:03 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1315):
share/man/man3/bits.3: revision 1.17
These have been able to handle uintmax-width masks since creation.

(snj)

2016-12-18 06:43:24 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1314):
share/man/man9/fileassoc.9: revision 1.28
Merge changes from David H. Gutteridge in PR misc/51611
Thanks!

(snj)

2016-12-18 06:41:33 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1313):
usr.sbin/paxctl/paxctl.8: revision 1.15
Merge changes from David H. Gutteridge in PR misc/51612
Thanks!

(snj)

2016-12-18 06:37:30 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1312):
external/bsd/nvi/Makefile.inc: revisions 1.2-1.4
external/bsd/nvi/dist/cl/cl.h: revision 1.3
external/bsd/nvi/dist/cl/cl_main.c: revision 1.5
external/bsd/nvi/dist/cl/cl_screen.c: revision 1.5
external/bsd/nvi/dist/cl/cl_term.c: revision 1.5
external/bsd/nvi/dist/common/key.h: revision 1.3
external/bsd/nvi/dist/common/vi_db1.c: revision 1.8
external/bsd/nvi/dist/docs/vi.man/vi.1: revisions 1.3, 1.4
external/bsd/nvi/dist/ex/ex_map.c: revision 1.4
external/bsd/nvi/dist/ex/ex_script.c: revisions 1.5, 1.6
external/bsd/nvi/usr.bin/nvi/Makefile: revision 1.7
PR/50092: Rin Okuyama: Fix memory leaks in vi when resizing.
--
PR/50484: Rin Okuyama: fix the script command of vi(1)
--
Fix > 1024 char lines in script. (Rin Okuyama)
--
remove CONST; it is unused from Brad Harder
--
add default: to appease gcc.
--
Restore the first line of the copyright header, which accidentally got
zapped in -r1.2.
--
PR 51446 Brad Harder: fix synopsis for :tagprev

(snj)

2016-12-18 06:31:01 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1311):
lib/libc/stdlib/strtod.3: revisions 1.21-1.29
lib/libc/stdlib/strtol.3: revision 1.36-1.38
lib/libc/stdlib/strtoul.3: revision 1.36
strtod yields ERANGE for below-subnormal magnitudes, not underflow.
For a floating-point computation, in the language of IEEE 754,
`underflow' means the output was rounded and is too small to be
represented *normally*.
There are many nonzero floating-point numbers to which the exact
output may have been rounded -- namely subnormals.  The condition
under which strtod returns ERANGE for small magnitudes is when the
magnitude of the exact result is so small it is rounded to zero, not
even to a subnormal.
While here, use parallel language about large magnitudes instead of
the (albeit correct) word `overflow', to avoid temptation to treat
`underflow' as the opposite notion with zero instead of infinity.
--
Bump date for previous.
--
Fix description of ERANGE cases again.
Do use the technical terms `overflow' and `underflow', because strtod
sets ERANGE precisely to indicate either of these two conditions, and
they are the right keywords that one might be looking for.
Note that strtod may set ERANGE even if it returns noninfinity and
nonzero -- specifically, if the result is subnormal.  This part was
wrong before I `fixed' it and remained wrong after I `fixed' it
earlier this year.
--
Add example for strtod.
This illustrates all the cases you might be interested in and asserts
theorems in those cases.
--
Fix infinity detection with isinf(d), not d == HUGE_VAL.
Negative infinity counts as overflow too.
Simplify.
--
EXIT_FAILURE police
--
Distinguish altogether invalid syntax from trailing garbage.
--
Distinguish invalid syntax from trailing garbage cases.  Clarify.
--
Simplify error condition case.
Add assertions to reflect its implications.
--
Tidy up the second example too.
--
Update strtoul(3) example to reflect clarifications in strtol(3).
--
Fix phrasing about `out-of-band' and `sentinel value'.
Either an out-of-band channel, or an in-band sentinel value, could
indicate an error, but an out-of-band sentinel value is a silly
proposition.
Noted by uwe@.
--
Use the keywords `underflow' and `overflow' in ERANGE summary.

(snj)

2016-12-18 06:23:23 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by riastradh in ticket #1310):
common/lib/libc/stdlib/_strtoul.h: revision 1.10
Set *endptr in all paths out of strtoul and family.
XXX pullup-6
XXX pullup-7

(snj)

2016-12-18 05:43:20 UTC MAIN commitmail json YAML

2016-12-18 04:35:26 UTC MAIN commitmail json YAML

2016-12-18 03:00:58 UTC MAIN commitmail json YAML

PR port-powerpc/51366 kernel for powerpc/ibm4xx miscompiled by gcc >= 4.8.5
backport fix from upstream:

URL: https://gcc.gnu.org/viewcvs?rev=238789&root=gcc&view=rev
Log:
rs6000: Fix logic for when to emit .machine (PR71216)

The current logic determining whether to use .machine in the generated
asm code puts it there if the compiler is not configured with a default
target cpu, _or_ no -mcpu= was given on the command line.  It should
be "and" instead.

PR target/71216
* config/rs6000/rs6000.c (rs6000_file_start): Fix condition for
when to emit a ".machine" pseudo-op.

Modified:
    branches/gcc-5-branch/gcc/ChangeLog
    branches/gcc-5-branch/gcc/config/rs6000/rs6000.c

(rin)

2016-12-18 02:26:12 UTC MAIN commitmail json YAML

Descend into compile

(christos)

2016-12-18 02:20:30 UTC MAIN commitmail json YAML

Add -P for reproducible builds based on the latest cvs timestamp.

(christos)

2016-12-18 02:18:29 UTC MAIN commitmail json YAML

2016-12-18 01:30:54 UTC MAIN commitmail json YAML

Merge the PR 36997 fixes into ping6. It already didn't accept too
small or wildly too large intervals, but it did allow intervals that
failed at poll(). Since that's signed integer overflow and thus UB,
better not to.

(dholland)

2016-12-18 01:19:34 UTC MAIN commitmail json YAML

PR bin/36997 Zafer Aydogan: ping doesn't validate numeric inputs enough.

Reject packet intervals < 1 ns as they lead to infinite loops adding
zero timespecs.

Fix the behind-schedule behavior so it doesn't spend all its time in
that loop adding very small timespecs. Try ping -c 500 -i 0.000000001
to see this in action with the old ping.

(dholland)

2016-12-18 00:21:33 UTC MAIN commitmail json YAML

PR bin/36997 Zafer Aydogan: ping doesn't validate numeric inputs enough.

Check for values between INT_MAX and LONG_MAX (if they're different)
when using strtol to get an int. This applies to the -c and -l options;
the other uses were already checked.

Also limit the inter-packet interval given with -i to values that
don't cause integer overflow calling poll() with milliseconds.

Really large intervals (the number is read as floating point) can
produce positive poll() values but negative integers when converted to
struct timespec; this produces behavior akin to using -l at first and
could be construed as a local DoS vulnerability.

(dholland)

2016-12-17 18:41:13 UTC MAIN commitmail json YAML

XXX: Can't do PIE yet because of gp relocation in start.S

(christos)

2016-12-17 17:04:38 UTC MAIN commitmail json YAML

Don't ignore symlinks.
There can be symlinks which are pointing to man pages not installed in
one of the _default locations mentioned in man.conf or MANPATH. For example
there are man pages in /usr/pkg/man which are symlinked to pages in
/usr/pkg/lib/perl5/man. If we ignore symlinks, we would not be able to
index such pages installed outside the default set of directories.

(Also, the symlink test was incorecct, so we never noticed this issue)

Ok christos@, wiz@

(abhinav)

2016-12-17 17:04:04 UTC MAIN commitmail json YAML

audio: don't use an uninitialized variable.

PR kern/51717: audioattach erroneously fails due to uninitialized variable
from flxd.

while here, switch to use aprint_error_dev.

(maya)

2016-12-17 16:08:29 UTC MAIN commitmail json YAML

factor out duplicated code.

(christos)

2016-12-17 15:30:34 UTC nick-nhusb commitmail json YAML

Call {mutex,cv}_destroy on all mutexes/condvars

(skrll)

2016-12-17 15:27:26 UTC MAIN commitmail json YAML

Call {mutex,cv}_destroy on all mutexes/condvars

(skrll)

2016-12-17 15:24:35 UTC MAIN commitmail json YAML

2016-12-17 15:23:08 UTC MAIN commitmail json YAML

Remove a wrong comment - the FPU save size should never be percpu -, and
be more explicit about Xen.

(maxv)

2016-12-17 15:18:28 UTC MAIN commitmail json YAML

fix broken, audio_{g,s}et_port logic.

(christos)

2016-12-17 14:49:26 UTC MAIN commitmail json YAML

2016-12-17 14:36:30 UTC MAIN commitmail json YAML

2016-12-17 14:27:53 UTC MAIN commitmail json YAML

Put a limit in the percpu segment, so we can detect overflows on %fs.

(maxv)

2016-12-17 13:49:05 UTC MAIN commitmail json YAML

Fix the name of the labels. I think I got confused by jne, so while here
replace it by jnz, which is more explicit.

(maxv)

2016-12-17 13:43:33 UTC MAIN commitmail json YAML

Use pmap_bootstrap_valloc and simplify. By the way, I think the cache
stuff is wrong, since the pte is not necessarily aligned to 64 bytes, so
nothing guarantees there is no false sharing.

(maxv)

2016-12-17 12:11:38 UTC MAIN commitmail json YAML

Fix regression introduced by myself with the addition of da_fb_linebytes

tegra_fb was not adjusted so da_fb_linebytes was used uninitialized

add tfa_fb_linebytes and match radeonfb/nouveaufb code in how we set it
switch to using an initializer to hopefully avoid future errors

this change doesn't need to be pulled up, as tegra_fb.c is absent
in netbsd-7

(maya)

2016-12-17 10:25:49 UTC MAIN commitmail json YAML

2016-12-17 10:10:34 UTC nick-nhusb commitmail json YAML

2016-12-17 10:08:30 UTC nick-nhusb commitmail json YAML

Tweak a couple of comments

(skrll)

2016-12-17 09:12:22 UTC MAIN commitmail json YAML

Print previously missing fields from a TCP6 PCB.

(mlelstv)

2016-12-17 07:44:59 UTC MAIN commitmail json YAML

Change one more "generic DHCP client" reference to say dhcpcd rather
than dhclient

(maya)

2016-12-17 07:37:24 UTC MAIN commitmail json YAML

Reference dhcpcd as the sole DHCP client in general man pages.

We'd rather have new users use dhcpcd. hopefully this eliminates some
unnecessary confusion about there being two clients.

(maya)

2016-12-17 06:17:16 UTC MAIN commitmail json YAML

2016-12-17 03:46:52 UTC MAIN commitmail json YAML

Omit needless nullmmap.

Convert the one user of it to nommap.  No functional change to the
device driver, since uvm interpreted nullmmap just like nommap.

This slightly changes the uvm ABI so that the function pointer nullop
is no longer interpreted as non-mmappable.  I do hereby declare that
I am surfing the kernel version bump from a few hours ago.

(riastradh)

2016-12-17 03:43:38 UTC MAIN commitmail json YAML

2016-12-17 01:32:22 UTC MAIN commitmail json YAML

PR 51724 - landisk fails to reboot.

machine_reset() - instead of trying to cause an invalid data access
that gcc will optimize away, just use "trapa" instruction.

G/c assignment to EXPEVT, it will be set by the actual reset.  That
assignment has been probably cargo-culted from cpu_reset() that
manually jumps to 0xa0000000 (the reset address) instead of triggering
a reset.

TODO: This code should be SuperH generic cpu_reset().

(uwe)

2016-12-17 01:10:39 UTC MAIN commitmail json YAML

Declare machine_cpu() __dead.
G/c the endless loop after calling it in cpu_reboot().

(uwe)

2016-12-16 23:37:21 UTC MAIN commitmail json YAML

Welcome to 7.99.51, courtesy replacement ABI for nommap.

(riastradh)

2016-12-16 23:35:04 UTC MAIN commitmail json YAML

2016-12-16 23:34:46 UTC MAIN commitmail json YAML

use hardware rendering for anti-aliased fonts

(macallan)

2016-12-16 23:31:16 UTC MAIN commitmail json YAML

flesh out alpha operations properly

(macallan)

2016-12-16 22:14:15 UTC MAIN commitmail json YAML

fix reversed test, NULL for clarity.

(christos)

2016-12-16 22:11:04 UTC MAIN commitmail json YAML

2016-12-16 22:10:12 UTC MAIN commitmail json YAML

install psref.h now that <net/route.h> needs it.

(christos)

2016-12-16 22:03:10 UTC MAIN commitmail json YAML

catch attachment fault sooner.

(christos)

2016-12-16 20:16:50 UTC MAIN commitmail json YAML

This can actually be enabled in Xen; my rev1.235 fixed the issue. Before
that kern_end was pointing to DUMMY PAGE, which was already kentered
earlier in xen_locore, causing pmap to panic.

This change adds support for kernel modules in Xen.

(maxv)

2016-12-16 20:12:11 UTC MAIN commitmail json YAML

hide functions from userland.

(christos)

2016-12-16 20:11:52 UTC MAIN commitmail json YAML

Can't hide stuff from userland, because struct route is embedded in other
structures (like inpcb) and things like fstat stop working.

(christos)

2016-12-16 19:52:22 UTC MAIN commitmail json YAML

The way the xen dummy page is taken care of makes absolutely no sense at
all, with magic offsets here and there in different layers of the system.
It is just blind luck that everything has always worked as expected so
far.

Due to this wrong design we have a problem now: we allocate one physical
page for lapic, and it happens to overlap with the dummy page, which
causes the system to crash.

Fix this by keeping the dummy va directly in a variable instead of magic
offsets. The asm locore now increments the first pa to hide the dummy page
to machdep and pmap.

(maxv)

2016-12-16 17:20:52 UTC MAIN commitmail json YAML

2016-12-16 16:03:28 UTC MAIN commitmail json YAML

On failed attach hw_if is NULL, so guard against it in more places. Should
avoid crashes people have been seeing recently.

(christos)

2016-12-16 16:00:22 UTC MAIN commitmail json YAML

HAVE_SCANDIR_VOID_P -> HAVE_SCANDIR

(martin)

2016-12-16 15:10:08 UTC MAIN commitmail json YAML

Undo a local change now that our scandir() signature has been fixed.

(martin)

2016-12-16 15:06:39 UTC MAIN commitmail json YAML

Make dk(4) device mpsafe.

(mlelstv)

2016-12-16 15:00:52 UTC MAIN commitmail json YAML

Add locking for periph_active and flags. The operations aren't atomic.

(mlelstv)

2016-12-16 14:58:53 UTC MAIN commitmail json YAML

add comment about "missing" dk_start.

(mlelstv)

2016-12-16 14:56:34 UTC MAIN commitmail json YAML

Don't block suspend when uslsa(4) is attached - it works fine.

(maya)

2016-12-16 11:34:52 UTC MAIN commitmail json YAML

hdaudio(4): Use pci_intr_alloc(9)/pci_intr_release(9).

(nonaka)

2016-12-16 09:11:18 UTC MAIN commitmail json YAML

Add tests for multiple routers

(ozaki-r)

2016-12-16 09:10:37 UTC MAIN commitmail json YAML

Unify common routines

(ozaki-r)

2016-12-16 09:10:08 UTC MAIN commitmail json YAML

Avoid using /var/run/rump.rtadvd.pid

(ozaki-r)

2016-12-16 09:09:39 UTC MAIN commitmail json YAML

Support -p <pidfile> option

It's needed to avoid using /var/run/rtadvd.pid on ATF tests and
run multiple instances of rump.rtadvd on a test.

(ozaki-r)

2016-12-16 08:47:36 UTC MAIN commitmail json YAML

fix unlock and splx inversion. Currently, this doesn't cause problem because either one is used.

(knakahara)

2016-12-16 08:41:01 UTC MAIN commitmail json YAML

Add missing IFM_FDX.

(msaitoh)

2016-12-16 08:30:20 UTC MAIN commitmail json YAML

Remove extra newline in debug printfs. ixgbe's *DEBUGOUT* macros automatically
add newline.

(msaitoh)

2016-12-16 08:24:41 UTC MAIN commitmail json YAML

The rx_bytes event counter is cleared when if_init() is called, but not for
rx_packets. It's inconsistent. It makes rx_packets is bigger than rx_bytes.
IMHO, it's not required to clear them. At least the above comment says
"/* Setup our descriptor indices */". It's not descriptor indice...

(msaitoh)

2016-12-16 06:29:11 UTC MAIN commitmail json YAML

Remove needless goto's. No functional changes.

(rin)

2016-12-16 04:45:04 UTC MAIN commitmail json YAML

2016-12-16 04:27:03 UTC MAIN commitmail json YAML

2016-12-16 03:59:31 UTC MAIN commitmail json YAML

Fix comments. No functional changes.

(rin)

2016-12-16 03:49:45 UTC MAIN commitmail json YAML

Add a test case that deletes auto-configured addresses

(ozaki-r)

2016-12-16 03:14:23 UTC MAIN commitmail json YAML

Improve stability of the tests

- Do ifconfig -w 10 after ifconfig up
- Accept /1d0h0m..s/ in addition to /23h59m..s/ for expiration time
- Prevent new RA messages from coming after flushing entries

The changes should fix flapping of test results on babylon5.

(ozaki-r)

2016-12-16 01:42:04 UTC MAIN commitmail json YAML

add bit definitions for dither and alpha blending registers

(macallan)

2016-12-15 22:01:57 UTC MAIN commitmail json YAML

In the n == VAUDIOCHANS case we need to call mutex_exit() before
returning.

Perhaps this will address PR kern/51721

(pgoyette)

2016-12-15 20:04:36 UTC MAIN commitmail json YAML

Simplify #ifdefs so this compiles on architectures that do not support
watchpoints.

(martin)

2016-12-15 17:21:21 UTC MAIN commitmail json YAML

allow suspend with uftdi(4). it works fine.

(maya)

2016-12-15 15:03:17 UTC MAIN commitmail json YAML

ptrace(2): Document PT_GETVECREGS and PT_SETVECREGS (ppc ports specific)

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-15 14:49:46 UTC MAIN commitmail json YAML

ptrace(2): Document PT_GETXMMREGS and PT_SETXMMREGS (i386 port specific)

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-15 13:06:08 UTC MAIN commitmail json YAML

ptrace(2): Remove dead text, some of it commented in this file for years

For example PT_READ_U/PT_WRITE_U has been removed by <mycroft> in 19950126.

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-15 12:56:52 UTC MAIN commitmail json YAML

2016-12-15 12:51:02 UTC MAIN commitmail json YAML

ptrace(2): Add hardware assisted breakpoint/watchpoint API:
          PT_READ_WATCHPOINT, PT_WRITE_WATCHPOINT and PT_COUNT_WATCHPOINTS

(kamil)

2016-12-15 12:42:38 UTC MAIN commitmail json YAML

Update TODO.ptrace with recent changes

Hardware assisted breakpoint/watchpoint API has been merged with current.

Add note about pthread_dbg(3) API needed to be refactored and limited to
querying POSIX thread private data fields.

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-15 12:20:39 UTC MAIN commitmail json YAML

Welcome to NetBSD 7.99.50!

New ptrace(2) calls for hardware assisted watchpoints/breakpoints:
- PT_COUNT_WATCHPOINTS,
- PT_READ_WATCHPOINT,
- PT_WRITE_WATCHPOINT.

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-15 12:15:20 UTC MAIN commitmail json YAML

Add ATF tests for hardware assisted watchpoints on amd64

Addedd tests:
- watchpoint_count
- watchpoint_read
- watchpoint_write_unmodified
- watchpoint_trap_code[0123]
- watchpoint_trap_data_write[0123]
- watchpoint_trap_data_rw[0123]

These code will be reused later for i386 and moved to a common place like
tests/kernel/arch/x86.

These tests are x86 specific only. The same API but different private
ptrace_watchpoint MD part has to be used on other ports.

All tests pass on amd64.

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-15 12:10:02 UTC MAIN commitmail json YAML

2016-12-15 12:04:18 UTC MAIN commitmail json YAML

Add support for hardware assisted watchpoints/breakpoints API in ptrace(2)

Add new ptrace(2) calls:
- PT_COUNT_WATCHPOINTS - count the number of available hardware watchpoints
- PT_READ_WATCHPOINT  - read struct ptrace_watchpoint from the kernel state
- PT_WRITE_WATCHPOINT  - write new struct ptrace_watchpoint state, this
                          includes enabling and disabling watchpoints

The ptrace_watchpoint structure contains MI and MD parts:

typedef struct ptrace_watchpoint {
int pw_index; /* HW Watchpoint ID (count from 0) */
lwpid_t pw_lwpid; /* LWP described */
struct mdpw pw_md; /* MD fields */
} ptrace_watchpoint_t;

For example amd64 defines MD as follows:
struct mdpw {
void *md_address;
int md_condition;
int md_length;
};

These calls are protected with the __HAVE_PTRACE_WATCHPOINTS guard.

Tested on amd64, initial support added for i386 and XEN.

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-15 11:32:03 UTC MAIN commitmail json YAML

Fix build without DDB.

(rin)

2016-12-15 10:01:16 UTC MAIN commitmail json YAML

Skip the initial GP load in function prologue when inserting a breakpoint.

GNU ld for alpha is so clever that the redundant GP load in function
entrypoint is skipped. we must therefore skip initial GP loads; otherwise
breakpoints in function entrypoints can also be skipped.

Reported to upstream (Bug 20969):
  https://sourceware.org/bugzilla/show_bug.cgi?id=20969

ok martin

(rin)

2016-12-15 09:39:24 UTC MAIN commitmail json YAML

Bump for move of bpf_mtap and if_ipackets++

Welcome to 7.99.49

(ozaki-r)

2016-12-15 09:35:25 UTC MAIN commitmail json YAML

Annotate bpf_mtap still running in Rx hardware interrupt with "XXX not in softint"

(ozaki-r)

2016-12-15 09:33:25 UTC MAIN commitmail json YAML

Move bpf_mtap in Tx hardware intrrupt to if_start

The intention of the change is to prevent bpf_mtap from running in
hardware interrupt context. if_start is a usual place to do bpf_mtap
on Tx.

Proposed on tech-kern and tech-net

(ozaki-r)

2016-12-15 09:28:07 UTC MAIN commitmail json YAML

Move bpf_mtap and if_ipackets++ on Rx of each driver to percpuq if_input

The benefits of the change are:
- We can reduce codes
- We can provide the same behavior between drivers
  - Where/When if_ipackets is counted up
  - Note that some drivers still update packet statistics in their own
    way (periodical update)
- Moved bpf_mtap run in softint
  - This makes it easy to MP-ify bpf

Proposed on tech-kern and tech-net

(ozaki-r)

2016-12-15 09:17:26 UTC MAIN commitmail json YAML

2016-12-15 08:57:24 UTC MAIN commitmail json YAML

Prepare t_ptrace_wait.h for hardware watchpoints API

Add new symbol ATF_TP_ADD_TC_HAVE_PTRACE_WATCHPOINTS() to be protected with
the __HAVE_PTRACE_WATCHPOINTS guard.

XXX:
    Mark check_happy() with __attribute__((optimize("O0"))).
    Disabled optimization is required to make tests for hardware assisted
    traps in .text functional.

    Tested with GCC 5.4 on NetBSD 7.99.47 amd64

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-15 07:47:08 UTC MAIN commitmail json YAML

Add new entries to TODO.ptrace

- add support for detecting equivalent events to PTRACE_O_TRACEEXEC,
  PTRACE_O_TRACECLONE, PTRACE_O_TRACEEXIT from Linux
- exect(3) rething or remove -- maybe PT_TRACE_ME + PTRACE_O_TRACEEXEC?

Sponsored by <The NetBSD Foundation>

(kamil)

2016-12-15 07:08:27 UTC MAIN commitmail json YAML

Restore the obsolete entries for spkr_synth, and mark the new spkr
module as not-obsolete.

(pgoyette)

2016-12-15 06:55:55 UTC MAIN commitmail json YAML

Add the module glue to the common spkr code.

(pgoyette)

2016-12-15 06:50:37 UTC MAIN commitmail json YAML

Update for the new "universal" spkr module.

Note that entries in the md.i386 and md.amd64 lists are actually deleted
(rather than being marked "obsolete" as directed in the comments).  This
is OK, since there is now a new module in the mi list to replace them.

(pgoyette)

2016-12-15 06:48:14 UTC MAIN commitmail json YAML

Create a single combined module for spkr_pcppi and spkr_audio, and
build it for all architectures.

By doing this, we can handle pcppi, audio, or both attachments with
non-built-in modules.

XXX Still to do: the module currently cannot be unloaded, and the
XXX spkr device(s) currently cannot be detached.  (Really, two
XXX sides of the same problem.)

(pgoyette)

2016-12-15 04:49:15 UTC MAIN commitmail json YAML

handle proxy authentication correctly.

(nonaka)

2016-12-15 04:38:04 UTC MAIN commitmail json YAML

2016-12-15 04:37:01 UTC MAIN commitmail json YAML

2016-12-15 04:36:07 UTC MAIN commitmail json YAML

name attachment after parent per existing convention.

(christos)

2016-12-15 04:01:09 UTC MAIN commitmail json YAML

Add SCTP to ALL configs to keep it buildable anyway

(ozaki-r)