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

2024-05-10 04:16:10 UTC Now

2017-05-26 09:17:33 UTC MAIN commitmail json YAML

Add missing {ixgbe,ixv}_stop() in the detach function. Without this change,
shutdown won't finish or panic on heay traffic.

(msaitoh)

2017-05-26 09:02:33 UTC MAIN commitmail json YAML

2017-05-26 08:36:42 UTC MAIN commitmail json YAML

Count Bad SFD (Start Frame Delimiter). X550 and newer have this register.

(msaitoh)

2017-05-26 08:26:22 UTC MAIN commitmail json YAML

Replace "cmp" of function names to "match" and make their return value consistent

Function names with cmp are expected to return the order of two comparees
like memcmp and strcmp. The functions in question just answer if matched
or not, so don't use cmp and use match instead.

Consistently return 1 on matched and 0 otherwise.

(ozaki-r)

2017-05-26 08:10:46 UTC MAIN commitmail json YAML

Make key_cmpspidx_exactly and key_cmpspidx_withmask static

(ozaki-r)

2017-05-26 08:09:44 UTC MAIN commitmail json YAML

Comment out unused key_freesp_so and key_freeso

(ozaki-r)

2017-05-26 08:09:08 UTC MAIN commitmail json YAML

New sentence, new line. Punctuation fixes.

(wiz)

2017-05-26 08:00:15 UTC MAIN commitmail json YAML

Simplify; we can assume the arguments are always non-NULL

(ozaki-r)

2017-05-26 07:42:16 UTC MAIN commitmail json YAML

Clear all event counters when SIOCZIFDATA(ifconfig -z) is called.

(msaitoh)

2017-05-26 06:41:42 UTC MAIN commitmail json YAML

2017-05-26 06:40:47 UTC MAIN commitmail json YAML

Remove incorrect __diagused

(skrll)

2017-05-26 06:38:56 UTC MAIN commitmail json YAML

Use the define name PMAP_HWPAGEWALKER and not PMAP_TLB_HWPAGEWALKER

(skrll)

2017-05-26 05:33:27 UTC MAIN commitmail json YAML

Add new t_strcol test to the sets list - hopefully fix the build

(pgoyette)

2017-05-26 02:30:24 UTC MAIN commitmail json YAML

2017-05-26 01:24:19 UTC MAIN commitmail json YAML

2017-05-26 01:14:38 UTC MAIN commitmail json YAML

2017-05-26 00:15:12 UTC MAIN commitmail json YAML

Remove tegra_chip_id vs compat string test in initarm.

(jmcneill)

2017-05-26 00:00:25 UTC MAIN commitmail json YAML

Remove unused SOC_MPINIT definition

(jmcneill)

2017-05-25 23:55:30 UTC MAIN commitmail json YAML

Match nvidia,tegra210-usb-phy and nvidia,tegra30-usb-phy compat strings.

(jmcneill)

2017-05-25 23:54:45 UTC MAIN commitmail json YAML

Match nvidia,tegra210-timer and nvidia,tegra20-timer compat strings.

(jmcneill)

2017-05-25 23:53:50 UTC MAIN commitmail json YAML

Match nvidia,tegra210-sdhci compat string.

(jmcneill)

2017-05-25 23:53:05 UTC MAIN commitmail json YAML

Match nvidia,tegra210-rtc and nvidia,tegra20-rtc compat strings.

(jmcneill)

2017-05-25 23:52:10 UTC MAIN commitmail json YAML

Match nvidia,tegra210-pmc compat string.

(jmcneill)

2017-05-25 23:50:22 UTC MAIN commitmail json YAML

Match nvidia,tegra210-gpio and nvidia,tegra30-gpio compat strings.

(jmcneill)

2017-05-25 23:48:36 UTC MAIN commitmail json YAML

Match nvidia,tegra210-efuse compat string.

(jmcneill)

2017-05-25 23:45:04 UTC MAIN commitmail json YAML

Match nvidia,tegra210-ehci and nvidia,tegra30-ehci compat strings.

(jmcneill)

2017-05-25 23:43:49 UTC MAIN commitmail json YAML

Match nvidia,tegra210-i2c and nvidia,tegra114-i2c compat strings.

(jmcneill)

2017-05-25 23:42:44 UTC MAIN commitmail json YAML

Match nvidia,tegra210-uart and nvidia,tegra20-uart compat strings.

(jmcneill)

2017-05-25 23:26:48 UTC MAIN commitmail json YAML

2017-05-25 23:15:39 UTC MAIN commitmail json YAML

Correct an issue introduced in r1.7 that prevented unclamping power for
non-GPU partitions. While here, apply the GPU power workaround to Tegra210
as well.

(jmcneill)

2017-05-25 23:12:59 UTC MAIN commitmail json YAML

2017-05-25 20:42:41 UTC MAIN commitmail json YAML

Use the define name PMAP_HWPAGEWALKER and not PMAP_TLB_HWPAGEWALKER

(skrll)

2017-05-25 20:42:37 UTC MAIN commitmail json YAML

2017-05-25 20:32:48 UTC MAIN commitmail json YAML

Spell ARM_MMU_EXTENDED correctly

(skrll)

2017-05-25 18:52:24 UTC bouyer-socketcan commitmail json YAML

Allow any user to bind to CAN sockets.
Maybe a better security model is needed.

(bouyer)

2017-05-25 18:28:54 UTC MAIN commitmail json YAML

Add a member to the test data structure that indicates whether the given
encoding is state-dependent, and test the results of wctomb(NULL, '\0') and
mbtowc(NULL, NULL, 0) against this instead of against each other.

(perseant)

2017-05-25 18:26:36 UTC bouyer-socketcan commitmail json YAML

abort may clear sc_m_transmit but leave OACTIVE, so unconditionally clear
OACTIVE in TX interrupt.

(bouyer)

2017-05-25 18:23:16 UTC bouyer-socketcan commitmail json YAML

Do not call bpf_mtap() from interrupt context. Mostly from Ryota Ozaki:
on receive, use bpf_mtap_softint().
On send, call awin_can_ifstart() through if_schedule_deferred_start().

(bouyer)

2017-05-25 18:21:01 UTC bouyer-socketcan commitmail json YAML

2017-05-25 10:02:15 UTC MAIN commitmail json YAML

u3ginit rename to umodeswitch

(ryo)

2017-05-25 05:54:29 UTC MAIN commitmail json YAML

follow u3ginit driver rename to umodeswitch

(para)

2017-05-25 05:24:57 UTC MAIN commitmail json YAML

add cryptkop alloc/free KPI instead of manipulating cryptkop_pool directly.

(knakahara)

2017-05-25 05:22:56 UTC MAIN commitmail json YAML

remove obsoleted declarations.

(knakahara)

2017-05-25 04:45:59 UTC MAIN commitmail json YAML

Support SO_OVERFLOWED on PF_KEY sockets

The original author is hsuenaga@IIJ

(ozaki-r)

2017-05-25 04:35:02 UTC MAIN commitmail json YAML

Warn if failed to send up a PF_KEY message

(ozaki-r)

2017-05-25 04:19:50 UTC MAIN commitmail json YAML

KNF: remove extra leading whitespaces

(ozaki-r)

2017-05-25 03:36:36 UTC MAIN commitmail json YAML

Protect acqtree and regtree with a mutex (key_mtx)

The data structures aren't used in any performance-sensitive paths,
so just using a mutex to protect them is good enough.

(ozaki-r)

2017-05-25 02:43:43 UTC MAIN commitmail json YAML

Fix that a fresh in_ifaddr is unexpectedly freed before activating it

An in_ifaddr object is initialized with refcnt=0 and the refcnt
is incremented when being enqueued to the lists. However before
enqueuing it, in_ifinit can hold and refelease a reference to
it, i.e., call ifaref and ifafree, resulting in that the object
is freed in ifafree because its refcnt is decremented to 0.

It can be reproduced by doing:
  ifconfig tun0 create
  ifconfig tun1 create
  ifconfig tun0 10.1 10.2
  ifconfig tun1 10.2 10.1
  ifconfig  # Cause a kernel panic (may depend on environmemts)

We need to initialize a created in_ifaddr object with refcnt=1
to make the object survive over in_ifinit.

The issue is found by ryo@

(ozaki-r)

2017-05-25 02:28:07 UTC MAIN commitmail json YAML

When logging a history record for biowait(), include the return address
as a parameter, to identify to which of the many calls to biowait() the
record refers.

(pgoyette)

2017-05-25 00:12:34 UTC MAIN commitmail json YAML

2017-05-25 00:11:27 UTC MAIN commitmail json YAML

2017-05-24 21:45:40 UTC MAIN commitmail json YAML

2017-05-24 20:23:58 UTC MAIN commitmail json YAML

split the mode switch part of the u3g driver into a separate file so that
others can use it.

(christos)

2017-05-24 20:23:04 UTC MAIN commitmail json YAML

2017-05-24 15:29:51 UTC MAIN commitmail json YAML

2017-05-24 10:05:09 UTC MAIN commitmail json YAML

make the default values of q_maxlen build parameters.

(knakahara)

2017-05-24 09:57:36 UTC MAIN commitmail json YAML

implement crypto_ret_q limitation. original code is implemented by hsuenaga@IIJ.

(knakahara)

2017-05-24 09:55:19 UTC MAIN commitmail json YAML

Use VCALL() to lock or unlock the lower node.

(hannken)

2017-05-24 09:54:40 UTC MAIN commitmail json YAML

Protect layer_getpages against vnodes disappearing during a
forced unmount.

(hannken)

2017-05-24 09:54:35 UTC MAIN commitmail json YAML

add crypto_ret_{,k}q length sysctl entries and statistics codes.

(knakahara)

2017-05-24 09:53:55 UTC MAIN commitmail json YAML

With dounmount() working on a suspended file system remove no longer
needed fields mnt_busynest and mnt_unmounting from struct mount.

Welcome to 7.99.73

(hannken)

2017-05-24 09:53:00 UTC MAIN commitmail json YAML

Remove the syncer dance from dounmount().  The syncer skips
unmounting file systems as they are suspended.

Remove now unused syncer_mutex.

(hannken)

2017-05-24 09:34:48 UTC MAIN commitmail json YAML

Enable DEBUG to know what is happening on anita/sparc

(ozaki-r)

2017-05-24 06:52:14 UTC MAIN commitmail json YAML

Call cv_destroy() to deactivate the tun_cv before calling kmem_intr_free()
to deallocate the containing memory chunk (the tunnel's softc).  Otherwise
a LOCKDEBUG kernel will panic in tun_clone_destroy().

Fixes PR kern/52255

(pgoyette)

2017-05-24 06:51:27 UTC MAIN commitmail json YAML

Decode TPH Requester Control register.

(msaitoh)

2017-05-24 06:31:07 UTC MAIN commitmail json YAML

Check the "Havard TLB" maintenance operations if the "Unified TLB"
maintenance opeations don't include invalidate by ASID.  Some CPUs, e.g.
Cortex-A8, have Havard TLBs and report ASID operations this way.

(skrll)

2017-05-24 06:27:33 UTC MAIN commitmail json YAML

Move closer to the common pmap by using the same pmap_remove_all
optimisation where TLB flushes are avoided by clever ASID assignment.

pmap_remove_all_complete can now be removed.

(skrll)

2017-05-24 05:11:29 UTC MAIN commitmail json YAML

initialize sysctl in the same way regardless of module or not.

(knakahara)

2017-05-23 22:18:17 UTC MAIN commitmail json YAML

sprinkle __diagused to fix the powerpc build, which is not DIAGNOSTIC.

(christos)

2017-05-23 16:01:46 UTC MAIN commitmail json YAML

Add the error in syscall failure.

(christos)

2017-05-23 15:56:55 UTC MAIN commitmail json YAML

not allowed to map RWX anymore.

(christos)

2017-05-23 15:27:54 UTC MAIN commitmail json YAML

Make the name comparison case insensitive.

(The old whatis(1) also used to do case insensitive string comparisons).

(abhinav)

2017-05-23 14:11:08 UTC MAIN commitmail json YAML

Use literal for formatting the examples
Based on OpenBSD awk(1) man page.

Ok wiz@

(abhinav)

2017-05-23 13:55:32 UTC MAIN commitmail json YAML

New sentence, new line. Bump date for previous.

(wiz)

2017-05-23 13:04:29 UTC MAIN commitmail json YAML

Handle dk disks and print errors.

(christos)

2017-05-23 09:08:45 UTC MAIN commitmail json YAML

2017-05-23 08:54:39 UTC MAIN commitmail json YAML

2017-05-23 08:48:35 UTC MAIN commitmail json YAML

2017-05-23 07:57:26 UTC MAIN commitmail json YAML

Fix broken logic with regard to the use of uvm_unmap.  Call uvm_unmap with
the correct arguments.

Ok chs@.

(nat)

2017-05-23 07:13:11 UTC MAIN commitmail json YAML

2017-05-23 07:12:57 UTC MAIN commitmail json YAML

Add some AMD entries.

(nonaka)

2017-05-23 04:58:49 UTC MAIN commitmail json YAML

Revert locking changes back to rev 1.149.  Dropping and reaquiring the
interrupt lock was not necessary for the proper operation of uaudio
devices.

(nat)

2017-05-23 04:51:31 UTC MAIN commitmail json YAML

2017-05-23 04:26:08 UTC MAIN commitmail json YAML

Disable secspacq stuffs that are now unused

The stuffs are used only if sp->policy == IPSEC_POLICY_IPSEC
&& sp->req == NULL (see ipsec{4,6}_checkpolicy). However, in the
current implementation, sp->req never be NULL (except for the
moments of SP allocation and deallocation) if sp->policy is
IPSEC_POLICY_IPSEC.

It seems that the facility was partially implemented in the KAME
era and wasn't completed. Make it clear that the facility is
unused for now by #ifdef notyet. Eventually we should complete
the implementation or remove it entirely.

(ozaki-r)

2017-05-23 03:23:58 UTC MAIN commitmail json YAML

2017-05-23 03:18:40 UTC MAIN commitmail json YAML

x86: No ioapic_softc.sc_apicid is used anymore. Use ioapic_softc.sc_pic.pic_apicid.

(nonaka)

2017-05-23 03:13:52 UTC MAIN commitmail json YAML

Prepare to retire __LIST_CHAINED

We shouldn't relpy on the band-aid and instead use a lock or
refcnt to maintain chains properly. Before removing them,
replace conditionals with KASSERTs and see what will happen.

(ozaki-r)

2017-05-23 02:43:13 UTC MAIN commitmail json YAML

Remove an out-of-date comment

Pointed out by knakahara@

(ozaki-r)

2017-05-23 02:19:14 UTC MAIN commitmail json YAML

2017-05-23 00:54:13 UTC MAIN commitmail json YAML

XXX: Remove -fPIE for profiled libraries because this breaks relocations for
the call to __mcount.

(christos)

2017-05-23 00:48:29 UTC MAIN commitmail json YAML

Document a caveat with the Synet MW-P54SS

The MW-P54SS USB Wireless Broadband Router from Synet will only attach
after ejecting the virtual optical drive coming up first.

off to wizd(8)

(khorben)

2017-05-23 00:32:47 UTC MAIN commitmail json YAML

Also attach the MW-P54SS USB Wireless Broadband Router from Synet

Tested on NetBSD/amd64 (in HostAP mode)

(khorben)

2017-05-23 00:30:00 UTC MAIN commitmail json YAML

2017-05-23 00:29:20 UTC MAIN commitmail json YAML

Add Synet MW-P54SS USB Wireless Broadband Router

(khorben)

2017-05-22 21:22:30 UTC MAIN commitmail json YAML

there is no more UsePrivilegeSeparation

(christos)

2017-05-22 19:16:25 UTC MAIN commitmail json YAML

2017-05-22 19:04:34 UTC MAIN commitmail json YAML

vcons needs fonts now.

(christos)

2017-05-22 18:57:05 UTC netbsd-7 commitmail json YAML

2017-05-22 18:56:35 UTC netbsd-7 commitmail json YAML

Pull up missing part of rev 1.33, partly pulled up in ticket #1394:
make DDB print ipv6 addresses too

(martin)

2017-05-22 17:23:49 UTC MAIN commitmail json YAML

Update copyright notice for Ludd (remove clause 3 & 4).

(ragge)

2017-05-22 17:22:29 UTC MAIN commitmail json YAML

2017-05-22 17:17:25 UTC MAIN commitmail json YAML

2017-05-22 17:15:45 UTC MAIN commitmail json YAML

2017-05-22 17:13:09 UTC MAIN commitmail json YAML

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

2017-05-22 17:02:41 UTC MAIN commitmail json YAML

Update copyright notice for Ludd (remove clause 3 & 4).

(ragge)

2017-05-22 17:00:55 UTC MAIN commitmail json YAML

Update copyright notice for Ludd (remove clause 3 & 4).

(ragge)

2017-05-22 17:00:19 UTC MAIN commitmail json YAML

2017-05-22 16:59:32 UTC MAIN commitmail json YAML

2017-05-22 16:53:59 UTC MAIN commitmail json YAML

Update copyright notice for Ludd (remove clause 3 & 4).

(ragge)

2017-05-22 16:53:05 UTC MAIN commitmail json YAML

2017-05-22 16:46:15 UTC MAIN commitmail json YAML

2017-05-22 16:39:41 UTC MAIN commitmail json YAML

2017-05-22 16:11:23 UTC bouyer-socketcan commitmail json YAML

factor out if_attach() and bpf_attach() calls in can_ifattach().
Introduce can_ifdetach().
Introduce can_bpf_mtap(), which converts the can_id to network byte
order (as required by tcpdump/wireshark). Thanks to Guy Harris for
poiting this requirement.

(bouyer)

2017-05-22 14:07:00 UTC MAIN commitmail json YAML

Reassign my copyright to TNF.

(riastradh)

2017-05-22 07:35:15 UTC MAIN commitmail json YAML

Fix a bug that the driver prints "Link is up 1 Gbps" even if the link is
100Mbps. This change is the same as a part of ixv.c rev. 1.42.

(msaitoh)

2017-05-22 07:23:55 UTC MAIN commitmail json YAML

Document says M[LR]FC are valid when link is up and 10Gbps, so:
- Add those values when link is up and 10Gbps
- Discard those vaules when link becomes up and the speed is 10Gbps

(msaitoh)

2017-05-22 06:35:04 UTC MAIN commitmail json YAML

Indent comment to match code it's describing

(skrll)

2017-05-22 04:40:23 UTC MAIN commitmail json YAML

KNF

And avoid calling a function, assigning a result to a variable, and
comparing it all together in one condition expression.

(ozaki-r)

2017-05-22 04:23:55 UTC MAIN commitmail json YAML

Replace remaining DPRINTF with IPSECLOG

(ozaki-r)

2017-05-22 04:21:20 UTC MAIN commitmail json YAML

- The Captured Slot Power Limit value is only for device which has upsteam
  port.
- The following three registers are the same encoding, so use the same
  function:
  - the Captured Slot Power Limit in the Device Capability register of PICe
    capability.
  - the Slot Power Limit in Slot Capability register of PCIe capability.
  - the Base Power and Data Scale in the Data Register of Power Budgeting
    capability.
- Fix the alternative encoding check of power limit as document. Add check if
  scale equals to 0.

(msaitoh)

2017-05-21 22:48:25 UTC MAIN commitmail json YAML

Fix MKCATPAGES=yes build

Fix typo in the cat1/openssl_ocsp.0 entry: "cat" -> ".cat".

(kamil)

2017-05-21 22:34:34 UTC MAIN commitmail json YAML

Adjust for MKCRYPTO_RC5 removal (fixes MKDEBUGLIB=yes build).

OK <Riastradh>

(leot)

2017-05-21 22:32:56 UTC MAIN commitmail json YAML

2017-05-21 19:07:29 UTC MAIN commitmail json YAML

Add MLINKS for the functions described in bufq(9)

(abhinav)

2017-05-21 16:47:27 UTC MAIN commitmail json YAML

Permit Prof. Steven Falcon [sic] to play hals_end(6) (or, more
seriously: also permit games that contain underscores to be invoked
via wargames(6))

(leot)

2017-05-21 15:36:37 UTC MAIN commitmail json YAML

Note removal of MKCRYPTO_RC5 and MKCRYPTO.

(riastradh)

2017-05-21 15:30:20 UTC MAIN commitmail json YAML

2017-05-21 15:28:43 UTC MAIN commitmail json YAML

Remove MKCRYPTO option.

Originally, MKCRYPTO was introduced because the United States
classified cryptography as a munition and restricted its export.  The
export controls were substantially relaxed fifteen years ago, and are
essentially irrelevant for software with published source code.

In the intervening time, nobody bothered to remove the option after
its motivation -- the US export restriction -- was eliminated.  I'm
not aware of any other operating system that has a similar option; I
expect it is mainly out of apathy for churn that we still have it.
Today, cryptography is an essential part of modern computing -- you
can't use the internet responsibly without cryptography.

The position of the TNF board of directors is that TNF makes no
representation that MKCRYPTO=no satisfies any country's cryptography
regulations.

My personal position is that the availability of cryptography is a
basic human right; that any local laws restricting it to a privileged
few are fundamentally immoral; and that it is wrong for developers to
spend effort crippling cryptography to work around such laws.

As proposed on tech-crypto, tech-security, and tech-userlevel to no
objections:

https://mail-index.netbsd.org/tech-crypto/2017/05/06/msg000719.html
https://mail-index.netbsd.org/tech-security/2017/05/06/msg000928.html
https://mail-index.netbsd.org/tech-userlevel/2017/05/06/msg010547.html

P.S.  Reviewing all the uses of MKCRYPTO in src revealed a lot of
*bad* crypto that was conditional on it, e.g. DES in telnet...  That
should probably be removed too, but on the grounds that it is bad,
not on the grounds that it is (nominally) crypto.

(riastradh)

2017-05-21 14:24:05 UTC MAIN commitmail json YAML

2017-05-21 14:20:45 UTC MAIN commitmail json YAML

Remove MKCRYPTO_RC5.  Unconditionally include RC5 in libcrypto.so.

This option existed only because RC5 is covered by patents that, twenty
years ago, we had reason to suspect the patent holder, RSA, Inc., might
litigate.  The two US patents in question are 5,724,428 and 5,835,600.

According to the USPTO Patent Term Calculator web site at
<https://www.uspto.gov/patent/laws-and-regulations/patent-term-calculator#heading-5>
(retrieved 2017-05-21), patents filed after 1995-06-07 expire twenty
years after the filing date.

number          filing date
5,724,428      1995-11-01
5,835,600      1997-04-21

Thus, these patents appear to be expired.

As proposed on tech-crypto and tech-security:

https://mail-index.netbsd.org/tech-crypto/2017/05/05/msg000718.html
https://mail-index.netbsd.org/tech-security/2017/05/05/msg000927.html

(riastradh)

2017-05-21 09:13:46 UTC MAIN commitmail json YAML

Remove superfluous Pp.

(wiz)

2017-05-21 09:12:19 UTC MAIN commitmail json YAML

2017-05-21 08:36:22 UTC MAIN commitmail json YAML

Add missing NULL check for pool_get call with PR_NOWAIT

This should fix a kernel panic reported by wiz@ on current-users ML:
  http://mail-index.netbsd.org/current-users/2017/05/03/msg031646.html

(ozaki-r)

2017-05-21 07:06:51 UTC MAIN commitmail json YAML

2017-05-21 06:49:13 UTC MAIN commitmail json YAML

2017-05-21 06:19:37 UTC MAIN commitmail json YAML

2017-05-20 16:35:55 UTC MAIN commitmail json YAML

Add a test of sh syntax & parsing (first attempt anyway.)

(kre)

2017-05-20 10:12:29 UTC MAIN commitmail json YAML

don't spam the console, just output the Lua version information as lua(1) does

(mbalmer)

2017-05-20 09:46:17 UTC MAIN commitmail json YAML

always put the module on the stack

(mbalmer)

2017-05-20 08:31:13 UTC MAIN commitmail json YAML

Only load a module if it is not already loaded in a state (much like userland
Lua handles require).
Fixes PR kern/52226.

(mbalmer)

2017-05-20 08:00:47 UTC MAIN commitmail json YAML

New sentence, new line. Bump date for previous.

(wiz)

2017-05-20 07:27:15 UTC MAIN commitmail json YAML

MAP_FIXED means something different for mremap() than it does for mmap(),
so we cannot use UVM_FLAG_FIXED to specify both behaviors.
keep UVM_FLAG_FIXED with its earlier meaning (prior to my previous change)
of whether to use uvm_map_findspace() to locate space for the new mapping or
to use the hint address that the caller passed in, and add a new flag
UVM_FLAG_UNMAP to indicate that any existing entries in the range should be
unmapped as part of creating the new mapping.  the new UVM_FLAG_UNMAP flag
may only be used if UVM_FLAG_FIXED is also specified.

(chs)

2017-05-20 00:56:32 UTC MAIN commitmail json YAML

Fix the USBVERBOSE stuff so it does not get included in the build if
there are no USB devices or controllers.

Without this change, a kernel with no USB devices but with USBVERBOSE
defined in the configuration file will include the usb_verbose.c file,
but will fail to link due to undefined symbols.

(pgoyette)

2017-05-19 19:55:16 UTC MAIN commitmail json YAML

remove accidental __strong_alias additions, noticed by coypu.

(christos)

2017-05-19 19:51:11 UTC MAIN commitmail json YAML

2017-05-19 19:48:19 UTC MAIN commitmail json YAML

The BSD qsort() performs tail recursion elimination on the second
side of the array being partitioned to save on stack space.  Greater
savings can be gained by choosing recursion for the smaller side
of the partition and eliminating recursion for the larger side.
This also results in a small but measurable performance gain.
(From OpenBSD)

(christos)

2017-05-19 19:25:53 UTC MAIN commitmail json YAML

2017-05-19 19:23:25 UTC MAIN commitmail json YAML

enable font loading and screen resizing

(macallan)

2017-05-19 19:22:33 UTC MAIN commitmail json YAML

add support for loading fonts in vcons and subsequently resizing screens
- drivers can use this by setting VCONS_LOADFONT and WSSCREEN_RESIZE
- each vcons screen can now have its own font and geometry
- while there, add support for xterm's ESC[18t to report the text buffer's
  size

With this tou can:
wsfontload -N foo  /usr/share/wscons/fonts/flori.816
wsconsctl -dw font=foo
currently this is limited to drivers that don't use the glyph cache, like genfb

(macallan)

2017-05-19 16:56:35 UTC MAIN commitmail json YAML

Add missing , to fix syntax

Unbreaks build after recent change adding a message for vm.user_va0_disable

(kamil)

2017-05-19 15:30:19 UTC MAIN commitmail json YAML

make MAP_FIXED mapping operations atomic. fixes PR 52239.
previously, unmapping any entries being replaced was done separately
from entering the new mapping, which allowed another thread doing
a non-MAP_FIXED mapping to allocate the range out from under the
MAP_FIXED thread.

(chs)

2017-05-19 15:16:12 UTC MAIN commitmail json YAML

2017-05-19 14:42:01 UTC MAIN commitmail json YAML

mention the man page instead of the command.

(christos)

2017-05-19 14:38:46 UTC MAIN commitmail json YAML

Provide a helpful message to the user trying to run an birary that needs page
0 access.

(christos)

2017-05-19 14:35:01 UTC MAIN commitmail json YAML

Remove reference to suser(9), its man page was removed quite long back.

(abhinav)

2017-05-19 14:28:59 UTC MAIN commitmail json YAML

Remove reference to pathname(9), its man page was removed 10 years ago.

(abhinav)

2017-05-19 14:18:41 UTC MAIN commitmail json YAML

Correct the xref: return_address(9) is only available for i386.

(abhinav)

2017-05-19 14:18:10 UTC MAIN commitmail json YAML

iwm(4): match Wireless 8265 device.

(nonaka)

2017-05-19 13:49:25 UTC MAIN commitmail json YAML

Correct xrefs.

Ok christos

(abhinav)

2017-05-19 11:45:40 UTC MAIN commitmail json YAML

The DEVSW_MODULE_INIT stuff is for possible future use; remove it for now.

(pgoyette)

2017-05-19 11:12:50 UTC MAIN commitmail json YAML

Identify TNF as the copyright holder.

(pgoyette)

2017-05-19 10:38:21 UTC MAIN commitmail json YAML

Cleanups and standardization.

(wiz)

2017-05-19 09:58:28 UTC MAIN commitmail json YAML

Fix locking around calls to [p/r]int with a patch from skrll@.

(nat)

2017-05-19 08:53:51 UTC MAIN commitmail json YAML

Allow CARP to call the link_state_change handler immediately

If the handler is delayed because of the indirection call via softint,
some operations are executed in reverse and may cause unexpected
behaviors. For example, due to the issue a GARP packet wasn't sent on
a transition from the BACKUP state to the MASTER state; this happened
because IN_IFF_DETACHED flag wasn't cleared on arpannounce, which
had been cleared in the link_state_change handler.

This fixes an issue reported by sborrill@ on tech-net:
  http://mail-index.netbsd.org/tech-net/2017/03/14/msg006283.html

(ozaki-r)

2017-05-19 07:43:31 UTC MAIN commitmail json YAML

2017-05-19 07:40:58 UTC MAIN commitmail json YAML

2017-05-19 07:30:24 UTC MAIN commitmail json YAML

Move arch/mips/mips/bus_dma.c to correct location

(skrll)

2017-05-19 06:32:31 UTC MAIN commitmail json YAML

Remove unnecessary MALLOC_DEFINE(M_SECA)

(ozaki-r)

2017-05-19 06:24:03 UTC MAIN commitmail json YAML

Use IPSECLOG instead of ipseclog

(ozaki-r)

2017-05-19 04:39:25 UTC MAIN commitmail json YAML

Use kmem_intr_free in key_freesaval which can be called in softint

(ozaki-r)

2017-05-19 04:34:09 UTC MAIN commitmail json YAML

2017-05-19 04:20:45 UTC MAIN commitmail json YAML

Release sc_intr_lock between successive calls to audio[p/r]int to allow
mixing to occur.

(nat)

2017-05-19 04:16:06 UTC MAIN commitmail json YAML

Fix locking botch.  Ensure that sc_lock is still held when exiting
trigger_[input/output].

(nat)

2017-05-19 03:33:31 UTC MAIN commitmail json YAML

Missed this during the localcount(9) import:

Add localcount(9) man-page - fix the build

(pgoyette)

2017-05-19 02:56:58 UTC MAIN commitmail json YAML

Enable debug logging of kernels such as ARP and ND if $DEUBG=true

(ozaki-r)

2017-05-19 02:20:24 UTC MAIN commitmail json YAML

Fix a comment - in localcount_fini(), we don't care whether it was the
caller or some other code that drained the localcount;  all we care is
that it has been drained.

(pgoyette)

2017-05-19 01:54:50 UTC MAIN commitmail json YAML

Minor improvements in wording.

(pgoyette)

2017-05-19 00:23:00 UTC prg-localcount2 commitmail json YAML

2017-05-19 00:01:34 UTC MAIN commitmail json YAML

2017-05-18 23:52:01 UTC prg-localcount2 commitmail json YAML

2017-05-18 18:33:48 UTC MAIN commitmail json YAML

Re-enable RTKQ_IM_HW.  Timeout issues appear to be fixed since
src/sys/dev/ic/rtl8169.c r1.151

(jakllsch)

2017-05-18 16:41:12 UTC MAIN commitmail json YAML

Fix typo in the man page reference

(abhinav)

2017-05-18 16:37:06 UTC MAIN commitmail json YAML

PR/52242: Utkarsh Anand: Minimal fix for fallout from moving to the common
mips bus_space code.

(christos)

2017-05-18 16:34:56 UTC MAIN commitmail json YAML

2017-05-18 16:33:57 UTC MAIN commitmail json YAML

Correct the man page reference

(abhinav)

2017-05-18 15:42:37 UTC MAIN commitmail json YAML

DEBUG mode only change - mostly to output when option to show shell
internal sub-process nesting is enabled, and very deep nesting levels exist.

NFC for anyone else.

(kre)

2017-05-18 14:43:42 UTC MAIN commitmail json YAML

Don't check the existence of SA entries eagerly

They can be expired at that point if their lifetime is very short.
This may fix unexpected failures of tests running on anita.

(ozaki-r)

2017-05-18 13:56:58 UTC MAIN commitmail json YAML

Allow abbreviations of option names for the "fdflags -s" command.
While documenting that, cleanup markup of the fdflags section of the
man page.

(kre)

2017-05-18 13:53:18 UTC MAIN commitmail json YAML

Command line, and "set" command options processing cleanup.

sh +c "command string" no longer works (it must be -c)
sh +o  and  sh -o no longer work (if you could call what they did
before working.)  nb: this is without an option name.
-ooo Opt1 Opt2 Opt3 no longer works (set & cmd line), this should be
-o Opt1 -o Opt2 -o Opt3  (same with +ooo of course).
-oOpt is now supported - option value (name of option in
this case) immediately following -o (or +o).
(as with other commands that use std opt parsing)
Both set comamnd and command line.

In addition, the output from "set +o" has shrunk dramatically, by borrowing
a trick from ksh93 (but implemented in a more traditional syntax).
"set +o" is required to produce a command (or commands) which when executed
later, will return all options to the state they were in when "set +o"
was done.  Previously that was done by generating a set command, with
every option listed (set -o opt +o other-opt ...) to set them all back
to their current setings.  Now we have a new "magic option" ("default")
which sets all options to their default values, so now set +o output
need only be "set -o default -o changed-opt ..." (only the options that
have been changed from their default values need be explicitly mentioned.)
The definition of "default value" for this is the value the shell set the
option to, after startup, after processing the command line (with any
flags, or -o option type settings), but before beginning processing any
user input (incuding startup files, like $ENV etc).

Anyone can execute "set -o default" of course, but only from a "set"
command (it makes no sense at all as a -o option to sh).  This also
causes "set +o" to be slightly more useful as a general command, as
ignoring the "set -o default" part of the result, it lists just those
options that have been altered after sh startup.  There is no +o default.
There isn't an option called "default" at all...

This causes some of the commented out text from sh.1 to become uncommented.

(kre)

2017-05-18 13:34:17 UTC MAIN commitmail json YAML

DEBUG mode only change - correctly track internal shell sub-shell nesting
levels for debug output.  This change accidentally omitted earlier (only
effect is incorrect nesting levels shown in trace output when the option
to show them is enabled.)  NFC for any normal shell build.

(kre)

2017-05-18 13:31:10 UTC MAIN commitmail json YAML

Added comma and plus to the "don't need quoting" set.  This affects
output from "sh -x" only (tracing execution), not quoting + is better,
as it makes tracing commands with + and - options, or numbers, more
consistent.

Also one minor white space change (excess indentation removed).

(kre)

2017-05-18 13:28:00 UTC MAIN commitmail json YAML

NFC: added a minor comment (and enev then, in DEBUG code only)

(kre)

2017-05-18 13:20:37 UTC MAIN commitmail json YAML

Don't use index cache operations unnecessarily.

(skrll)

2017-05-18 11:29:54 UTC bouyer-socketcan commitmail json YAML

2017-05-18 11:28:49 UTC bouyer-socketcan commitmail json YAML

2017-05-18 10:29:47 UTC MAIN commitmail json YAML

Add (currently failing) test cases for profiled programs.

(martin)

2017-05-18 08:27:20 UTC MAIN commitmail json YAML

- Count "Total Packets Missed" by evcnt(9)
- Call evcnt_attach_dynamic()/detach() for stats->mngpdc
  (Management Packets Dropped).
- Make stats->rnbc (Receive No Buffers) evcnt(9). Only 82598 has this register.
- Set RQSMR, TQSM (or TQSMR on 82598) to count qprc, qptc, qbrc, qbtc and qprdc
  in each queue counter. Without this change, all queue's counts are counted in
  queue 0's. Even if with this change, only MPC[0] is counted and other MPCs
  are not counted.

(msaitoh)

2017-05-18 08:25:37 UTC MAIN commitmail json YAML

Fix a bug that number of input packet counted twice. This bug was added
since sys/net/if.c rev.1.368.
http://mail-index.netbsd.org/source-changes/2016/12/15/msg079882.html

(msaitoh)

2017-05-18 07:35:01 UTC prg-localcount2 commitmail json YAML

Fix previous, make it build again.

(pgoyette)