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

2024-05-09 21:15:23 UTC Now

2018-12-16 16:46:13 UTC MAIN commitmail json YAML

2018-12-16 16:45:12 UTC MAIN commitmail json YAML

2018-12-16 16:06:39 UTC MAIN commitmail json YAML

unifdef RSA_ENCPWD. The matching code does not exist.

(maya)

2018-12-16 14:08:49 UTC MAIN commitmail json YAML

Remove self reference in SEE ALSO
Add references consistent with those in md4(3) and md5(3)

Reported by kamil

(abhinav)

2018-12-16 14:06:56 UTC MAIN commitmail json YAML

Import thmap -- a concurrent trie-hash map, combining the elements of
hashing and radix trie.  It supports lock-free lookups and concurrent
inserts/deletes.  It is designed to be optimal as a general purpose
*concurrent* associative array.

Upstream: https://github.com/rmind/thmap
Discussed on tech-kern@

(rmind)

2018-12-16 14:04:14 UTC MAIN commitmail json YAML

Have to hijack sysctl() and modctl() for zfs commands.

Should fix PR kern/53422

(hannken)

2018-12-16 14:03:37 UTC MAIN commitmail json YAML

2018-12-16 11:40:09 UTC MAIN commitmail json YAML

Editor mishap in previous, pointed out by leot

(martin)

2018-12-16 11:36:08 UTC MAIN commitmail json YAML

Separate binary sets and binary pkg prefix from the machine, and set
it explicitly for evbarm*, evbmips* and evbsh3 so we get the correct
64bit pkgs on aarch64 and also have working defaults on the other
variants.

(martin)

2018-12-16 10:42:32 UTC MAIN commitmail json YAML

Explicitly disable ALTINST on VIA, in case it isn't disabled by default
already (the 'VIA cpu backdoor').

(maxv)

2018-12-16 08:58:21 UTC MAIN commitmail json YAML

Fix previous: set EMUIMAGEMB, not USBIMAGEMB.

(gson)

2018-12-16 08:54:58 UTC MAIN commitmail json YAML

netinet6: only flush prefixes and routers for the given interface.

Unless it's lo0, where we then flush the lot.
The maintains the status-quo with ndp(8) and allows dhcpcd(8) to at least
try and work with kernel RA on one interface and dhcpcd on another.

(roy)

2018-12-16 08:47:43 UTC MAIN commitmail json YAML

ndp: SIOCSPFXFLUSH_IN6 and SIOCSRTRFLUSH_IN6 expect struct in6_ifreq

And not just a character string of the interface name.
This only worked before because the interface name is the first member
of the structure.

(roy)

2018-12-16 08:19:51 UTC MAIN commitmail json YAML

Note NVIDIA Tegra X1 SoC SATA support

(skrll)

2018-12-16 02:18:01 UTC MAIN commitmail json YAML

port-macppc/46319 is marked as resolved now.
Test on 8.99.26 build of NetBSD/macppc

(sevan)

2018-12-15 23:23:51 UTC MAIN commitmail json YAML

Remove mention of SPX.

(maya)

2018-12-15 23:22:51 UTC MAIN commitmail json YAML

G/C SPX support

It was presented as a draft in 1993. I don't see any mentions since. it
was not enabled.

(maya)

2018-12-15 22:56:51 UTC MAIN commitmail json YAML

Remove README relevant to 1995 telnet.

(maya)

2018-12-15 22:17:02 UTC MAIN commitmail json YAML

Remove reference to krb_realmofhost(3) which does not exist.

Someone who speaks kerberos might want to check the -k description.

Remove some macros that do nothing and use \(em.

(wiz)

2018-12-15 22:12:15 UTC MAIN commitmail json YAML

You can encrypt outside of north america now.

(maya)

2018-12-15 22:05:24 UTC MAIN commitmail json YAML

- Use kmem_intr_{alloc,free}, because on time out we need to free from an
  interrupt context.
- Remove parens from returns and useless casts from void.

(christos)

2018-12-15 22:00:16 UTC MAIN commitmail json YAML

More appropriate line-wrapping for previous.

(pgoyette)

2018-12-15 18:03:18 UTC MAIN commitmail json YAML

Use the special device name "ROOT." in /etc/fstab not just on the arm
images, but also on the bootable disk images of other ports, so that
they can be booted from differently named devices.  Merge the i386 and
amd64 -live-sd0root and -live-wd0root images into a single live image
per port, bootable both from usb media and in qemu.  Drop the -xx0root
suffixes from image names as they are no longer meaningful.

(gson)

2018-12-15 17:11:10 UTC MAIN commitmail json YAML

2018-12-15 16:54:30 UTC MAIN commitmail json YAML

Add missing include for device_t declaration.

(alnsn)

2018-12-15 15:34:07 UTC MAIN commitmail json YAML

ath(4): fix path, bump date

(jakllsch)

2018-12-15 13:40:15 UTC netbsd-8 commitmail json YAML

2018-12-15 13:39:43 UTC MAIN commitmail json YAML

Invert the mapping logic.

Until now, the "owner" of the memory was the guest, and by calling
nvmm_gpa_map(), the virtualizer was creating a view towards the guest
memory.

Qemu expects the contrary: it wants the owner to be the virtualizer, and
nvmm_gpa_map should just create a view from the guest towards the
virtualizer's address space. Under this scheme, it is legal to have two
GPAs that point to the same HVA.

Introduce nvmm_hva_map() and nvmm_hva_unmap(), that map/unamp the HVA into
a dedicated UOBJ. Change nvmm_gpa_map() and nvmm_gpa_unmap() to just
perform an enter into the desired UOBJ.

With this change in place, all the mapping-related problems in Qemu+NVMM
are fixed.

(maxv)

2018-12-15 13:38:59 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by is in ticket #1137):

sys/arch/x86/pci/amdnb_misc.c: revision 1.3
sys/arch/x86/pci/amdtemp.c: revision 1.22

Added support for AMD family 16h cpu sensors - (just like 10h-14h).
(Tested on netbsd-8.0 release.)

(martin)

2018-12-15 13:20:46 UTC MAIN commitmail json YAML

New sqlite out

(maya)

2018-12-15 13:17:12 UTC MAIN commitmail json YAML

Add missing call to arm_fdt_cpu_mpstart, fixes SMP on Tegra X1

(jmcneill)

2018-12-15 13:09:02 UTC MAIN commitmail json YAML

Two changes:

- Fix the I/O Assist, for INS* it is RDI and not RSI, and the register
  gets updated regardless of the REP prefix.

- Fill in the Mem Assist. We decode and emulate certain instructions,
  and pass a mem descriptor to the callback to handle the transaction.
  The disassembler could use some polishing, and there are still a
  few instructions missing; but basically it works.

(maxv)

2018-12-15 12:52:37 UTC MAIN commitmail json YAML

Document last changes and bump version to 20181215

Suggested by <mrg>, thanks! (Possible mistakes are mine though!)

(leot)

2018-12-15 12:43:24 UTC MAIN commitmail json YAML

Fix handling of bozo_set_timeout() timeouts (and `-T' option parsing)

(leot)

2018-12-15 12:39:22 UTC MAIN commitmail json YAML

Avoid .htpasswd exposure to authenticated users when .htpasswd is
in the slashdir too.

Problem reported by JP via tech-security@ and discussed with <mrg>, thanks!

(leot)

2018-12-15 12:08:18 UTC MAIN commitmail json YAML

Add KASAN and KLEAK.

(maxv)

2018-12-15 10:30:58 UTC MAIN commitmail json YAML

Make IODATA WN-G150UMW work:
- Increase delay to prevent "could not send firmware command". The value
  is taken from FreeBSD.
-Increase delay to prevent "timeout waiting for firmware readiness". The
  vaule is taken from Linux.

(msaitoh)

2018-12-15 09:28:27 UTC MAIN commitmail json YAML

Avoid possible NULL dereference when sending a big request that timeout.

Problem reported by <maya> and reviewed by <maya> and <mrg>, thanks!

(leot)

2018-12-15 07:38:58 UTC MAIN commitmail json YAML

Improve wording in comments: replace "chain" with "queue" for
sequence of mbuf's connected by m_nextpkt, in order to avoid
confusion with those connected by m_next.

No binary changes.

(rin)

2018-12-15 07:29:44 UTC MAIN commitmail json YAML

Replace panic with rate-limited LOG_ERR message when we encounter
invalid ether frame with non-zero csum flags.

Requested by thorpej.

(rin)

2018-12-15 05:40:10 UTC MAIN commitmail json YAML

Print and clear the wakeup status only when the WUS register != 0.

(msaitoh)

2018-12-15 05:38:45 UTC MAIN commitmail json YAML

Clearing PCI_PMCSR_PME_STS(W1C) bit is required to stop asserting PME#.
This change would prevent unexpected rebooting from shutdown -p or
unexpected resuming from suspend.

(msaitoh)

2018-12-15 02:03:24 UTC MAIN commitmail json YAML

strings.h for strcasecmp (on linux)

(maya)

2018-12-15 01:02:58 UTC MAIN commitmail json YAML

2018-12-15 01:02:34 UTC MAIN commitmail json YAML

Check against BOZO_HEADERS_MAX_SIZE in a way that isn't prone to overflow.
Note that this isn't reachable in practice as big requests time out.

(maya)

2018-12-14 23:57:22 UTC MAIN commitmail json YAML

Don't pass ${HOST} to test scripts.
htnl_cmp compares against the output of `hostname`.

This makes the tests pass on my machine.

(maya)

2018-12-14 23:42:40 UTC MAIN commitmail json YAML

2018-12-14 23:40:17 UTC MAIN commitmail json YAML

2018-12-14 23:03:29 UTC MAIN commitmail json YAML

make iic* and more pci* nodes

(macallan)

2018-12-14 23:01:53 UTC MAIN commitmail json YAML

Make this config resemble an Iyonix as they actually shipped:
- add more onboard and standard devices ( dsrtc, ehci, etc. )
- remove lots of unused and commented out drivers
- add some useful filesystems like procfs etc.

(macallan)

2018-12-14 22:05:36 UTC MAIN commitmail json YAML

add options DSRTC_YEAR_START_2K for machines which use 2000 and not 1970
as base to count years from, like Iyonix.
While there apply the offset when writing to the clock as well.

(macallan)

2018-12-14 22:00:26 UTC MAIN commitmail json YAML

2018-12-14 21:49:22 UTC MAIN commitmail json YAML

add cardbus attachment for malo(4), from OpenBSD

(jakllsch)

2018-12-14 21:27:03 UTC MAIN commitmail json YAML

2018-12-14 21:23:44 UTC MAIN commitmail json YAML

use callout_destroy in malo_detach, not callout_stop

(jakllsch)

2018-12-14 20:44:37 UTC MAIN commitmail json YAML

always use correct function to free our copy of the microcode

(jakllsch)

2018-12-14 18:17:36 UTC MAIN commitmail json YAML

Provide TEGRA210 supplies.

(skrll)

2018-12-14 14:04:13 UTC MAIN commitmail json YAML

2018-12-14 13:56:59 UTC MAIN commitmail json YAML

add D-Link LTE products

(tnn)

2018-12-14 12:29:22 UTC MAIN commitmail json YAML

2018-12-14 12:27:22 UTC MAIN commitmail json YAML

Need <netinet6/ip6_var.h> for ip6_statinc() prototype.

(martin)

2018-12-14 12:15:17 UTC netbsd-8 commitmail json YAML

2018-12-14 12:14:08 UTC netbsd-8 commitmail json YAML

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

external/bsd/file/lib/Makefile: revision 1.11

Use DPSRCS for magic.h. OK'd by Christos.

(martin)

2018-12-14 12:08:43 UTC netbsd-7-0 commitmail json YAML

Annotate ticket #1660 for additional pullups

(martin)

2018-12-14 12:07:54 UTC netbsd-7-0 commitmail json YAML

Additionally pull up following revision(s) (requested by maxv in ticket #1660):

sys/compat/linux/common/linux_misc_notalpha.c: revision 1.110
sys/kern/kern_time.c: revision 1.193

Improve my kern_time.c::rev1.192, systematically clear the buffers we get
from 'ptimer_pool' to prevent more leaks.

(martin)

2018-12-14 12:07:22 UTC netbsd-7-1 commitmail json YAML

Annotate ticket #1660 for additional pullups

(martin)

2018-12-14 12:06:43 UTC netbsd-7-1 commitmail json YAML

Additionally pull up following revision(s) (requested by maxv in ticket #1660):

sys/compat/linux/common/linux_misc_notalpha.c: revision 1.110
sys/kern/kern_time.c: revision 1.193

Improve my kern_time.c::rev1.192, systematically clear the buffers we get
from 'ptimer_pool' to prevent more leaks.

(martin)

2018-12-14 12:06:12 UTC netbsd-7 commitmail json YAML

Annotate ticket #1660 for additional pullups

(martin)

2018-12-14 12:04:26 UTC netbsd-7 commitmail json YAML

Additionally pull up following revision(s) (requested by maxv in ticket #1660):

sys/compat/linux/common/linux_misc_notalpha.c: revision 1.110
sys/kern/kern_time.c: revision 1.193

Improve my kern_time.c::rev1.192, systematically clear the buffers we get
from 'ptimer_pool' to prevent more leaks.

(martin)

2018-12-14 09:47:40 UTC MAIN commitmail json YAML

- Fix availability detection of WoL on some chips. This change has no effect
other than dmesg because WM_F_WOL is currently not used to change the behavior:
  - For ICH/PCH, check the capability not from NVM but from the WUC register.
    Check the value before clearing the register.
  - 82580 and newer have per-port NVM block, so read the area correctly.
    Note that 82580, I350 and I354 may have PCI function 2 and 3.
  - Some devices can't detect WoL capability neither from NVM nor from WUC.
    Use PCI device ID and the function number.
- Print the WUS (WakeUp Status) register bits when resume.

(msaitoh)

2018-12-14 09:21:32 UTC MAIN commitmail json YAML

Remove comment about removed lmc*.

(nakayama)

2018-12-14 06:28:49 UTC MAIN commitmail json YAML

Remove unneeded casts

(maya)

2018-12-14 06:28:09 UTC MAIN commitmail json YAML

Print CLSEM workaround bit correctly.

(msaitoh)

2018-12-14 06:27:40 UTC MAIN commitmail json YAML

Remove some effectively if 0'd code.

(maya)

2018-12-14 06:17:31 UTC MAIN commitmail json YAML

Inline the only use of NetNonblockingIO.
While here inline SetSockOpt. From openbsd.

(maya)

2018-12-14 06:08:18 UTC MAIN commitmail json YAML

2018-12-14 03:43:22 UTC MAIN commitmail json YAML

Don't leave a subordinate clause out in the cold.

(uwe)

2018-12-14 03:29:54 UTC MAIN commitmail json YAML

Fix typo in the function comment.

(uwe)

2018-12-13 20:54:50 UTC MAIN commitmail json YAML

Panic rather than silently dropping packets when TX offload options are
enabled for unsupported frame types.

(rin)

2018-12-13 20:44:33 UTC MAIN commitmail json YAML

Also take care of non-DIAGNOSTIC case.

(rin)

2018-12-13 16:38:26 UTC MAIN commitmail json YAML

Fix fwdma_free() for when bus_dmamap_unload() clobbers the dmamap.

Prevents KASSERTs on detaches of sbp(4) and fwohci(4) on amd64.

We should pass the dmamem segs around seperately, not in loaded dmamap...

(jakllsch)

2018-12-13 16:28:10 UTC MAIN commitmail json YAML

Don't forget to advance the RIP after an XSETBV emulation.

(maxv)

2018-12-13 16:23:34 UTC MAIN commitmail json YAML

2018-12-13 16:20:20 UTC MAIN commitmail json YAML

Add Logitech Gamepad F310 and Logitech Dual Action Gamepad

(fox)

2018-12-13 16:16:51 UTC MAIN commitmail json YAML

Allow x86 builds to have the opportunity to not have pre-emption
enabled by default. This can be effected by having a:

"options NO_PREEMPTION"

line in the kernel configuration file.

While it was tempting to tie __HAVE_PREEMPTION to MULTIPROCESSOR,
as is currently assumed in sys/kern/kern_stub.c ,

having MULTIPROCESSOR without __HAVE_PREEMPTION
and not having either are valid configuration options which users
could have choice of. We thus err on the side of configurability.

(cherry)

2018-12-13 13:11:28 UTC MAIN commitmail json YAML

IPFilter 5 requires you to specify IPv4 or IPv6

(sborrill)

2018-12-13 12:28:25 UTC MAIN commitmail json YAML

Avoid undefined behaviour, pointed out by maxv

(martin)

2018-12-13 12:13:33 UTC MAIN commitmail json YAML

Fix (bridge && !inet6) build.

(rin)

2018-12-13 11:28:00 UTC MAIN commitmail json YAML

Add a note about the (lack of) correspondence between a module's name and
the name of the file from which it is loaded.

(pgoyette)

2018-12-13 10:44:25 UTC MAIN commitmail json YAML

2018-12-13 10:27:51 UTC MAIN commitmail json YAML

inet6: discard any received NA with a LL address we own

This matches ARP behaviour.

(roy)

2018-12-13 10:20:51 UTC MAIN commitmail json YAML

Drop v_interlock for zfs_range_lock(), another thread might hold part
of this range and wait for v_interlock.

(hannken)

2018-12-13 10:20:20 UTC MAIN commitmail json YAML

Operation zfs_range_lock() needs range as (offset,length), not as (low,high).

(hannken)

2018-12-13 10:19:47 UTC MAIN commitmail json YAML

Don't allow module to init before mp_online.

(hannken)

2018-12-13 09:20:05 UTC MAIN commitmail json YAML

Expand SIG_FUNC_RET -from openbsd.

(maya)

2018-12-13 09:09:32 UTC MAIN commitmail json YAML

Remove unused code

(maya)

2018-12-13 09:07:53 UTC MAIN commitmail json YAML

2018-12-13 08:45:30 UTC MAIN commitmail json YAML

2018-12-13 08:44:11 UTC MAIN commitmail json YAML

Remove unused macro.

(maya)

2018-12-13 08:42:26 UTC MAIN commitmail json YAML

Remove unused macro.

(maya)

2018-12-13 08:39:34 UTC MAIN commitmail json YAML

Remove unused macro.

(maya)

2018-12-13 07:34:03 UTC MAIN commitmail json YAML

2018-12-13 05:22:45 UTC MAIN commitmail json YAML

Fix a wrong access to I217_PROXY_CTRL which was added in inbmphreg.h rev. 1.13
and if_wm.c rev. 1.603.

(msaitoh)

2018-12-13 05:22:15 UTC MAIN commitmail json YAML

2018-12-13 05:15:11 UTC MAIN commitmail json YAML

ExitString is used for error exit, do the minimum necessary here.
Avoid infinite loop:
telrcv->suboption->ExitString->SetForExit->telrcv

Reported by hacker fantastic, thanks!

(maya)

2018-12-13 05:07:03 UTC MAIN commitmail json YAML

2018-12-13 04:49:19 UTC MAIN commitmail json YAML

unifdef TN3270 which is never defined (and wouldn't build if it was)
delete tn3270 file no longer needed.
SetIn3270(); expands to nothing now, so remove it.

No functional change.

(maya)

2018-12-13 04:41:41 UTC MAIN commitmail json YAML

Adjust English usage in message for EAI_NONAME.

(dholland)

2018-12-13 04:30:56 UTC MAIN commitmail json YAML

Return EAI_NODATA, not EAI_NONAME, for nonexistent hosts.

This causes e.g. "ssh nosuchname" to print "No address associated with
hostname", which is correct, rather than "hostname nor servname
provided, or not known", which is not.

(dholland)

2018-12-13 04:29:18 UTC MAIN commitmail json YAML

Remove unused macros.

(maya)

2018-12-13 03:18:18 UTC MAIN commitmail json YAML

Fix naming inconsistency; PR 53769 from silas.

(dholland)

2018-12-13 01:58:04 UTC MAIN commitmail json YAML

2018-12-13 01:40:02 UTC MAIN commitmail json YAML

Calculate uchcom(4) dividers differently; usually the same, but sometimes better.

(jakllsch)

2018-12-13 01:29:11 UTC MAIN commitmail json YAML

Describe what happens when you run vmstat witout any options aka the first line
of vmstat.

(sevan)

2018-12-13 00:36:30 UTC MAIN commitmail json YAML

Fix uchcom(4) line parameter settings.

Enables support for line modes other than 8-bit/no-parity/1-stop on
modern chips, and should also work on older chips.

(jakllsch)

2018-12-12 23:40:02 UTC MAIN commitmail json YAML

amdtemp +16h

(is)

2018-12-12 23:35:04 UTC MAIN commitmail json YAML

Added support for AMD family 16h cpu sensors - (just like 10h-14h).
(Tested on netbsd-8.0 release.)

(is)

2018-12-12 23:26:00 UTC MAIN commitmail json YAML

remove unneeded variables in uchcom_softc

(jakllsch)

2018-12-12 23:21:36 UTC MAIN commitmail json YAML

omit irrelevant #includes

(jakllsch)

2018-12-12 22:27:03 UTC MAIN commitmail json YAML

2018-12-12 20:22:43 UTC MAIN commitmail json YAML

Reverse a decision made when the printsignals() routines from
kill and sh were merged so that the shell (for trap -l) and
kill (for kill -l) can use the same routine, and site that function
in the shell, rather than in kill (use the code that is in kill as
the basis for that routine).  This allows access to sh internals,
and in particular to the posix option, so the builtin kill can
operate in posix mode where the standard requires just a single
character (space of newline) between successive signal names (and
we prefer nicely aligned columns instead)..

In a SMALL shell, use the ancient sh printsignals routine instead,
it is smaller (and very much dumber).

/bin/kill still uses the routine that is in its source, and is
not posix compliant.  A task for some other day...

(kre)

2018-12-12 19:05:32 UTC MAIN commitmail json YAML

switch sprintf to snprintf in places.

Reported by hacker fantastic, thanks!

ok xtos.

(maya)

2018-12-12 18:11:00 UTC MAIN commitmail json YAML

2018-12-12 13:02:36 UTC MAIN commitmail json YAML

Note that sh(1) has changed since NetBSD 8.  Correct formatting of
some of my earlier entries.

(kre)

2018-12-12 12:56:17 UTC MAIN commitmail json YAML

More fixes for the SYNPOSIS of the readonly built-in.
The SYNOPSIS for "readonly -q" cannot have the -q be
optional ...  Also harmonise the output appearance with
that of the export command.

wiz: have at it...

(kre)

2018-12-12 12:30:59 UTC MAIN commitmail json YAML

Fix Oo Op Oc syntax error (which seemed to work OK to me....)
Pointed out by wiz@

(kre)

2018-12-12 12:16:43 UTC MAIN commitmail json YAML

The time has come, the Walrus said...  (but no shoes,
ships, or sealing wax required).  No oysters either.

I have not taken the Magical Mystery Tour, but I
say it anyway...

(kre)

2018-12-12 11:52:05 UTC MAIN commitmail json YAML

Add a new test case for NetBSD specific readonly tests.
Add more sub-tests to the export_nbsd test case.
In both cases the new -q and -p VAR options are tested.

(kre)

2018-12-12 11:51:33 UTC MAIN commitmail json YAML

Implement:
readonly -q VAR...
readonly -p VAR...
export -q [-x] VAR...
export -p [-x] VAR...

all available only in !SMALL shells - and while here, limit
"export -x" to full sized shells as well.

Also, do a better job of arg checking and validating of the
export and readonly commands (which is really just one built-in)
and of issuing error messages when something bogus is detected.

Since these commands are special builtin commands, any error
causes shell exit (for non-interactive shells).

(kre)

2018-12-12 11:40:08 UTC MAIN commitmail json YAML

Remove superfluous dot.

(wiz)

2018-12-12 11:38:09 UTC netbsd-7-0 commitmail json YAML

2018-12-12 11:37:42 UTC netbsd-7-0 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1664):

sys/kern/sys_sig.c: revision 1.47

Fix kernel info leak, 4 bytes of padding in struct _ksiginfo. Maybe we
should just set _pad to zero on LP64?

        + Possible info leak: [len=40, leaked=4]
        | #0 0xffffffff80baf397 in kleak_copyout
        | #1 0xffffffff80bda817 in sigtimedwait1
        | #2 0xffffffff80bdab95 in sys_____sigtimedwait50
        | #3 0xffffffff80259c42 in syscall

(martin)

2018-12-12 11:37:15 UTC netbsd-7-1 commitmail json YAML

2018-12-12 11:36:47 UTC netbsd-7-1 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1664):

sys/kern/sys_sig.c: revision 1.47

Fix kernel info leak, 4 bytes of padding in struct _ksiginfo. Maybe we
should just set _pad to zero on LP64?

        + Possible info leak: [len=40, leaked=4]
        | #0 0xffffffff80baf397 in kleak_copyout
        | #1 0xffffffff80bda817 in sigtimedwait1
        | #2 0xffffffff80bdab95 in sys_____sigtimedwait50
        | #3 0xffffffff80259c42 in syscall

(martin)

2018-12-12 11:35:59 UTC netbsd-7 commitmail json YAML

2018-12-12 11:35:41 UTC netbsd-7 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1664):

sys/kern/sys_sig.c: revision 1.47

Fix kernel info leak, 4 bytes of padding in struct _ksiginfo. Maybe we
should just set _pad to zero on LP64?

        + Possible info leak: [len=40, leaked=4]
        | #0 0xffffffff80baf397 in kleak_copyout
        | #1 0xffffffff80bda817 in sigtimedwait1
        | #2 0xffffffff80bdab95 in sys_____sigtimedwait50
        | #3 0xffffffff80259c42 in syscall

(martin)

2018-12-12 11:34:11 UTC netbsd-8 commitmail json YAML

2018-12-12 11:33:29 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by maxv in ticket #1134):

sys/kern/sys_sig.c: revision 1.47

Fix kernel info leak, 4 bytes of padding in struct _ksiginfo. Maybe we
should just set _pad to zero on LP64?

        + Possible info leak: [len=40, leaked=4]
        | #0 0xffffffff80baf397 in kleak_copyout
        | #1 0xffffffff80bda817 in sigtimedwait1
        | #2 0xffffffff80bdab95 in sys_____sigtimedwait50
        | #3 0xffffffff80259c42 in syscall

(martin)

2018-12-12 11:14:51 UTC MAIN commitmail json YAML

- need to save/restore interrupt mask when entering/exiting to/from cpu_switchto_softint().
- when call dosoftints from cpu_idle, interrupts should be disabled.

rarely, lwp stack had been exhausted when high interrupts.
reported by alnsn@. thanks.

(ryo)

2018-12-12 10:42:34 UTC MAIN commitmail json YAML

Change the map/unmap functions, again.

(maxv)

2018-12-12 10:25:29 UTC MAIN commitmail json YAML

Retire lmcconfig here too.

(martin)

2018-12-12 09:55:34 UTC MAIN commitmail json YAML

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

Change the "FILES" section, in the end I don't want to commit toyvirt
and smallkern, there is little interest installing them by default,
rather they can be downloaded from www. It's better this way.

While here add NVMM(4) in "SEE ALSO".

(maxv)

2018-12-12 08:49:33 UTC MAIN commitmail json YAML

Add some code for suspend/resume:
- Rename wm_smbustopci() to wm_init_phy_workarounds_pchlan(). It will also
  called when resume.
- Call wm_phy_resetisblocked() after PHY reset in
  wm_init_phy_workarounds_pchlan() to wait for the PHY to quiesce to an
  accessible state.
- Add new wm_resume_workarounds_pchlan() function and use it in wm_resume().
  This workaround is only for PCH2 and newer.
- Don't call wm_disable_aspm() neither in wm_attach() nor in wm_resume()
  but in wm_reset().
- Do some initialization in wm_resume() when IFF_UP is NOT set.
- Don't continue when it failed to acquire semaphore in wm_ulp_disable().
- Add comment.

(msaitoh)

2018-12-12 08:28:44 UTC MAIN commitmail json YAML

Sort sections. Remove superfluous El. Insert Xr.

(wiz)

2018-12-12 08:28:19 UTC MAIN commitmail json YAML

Say that on x86 you also have to modload tprof_x86.

(maxv)

2018-12-12 08:24:50 UTC MAIN commitmail json YAML

2018-12-12 08:20:53 UTC MAIN commitmail json YAML

2018-12-12 08:12:18 UTC MAIN commitmail json YAML

Fix reference to en(4) and remove reference to viapm(4), which does
not exist.

(wiz)

2018-12-12 08:10:39 UTC MAIN commitmail json YAML

Add more subtests to the export and readonly built-in commands test cases.

In particular, add a readonly test to detect the bug that was just fixed...
(but there is more than that one added here).

Also, allow zsh to run more of these tests than it did, what is a builtin
command most places (including in POSIX) can be a reserved word in zsh!

(kre)

2018-12-12 08:02:17 UTC MAIN commitmail json YAML

2018-12-12 07:56:57 UTC MAIN commitmail json YAML

Fix a botch made in 1.70 (a bit over a week ago) where
var=foo; readonly var=new
now fails.

If var was already set, an attempt to make it readonly, and assign it
a new value at the same time, failed - the readonly flag was set too soon.

Pointed out by Martijn Dekker (thanks).

Also, while here, add a couple of comments.

(kre)

2018-12-12 07:07:30 UTC MAIN commitmail json YAML

Drop LMC-related entry from TODO.smpnet, and note removal of LMC.

(maxv)

2018-12-12 07:04:06 UTC MAIN commitmail json YAML

2018-12-12 06:36:13 UTC MAIN commitmail json YAML

Use DPSRCS for magic.h. OK'd by Christos.

(msaitoh)

2018-12-12 06:29:37 UTC MAIN commitmail json YAML

2018-12-12 02:26:40 UTC MAIN commitmail json YAML

Document capability of TX/RX offload and environment variable
RUMP_SHMIF_CAPENABLE. Bump date.

part of PR kern/53562

(rin)

2018-12-12 01:53:52 UTC MAIN commitmail json YAML

Simplify logic in ip{,6}_output().

Now, we have M_CSUM_TSOv[46] bit in ifp->if_csum_flags_tx when
TSO[46] is enabled for the interface. So we can simply check
whether TSO[46] is required in a packet but missing in the
interface by (sw_csum & M_CSUM_TSOv[46]).

Note that this is a very rare case where TSO[46] is suddenly
turned off during a packet passing b/w TCP and IP.

part of PR kern/53562
OK msaitoh

(rin)

2018-12-12 01:51:32 UTC MAIN commitmail json YAML

Add TX/RX offload capabilities to shmif(4). They are emulated in
software by ether_sw_offload_[tr]x().

For rump kernels, if_capabilities for shmemif(4) can be specified
by environmental variable RUMP_SHMIF_CAPENABLE:

setenv RUMP_SHMIF_CAPENABLE 0x7ff80 (all offload)
setenv RUMP_SHMIF_CAPENABLE 0x6aa80 (all TX)
setenv RUMP_SHMIF_CAPENABLE 0x15500 (all RX)

part of PR kern/53562
OK msaitoh

(rin)

2018-12-12 01:46:47 UTC MAIN commitmail json YAML

PR kern/53562

Handle TX offload in software when a packet is sent via
bridge_output(). We can send it as is in the following
exceptional cases:

For unicast:

(1) When the destination interface is the same as source.

(2) When the destination supports all TX offload options
    specified in a packet.

For multicast/broadcast:

(3) When all the members of the bridge support the specified
    TX offload options.

For (3), add sc_csum_flags_tx flag to bridge softc, which is
logical AND b/w capabilities of TX offload options in member
interface (ifp->if_csum_flags_tx). The flag is updated when a
member is (i) added to or (ii) removed from a bridge, or (iii)
if_csum_flags_tx flag of a member interface is manipulated via
ifconfig(8).

Turn on M_CSUM_TSOv[46] bit in ifp->if_csum_flags_tx flag when
TSO[46] is enabled for that interface.

OK msaitoh thorpej

(rin)

2018-12-12 01:40:21 UTC MAIN commitmail json YAML

PR kern/53562

Add ether_sw_offload_[tr]x: handle TX/RX offload options in software.
Since this violates separation b/w L2 and L3/L4, new files are added
rather than having the routines in sys/net/if_ethersubr.c.

OK msaitoh thorpej

(rin)

2018-12-12 00:48:44 UTC MAIN commitmail json YAML

2018-12-11 23:06:30 UTC MAIN commitmail json YAML

in atabus_detach(), shutdown the channel thread only after all the
children successfully detach; this is especially important for
atapibus, which needs the thread to execute commands

fixes hang on poweroff with root on ATAPI cd(4), reported by Christoph Badura

(jdolecek)

2018-12-11 23:02:19 UTC MAIN commitmail json YAML

Reword post mortem description. It tries to get the tree averages if it can.

(sevan)

2018-12-11 19:40:54 UTC MAIN commitmail json YAML

Remove stray ; to fix the build

(martin)

2018-12-11 19:38:42 UTC MAIN commitmail json YAML

Don't exclude code from rump kernel build.

(alnsn)

2018-12-11 18:11:33 UTC MAIN commitmail json YAML

need to save/restore also x1. x1 is in-use as ipl.

(ryo)

2018-12-11 16:52:49 UTC MAIN commitmail json YAML

2018-12-11 16:45:49 UTC MAIN commitmail json YAML

Avoid signed/unsigned comparision (if_mtu is uint64_t)

(martin)

2018-12-11 14:49:27 UTC MAIN commitmail json YAML

restore error reporting in ucomparam() lost in 1.115

(jakllsch)

2018-12-11 14:38:46 UTC MAIN commitmail json YAML

PR/53775: Havard Eidnes: bind(2) may inaccurately return EADDRNOTAVAIL,
it should return EADDRINUSE.

(christos)

2018-12-11 14:04:15 UTC MAIN commitmail json YAML

comment out nouveau related lines in INSTALL kernels too

(maya)

2018-12-11 13:35:03 UTC MAIN commitmail json YAML

Determine the frame size as a function of MTU.

XXX Jumbo frame is not yet supported.

(rin)

2018-12-11 13:31:20 UTC MAIN commitmail json YAML

PR standards/42829

Implement parameter and arithmetic expansion of $ENV
before using it as the name of a file from which to
read startup commands for the shell.  This continues
to happen for all interactive shells, and non-interactive
shells for which the posix option is not set (-o posix).

On any actual error, or if an attempt is made to use
command substitution, then the value of ENV is used
unchanged as the file name.

The expansion complies with POSIX XCU 2.5.3, though that
only requires parameter expansion - arithmetic expansion
is an extension (but for us, it is much easier to do, than
not to do, and it allows some weird stuff, if you're so
inclined....)  Note that there is no ~ expansion (use $HOME).

(kre)

2018-12-11 11:00:18 UTC MAIN commitmail json YAML

disable nouveau. it hasn't been functional since the import of new drmkms
code.

(maya)

2018-12-11 09:05:50 UTC MAIN commitmail json YAML

Stop assigning random MAC address when it cannot be obtained from H/W.
It was intended only for debugging.

(rin)

2018-12-11 08:16:57 UTC MAIN commitmail json YAML

Support checksum offloading for mue(4) by Robert Swindells
and adjusted by myself.

(rin)

2018-12-11 06:34:00 UTC MAIN commitmail json YAML

Add a convenience function, com_init_regs_stride(), that shifts the register
offsets and size by the specified amount.  Use in front-ends as appropriate.

(thorpej)

2018-12-11 05:46:14 UTC MAIN commitmail json YAML

fix build failure without options MULTIPROCESSOR

(ryo)

2018-12-11 03:47:51 UTC MAIN commitmail json YAML

tests: add missing $af

(ozaki-r)

2018-12-11 02:29:11 UTC MAIN commitmail json YAML

Clarify the difference to getloadavg(3).

(sevan)

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

Remove UCHCOM_REG_BPS_MOD and UCHCOM_REG_BPS_PAD usage.

There is no clear indication doing these calculations and setting the
resulting register bits results in improved functionality.  Contrary
to hints in the code, short-term precision of the UART clock doesn't
appear to improve when these bits are adjusted.

Neither the vendor's Linux driver nor the mainline Linux driver
currently touch these bits.

Tested with CH341A and a logic analyzer.

(jakllsch)

2018-12-10 21:19:33 UTC MAIN commitmail json YAML

2018-12-10 21:10:52 UTC MAIN commitmail json YAML

assert that WAPBL journal write lock is actually held when called with
PGO_JOURNALLOCKED or IO_JOURNALLOCKED

suggested by mrg@, thanks

(jdolecek)

2018-12-10 21:03:49 UTC MAIN commitmail json YAML

add wo_wapbl_jlock_assert to wapbl_ops

(jdolecek)

2018-12-10 20:48:34 UTC MAIN commitmail json YAML

put back UFS_WAPBL_JUNLOCK_ASSERT(), the underlying rw_write_held() check
doesn't actually have a race since it checks if the rwlock is held by
current lwp

(jdolecek)

2018-12-10 20:12:36 UTC MAIN commitmail json YAML

upon further reflection, rw_write_held() actually seems to be safe
for check that the write lock is not currently held by current lwp - current
lwp can't acquire the rwlock even when preempted

(jdolecek)

2018-12-10 19:29:41 UTC MAIN commitmail json YAML

make UFS_WAPBL_JLOCK_ASSERT() #ifdef DIAGNOSTIC, same as the underlying
function KASSERT(), so that it actually does something; fix code using
it to actually pass correct params, so that it compiles

remove UFS_WAPBL_JUNLOCK_ASSERT(), as that is inherently racy (it's
okay on those places if the rwlock is held by other lwp); depend
on the RW_ASSERT()/LOCKDEBUG inside rw_enter() to catch the case
with wapbl rwlock held by current lwp

(jdolecek)

2018-12-10 19:21:56 UTC MAIN commitmail json YAML

clarify how rw_{write,read,lock}_held() work; rw_write_held() actually
returns non-zero only if current lwp is the owner, the other two don't care
about owner; also warn that functions are not atomic, and thus should only
ever be used to assert that the lock is held

(jdolecek)

2018-12-10 17:21:21 UTC netbsd-7 commitmail json YAML

2018-12-10 17:20:03 UTC netbsd-7 commitmail json YAML

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

bin/sh/parser.c: revision 1.152 (via patch)

PR bin/53712

Avoid crash from redirect on null compound command.

(martin)

2018-12-10 17:17:08 UTC netbsd-8 commitmail json YAML

2018-12-10 17:16:11 UTC netbsd-8 commitmail json YAML

Pull up following revision(s) (requested by hannken in ticket #1133):

sys/dev/vnd.c: revision 1.270

Operation handle_with_strategy() also needs the
fstrans_start_lazy() / fstrans_done() bracket.

PR kern/53624 (dom0 freeze on domU exit)

(martin)

2018-12-10 16:28:52 UTC MAIN commitmail json YAML

need <sys/endian.h> (or arpa/inet.h) for ntohl() used in macros.

(christos)

2018-12-10 15:22:35 UTC MAIN commitmail json YAML

Operation handle_with_strategy() also needs the
fstrans_start_lazy() / fstrans_done() bracket.

PR kern/53624 (dom0 freeze on domU exit)

(hannken)

2018-12-10 15:08:23 UTC MAIN commitmail json YAML

2018-12-10 14:46:25 UTC MAIN commitmail json YAML

2018-12-10 14:32:04 UTC MAIN commitmail json YAML

do not abuse aprint_error for runtime error messages

(jakllsch)

2018-12-10 14:16:28 UTC MAIN commitmail json YAML

adjust for new QinHeng USB ID constants

(jakllsch)

2018-12-10 14:15:01 UTC MAIN commitmail json YAML