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

2024-05-10 09:57:27 UTC Now

2018-08-05 13:41:27 UTC MAIN commitmail json YAML

One more step towards fixing some builds.  Like my last attempt
this one also needs redoing properly...

(kre)

2018-08-05 13:24:56 UTC MAIN commitmail json YAML

Register micro-UBSan in CHANGES.

There are 3 entries:
- Import of the clean-room reimplementation of the runtime.
- uUBSan (user-UBSan) integration with MKLIBCSANITIZER.
- kUBSan (kernel-UBSan) integration as KUBSAN.

(kamil)

2018-08-05 13:10:04 UTC MAIN commitmail json YAML

Update TODO.sanitizers

Remove the following entries:
- kernel-ubsan is done and merged with src/.
- the no-ASRL boot.cfg option has been rejected.

(kamil)

2018-08-05 13:07:33 UTC MAIN commitmail json YAML

Update TODO.ptrace

Drop the following entries:
- PaX MPROTECT tests - done, implemented.
- research of ipkdb(4) - it's gone, if it will be superseded it would be
  probably a networking interface for kgdb
- PTRACE_VFORK implemented and covered by tests, there are SMP bugs left

(kamil)

2018-08-05 13:05:45 UTC MAIN commitmail json YAML

2018-08-05 07:49:02 UTC MAIN commitmail json YAML

2018-08-05 06:48:50 UTC MAIN commitmail json YAML

Refactor code to split aarch{32,64} kernel page tables and VM setup.  This
will help re-build the kernel page tables on aarch64 with correct section
mappings.

(skrll)

2018-08-05 06:18:05 UTC MAIN commitmail json YAML

2018-08-04 21:59:28 UTC MAIN commitmail json YAML

Fix KERN_{VTOPHYS,PHYSTOV) fallout differently

(skrll)

2018-08-04 17:53:29 UTC MAIN commitmail json YAML

Don't use $NetBSD$ in a sentence, refer to them as 'RCS identifiers'.

(alnsn)

2018-08-04 17:47:26 UTC MAIN commitmail json YAML

README.import with step-by-step import instruction.

(alnsn)

2018-08-04 17:30:01 UTC MAIN commitmail json YAML

2018-08-04 16:21:40 UTC MAIN commitmail json YAML

2018-08-04 13:27:03 UTC MAIN commitmail json YAML

Hack workaround to deal with KERN_VTOPHYS and KERN_PHYSTOV now
being defined in arm/arm32/machdep.h ... attempt to fix (some) earm
builds.  Even if builds succeed, resulting kernel might not boot,
and if it boots, could crash.  Someone with a clue, please use it!

(kre)

2018-08-04 10:22:09 UTC MAIN commitmail json YAML

need to set _UC_TLSBASE of uc_flags for _lwp_makecontext().
pointed out from skrll@. thanks.

(ryo)

2018-08-03 19:47:25 UTC phil-wifi commitmail json YAML

State Save:
  Scanning works, can see the broadcasts and stations.
  Association appears to work.  (open networks only, no encryption yet.)
  IP traffic doesn't flow yet, not sure where the error is.
  Added back more NetBSD ioctls not in the FreeBSD code.  Still have
      more to go.
  Updated my TESTWIFI kernel config.

(phil)

2018-08-03 17:04:30 UTC MAIN commitmail json YAML

don't set lwp->l_private if no _UC_TLSBASE flag.
atf lib/libc/sys/t_swapcontext Passed.

(ryo)

2018-08-03 16:32:55 UTC MAIN commitmail json YAML

set kernel text/rodata readonly when not defined DDB.
set readonly segment on 2Mbytes aligned. (kernel image is mapped with 2Mbytes L2 block)

(ryo)

2018-08-03 16:31:04 UTC MAIN commitmail json YAML

Try to fix the evbppc-powerpc64 build

Avoid "comparison between signed and unsigned integer expressions" on
Big-Endian hosts.

(kamil)

2018-08-03 15:46:41 UTC MAIN commitmail json YAML

2018-08-03 15:38:16 UTC MAIN commitmail json YAML

Subtract KERNEL_BASE_VOFFSET from all VAs to get PA.  How did this work
before?

(skrll)

2018-08-03 14:01:21 UTC MAIN commitmail json YAML

Restrict -fno-sanitize=function to Clang/LLVM only

The base GCC version 6,x does not support this option.

(kamil)

2018-08-03 13:48:24 UTC MAIN commitmail json YAML

2018-08-03 13:19:33 UTC MAIN commitmail json YAML

2018-08-03 12:49:41 UTC MAIN commitmail json YAML

Add a "gcc is stupid" comment to the previous change, as even
the most cursory analysis shows that the var ("eg") is not (cannot
be) used unitialialised, just gcc is too dumb to work it out.

In this case, the code could be rewritten easily enough to
appease even gcc, but that would cause unnecessary code churn,
and some minor duplication, so just put up with the nonsense init...

(kre)

2018-08-03 12:48:33 UTC MAIN commitmail json YAML

s/DPRINTF/VPRINTF/ for consistency

(skrll)

2018-08-03 11:24:19 UTC MAIN commitmail json YAML

Use a different psz for a different lock. Patch from riastradh, reviewed
by ozaki-r.

(jmcneill)

2018-08-03 11:18:22 UTC MAIN commitmail json YAML

2018-08-03 09:54:40 UTC MAIN commitmail json YAML

tun: fix locking against myself

filt_tunread is called with tun_lock held from tun_output (via tun_output =>
selnotify => knote), so we must not take tun_lock in filt_tunread.  The bug
is triggered only if a tun is used through kqueue.

Found by k-goda@IIJ

(ozaki-r)

2018-08-03 07:44:31 UTC MAIN commitmail json YAML

Mark fdt_addr_r __attribute__((__section__(".data")))

(skrll)

2018-08-03 06:52:50 UTC MAIN commitmail json YAML

Fix physical memory size issue. It will now happily run on more than one gb.

(reinoud)

2018-08-03 06:07:02 UTC MAIN commitmail json YAML

Fix distribution lists with MKCATPAGES=yes

Add SCTP documentation.

(kamil)

2018-08-03 05:27:16 UTC MAIN commitmail json YAML

Add some missing IFM_* entries.

(msaitoh)

2018-08-03 04:35:20 UTC MAIN commitmail json YAML

Register kUBSan in the GENERIC amd64 kernel config

Tested with GCC.

(kamil)

2018-08-03 04:32:12 UTC MAIN commitmail json YAML

Appease GCC in the openssh code when built with UBSan

Initialize eg to NULL in sshkey_ecdsa_key_to_nid().
The compiler warns that it might be uninitialized.

(kamil)

2018-08-03 04:29:35 UTC MAIN commitmail json YAML

Add a support to build ubsan.c in libc

Under the condition of MKLIBCSANITIZER==yes link ubsan.c into libc.

This is a clean-room reimplementation from scratch of the Undefined
Behavior runtime called micro-UBSan (or uBSan - user-UBSan).

(kamil)

2018-08-03 04:24:41 UTC MAIN commitmail json YAML

Register micro-UBSan ATF tests in the distribution

Populate distrib files, mtree lists and add the entry in Makefile to
include the new code.

(kamil)

2018-08-03 04:18:40 UTC MAIN commitmail json YAML

Import micro-UBSan ATF tests

These tests are used only when a distribution is built without MKSANITIZER
and without MKLIBCSANITIZER. They build the ubsan.c micro-implementation
in userland as a standalone library (a .c file linked into tests).

The code generation part emits symbols that are handled by uUBSan.

Tested with Clang amd64 + i386 and GCC amd64 + i386.

There are two sets of tests: C code generation and C++ code generation.

There are various little differences that are handled with proper ifdefs.

Clang 7svn has significantly more checks for Undefined Behavior than GCC
5.x. Some of the tests are or might be amd64 and/or i386 specific and are
marked with proper ifdefs and comments according to the compiler
documentation.

(kamil)

2018-08-03 03:35:17 UTC MAIN commitmail json YAML

Register a new directory in common/lib/libc/misc

Registe misc/ with ubsan.c.

(kamil)

2018-08-03 03:12:32 UTC MAIN commitmail json YAML

Tidy up the comment in ubsan.c

As noted, style has no impact on the comparison of a similar code.
This version is a reimplementation from scratch with no code and no
algirithm (whenever possible) reuse.

Public symbols and struct layout must be kept in sync with the code
generation part. It casues violation of the style like with long filenames.

My previous comment was 'too perfect' and could trigger some unnecessary
attention.

(kamil)

2018-08-03 02:34:31 UTC MAIN commitmail json YAML

Allow to overwrite sanitizer flags for userland

Always define -fsanitize=${USE_SANITIZER} and
-fsanitize=${USE_LIBCSANITIZER} before other flags defined with
SANITIZERFLAGS and LIBCSANITIZERFLAGS.

This allows to overwrite rules that are parsed from left to right.
With the current approach it wasn't possible to disable some checks, as
they were reenabled again by the "-fsanitize=" argument.

(kamil)

2018-08-03 02:29:35 UTC MAIN commitmail json YAML

Disable sanitization of -fsanitize=function in libc

Generated code for the checks (in at least libunwind) depends on the C++
runtime feature of RTTI.

Pass -fno-sanitize=function to LIBCSANITIZERFLAGS.

(kamil)

2018-08-03 02:26:00 UTC MAIN commitmail json YAML

Fix xf86-video-wsfb build with Clang/LLVM

The code uses non-orthodox types in format strings.
Add a compiler flag to disable a warning that is turned into a fatal error.

(kamil)

2018-08-03 02:23:09 UTC MAIN commitmail json YAML

Fix libXfont2 build with Clang/LLVM on i386

The code uses non-orthodox types in format strings.
Add a compiler flag to disable a warning that is turned into a fatal error.

(kamil)

2018-08-03 02:20:21 UTC MAIN commitmail json YAML

Fix libGLU build with Clang/LLVM

The register keyword is deprecated in newer C++ standards.
Add a compiler flag to disable a warning that is turned into a fatal error.

(kamil)

2018-08-03 02:19:12 UTC MAIN commitmail json YAML

Fix dri7 build with Clang/LLVM

The register keyword is deprecated in newer C++ standards.
Add a compiler flag to disable a warning that is turned into a fatal error.

(kamil)

2018-08-03 02:17:33 UTC MAIN commitmail json YAML

Fix build failure in dhcpcd under uUBSan

GCC with -fsanitize=undefiend detects a potential overflow in the code.
Cast the return value of ntohs(3) to size_t.

Fix merged upstream by <roy>.

(kamil)

2018-08-03 02:05:43 UTC MAIN commitmail json YAML

Import micro-UBSan (ubsan.c)

This is a reimplementation of the Undefined Behavior Sanitizer with the
following properties:
- pure C implementation,
- no -fsanitize=vpts support, as it requires RTTI support and C++
  low-level routies to validate whether C++ objects are compatible
- designed to be used inside libc and known as uUBSan or user-UBSan
- designed to be shared with kernel and known as kUBSan or kernel-UBSan
- designed to be usable with ATF tests as a standalone runtime,
  reachable without any MK* switches
- designed to be safer for hardening as it does not have side effects on
  executables like writing to a selected location on demand
- controllable with environment variable LIBC_UBSAN with options:
  * a - abort on report
  * A - do not abort on a report (unless a failure is unrecoverable)
  * e - output report to stderr
  * E - do not output report on stderr
  * l - output report on syslog (LOG_DEBUG | LOG_USER)
  * L - do not output report on syslog
  * o - output report on stdout
  * O - do not output report on stdout
  The default options are: "AeLO".
- compatible with Clang (3.8, 7.x) and GCC (6.x) code generation
- all handlers (except =vptr) from Clang/LLVM up to 7svn are supported

This file does not follow the regular KNF style, due to potential licensing
concerns.

Tested with Clang amd64+i386 and GCC amd64+i386.

(kamil)

2018-08-02 17:34:51 UTC MAIN commitmail json YAML

Mark two entries as done.

(maxv)

2018-08-02 17:18:00 UTC MAIN commitmail json YAML

Add a "version" field in the prekern_args structure. The kernel checks it,
and if it's not happy it returns back to the prekern.

(maxv)

2018-08-02 16:58:00 UTC MAIN commitmail json YAML

Don't forget to call init_slotspace when we're booted via the prekern.

(maxv)

2018-08-02 16:42:12 UTC MAIN commitmail json YAML

Use Nm macro
Move history details to the HISTORY section
Spelling
Be less meta & clarify the website should be consulted.

(sevan)

2018-08-02 16:26:09 UTC MAIN commitmail json YAML

2018-08-02 16:22:43 UTC MAIN commitmail json YAML

Remove netbsd-INSTALL_XEN3_DOMU.gz (it doesn't exist anymore), and add
netbsd-XEN3PAE_DOM0.gz (has always existed, but was apparently forgotten).

(maxv)

2018-08-02 10:18:19 UTC MAIN commitmail json YAML

Add missing SCTP manpage.

(rjs)

2018-08-02 08:40:48 UTC MAIN commitmail json YAML

2018-08-02 07:47:30 UTC MAIN commitmail json YAML

2018-08-02 06:09:05 UTC MAIN commitmail json YAML

2018-08-02 05:34:09 UTC pgoyette-compat commitmail json YAML

Clean up from sync-with-HEAD

(pgoyette)

2018-08-02 04:28:56 UTC MAIN commitmail json YAML

Adjust alignment in m_pulldown().

IP6_EXTHDR_GET() and M_REGION_GET() do m_pulldown(). When m_pulldown() copies
data into M_TRAILINGSPACE, the alignment might be changed. There are a lot of
IP6_EXTHDR_GET() calls, so I think it's not good to check the alignment after
every IP6_EXTHDR_GET() call. This change fixes this problem in m_pulldown().
In this commit, the next mbuf are 4 byte aligned. For networking, I've never
heard that 64bit alignment is required, so I think it would be OK.

I don't know this is the best solution, but it's better than nothing.

OK'd by maxv@.

After committing this change, the workaround code for PR#50776 can be removed.

(msaitoh)

2018-08-02 03:40:51 UTC MAIN commitmail json YAML

Mark _error() as printflikee

(roy)

2018-08-02 00:41:17 UTC MAIN commitmail json YAML

Drop ISO/Xerox references which are now long gone.

(sevan)

2018-08-02 00:04:07 UTC MAIN commitmail json YAML

2018-08-01 23:35:32 UTC MAIN commitmail json YAML

2018-08-01 20:09:34 UTC MAIN commitmail json YAML

Add a comment to explain the purpose of POWER_IOC_GET_TYPE_WITH_LOSSAGE
and also define it only for the kernel, userland should never see that.

(kre)

2018-08-01 20:04:14 UTC MAIN commitmail json YAML

2018-08-01 19:59:49 UTC MAIN commitmail json YAML

fix long double NaN definition.

(ryo)

2018-08-01 18:36:14 UTC MAIN commitmail json YAML

Build the umb(4) driver in the ALL kernels (amd64, i386)

As suggested by Robert Swindells; thank you!

(khorben)

2018-08-01 18:27:58 UTC MAIN commitmail json YAML

Fix building umb(4) on NetBSD-current

Patch by Robert Swindells; thank you!

(khorben)

2018-08-01 17:28:42 UTC MAIN commitmail json YAML

Move RCS Id to top. Fix date.

(wiz)

2018-08-01 17:26:30 UTC MAIN commitmail json YAML

Various improvements to the man page.

(wiz)

2018-08-01 17:09:26 UTC MAIN commitmail json YAML

strnlen(s, (size_t)-1) returned -1. it must return the length of s.

(ryo)

2018-08-01 16:59:10 UTC MAIN commitmail json YAML

2018-08-01 16:50:24 UTC MAIN commitmail json YAML

Can't see a thing (which see)
Remove CLNP reference which is long gone.

(sevan)

2018-08-01 16:44:14 UTC MAIN commitmail json YAML

Fix the alignment argument to usb_allocmem in dwc2_hc_setup_align_buf

(skrll)

2018-08-01 13:48:01 UTC MAIN commitmail json YAML

s/_ARM32_BOOT_MACHDEP_H_/_ARM32_MACHDEP_H_/ in multiple inclusion
protection.

(skrll)

2018-08-01 13:46:58 UTC MAIN commitmail json YAML

remove -DGHASH_ASM_X86; it is already defined.

(christos)

2018-08-01 13:42:58 UTC MAIN commitmail json YAML

Some whitespace improvements.  NFC.

(skrll)

2018-08-01 13:41:26 UTC MAIN commitmail json YAML

Note the removal of non-PAE-32bit-PV.

(maxv)

2018-08-01 13:35:01 UTC MAIN commitmail json YAML

Xen is PAE, so remove ifdefs.

(maxv)

2018-08-01 13:30:14 UTC MAIN commitmail json YAML

Add a bold note to say our PF is obsolete.

(maxv)

2018-08-01 12:36:56 UTC MAIN commitmail json YAML

Allow kmem_alloc(9) to sleep when attaching

Without this, umb(4) may needlessly fail to attach, like when under memory
pressure.

Thanks skrll@ for the heads-up!

(khorben)

2018-08-01 12:25:50 UTC MAIN commitmail json YAML

Avoid parentheses in return statements (KNF)

NFCI.

Thanks skrll@ for the heads-up!

(khorben)

2018-08-01 12:09:02 UTC MAIN commitmail json YAML

2018-08-01 11:39:53 UTC MAIN commitmail json YAML

Add missing defines:
https://github.com/openssl/openssl/pull/6828
When ghash-x86.S is generated with -DOPENSSL_IA32_SSE2 we need to compile
gcm128.c with the same flags.
Reported by manu@

(christos)

2018-08-01 10:27:28 UTC MAIN commitmail json YAML

Remove yet another debug printf()

(reinoud)

2018-08-01 10:24:41 UTC MAIN commitmail json YAML

2018-08-01 10:23:55 UTC MAIN commitmail json YAML

2018-08-01 10:22:20 UTC MAIN commitmail json YAML

2018-08-01 09:52:15 UTC MAIN commitmail json YAML

2018-08-01 09:50:57 UTC MAIN commitmail json YAML

2018-08-01 09:46:46 UTC MAIN commitmail json YAML

Add headers for support functions for  kgdb

(reinoud)

2018-08-01 09:46:16 UTC MAIN commitmail json YAML

Max kernel address is end of kernel

(reinoud)

2018-08-01 09:44:32 UTC MAIN commitmail json YAML

2018-08-01 09:43:17 UTC MAIN commitmail json YAML

Allow the usermode pmaps to also contain the kernel itself. This is needed for
the kernel pmap.

(reinoud)

2018-08-01 08:54:49 UTC MAIN commitmail json YAML

Note that mss clamping should be improved

(sborrill)

2018-08-01 02:48:47 UTC MAIN commitmail json YAML

As described in comments, we treat non-spacing chars as single-width ones.

(rin)

2018-08-01 00:07:27 UTC MAIN commitmail json YAML

Drop ISO references as it's no longer supported.

(sevan)

2018-07-31 22:29:55 UTC MAIN commitmail json YAML

debug versions of libraries need minor version bump to match
the non-debug versions (bump for getsockopt2().)

Arguably this dependency ought to be handled by automation rather than
relying upon developers "just knowing" when the debug sets need updating.

(kre)

2018-07-31 22:28:26 UTC MAIN commitmail json YAML

Remove ISO references

(sevan)

2018-07-31 21:22:09 UTC MAIN commitmail json YAML

Remove references to XNS

(sevan)

2018-07-31 21:02:01 UTC MAIN commitmail json YAML

2018-07-31 21:00:02 UTC MAIN commitmail json YAML

2018-07-31 20:54:18 UTC MAIN commitmail json YAML

Remove ISO & XNS references which are now long gone.

(sevan)

2018-07-31 20:33:06 UTC MAIN commitmail json YAML

Suggest command line variables.

(darcy)

2018-07-31 19:43:24 UTC MAIN commitmail json YAML

Add new item, about deprecating IPF/PF; I thought it was there, but
realized it wasn't.

(maxv)

2018-07-31 19:30:19 UTC MAIN commitmail json YAML

2018-07-31 17:09:45 UTC netbsd-8 commitmail json YAML

2018-07-31 17:08:00 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by nonaka in ticket #957):

usr.sbin/arp/arp.c: revision 1.63

arp(8): Fix the host output when arp -dav.

(martin)

2018-07-31 17:03:50 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #955):

sys/dev/ppbus/if_plip.c: revision 1.29

KNF & fix typo. No functional change.

(martin)

2018-07-31 17:01:20 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #954):

sys/sys/socketvar.h: revision 1.157
share/man/man4/ddb.4: revision 1.180
share/man/man4/ddb.4: revision 1.181
sys/kern/uipc_socket2.c: revision 1.131
sys/ddb/db_command.c: revision 1.154

Add "show socket" command written by Hiroki SUENAGA. It prints usage of
system's socket buffers.
Improve wording.

(martin)

2018-07-31 16:44:30 UTC MAIN commitmail json YAML

Add a port of the umb(4) driver from OpenBSD

The umb(4) driver provides support for USB MBIM (Mobile Broadband
Interface Model) devices.

MBIM devices establish connections via cellular networks such as GPRS,
UMTS, and LTE. They appear as a regular point-to-point network interface, transporting raw IP frames.

Required configuration parameters like PIN and APN have to be set with
umbctl(8), a new tool specific to this driver. The IP address is configured
automatically; the default route and DNS server information have to be set
separately.

The driver is not fully functional yet, it is therefore still marked as
experimental and disabled by default. Any help welcome to complete it!

Tested on NetBSD/amd64, with a Sierra Wireless EM7345 LTE modem on a Lenovo
ThinkPad T440s. No functional change expected otherwise.

(khorben)

2018-07-31 16:28:56 UTC MAIN commitmail json YAML

Enable SCTP sysctl nodes.

Rename auto asconf one to match FreeBSD.

(rjs)

2018-07-31 16:22:51 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #952):

sys/dev/ic/malo.c: revision 1.11

bpf_mtap*() after ieee80211_encap() should be bpf_mtap3() rather than
bpf_mtap(). bpf_mtap3() is for raw bpf.

(martin)

2018-07-31 16:20:33 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #951):

sys/dev/ic/rt2661.c: revision 1.38

bpf_mtap*() before ieee80211_encap() should be bpf_mtap() rather than
bpf_mtap3(). bpf_mtap3() is for raw bpf and be used after ieee80211_encap().

(martin)

2018-07-31 16:11:46 UTC netbsd-8 commitmail json YAML

2018-07-31 16:07:46 UTC MAIN commitmail json YAML

2018-07-31 16:07:26 UTC MAIN commitmail json YAML

Add the Sierra Wireless MC7304 and EM7455 USB modems

(khorben)

2018-07-31 16:05:42 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #948):

sys/arch/sun3/dev/if_ie.c: revision 1.64

Remove bpf_tap() in iexmit() because ie_start() does bpf_mtap().

(martin)

2018-07-31 16:03:37 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by msaitoh in ticket #947):

sys/dev/pci/if_de.c: revision 1.153

Remove bpf_tap() call in rx. It's done in if_percpuq_softint().

(martin)

2018-07-31 16:01:12 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by kre in ticket #946):

sbin/cgdconfig/cgdconfig.c: revision 1.42
sbin/cgdconfig/cgdconfig.c: revision 1.43
sbin/cgdconfig/cgdconfig.c: revision 1.44
sbin/cgdconfig/cgdconfig.c: revision 1.45
sbin/cgdconfig/cgdconfig.8: revision 1.37
sbin/cgdconfig/cgdconfig.8: revision 1.38

Check whether the cgd device selected is available to be
configured,that is, not already in use, before requesting
passwords from the user (or elsewhere).

Fix usage for rump.  Fixes test breakage caused by previous commit.
Check arg count in configure() at entry, rather than later.

This avoids the stupid null deref I added a couple of commits
ago (on bad usage) and also simplifies the rest of the routine
which no longer needs to check the arg count nearly as much.
Thanks to Alexander Nasonov for finding the null deref bug.

Fix missing -p in usage message (noted by Christoph Badura, thanks),
and update -l usage as well.
While here fix man page synopses and a few other odds and ends.
Add commas in enumeration.

(martin)

2018-07-31 15:57:11 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by taca in ticket #945):

sys/arch/i386/i386/trap.c: revision 1.290

Don't use a const variable as an array size, because it is not a
constant expression and will cause the array to needlessly become a
variable-size one.  Fixes "error: stack protector not protecting local
variables: variable length buffer [-Werror=stack-protector]" when
building i386 with MKDEBUG=YES -V COPTS="-g".

(martin)

2018-07-31 13:36:31 UTC MAIN commitmail json YAML

Change implementation of sctp_connectx() to use ioctl(2).

(rjs)

2018-07-31 13:20:34 UTC MAIN commitmail json YAML

Add declaration of getsockopt2().

(rjs)

2018-07-31 13:06:33 UTC MAIN commitmail json YAML

Bump version for addition of getsockopt2() syscall.

Welcome to NetBSD 8.99.23 !

(rjs)

2018-07-31 13:04:10 UTC MAIN commitmail json YAML

2018-07-31 13:02:15 UTC MAIN commitmail json YAML

2018-07-31 13:00:14 UTC MAIN commitmail json YAML

2018-07-31 10:31:02 UTC MAIN commitmail json YAML

#ifdef VERBOSE_INIT_ARM some format strings only used in that case.

(martin)

2018-07-31 09:45:52 UTC MAIN commitmail json YAML

arp(8): Fix the host output when arp -dav.

(nonaka)

2018-07-31 09:33:50 UTC MAIN commitmail json YAML

Initialize z_lockf for new znodes.

Ok: Chuck Silvers

(hannken)

2018-07-31 09:19:34 UTC MAIN commitmail json YAML

2018-07-31 07:00:48 UTC MAIN commitmail json YAML

2018-07-31 06:46:28 UTC MAIN commitmail json YAML

2018-07-30 22:58:09 UTC MAIN commitmail json YAML

Avoid an infinite loop caused by a line accidentally dropped
in 1.22 (almost 30 months ago!)

[ Discovered by rhialto@ ]

(kre)

2018-07-30 15:59:44 UTC MAIN commitmail json YAML

don't depend on clang code to backtrace. keep trapframe as framepointer if DDB.

(ryo)

2018-07-30 09:08:41 UTC MAIN commitmail json YAML

fix copy{in,out}str to return ENAMETOOLONG if the string is longer than len bytes.

(ryo)

2018-07-30 06:18:25 UTC MAIN commitmail json YAML

Add machine commands for aarch64.

(ryo)

2018-07-30 06:00:31 UTC MAIN commitmail json YAML

2018-07-30 05:59:57 UTC MAIN commitmail json YAML

Add Toshiba's XG4 and XG5 NVMe SSD.

(msaitoh)

2018-07-30 03:22:31 UTC MAIN commitmail json YAML

2018-07-30 03:21:51 UTC MAIN commitmail json YAML

Add some Intel devices. Some of them are found in Core i7-8550U.

(msaitoh)

2018-07-30 00:17:28 UTC MAIN commitmail json YAML

Skip urtwn_chip_stop for 88E family chips as we do for 92EU.

Doing "ifconfig urtwn0 down" with an RTL8188EU on Pinebook causes the
device to disappear from the built-in GL850G USB 2.0 hub. Since this
happens at reboot, an unplug/replug cycle is the only way to make the
device re-appear. Bypassing urtwn_chip_stop works around this issue.

(jmcneill)

2018-07-29 22:46:15 UTC MAIN commitmail json YAML

2018-07-29 21:17:43 UTC MAIN commitmail json YAML

Fix mandoc warnings.

(wiz)

2018-07-29 20:53:42 UTC MAIN commitmail json YAML

2018-07-29 20:53:29 UTC MAIN commitmail json YAML

Spelling mistake.
Reword MKINFO description.

(sevan)

2018-07-29 17:03:02 UTC MAIN commitmail json YAML

Document "in" field in CPU section
Fix ps(1) Xr raised by mandoc -Tlint

(sevan)

2018-07-29 14:11:30 UTC MAIN commitmail json YAML

mark satapmp_rescan() static, it's not to be used outside satapmp_subr.c

(jdolecek)

2018-07-29 08:02:25 UTC MAIN commitmail json YAML

Reduce the confusion, rename a bunch of variables and reorg a little.
Tested on i386PAE-domU and amd64-dom0.

(maxv)

2018-07-29 06:44:56 UTC netbsd-7 commitmail json YAML

2018-07-29 06:44:19 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by roy in ticket #1621):

distrib/sets/lists/misc/mi: revision 1.197
etc/mtree/NetBSD.dist.base: revision 1.151
distrib/sets/lists/base/mi: revision 1.1120

Move 10-wpa_supplicant, 15-timezone, 29-lookup-hostname and 50-ypbind
from /libexec/dhcpcd-hooks to /usr/share/examples/dhcpcd/hooks so they
are not run by default.

(martin)

2018-07-29 06:38:34 UTC netbsd-7 commitmail json YAML

Additionally pull up the following, requested by roy in ticket #1621:

distrib/sets/lists/base/mi 1.1111

10-mtu is no longer used

(martin)

2018-07-29 02:08:17 UTC MAIN commitmail json YAML

Use callout_halt and usb_rem_task_wait in url(4) detach.

(riastradh)

2018-07-29 02:08:07 UTC MAIN commitmail json YAML

Use usb_rem_task_wait in usbd_kill_pipe.

(riastradh)

2018-07-29 02:07:56 UTC MAIN commitmail json YAML

Use usb_rem_task_wait in umcs(4) detach.

(riastradh)

2018-07-29 02:07:46 UTC MAIN commitmail json YAML

Use usb_rem_task_wait in uatp(4) detach.

(riastradh)

2018-07-29 02:07:33 UTC MAIN commitmail json YAML

Use callout_halt and usb_rem_task_wait in zyd(4) detach.

Also comment on sketchiness in zyd_newstate that is beyond my scope
right now.

(riastradh)

2018-07-29 02:07:22 UTC MAIN commitmail json YAML

Use usb_rem_task_wait in urtwn(4) detach.

(riastradh)

2018-07-29 02:06:11 UTC MAIN commitmail json YAML

Use callout_halt and usb_rem_task_wait in urtw(4).

Also comment on sketchiness in urtw_newstate that is beyond my scope
right now.

(riastradh)

2018-07-29 02:02:04 UTC MAIN commitmail json YAML

Use callout_halt and usb_rem_task_wait(4) in ural(4) detach.

Also comment on sketchiness in ural_newstate that is beyond my scope
right now.

(riastradh)

2018-07-29 02:01:54 UTC MAIN commitmail json YAML

Use callout_halt and usb_rem_task_wait in upgt(4).

Also comment in sketchiness in upgt_newstate that is beyond my scope
right now.

(riastradh)

2018-07-29 02:01:43 UTC MAIN commitmail json YAML

Use callout_halt and usb_rem_task_wait in udav(4).

(riastradh)

2018-07-29 02:01:32 UTC MAIN commitmail json YAML

Use callout_halt and usb_rem_task_wait in smsc(4).

XXX The stop task doesn't seem to be used in this driver.

(riastradh)

2018-07-29 02:01:22 UTC MAIN commitmail json YAML

Use callout_halt and usb_rem_task_wait in run(4) detach.

(riastradh)

2018-07-29 02:01:11 UTC MAIN commitmail json YAML

Use callout_halt and usb_rem_task_wait in rum(4) detach.

Also comment on sketchiness in rum_newstate that is beyond my scope
right now.

squash! 815cfdcb30208ae2d1cffe19b1cd4ef85ab19f3c

(riastradh)

2018-07-29 02:00:59 UTC MAIN commitmail json YAML

Use usb_rem_task_wait in otus(4) detach.

No need for callout_halt: otus_stop already does it.

(riastradh)

2018-07-29 02:00:48 UTC MAIN commitmail json YAML

Use callout_halt and usb_rem_task_wait in cue(4).

(riastradh)

2018-07-29 02:00:38 UTC MAIN commitmail json YAML

Use callout_halt and usb_rem_task_wait in axen(4).

(riastradh)

2018-07-29 02:00:28 UTC MAIN commitmail json YAML

Use callout_halt and usb_rem_task_wait in axe(4).

(riastradh)

2018-07-29 02:00:17 UTC MAIN commitmail json YAML

Use callout_halt and usb_rem_task_wait on detach in aue(4).

(riastradh)

2018-07-29 02:00:07 UTC MAIN commitmail json YAML

Use usb_rem_task_wait in atu(4).

(riastradh)

2018-07-29 01:59:56 UTC MAIN commitmail json YAML

Use usb_rem_task_wait in usb athn(4) detachment.

(riastradh)

2018-07-29 01:59:46 UTC MAIN commitmail json YAML

New function usb_rem_task_wait(dev, task, queue).

If task is scheduled to run, removes it from the queue.  If it may
have already begun to run, waits for it to complete.  Caller must
guarantee it will not switch to another queue.  If caller guarantees
it will not be scheduled again, then usb_rem_task_wait guarantees it
is not running on return.

This will enable us to fix a litany of bugs in detach where we
currently fail to wait for a pending task.

(riastradh)

2018-07-29 01:45:25 UTC MAIN commitmail json YAML

Don't require size to be a multiple of alignment. This is no longer a
requirement as of C18.

(maya)

2018-07-28 20:26:13 UTC MAIN commitmail json YAML

Provide hand-doctored redirection of trap.h in preparation for ddb/kgdb

(reinoud)

2018-07-28 17:17:38 UTC MAIN commitmail json YAML

2018-07-28 14:13:13 UTC MAIN commitmail json YAML

Create fw(4) & fwmem(4) device nodes by default so fwctl(8) works out of the
box.

(sevan)

2018-07-28 14:00:19 UTC MAIN commitmail json YAML

PR lib/53477 (rudolf at eq.cz) - correct an obvious mistake.

(kre)

2018-07-28 13:55:09 UTC MAIN commitmail json YAML

Add some more "crappy error detection" - the low value of
the range of random_with_range() must not be negative (or now
we are doing unsigned modulus we might generate a very big result).

(kre)

2018-07-28 13:51:26 UTC MAIN commitmail json YAML

Fix from Michael Kaufmann in PR bin/53476

Do modulus using unsigned arith, and then convert the result to
int, rather than converting the arc4random() result to int (which
might be negative) and performing a modulus on that (with a
potentially negative answer).

(kre)

2018-07-28 13:21:11 UTC netbsd-7 commitmail json YAML

Ammend ticket #1621 for additional pullups

(martin)

2018-07-28 13:20:46 UTC netbsd-7 commitmail json YAML

Additionally pull up the following/apply patch requested by roy in
ticket #1621:

external/bsd/dhcpcd/examples/hooks/Makefile    up to 1.1
external/bsd/dhcpcd/examples/Makefile          up to 1.1
external/bsd/dhcpcd/Makefile.inc                up to 1.3
external/bsd/dhcpcd/include/config.h            up to 1.3
external/bsd/dhcpcd/libexec/dhcpcd-hooks/Makefile up to 1.3
external/bsd/dhcpcd/libexec/Makefile            up to 1.2
external/bsd/dhcpcd/libexec/dhcpcd-run-hooks/Makefile up to 1.1
external/bsd/dhcpcd/Makefile                    up to 1.3
external/bsd/dhcpcd/sbin/Makefile.inc          up to 1.5
external/bsd/dhcpcd/sbin/dhcpcd/Makefile        up to 1.43
external/bsd/dhcpcd/include/config.h (apply patch)
external/bsd/dhcpcd/sbin/dhcpcd/Makefile (apply patch)

Import dhcpcd-7.0.7

(martin)

2018-07-28 09:57:59 UTC MAIN commitmail json YAML

Implement sigill_debug variable for debug (with DDB). if sigill_debug = 1, illegal instruction will be logged.

e.g.) [ 75914.9966392] TRAP: pid 1422 (ssh), uid 1074: Unknown Reason (Illegal Instruction): pc=0x0000faa29ae35088: pmull v0.1q, v0.1d, v0.1d

(ryo)

2018-07-28 09:54:32 UTC MAIN commitmail json YAML

add support for disasm pmull,aes,sha insns. most SIMD insns are not yet.

(ryo)

2018-07-28 08:03:41 UTC MAIN commitmail json YAML

Use An -nosplit. Use Mt. Fix some mandoc lint.

(wiz)

2018-07-28 07:51:53 UTC MAIN commitmail json YAML

Various minor improvements.

(wiz)

2018-07-28 04:38:15 UTC pgoyette-compat commitmail json YAML

2018-07-28 00:49:44 UTC phil-wifi commitmail json YAML

2018-07-27 19:11:56 UTC MAIN commitmail json YAML

PR kern/53461: D-Link DUB-1312 is now supported.

(snj)

2018-07-27 16:12:40 UTC MAIN commitmail json YAML

Add missing backslash to unbreak the build

(gson)

2018-07-27 15:31:02 UTC MAIN commitmail json YAML

Allow rc.conf to setup resolv.conf via resolvconf(8).
This allows all static network config to be in rc.conf rather than
spread across files.

(roy)

2018-07-27 15:15:30 UTC MAIN commitmail json YAML

2018-07-27 15:14:43 UTC MAIN commitmail json YAML

2018-07-27 15:13:01 UTC MAIN commitmail json YAML

2018-07-27 14:38:50 UTC MAIN commitmail json YAML

gcc 7.3 / 8.2 out, we have 6.4.

(maya)

2018-07-27 14:34:44 UTC MAIN commitmail json YAML

Claim C17 (although I'm unsure), add a note about C11's requirements.

(maya)

2018-07-27 14:30:22 UTC MAIN commitmail json YAML

2018-07-27 14:29:46 UTC MAIN commitmail json YAML

2018-07-27 13:08:47 UTC MAIN commitmail json YAML

C17 conformance: aligned_alloc's size doesn't need to be a multiple of
alignment any more.

Thanks Joseph Myers for the heads up.

(maya)