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 (29m)  netbsd-8 (5d)  netbsd-10 (5d)  netbsd-9 (11d)  thorpej-ifq (175d)  thorpej-altq-separation (178d) 

2024-05-10 08:50:08 UTC Now

2016-11-14 00:18:33 UTC MAIN commitmail json YAML

Enhance pipe(2)-based IPC barrier in attach5 of t_ptrace_wait

The write(2) call does not block and there is need to perform handshake, in
order to wait on the read(2) call.

The pipe(2) interface for IPC purposes is quite difficult to design and get
right. It might be refactored and with added new helper functions, although
it would be better to switch to some other mechanism rather. But as it
works now quite well in the current set of tests, do not touch it.

Sponsored by <The NetBSD Foundation>.

(kamil)

2016-11-13 22:59:31 UTC MAIN commitmail json YAML

Add attach_pid1_securelevel in t_ptrace

Assert that a debugger cannot attach to PID 1 with securelevel >= 1 (as root).

Test requested by <mrg>

Sponsored by <The NetBSD Foundation>

(kamil)

2016-11-13 22:38:22 UTC MAIN commitmail json YAML

no need for config.h; it should be auto-gened.

(christos)

2016-11-13 22:37:39 UTC MAIN commitmail json YAML

2016-11-13 22:14:44 UTC MAIN commitmail json YAML

Give the ramdisk a bit more space, evbppc64 for clang is running out.

(joerg)

2016-11-13 22:13:55 UTC MAIN commitmail json YAML

Define the MKPICLIB default for aarch64 and powerpc64 only for native
builds, not inside src/compat.

(joerg)

2016-11-13 15:25:01 UTC MAIN commitmail json YAML

Make p_ppid contain the original parent's pid even for traced processes.
Only change it when we are being permanently reparented to init. Since
p_ppid is only used as a cached value to retrieve the parent's process id
from userland, this change makes it correct at all times. Idea from kre@
Revert specialized logic from getpid/getppid now that it is not needed.

(christos)

2016-11-13 14:47:46 UTC MAIN commitmail json YAML

With driver modulization of if_loop.c through introduction of
sys/net/if_module.h, build.sh rumptest of -lrumpnet_virtif now also
requires -lrumpdev -lrumpvfs for if_loop.c:config_cfdriver_attach()
and kern_pmf.c:do_sys_sync().

(ast)

2016-11-13 13:59:45 UTC MAIN commitmail json YAML

correct wrong casting. some are considered harmless, but
- tv_sec in netbsd32_timeval is netbsd32_time_t (aka netbsd32_int64_t)
  rather than time_t (int64_t)
- tv_sec in netbsd32_timespec is netbsd32_time_t rather than
  netbsd32_long (y2038 problem)
approved by martin

(rin)

2016-11-13 13:52:41 UTC MAIN commitmail json YAML

tv_usec in netbsd32_timeval is suseconds_t (aka int32_t) rather than
netbsd32_long (considered harmless)

approved by martin

(rin)

2016-11-13 12:58:40 UTC MAIN commitmail json YAML

Explain why this is the right value, otherwise someone (like me) could be
tempted to increase it. The invlpg part is from rmind, the statistical from
me.

(maxv)

2016-11-13 12:38:14 UTC MAIN commitmail json YAML

The reason we are not using INTRENTRY here is because this interrupt goes
through a task gate that points to a TSS entry in the GDT, and therefore
the GPRs are saved in the TSS by the hardware itself. Explain it, otherwise
it easily looks buggy.

(maxv)

2016-11-13 07:29:32 UTC netbsd-7 commitmail json YAML

2016-11-13 07:27:22 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1270):
sys/conf/files: revision 1.1165
Update dependencies for COMPAT_LINUX32 to include COMPAT_NETBSD32
Without this, an attempt to build a kernel with COMPAT_LINUX32 but without
COMPAT_NETBSD32 will fail during the execution of genassym, and the error
messages are not very helpful.
With this change, config(1) will automatically (and silently) select/add
COMPAT_NETBSD32 to the configuration.  It might be better if config(1)
were to issue an appropriate diagnostic, but that is a change for some
future day.

(snj)

2016-11-13 07:12:40 UTC netbsd-7-0 commitmail json YAML

2016-11-13 07:10:10 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by joerg in ticket #1247):
lib/libc/gen/glob.c: revision 1.36
Bump the glob limits to 512KB for total string size and 64K path
entries. The old limits were too small for some important FTP use cases
like a pkgsrc repository.

(snj)

2016-11-13 06:50:10 UTC netbsd-6 commitmail json YAML

2016-11-13 06:49:49 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1417):
external/gpl3/gcc/dist/gcc/cp/cfns.gper: patch
external/gpl3/gcc/dist/gcc/cp/cfns.h: patch
Fix build with gcc5.

(snj)

2016-11-13 06:45:09 UTC netbsd-6-1 commitmail json YAML

2016-11-13 06:44:44 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1417):
external/gpl3/gcc/dist/gcc/cp/cfns.gper: patch
external/gpl3/gcc/dist/gcc/cp/cfns.h: patch
Fix build with gcc5.

(snj)

2016-11-13 06:42:49 UTC netbsd-6-0 commitmail json YAML

2016-11-13 06:42:07 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by pgoyette in ticket #1417):
external/gpl3/gcc/dist/gcc/cp/cfns.gper: patch
external/gpl3/gcc/dist/gcc/cp/cfns.h: patch
Fix build with gcc5.

(snj)

2016-11-12 22:38:55 UTC MAIN commitmail json YAML

2016-11-12 20:56:49 UTC MAIN commitmail json YAML

add on more synchronization point

(christos)

2016-11-12 20:03:53 UTC MAIN commitmail json YAML

back to expecting SIGSTOP after ptrace

(christos)

2016-11-12 20:03:17 UTC MAIN commitmail json YAML

back to using SIGSTOP..

(christos)

2016-11-12 19:44:59 UTC MAIN commitmail json YAML

add an assert that prints the values, and remove expected failure.

(christos)

2016-11-12 19:42:47 UTC MAIN commitmail json YAML

PR/51624: Return the original parent for a traced process.

(christos)

2016-11-12 16:33:48 UTC MAIN commitmail json YAML

Expect SIGSTOP in attach3 in t_ptrace_wait{,3,4,6,id,pid}

Set SIGSTOP as expected signal in attach3, is it is preferred in general.
Not just because FreeBSD and Linux work this way, but to make it consistent
and regardless of relation between tracee and tracer always get the same
signal.

attach3 tests parent attaching with PT_ATTACH to its child

Sponsored by <The NetBSD Foundation>

(kamil)

2016-11-12 16:23:43 UTC MAIN commitmail json YAML

- Unbuffer stdout and stderr, because the tracee ends up with with the tracers
  unflushed buffers, and that confuses things.

(christos)

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

- Add a 3 way handshake between the tracer and the tracee to make sure the
  tracer got a chance to run before we trace it.
- Unbuffer stdout and stderr, because the tracee ends up with with the tracers
  unflushed buffers, and that confuses things.

(christos)

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

Fix netbsd32 emulation for clockctl_ntp_adjtime.

The ioctl args reference a timex structure that needs to be
transformed to 64bit layout and back.

The 32bit ioctl definition was wrong for mips, as register_t is 64bit
for N32 abi.

(mlelstv)

2016-11-12 15:12:59 UTC MAIN commitmail json YAML

Delete inappropriate \n from atd_tc_expect_fail() message

(kre)

2016-11-12 14:48:55 UTC MAIN commitmail json YAML

Add new test attach5 in t_ptrace_wait{4,6,id,pid}

Assert that tracer sees its parent when attached to tracer.

This test is designed only for wait(2) members with ability to specify the
PID value. This propery excludes wait(2) and wait3(2).

Add new helper macro ATF_TP_ADD_TC_HAVE_PID() enabing tests when
TWAIT_HAVE_PID is defined.

This test fails and is linked with the following issue: PR kern/51624.

Sponsored by <The NetBSD Foundation>.

(kamil)

2016-11-12 12:54:32 UTC MAIN commitmail json YAML

Add new test attach4 in t_ptrace_wait{,3,4,6,id,pid}

Assert that tracer child can PT_ATTACH to its parent.

Sponsored by <The NetBSD Foundation>.

(kamil)

2016-11-11 22:59:26 UTC MAIN commitmail json YAML

fix !WAPBL variant of UFS_WAPBL_REGISTER_DEALLOCATION()

(jdolecek)

2016-11-11 21:11:32 UTC MAIN commitmail json YAML

src/sys/external/bsd/acpica/conf/files.acpica@1.15 / diff / nxr@1.15
src/sys/external/bsd/acpica/dist/common/dmtbdump.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/acpica/dist/common/dmtbinfo.c@1.11 / diff / nxr@1.11
src/sys/external/bsd/acpica/dist/compiler/aslcompiler.h@1.6 / diff / nxr@1.6
src/sys/external/bsd/acpica/dist/compiler/aslutils.c@1.15 / diff / nxr@1.15
src/sys/external/bsd/acpica/dist/compiler/aslxref.c@1.8 / diff / nxr@1.8
src/sys/external/bsd/acpica/dist/compiler/dtfield.c@1.7 / diff / nxr@1.7
src/sys/external/bsd/acpica/dist/compiler/dtparser.y@1.8 / diff / nxr@1.8
src/sys/external/bsd/acpica/dist/compiler/dttable.c@1.8 / diff / nxr@1.8
src/sys/external/bsd/acpica/dist/compiler/dtutils.c@1.7 / diff / nxr@1.7
src/sys/external/bsd/acpica/dist/compiler/prparser.y@1.8 / diff / nxr@1.8
src/sys/external/bsd/acpica/dist/debugger/dbexec.c@1.11 / diff / nxr@1.11
src/sys/external/bsd/acpica/dist/debugger/dbinput.c@1.12 / diff / nxr@1.12
src/sys/external/bsd/acpica/dist/debugger/dbmethod.c@1.7 / diff / nxr@1.7
src/sys/external/bsd/acpica/dist/disassembler/dmbuffer.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/acpica/dist/disassembler/dmcstyle.c@1.6 / diff / nxr@1.6
src/sys/external/bsd/acpica/dist/disassembler/dmresrcl.c@1.8 / diff / nxr@1.8
src/sys/external/bsd/acpica/dist/events/evrgnini.c@1.10 / diff / nxr@1.10
src/sys/external/bsd/acpica/dist/executer/exconfig.c@1.10 / diff / nxr@1.10
src/sys/external/bsd/acpica/dist/include/acapps.h@1.9 / diff / nxr@1.9
      :
(more 28 files)
Adjust to new acpica

(christos)

2016-11-11 21:11:03 UTC MAIN commitmail json YAML

2016-11-11 21:09:22 UTC MAIN commitmail json YAML

2016-11-11 17:10:04 UTC MAIN commitmail json YAML

kern/51621: When attaching to a child send it a SIGTRAP not a SIGSTOP like
Linux and FreeBSD do.

(christos)

2016-11-11 17:08:54 UTC MAIN commitmail json YAML

clear failure, print signals symbolically.

(christos)

2016-11-11 16:49:30 UTC MAIN commitmail json YAML

switch post-mfc0 call "hazard barrier" from NOP_L to MFC0_HAZARD.

this means it will be applied if MIPS3 too, and now with the prior
commit, it will be a superscalar nop, not just a plain nop.

(maya)

2016-11-11 16:45:14 UTC MAIN commitmail json YAML

remove redundant NOP_L. we do not use the register immediately after
load, so it's not needed.

(maya)

2016-11-11 16:41:32 UTC MAIN commitmail json YAML

switch mfc0_hazard to be superscalar nop, some mips3 are superscalar
and need this to do the right thing

(maya)

2016-11-11 16:07:05 UTC MAIN commitmail json YAML

Explain rmtp setting.

(christos)

2016-11-11 15:30:44 UTC MAIN commitmail json YAML

2016-11-11 15:29:37 UTC MAIN commitmail json YAML

Adjust clock_nanosleep(2) to not copyout remaining time struct if
TIMER_ABSTIME flag is set.

Ok Christos.

(njoly)

2016-11-11 12:06:31 UTC MAIN commitmail json YAML

Remove useless values, and explain where some others come from

(maxv)

2016-11-11 12:01:14 UTC MAIN commitmail json YAML

Add new test t_ptrace_attach3 in t_ptrace

Assert that tracer parent can PT_ATTACH to its child.
This test is for all members of the wait(2) family.

Currently it is marked as an explicit failure PR kern/51621.

I faced the following issues (noted and discussed in the bug report):

- PT_ATTACH seems to work, but waiting for stopped status and signal from the
  child results in getting SIGTRAP, not SIGSTOP like in Linux and FreeBSD. This
  might be by design, I'm unsure. However, so far I was getting SIGSTOP from a
  tracer process that was not the parent. SIGSTOP vs SIGTRAP logic also
  complicates the things up as tracer must check whether is a parent for tracee
  or not - this shouldn't be needed.

- PT_CONTINUE seems to have no effect at all, the child hangs. This operation
  works on Linux and FreeBSD and in the end, test passes correctly.

- Debugging this with gdb(1) results in receiving SIGABRT from the GNU
  debugger (in the moment of raising/receiving SIGTRAP). This is making the
  things harder in general.

Sponsored by <The NetBSD Foundation>.

(kamil)

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

Rename xen_pmap_bootstrap to xen_locore, it really has nothing to do with
pmap and is just a C version of what amd64 and i386 do in asm.

(maxv)

2016-11-11 11:31:26 UTC MAIN commitmail json YAML

Mmh, I mistakenly removed the lapic page (which is part of another diff),
put it back in.

(maxv)

2016-11-11 11:12:42 UTC MAIN commitmail json YAML

Start simplifying the Xen locore: rename and reorder several things, remove
awful debug messages, use unsigned counters, fix typos and KNF.

(maxv)

2016-11-11 11:00:38 UTC MAIN commitmail json YAML

KNF and simplify Xen, and reduce the diff with amd64 a little

(maxv)

2016-11-11 10:50:16 UTC MAIN commitmail json YAML

Fix a "slight tweak" from Rev. 1.121:  bap1/bap2 must be valid
before using BAP_ASSIGN().

Prevents NULL pointer dereference when "lastbn >= 0".

(hannken)

2016-11-11 10:40:00 UTC MAIN commitmail json YAML

2016-11-11 09:47:18 UTC MAIN commitmail json YAML

Update the pmap only once

(maxv)

2016-11-11 07:39:58 UTC MAIN commitmail json YAML

2016-11-11 07:31:03 UTC MAIN commitmail json YAML

The MEHE bit in the CTRL register is not bit 17 but 19.

(msaitoh)

2016-11-11 07:08:37 UTC netbsd-6 commitmail json YAML

2016-11-11 07:08:05 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1415):
sys/kern/uipc_usrreq.c: revision 1.181
Memory leak, found by Mootja. It is easily triggerable from userland.

(snj)

2016-11-11 07:07:34 UTC netbsd-6-1 commitmail json YAML

2016-11-11 07:07:08 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1415):
sys/kern/uipc_usrreq.c: revision 1.181
Memory leak, found by Mootja. It is easily triggerable from userland.

(snj)

2016-11-11 07:06:39 UTC netbsd-6-0 commitmail json YAML

2016-11-11 07:05:47 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1415):
sys/kern/uipc_usrreq.c: revision 1.181
Memory leak, found by Mootja. It is easily triggerable from userland.

(snj)

2016-11-11 06:59:50 UTC netbsd-6 commitmail json YAML

Pull up following revision(s) (requested by taca in ticket #1413):
etc/namedb/root.cache: revision 1.21, 1.22
Update root.cache to 2016/3/23 version, l.root-servers.net's AAAA record
has changed.
--
Update root.cache to 2016102001 (October 20, 2016).

(snj)

2016-11-11 06:59:20 UTC netbsd-6-1 commitmail json YAML

Pull up following revision(s) (requested by taca in ticket #1413):
etc/namedb/root.cache: revision 1.21, 1.22
Update root.cache to 2016/3/23 version, l.root-servers.net's AAAA record
has changed.
--
Update root.cache to 2016102001 (October 20, 2016).

(snj)

2016-11-11 06:58:42 UTC netbsd-6-0 commitmail json YAML

Pull up following revision(s) (requested by taca in ticket #1413):
etc/namedb/root.cache: revision 1.21, 1.22
Update root.cache to 2016/3/23 version, l.root-servers.net's AAAA record
has changed.
--
Update root.cache to 2016102001 (October 20, 2016).

(snj)

2016-11-10 23:47:24 UTC MAIN commitmail json YAML

2016-11-10 23:44:36 UTC MAIN commitmail json YAML

2016-11-10 23:41:58 UTC MAIN commitmail json YAML

Report node name rather than (null) when modified before src

(sjg)

2016-11-10 22:28:00 UTC MAIN commitmail json YAML

stress more that discard is experimental, and explain why; also note that
it's not compatible with log

(jdolecek)

2016-11-10 22:19:23 UTC MAIN commitmail json YAML

disable discard when log is enabled to preserve log consistency promise

PR kern/50725

(jdolecek)

2016-11-10 21:28:15 UTC MAIN commitmail json YAML

update the wapbl entry - kern/47146 and kern/49175 are fixed

(jdolecek)

2016-11-10 20:56:32 UTC MAIN commitmail json YAML

during truncate with wapbl, register deallocation for upper indirect block
before recursing into lower blocks, to make sure that it will be removed after
all its referenced blocks are removed

fixes 'ffs_blkfree_common: freeing free block' panic triggered by
ufs_truncate_retry() when just the upper indirect block registration failed,
code tried to free the lower blocks again after wapbl flush

problem found by hannken@, thank you

(jdolecek)

2016-11-10 19:10:05 UTC MAIN commitmail json YAML

ffs_indirtrunc(): for !wapbl, restore rev 1.117 behavior of writing the zeroed
(indirect) block before freeing the referenced blocks; it's necessary for
fsck to recover the filesystem, if system goes down during truncate

patch courtesy of hannken@ with only sligh tweaks

(jdolecek)

2016-11-10 18:35:17 UTC MAIN commitmail json YAML

- Move WUNTRACED outside the _NETBSD_SOURCE ifdef because waitpid()
  needs it (kre)
- Reformat the comments

(christos)

2016-11-10 18:33:52 UTC MAIN commitmail json YAML

Add new test attach2 in t_ptrace_wait{4,6,id,pid}

This test asserts that any tracer sees process termination before its
parent.

This test is not applicable for wait(2) and wait(3) as these interfaces
cannot get specified process id argument (PID).

Sponsored by <The NetBSD Foundation>.

(kamil)

2016-11-10 17:32:50 UTC MAIN commitmail json YAML

Reflect current reality about the wait options and standards.

(christos)

2016-11-10 17:08:31 UTC MAIN commitmail json YAML

Document WNOZOMBIE

(christos)

2016-11-10 17:07:14 UTC MAIN commitmail json YAML

GC WOPTSCHECKED, define macros for the select opts and all the valid opts.
The linux compat flags are not part of X/Open.

(christos)

2016-11-10 17:00:51 UTC MAIN commitmail json YAML

2016-11-10 15:42:13 UTC MAIN commitmail json YAML

Add entry for Intel Centrino Advanced-N 6235 bluetooth piggy-back
Add entry for Validity Sensors, Inc. VFS491

(hauke)

2016-11-10 15:38:51 UTC MAIN commitmail json YAML

Add entry for Intel Centrino Advanced-N 6235 bluetooth piggy-back
Add entry for Validity Sensors, Inc. VFS491

(hauke)

2016-11-10 10:32:59 UTC MAIN commitmail json YAML

fix: extend waittime to avoid unintended fail at high cpu load.

(knakahara)

2016-11-10 08:35:24 UTC MAIN commitmail json YAML

- Move I219 DMA workaround into wm_flush_desc_rings() and call it before
  wm_reset().
- Rewite I219 TX DMA workaround based on OpenBSD's one.
- Add I219 RX DMA workaroud from OpenBSD.

(msaitoh)

2016-11-10 06:57:15 UTC MAIN commitmail json YAML

Call wm_enable_phy_wakeup() on PCH2 and newer, too. Now these devices
can do WOL. Tested with Thinkpad X220(PCH2).

(msaitoh)

2016-11-10 06:44:35 UTC MAIN commitmail json YAML

weed out BUS_SPACE_MAP_PREFETCHABLE in resp. _map() and _mmap() methods
it works with UPA graphics cards and at least some psycho but causes problems
on these

(macallan)

2016-11-10 04:13:53 UTC MAIN commitmail json YAML

Tidy up in6_select*

This change tidies up in6_select* functions, especially
selectroute.

selectroute is annoying because:
- It returns both/either of a rtentry and/or an ifp
  - Yes, it may return only an ifp!
    - It is valid but selectroute shouldn't handle the case
  - Such conditional behavior makes it difficult
    to apply locking/psref thingy
- It may return a rtentry even if error
- It may use opt->ip6po_nextroute rtcache implicitly
  - The caller can know if it is used
    by rtcache_validate(&opt->ip6po_nextroute)
    but it's racy in MP-safe world
  - Even if it uses opt->ip6po_nextroute, it may
    return a rtentry that isn't derived from the rtcache

The change includes:
- Rename selectroute to in6_selectroute
  - Let a remaining caller of selectroute, in6_selectif,
    use in6_selectroute instead
- Let in6_selectroute return only an rtentry
  - If error, it doesn't return an rtentry
  - A caller gets an ifp from a returned rtentry
- Allow in6_selectroute to modify a passed rtcache
  and a caller can know if opt->ip6po_nextroute is
  used via the rtcache
- Let callers (ip6_output and in6_selectif) handle
  the case that only an ifp is required

Inspired by OpenBSD
Proposed on tech-kern and tech-net
LGTM by roy@

(ozaki-r)

2016-11-10 03:32:04 UTC MAIN commitmail json YAML

Fix a breakout of loops

As the comment "find first available ipv4 address" indicates,
if an IP address is found, we need to leave the two nested loops,
a loop for an interface list and a loop for IP addresses of
an interface. However, the original code broke away only from
the inner loop.

The original (wrong) behavior was non-critical, which just
returned a non-first IP address. Unfortunately, after applying
psref, the behavior may call psref_acquire twice to a target
with the same psref object, resulting in a kernel panic eventually.

(ozaki-r)

2016-11-09 22:01:15 UTC MAIN commitmail json YAML

Add aes-cbc tests.

(alnsn)

2016-11-09 19:54:25 UTC MAIN commitmail json YAML

- use bus_space_mmap()
- pass the right colour depth in ioctl()
should fix PR49639

(macallan)

2016-11-09 17:50:19 UTC MAIN commitmail json YAML

Add new tests in t_wait_noproc and t_wait_noproc to test more options types

Add new tests:
- waitpid_options
- waitid_options
- wait3_options
- wait4_options
- wait6_options

These tests are included in t_wait_noproc and t_wait_noproc_wnohang.

waitpid_options, wait3_options, wait4_options test combinations of options
of: bit for WALLSIG, WALTSIG, __WALL, __WCLONE and later a full combination
mask of WNOWAIT, WEXITED, WUNTRACED, WSTOPPED, WTRAPPED and WCONTINUED.

waitid and wait6 test full combination mask of WNOWAIT, WEXITED, WUNTRACED,
WSTOPPED, WTRAPPED and WCONTINUED -- excluded empty value and singular
WNOWAIT.

For compatibility reasons alter waitid and wait6 to test against options
WEXITED | WTRAPPED, as it's equivalent to waitpid, wait3, wait4.

The intention for these tests it to catch any possible issues with slighty
changed behavior of wait(2)-like functions in terms of valid options
values.

All tests pass successfully.

Sponsored by <The NetBSD Foundation>

(kamil)

2016-11-09 12:44:29 UTC MAIN commitmail json YAML

PR standards/51600

These tests are no longer expected to fail when called with WNOHANG
(which is actually the t_wait_noproc_wnohang test but the sources are here.)

(kre)

2016-11-09 11:50:09 UTC MAIN commitmail json YAML

2016-11-09 09:00:46 UTC MAIN commitmail json YAML

Add a new sanity check to psref

It checks if a target being acquired is already acquired with
the same psref. It is usable but not lightweight, so enabled
only if DEBUG.

(ozaki-r)

2016-11-09 08:18:56 UTC MAIN commitmail json YAML

2016-11-09 05:44:42 UTC MAIN commitmail json YAML

Apply ufs_extattr.c 1.48:
Explain why the lock in here needs to be recursive. Related to PR 46997.

ufs_extattr 1.47 was also committed directly here, so this file is still
fully synced with it.

(dholland)

2016-11-09 05:08:35 UTC MAIN commitmail json YAML

Explain why the lock in here needs to be recursive. Related to PR 46997.

(dholland)

2016-11-09 04:12:55 UTC MAIN commitmail json YAML

ufs_makeinode is declared file-static at the top of the file; mark it
at its definition too, for consistency and to avoid misleading casual
passersby.

(dholland)

2016-11-09 03:49:38 UTC MAIN commitmail json YAML

Reduce the number of return points of frag6_input

No functional change.

(ozaki-r)

2016-11-09 03:33:30 UTC MAIN commitmail json YAML

Cleanup/KNF tcp6_mtudisc

No functional change.

(ozaki-r)

2016-11-09 00:30:17 UTC MAIN commitmail json YAML

PR kern/51600 ; PR standards/51606

Revert 1.264 - that was intended to fix 51600, but didn't, it just
hid the problem, and caused 51606.  This fixes 51606.

Handle waiting on a process that has been detatched from its parent
because of being ptrace'd by some other process.  This fixes 51600.
("handle" here means that the wait() hangs, or with WNOHANG, returns 0,
we cannot actually wait on a process that is not currently an attached
child.)

Note: the detatched process waiting is not yet perfect (it fails to
take account of options like WALLSIG and WALTSIG) - suport for those
(that is, ignoring a detatched child that one of those options will
later cause to be ignored when the process is re-attached.)

For now, for ither than when waiting for a specific process ID, when
a process does a wait() sys call (any of them), has no applicable
children attached that can be returned, and has at least one detatched
child, then we do a linear search of all processes to look for a
suitable detatched child.  This is likely to be slow - but very rare.
Eventually it might be better to keep a list of detatched children
per process.

(kre)

2016-11-08 15:21:34 UTC MAIN commitmail json YAML

Switch ATF_REQUIRE() to more appropriate ATF_REQUIRE_ERRNO()

Simplify the code of t_wait_noproc

Sponsored by <The NetBSD Foundation>

(kamil)

2016-11-08 14:49:04 UTC MAIN commitmail json YAML

Add new test attach_chroot in t_ptrace

Assert that a debugger cannot trace another process unless the process's
root directory is at or below the tracing process's root.

Sponsored by <The NetBSD Foundation>.

(kamil)

2016-11-08 11:21:41 UTC MAIN commitmail json YAML

Add new test attach_self in t_ptrace

Assert that a debugger cannot attach to self (as it's nonsense).
NetBSD returs here EINVAL.

Clean up unused header includes.

Sponsored by <The NetBSD Foundation>.

(kamil)

2016-11-08 10:37:40 UTC MAIN commitmail json YAML

Fix wm_access_phy_wakeup_reg_bm(). This change has no effect because this
function is used for WUC register and our driver currenlty doesn't access
to it.

(msaitoh)

2016-11-08 09:38:36 UTC MAIN commitmail json YAML

Remove debug printf which was added in rev. 1.437.

(msaitoh)

2016-11-08 08:54:30 UTC MAIN commitmail json YAML

Call wm_enable_wakeup() in wm_detach() and wm_suspend(). Now wake on lan
works on Thinkpad X61(ICH8). Some workarounds will be required on PCH*.

(msaitoh)

2016-11-08 08:48:35 UTC MAIN commitmail json YAML

Set mii_mpd_{oui,rev}.

(msaitoh)

2016-11-08 08:21:52 UTC MAIN commitmail json YAML

New sentence, new line.

(wiz)

2016-11-08 07:22:26 UTC MAIN commitmail json YAML

Set mii_mpd_{oui,model,rev}.

(msaitoh)

2016-11-08 03:20:07 UTC MAIN commitmail json YAML

Merge changes from David H. Gutteridge in PR misc/51612

Thanks!

(pgoyette)

2016-11-08 03:05:36 UTC MAIN commitmail json YAML

2016-11-08 02:43:29 UTC MAIN commitmail json YAML

Merge changes from David H. Gutteridge in PR misc/51611

Thanks!

(pgoyette)

2016-11-07 21:52:36 UTC MAIN commitmail json YAML

Use the keywords `underflow' and `overflow' in ERANGE summary.

(riastradh)

2016-11-07 21:51:42 UTC MAIN commitmail json YAML

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@.

(riastradh)

2016-11-07 21:46:21 UTC MAIN commitmail json YAML

Add PR number to the expected-fail message

(pgoyette)

2016-11-07 21:14:23 UTC MAIN commitmail json YAML

fix broken test for partial truncate, introduced in rev 1.118

PR kern/51601 kern/51602

(jdolecek)

2016-11-07 21:09:03 UTC MAIN commitmail json YAML

Add new tests for combination of wait(2) interfaces with ptrace(2)

Move out wait(2) specific tests from t_ptrace and put them to t_ptrace_wait

Add generic code fragments to reuse the same source-code for every member
of the wait(2) family, namely:
- wait(2)
- waitpid(2)
- waitid(2)
- wait3(2)
- wait4(2)
- wait6(2)

Currently in the new test-suite there are the following tests:
- traceme1
- traceme2
- traceme3
- traceme4
- attach1

Not all tests are possible to be executed against every wait(2)-like
interface, therefore they will be disabled in such case. Currently this
limits attach1 to waitpid(2), waitid(2), wait4(2), wait6(2), while the
other tests (traceme 1-4) run with all of the interfaces.

The construct of this file is dedicated for addition of new tests in the
close future.

As of now all of the tests pass correctly.

Thanks for Robert Elz for suggestions on improving the code (earlier draft
of this new form).

Sponsored by <The NetBSD Foundation>.

(kamil)

2016-11-07 21:05:38 UTC MAIN commitmail json YAML

reduce diff vs 1.117, no functional change

(jdolecek)

2016-11-07 18:16:07 UTC MAIN commitmail json YAML

fixup misplaced #endif

(jnemeth)

2016-11-07 18:11:45 UTC MAIN commitmail json YAML

2016-11-07 16:33:37 UTC MAIN commitmail json YAML

Only build t_cgd_aes if MKCRYPTO==yes and MKRUMP==yes.

(scole)

2016-11-07 15:30:19 UTC MAIN commitmail json YAML

Change the way the built-in history works; some programs enter history
with the trailing newline, others don't so don't make any assumptions
about it when printing. Also print the correct event number (generated),
separate the event number from the event with a tab, and visually encode
the string (don't encode tabs and spaces though).

(christos)

2016-11-07 08:57:43 UTC MAIN commitmail json YAML

Fix previous (s/MII_MAXREGADDR/MII_ADDRMASK/).

(msaitoh)

2016-11-07 05:44:48 UTC MAIN commitmail json YAML

Add tests for combination use of -g option and hops optional argument

(ozaki-r)

2016-11-07 05:25:37 UTC MAIN commitmail json YAML

2016-11-07 04:43:14 UTC MAIN commitmail json YAML

Add tests of ping6 hops optional argument (Type 0 Routing Headers)

Note that ping6 with the argument can send packets with routing headers
but the kernel doesn't support receiving the packets so that ping6 fails.
Nevertheless, we can test whether sent packets are correct or not.

(ozaki-r)

2016-11-07 03:12:54 UTC MAIN commitmail json YAML

These have been able to handle uintmax-width masks since creation.

XXX pullup-6
XXX pullup-7

(riastradh)

2016-11-07 02:59:29 UTC MAIN commitmail json YAML

Mark this test as "expected failure" since rump doesn't include the
COMPAT_43 code.

(pgoyette)

2016-11-07 02:23:43 UTC MAIN commitmail json YAML

Enable the wait3 test in t_wait_noproc_wnohang (through t_wait_noproc)

This test has set expected failure like other functions in the wait(2)
family and is linked with PR standards/51606.

The PR is labeled as:
    wait4() (and friends) with WNOHANG and no children does not error

Originally, this test was accidently disabled in the WNOHANG checks. This
was noted by Robert Elz.

Sponsored by <The NetBSD Foundation>.

(kamil)

2016-11-07 01:55:17 UTC MAIN commitmail json YAML

Pull routing header handling out of ip6_output

No functional change.

(ozaki-r)

2016-11-07 01:05:39 UTC MAIN commitmail json YAML

Tidy up ip6_getpmtu

Pull rtcache thing out of ip6_getpmtu; that isn't an essential
of the function. Add comments inspired by FreeBSD.

No functional change.

(ozaki-r)

2016-11-07 00:54:48 UTC MAIN commitmail json YAML

2016-11-06 23:46:02 UTC MAIN commitmail json YAML

Merge r1.10 from the main in-tree binutils version:
More detailed error messages for text relocations on ppc code. Tested by
joerg@

(joerg)

2016-11-06 23:44:44 UTC MAIN commitmail json YAML

Merge r1.11 from the main in-tree binutils version:
Tail calls can use the PLT without a nop after the branch. Since the
callee won't return to the next instruction anyway, it wouldn't work
anyway.

(joerg)

2016-11-06 21:51:31 UTC MAIN commitmail json YAML

msk_init is too heavyweight and loses link. Provide a specialized way to
enter and exit promiscuous mode so that we don't lose seconds of traffic
each time we run tcpdump.

(christos)

2016-11-06 21:47:53 UTC MAIN commitmail json YAML

Run the attach_pid1 test (from t_ptrace) in unprivileged mode

Add in ATF_TC_HEAD() of attach_pid1 the following code to run it as
non-root: atf_tc_set_md_var(tc, "require.user", "unprivileged");

Solution pointed out by Nicolas Joly.

Sponsored by <The NetBSD Foundation>.

(kamil)

2016-11-06 21:29:54 UTC MAIN commitmail json YAML

Don't build t_cgd_aes if ${MKCRYPTO} == "no".

(alnsn)

2016-11-06 17:09:19 UTC MAIN commitmail json YAML

Add "crypto" category to t_cgd_aes.

(alnsn)

2016-11-06 17:07:50 UTC MAIN commitmail json YAML

Debug file for t_cgd_aes.

(alnsn)

2016-11-06 16:24:16 UTC MAIN commitmail json YAML

Add new tests attach_pid0 and attach_pid1 to t_ptrace

attach_pid0 asserts that it is not valid to attach PID 0 as it is a special
kernel process.

assert_pid1 asserts that non-root user cannot attach to PID 1 as it is the
/dev/init process. This tests is skipped if run as root.

Sponsored by <The NetBSD Foundation>.

(kamil)

2016-11-06 15:04:14 UTC MAIN commitmail json YAML

Add new tests: tests/lib/libc/sys/t_wait_noproc and t_wait_noproc_wnohang

The t_wait_noproc test checks whether wait(2)-family of functions return
error and set ECHILD for lack of childs.

The t_wait_noproc_wnohang adds to options (except wait(2), wait3(2)) new
parameter WNOHANG and verifies that error is still signaled and errno set
to ECHILD.

Currently t_wait_noproc_wnohang reports failures, these have been marked as
expected and referenced to PR standards/51606.

The problem report is authored by Robert Elz, and the initial regression
has been notified by Nicolas Joly.

Remove redundant test in tests/lib/libc/sys/t_wait for wait6(2) with no
WNOHANG specified.

Sponsored by <The NetBSD Foundation>.

(kamil)

2016-11-06 15:03:31 UTC MAIN commitmail json YAML

Add new tests: tests/lib/libc/sys/t_wait_noproc and t_wait_noproc_wnohang

The t_wait_noproc test checks whether wait(2)-family of functions return
error and set ECHILD for lack of childs.

The t_wait_noproc_wnohang adds to options (except wait(2), wait3(2)) new
parameter WNOHANG and verifies that error is still signaled and errno set
to ECHILD.

Currently t_wait_noproc_wnohang reports failures, these have been marked as
expected and referenced to PR standards/51606.

The problem report is authored by Robert Elz, and the initial regression
has been notified by Nicolas Joly.

Remove redundant test in tests/lib/libc/sys/t_wait for wait6(2) with no
WNOHANG specified.

Sponsored by <The NetBSD Foundation>.

(kamil)

2016-11-06 11:50:54 UTC nick-nhusb commitmail json YAML

Reduce the scope of the softc lock further and track device state via
sc_state.

All ucom methods apart from ucom_{read,write} are called without the
softc lock held.

ucom_close is called on last close only to match ucom_open being called
on first open only.

Fix ucom_detach where refcnt wasn't being decremented.

More DEBUG.

XXX still not sure where tty_lock needs to be held.

(skrll)

2016-11-06 10:54:42 UTC MAIN commitmail json YAML

Add tests for not-yet-committed cgd algorithm AES-XTS.

The tests are marked as expected failures.

(alnsn)

2016-11-06 09:36:53 UTC nick-nhusb commitmail json YAML

Add #include "opt_usb.h"

(skrll)

2016-11-06 09:16:39 UTC MAIN commitmail json YAML

2016-11-06 02:38:25 UTC MAIN commitmail json YAML

Add "10/100" into non-gigabit devices' name.

(msaitoh)

2016-11-06 02:28:57 UTC MAIN commitmail json YAML

All tests in t_wait now pass

Christos Zoulas committed fixes to src/sys/sys/wait.h r.1.32.

Closes PR standards/51603

Sponsored by <The NetBSD Foundation>

(kamil)

2016-11-06 02:27:34 UTC MAIN commitmail json YAML

Add 82562 and wm(4).

(msaitoh)

2016-11-05 23:49:59 UTC MAIN commitmail json YAML

Since the stopped bits set is a subset of the continued bits set, check
that we are not continued in WIFSTOPPED.
Make WIFSIGNALED more obvious, it being the remaining state of not exited,
not stopped and not continued.

(christos)

2016-11-05 23:30:22 UTC MAIN commitmail json YAML

Move if_43.c back into the shared Makefile.sysio where it really
belongs.

Update the code to invoke the two routines compat_cvtcmd() and
compat_ifioctl() through indirect pointers.  Initialize those
pointers in sys/net/if.c and update them in the compat module's
initialization code.

Addresses the issue pointed out in PR kern/51598

(pgoyette)

2016-11-05 23:09:37 UTC MAIN commitmail json YAML

Actually, this problem won't be reported upstream, their code is
just ...

ptrdiff_t nitems_max = PTRDIFF_MAX - WORK_AROUND_QTBUG_53071;
ptrdiff_t amax = nitems_max < SIZE_MAX ? nitems_max : SIZE_MAX;

which is just fine if you think about it a little,  Unfortunately,
in our zealous effort to never leave a ggc warning unused, and to
treat all of the warnings as fatal errors, that code falls foul of the
"you must not compare an unsigned value with a signed value" warning.

nitems_max is a (signed) largish positive integer (obviously, by
inspection).  If it is less than SIZE_MAX then amax is just nitems_max.
In the unlikely case that size_t has less bits than ptrdiff_t so
SIZE_MAX is smaller, amax is limited to SIZE_MAX (which in that case
is known to fit in the ptrdiff_t and to remain positive).

To pacify gcc (and the way the build system uses it), casts are
required.  Unfortunately the cast that was installed here was to
convert SIZE_MAX to a ptrdiff_t.  Unfortunately when ptrdiff_t has
the same number of bits (or less) as size_t (ie: the common case)
but is signed, (ptrdiff_t)SIZE_MAX is just a fancy way of writing -1.

Rearrange the casting in a way that keeps the original intent
of the code for us (it is actyaly now incorrect if size_t has less
bits than a ptrdiff_t) and keeps gcc happy, all at the same time.

What a mess.

(kre)

2016-11-05 22:21:48 UTC MAIN commitmail json YAML

Revert a couple of lines of code from tzcode2016i to their state in 2016h

SIZE_MAX is the max value of a size_t (and is unsigned) so when converted
to a ptrdiff_t  (int) becomes -1.  That's not what the code was attempting
to achieve.

This will be reported upstream to the tzcode maintainers, and we'll see
what variation appears in tzcode2016j ...

Until then, the older code always worked for us, so it will do for now.

This should fix the broken i386 build.

(kre)

2016-11-05 21:49:28 UTC MAIN commitmail json YAML

Add new test wait6_stopgo_loop in t_wait

This test verifies that it is possible to emit multiple times SIGSTOP and
SIGCONT for a child.

Add checks that status does not return more than one valid state from the
following list: STOPPED, CONTINUED, EXITED and SIGNALED. This check fails
for WIFCONTINUED()==true as it currently and wrongly returns true for
WIFSTOPPED().

This verification is added to wait6_stopgo_loop and wait6_stop_and_go and
marked as expected failure and linked with PR standards/51603.

Remove trailing whitespace.

Sponsored by <The NetBSD Foundation>

(kamil)

2016-11-05 21:11:30 UTC MAIN commitmail json YAML

Set *endptr in all paths out of strtoul and family.

XXX pullup-6
XXX pullup-7

(riastradh)

2016-11-05 20:57:31 UTC MAIN commitmail json YAML

Update strtoul(3) example to reflect clarifications in strtol(3).

(riastradh)

2016-11-05 20:03:15 UTC MAIN commitmail json YAML

Don't handle ARP duplication for the unspecified address.

(roy)

2016-11-05 17:55:56 UTC netbsd-7 commitmail json YAML

2016-11-05 17:54:09 UTC netbsd-7 commitmail json YAML

src/doc/3RDPARTY@1.1145.2.31 / diff / nxr@1.1145.2.31
src/external/bsd/bind/Makefile.inc@1.21.2.3 / diff / nxr@1.21.2.3
src/external/bsd/bind/bin/delv/Makefile@1.2.4.1 / diff / nxr@1.2.4.1
src/external/bsd/bind/bin/dig/Makefile@1.1.28.1 / diff / nxr@1.1.28.1
src/external/bsd/bind/bin/dnssec/Makefile.inc@1.1.28.1 / diff / nxr@1.1.28.1
src/external/bsd/bind/bin/host/Makefile@1.1.28.1 / diff / nxr@1.1.28.1
src/external/bsd/bind/bin/named/Makefile@1.8.4.2 / diff / nxr@1.8.4.2
src/external/bsd/bind/bin/nslookup/Makefile@1.2.12.1 / diff / nxr@1.2.12.1
src/external/bsd/bind/bin/nsupdate/Makefile@1.2.12.1 / diff / nxr@1.2.12.1
src/external/bsd/bind/bin/rndc/Makefile@1.1.28.1 / diff / nxr@1.1.28.1
src/external/bsd/bind/bin/tools/Makefile.inc@1.1.22.1 / diff / nxr@1.1.22.1
src/external/bsd/bind/dist/CHANGES@1.12.2.8 / diff / nxr@1.12.2.8
src/external/bsd/bind/dist/README@1.1.1.14.2.8 / diff / nxr@1.1.1.14.2.8
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch01.html@1.1.1.11.2.7 / diff / nxr@1.1.1.11.2.7
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch02.html@1.1.1.8.2.7 / diff / nxr@1.1.1.8.2.7
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch03.html@1.1.1.13.2.7 / diff / nxr@1.1.1.13.2.7
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch04.html@1.1.1.15.2.8 / diff / nxr@1.1.1.15.2.8
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch05.html@1.1.1.14.2.7 / diff / nxr@1.1.1.14.2.7
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch06.html@1.1.1.15.2.8 / diff / nxr@1.1.1.15.2.8
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch07.html@1.1.1.15.2.8 / diff / nxr@1.1.1.15.2.8
      :
(more 45 files)
Pull up following revision(s) (requested by snj in ticket #1271):
doc/3RDPARTY: 1.1374 via patch
external/bsd/bind/Makefile.inc: up to 1.24 via patch
external/bsd/bind/bin/delv/Makefile: up to 1.3
external/bsd/bind/bin/dig/Makefile: up to 1.2
external/bsd/bind/bin/dnssec/Makefile.inc: up to 1.2
external/bsd/bind/bin/host/Makefile: up to 1.2
external/bsd/bind/bin/named/Makefile: up to 1.10
external/bsd/bind/bin/nslookup/Makefile: up to 1.3
external/bsd/bind/bin/nsupdate/Makefile: up to 1.3
external/bsd/bind/bin/rndc/Makefile: up to 1.2
external/bsd/bind/bin/tools/Makefile.inc: up to 1.2
external/bsd/bind/dist/CHANGES: up to 1.23
external/bsd/bind/dist/README: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch01.html: up to 1.1.1.21
external/bsd/bind/dist/doc/arm/Bv9ARM.ch02.html: up to 1.1.1.18
external/bsd/bind/dist/doc/arm/Bv9ARM.ch03.html: up to 1.1.1.23
external/bsd/bind/dist/doc/arm/Bv9ARM.ch04.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch05.html: up to 1.1.1.24
external/bsd/bind/dist/doc/arm/Bv9ARM.ch06.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch07.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch08.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch09.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch10.html: up to 1.1.1.20
external/bsd/bind/dist/doc/arm/Bv9ARM.ch11.html: up to 1.1.1.9
external/bsd/bind/dist/doc/arm/Bv9ARM.ch12.html: up to 1.1.1.9
external/bsd/bind/dist/doc/arm/Bv9ARM.ch13.html: up to 1.1.1.9
external/bsd/bind/dist/doc/arm/Bv9ARM.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.pdf: up to 1.17
external/bsd/bind/dist/doc/arm/man.arpaname.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.ddns-confgen.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.delv.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dig.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-checkds.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-coverage.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-dsfromkey.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-importkey.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-keyfromlabel.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-keygen.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-revoke.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-settime.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-signzone.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-verify.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.genrandom.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.host.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.isc-hmac-fixup.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.lwresd.html: up to 1.1.1.3
external/bsd/bind/dist/doc/arm/man.named-checkconf.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.named-checkzone.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.named-journalprint.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.named-rrchecker.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.named.conf.html: up to 1.1.1.3
external/bsd/bind/dist/doc/arm/man.named.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.nsec3hash.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.nsupdate.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.rndc-confgen.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.rndc.conf.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.rndc.html: up to 1.11
external/bsd/bind/dist/doc/arm/notes.html: up to 1.1.1.9
external/bsd/bind/dist/doc/arm/notes.pdf: up to 1.1.1.9
external/bsd/bind/dist/doc/arm/notes.xml: up to 1.1.1.9
external/bsd/bind/dist/lib/dns/api: up to 1.11
external/bsd/bind/dist/lib/dns/resolver.c: up to 1.27
external/bsd/bind/dist/srcid: up to 1.17
external/bsd/bind/dist/version: up to 1.21
external/bsd/bind/include/isc/platform.h: up to 1.22 via patch
external/bsd/bind/lib/libbind9/Makefile: up to 1.3
Update BIND to 9.10.4-P4.  Fixes CVE-2016-8864.

(martin)

2016-11-05 17:48:24 UTC netbsd-7-0 commitmail json YAML

2016-11-05 17:47:33 UTC netbsd-7-0 commitmail json YAML

src/doc/3RDPARTY@1.1145.2.18.2.10 / diff / nxr@1.1145.2.18.2.10
src/external/bsd/bind/Makefile.inc@1.21.2.1.2.2 / diff / nxr@1.21.2.1.2.2
src/external/bsd/bind/bin/delv/Makefile@1.2.8.1 / diff / nxr@1.2.8.1
src/external/bsd/bind/bin/dig/Makefile@1.1.30.1 / diff / nxr@1.1.30.1
src/external/bsd/bind/bin/dnssec/Makefile.inc@1.1.30.1 / diff / nxr@1.1.30.1
src/external/bsd/bind/bin/host/Makefile@1.1.30.1 / diff / nxr@1.1.30.1
src/external/bsd/bind/bin/named/Makefile@1.8.4.1.2.1 / diff / nxr@1.8.4.1.2.1
src/external/bsd/bind/bin/nslookup/Makefile@1.2.14.1 / diff / nxr@1.2.14.1
src/external/bsd/bind/bin/nsupdate/Makefile@1.2.14.1 / diff / nxr@1.2.14.1
src/external/bsd/bind/bin/rndc/Makefile@1.1.30.1 / diff / nxr@1.1.30.1
src/external/bsd/bind/bin/tools/Makefile.inc@1.1.24.1 / diff / nxr@1.1.24.1
src/external/bsd/bind/dist/CHANGES@1.12.2.5.2.3 / diff / nxr@1.12.2.5.2.3
src/external/bsd/bind/dist/README@1.1.1.14.2.5.2.3 / diff / nxr@1.1.1.14.2.5.2.3
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch01.html@1.1.1.11.2.4.2.3 / diff / nxr@1.1.1.11.2.4.2.3
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch02.html@1.1.1.8.2.4.2.3 / diff / nxr@1.1.1.8.2.4.2.3
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch03.html@1.1.1.13.2.4.2.3 / diff / nxr@1.1.1.13.2.4.2.3
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch04.html@1.1.1.15.2.5.2.3 / diff / nxr@1.1.1.15.2.5.2.3
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch05.html@1.1.1.14.2.4.2.3 / diff / nxr@1.1.1.14.2.4.2.3
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch06.html@1.1.1.15.2.5.2.3 / diff / nxr@1.1.1.15.2.5.2.3
src/external/bsd/bind/dist/doc/arm/Bv9ARM.ch07.html@1.1.1.15.2.5.2.3 / diff / nxr@1.1.1.15.2.5.2.3
      :
(more 45 files)
Pull up following revision(s) (requested by snj in ticket #1271):
doc/3RDPARTY: 1.1374 via patch
external/bsd/bind/Makefile.inc: up to 1.24 via patch
external/bsd/bind/bin/delv/Makefile: up to 1.3
external/bsd/bind/bin/dig/Makefile: up to 1.2
external/bsd/bind/bin/dnssec/Makefile.inc: up to 1.2
external/bsd/bind/bin/host/Makefile: up to 1.2
external/bsd/bind/bin/named/Makefile: up to 1.10
external/bsd/bind/bin/nslookup/Makefile: up to 1.3
external/bsd/bind/bin/nsupdate/Makefile: up to 1.3
external/bsd/bind/bin/rndc/Makefile: up to 1.2
external/bsd/bind/bin/tools/Makefile.inc: up to 1.2
external/bsd/bind/dist/CHANGES: up to 1.23
external/bsd/bind/dist/README: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch01.html: up to 1.1.1.21
external/bsd/bind/dist/doc/arm/Bv9ARM.ch02.html: up to 1.1.1.18
external/bsd/bind/dist/doc/arm/Bv9ARM.ch03.html: up to 1.1.1.23
external/bsd/bind/dist/doc/arm/Bv9ARM.ch04.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch05.html: up to 1.1.1.24
external/bsd/bind/dist/doc/arm/Bv9ARM.ch06.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch07.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch08.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch09.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.ch10.html: up to 1.1.1.20
external/bsd/bind/dist/doc/arm/Bv9ARM.ch11.html: up to 1.1.1.9
external/bsd/bind/dist/doc/arm/Bv9ARM.ch12.html: up to 1.1.1.9
external/bsd/bind/dist/doc/arm/Bv9ARM.ch13.html: up to 1.1.1.9
external/bsd/bind/dist/doc/arm/Bv9ARM.html: up to 1.11
external/bsd/bind/dist/doc/arm/Bv9ARM.pdf: up to 1.17
external/bsd/bind/dist/doc/arm/man.arpaname.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.ddns-confgen.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.delv.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dig.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-checkds.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-coverage.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-dsfromkey.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-importkey.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-keyfromlabel.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-keygen.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-revoke.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-settime.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-signzone.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.dnssec-verify.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.genrandom.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.host.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.isc-hmac-fixup.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.lwresd.html: up to 1.1.1.3
external/bsd/bind/dist/doc/arm/man.named-checkconf.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.named-checkzone.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.named-journalprint.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.named-rrchecker.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.named.conf.html: up to 1.1.1.3
external/bsd/bind/dist/doc/arm/man.named.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.nsec3hash.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.nsupdate.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.rndc-confgen.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.rndc.conf.html: up to 1.11
external/bsd/bind/dist/doc/arm/man.rndc.html: up to 1.11
external/bsd/bind/dist/doc/arm/notes.html: up to 1.1.1.9
external/bsd/bind/dist/doc/arm/notes.pdf: up to 1.1.1.9
external/bsd/bind/dist/doc/arm/notes.xml: up to 1.1.1.9
external/bsd/bind/dist/lib/dns/api: up to 1.11
external/bsd/bind/dist/lib/dns/resolver.c: up to 1.27
external/bsd/bind/dist/srcid: up to 1.17
external/bsd/bind/dist/version: up to 1.21
external/bsd/bind/include/isc/platform.h: up to 1.22 via patch
external/bsd/bind/lib/libbind9/Makefile: up to 1.3
Update BIND to 9.10.4-P4.  Fixes CVE-2016-8864.

(martin)

2016-11-05 15:52:35 UTC MAIN commitmail json YAML

attach1 in t_ptrace no longer fails

Christos Zoulas fixed the issue that a parent sees termination of its child
before a tracer observing it for its tracee.

Many thanks to Christs for his help, he makes progress with tests so quick.

Closes PR kern/51600

Sponsored by <The NetBSD Foundation>.

(kamil)

2016-11-05 14:26:23 UTC MAIN commitmail json YAML

Also return early from _bus_dmamap_sync if we're not bouncing and there
are no {pre,post} ops

Now the KASSERT doesn't fire on cats

(skrll)

2016-11-05 02:59:22 UTC MAIN commitmail json YAML

Return 0 if WNOHANG and no kids.

(christos)

2016-11-05 01:49:53 UTC MAIN commitmail json YAML

Add new test attach1 in t_ptrace

This test asserts that tracer sees process termination before the parent

Currently this is not true for NetBSD.

The problem has been reported in gnats as kern/51600.

Originally an early version of this test triggered kernel panic, that
was fixed by Christos Zoulas -- thanks! Appropriate fixes are as follows:
http://mail-index.netbsd.org/source-changes/2016/11/04/msg078868.html
http://mail-index.netbsd.org/source-changes/2016/11/04/msg078869.html

Mark this test as expected failure and linked with proper PR.

As an interesting note, this test uses pipe(2) to perform IPC. Use for
messages uint8_t message to be sure that it will never by transmitted
partially from a caller to a callee, this assumption simplifies the code.

Add local function await_zombie() that takes process identifier (pid).
This function uses the sysctl(7) interface to probe p_stat of a requested
process and compares it with LSZOMB.

Try to keep closing all unneeded file descriptors for pipes in order to not
run out of fds later.

Sponsored by <The NetBSD Foundation>.

(kamil)

2016-11-05 01:09:30 UTC MAIN commitmail json YAML

2016-11-05 01:08:58 UTC MAIN commitmail json YAML

lint knows about _Generic

(christos)

2016-11-04 20:44:57 UTC MAIN commitmail json YAML

match RTL8188EU device from vendor ABOCOM.

(mlelstv)

2016-11-04 20:40:11 UTC MAIN commitmail json YAML

2016-11-04 20:39:33 UTC MAIN commitmail json YAML

add id for RTL8188EU from vendor ABOCOM

(mlelstv)

2016-11-04 20:19:58 UTC MAIN commitmail json YAML

Bump date for previous.

(riastradh)

2016-11-04 20:18:23 UTC MAIN commitmail json YAML

Tidy up the second example too.

(riastradh)

2016-11-04 20:16:18 UTC MAIN commitmail json YAML

Simplify error condition case.

Add assertions to reflect its implications.

(riastradh)

2016-11-04 20:14:31 UTC MAIN commitmail json YAML

Distinguish invalid syntax from trailing garbage cases.  Clarify.

(riastradh)

2016-11-04 20:06:09 UTC MAIN commitmail json YAML

Distinguish altogether invalid syntax from trailing garbage.

(riastradh)

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

2016-11-04 20:04:04 UTC MAIN commitmail json YAML

2016-11-04 19:42:54 UTC MAIN commitmail json YAML

2016-11-04 19:41:53 UTC MAIN commitmail json YAML

2016-11-04 19:18:53 UTC MAIN commitmail json YAML

Fix infinity detection with isinf(d), not d == HUGE_VAL.

Negative infinity counts as overflow too.

Simplify.

(riastradh)

2016-11-04 19:18:50 UTC MAIN commitmail json YAML

2016-11-04 19:10:05 UTC MAIN commitmail json YAML

Add example for strtod.

This illustrates all the cases you might be interested in and asserts
theorems in those cases.

(riastradh)

2016-11-04 18:46:15 UTC MAIN commitmail json YAML

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.

(riastradh)

2016-11-04 18:14:05 UTC MAIN commitmail json YAML

2016-11-04 18:12:06 UTC MAIN commitmail json YAML

Cleanup old parent from zombies too. Fixes repeatable panic when we try
to signal the already freed zombie parent after the child exits.

(christos)

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

set BUS_SPACE_MAP_PREFETCHABLE when mapping the SFB32 range
now using alpha fonts is actually faster than using bitmap fonts

(macallan)

2016-11-04 18:09:14 UTC MAIN commitmail json YAML

allow BUS_SPACE_MAP_PREFETCHABLE with bus_space_map() as well

(macallan)

2016-11-04 18:06:08 UTC MAIN commitmail json YAML

wscons and Xorg support for Tseng ET4000/W32 based boards (grf6).

(phx)

2016-11-04 16:35:33 UTC MAIN commitmail json YAML

mmap() memory-ish regions with BUS_SPACE_MAP_PREFETCHABLE

(macallan)

2016-11-04 16:22:38 UTC nick-nhusb commitmail json YAML

Functional declaration nit.  No functional change.

(skrll)

2016-11-04 15:31:45 UTC MAIN commitmail json YAML

2016-11-04 14:49:27 UTC pgoyette-localcount commitmail json YAML

2016-11-04 13:29:38 UTC MAIN commitmail json YAML

Add NODEBUGLIB here as well (sync with binutils directory)

(martin)

2016-11-04 09:08:12 UTC MAIN commitmail json YAML

The problem with WIFCONTINUED() and WIFSTOPPED() in traceme4 is resolved

Fixed by Christos Zoulas in:
cvs rdiff -u -r1.260 -r1.261 src/sys/kern/kern_exit.c
http://mail-index.netbsd.org/source-changes/2016/11/03/msg078852.html

This has been verified to work on NetBSD releng machines.

Closes PR kern/51596

Sponsored by <The NetBSD Foundation>.

(kamil)

2016-11-04 08:24:36 UTC MAIN commitmail json YAML

Cmoment formatting.  No functional change.

(skrll)

2016-11-04 05:41:01 UTC MAIN commitmail json YAML

add plumbing to support bus_space_mmap() with:
- write combining allowed via BUS_SPACE_MAP_PREFETCHABLE
- byte order translation via BUS_SPACE_MAP_LITTLE

(macallan)

2016-11-04 00:19:32 UTC MAIN commitmail json YAML

Tail calls can use the PLT without a nop after the branch. Since the
callee won't return to the next instruction anyway, it wouldn't work
anyway.

(joerg)

2016-11-03 22:23:04 UTC MAIN commitmail json YAML

Move if_43.c out of Makefile.sysio and into the main Makefile.

The former location gets included in both libcompat and the compat
module, leading to redefined symbols when the module is loaded.  By
moving it to the main Makefile, it gets included only in libcompat.

XXX This still isn't an ideal solution, but it will suffice until
XXX PR kern/51598 is addressed.

(pgoyette)