Link [ NetBSD | NetBSD OpenGrok source search | PR fulltext-search | Summary of daily snapshot builds | history of daily build result | pkgsrc commit viewer ]


   
        usage: [branch:branch] [user:user] [path@revision] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN sys/arch/arm, if_wm.c@1.234 )




switch to index mode

recent branches: MAIN (1h)  netbsd-10 (17d)  netbsd-9 (17d)  netbsd-8 (22d) 

2024-06-03 04:00:04 UTC Now

2017-05-28 16:35:47 UTC MAIN commitmail json YAML

Add a helper to propagate file system suspension for vrevoke().

Take care to retry suspension on interrupt as vrevoke must succeed.

(hannken)

2017-05-28 15:55:11 UTC MAIN commitmail json YAML

Add facility for fdt devices to register reset and poweroff handlers.
Use this to remove as3722-specific code in tegra_machdep.c

(jmcneill)

2017-05-28 14:53:13 UTC MAIN commitmail json YAML

undo previous; we don't have any archs where socklen_t != uint32_t.

(christos)

2017-05-28 14:49:00 UTC MAIN commitmail json YAML

2017-05-28 14:16:05 UTC MAIN commitmail json YAML

release key_mtx on return path.

(mlelstv)

2017-05-28 14:14:22 UTC MAIN commitmail json YAML

Redo mkoptions.sh .. much better this way, now fully automated
option sorting (no longer required option.list to be manually
sorted by long option name) and properly handles conditional
options.  Cleaner output format as well.

This allows option.list to be reordered to group related options
together ... also added more comments to it.

(kre)

2017-05-28 13:55:07 UTC MAIN commitmail json YAML

Needs %zu fix for sizeof as well.

(kre)

2017-05-28 11:15:59 UTC MAIN commitmail json YAML

Add (commented out) can bus options, CUBIETRUCK is also A20 based.

(martin)

2017-05-28 09:35:02 UTC MAIN commitmail json YAML

Fix size_t format strings

(martin)

2017-05-28 05:27:14 UTC MAIN commitmail json YAML

g/c some unused / #if 0-ed goop, support firmware-provided EDID, get rid of
private list of video modes
tested on macppc, should Just Work(tm) on sparc64

(macallan)

2017-05-28 04:12:13 UTC MAIN commitmail json YAML

bt_lock is now used as the audio interrupt lock.  This is more appropriate
as the interrupt lock deals with the hardware.

btsco audio works again with the new audio changes.

(nat)

2017-05-28 00:40:21 UTC MAIN commitmail json YAML

2017-05-28 00:38:40 UTC MAIN commitmail json YAML

Add CPUs ("/cpus" node) driver. CPUs is a container of cpu nodes.

(jmcneill)

2017-05-28 00:38:01 UTC MAIN commitmail json YAML

Arrange for set -o and $- output to be sorted, rather than more
or less random (and becoming worse as more options are added.)
Since the data is known at compile time, sort at compile time,
rather than at run time.

(kre)

2017-05-28 00:34:51 UTC MAIN commitmail json YAML

Add a generic armv7 bus dma tag.

(jmcneill)

2017-05-28 00:32:46 UTC MAIN commitmail json YAML

Move children of armperiph to the "mpcorebus" interface attribute and have
armperiph declare support for it.

(jmcneill)

2017-05-28 00:30:49 UTC MAIN commitmail json YAML

Don't assume that the root autoconfiguration device is named "mainbus".

(jmcneill)

2017-05-28 00:29:55 UTC MAIN commitmail json YAML

If the "frequency" property is not specified, try to use the value in
CNTFRQ. Firmware should have already set this for us.

(jmcneill)

2017-05-28 00:28:17 UTC MAIN commitmail json YAML

Change first pass from 1 to 0.

(jmcneill)

2017-05-27 22:53:29 UTC MAIN commitmail json YAML

Add options CAN and pseudo-device canloop to ALL kernel configs.
Add the same commented out to i386/amd64 GENERIC and OLIMEXLIME2 (A20-based).
Also add commented out awincan0 in OLIMEXLIME2.

(bouyer)

2017-05-27 21:06:26 UTC MAIN commitmail json YAML

Update status of bouyer-socketcan

(bouyer)

2017-05-27 21:05:02 UTC MAIN commitmail json YAML

2017-05-27 21:02:56 UTC MAIN commitmail json YAML

merge the bouyer-socketcan branch to HEAD.

CAN stands for Controller Area Network, a broadcast network used
in automation and automotive fields. For example, the NMEA2000 standard
developped for marine devices uses a CAN network as the link layer.

This is an implementation of the linux socketcan API:
https://www.kernel.org/doc/Documentation/networking/can.txt
you can also see can(4).

This adds a new socket family (AF_CAN) and protocol (PF_CAN),
as well as the canconfig(8) utility, used to set timing parameter of
CAN hardware. Also inclued is a driver for the CAN controller
found in the allwinner A20 SoC (I tested it with an Olimex lime2 board,
connected with PIC18-based CAN devices).

There is also the canloop(4) pseudo-device, which allows to use
the socketcan API without CAN hardware.

At this time the CANFD part of the linux socketcan API is not implemented.
Error frames are not implemented either. But I could get the cansend and
canreceive utilities from the canutils package to build and run with minimal
changes. tcpudmp(8) can also be used to record frames, which can be
decoded with etherreal.

(bouyer)

2017-05-27 20:26:44 UTC MAIN commitmail json YAML

tegra_dma_bootstrap is no more

(jmcneill)

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

2017-05-27 13:55:58 UTC MAIN commitmail json YAML

Be even more carefull with devices that support only play back OR capture.

Addresses PR kern/52256.

(nat)

2017-05-27 13:11:50 UTC MAIN commitmail json YAML

Skip the test of non-posix behaviour if we are deliberately trying
to be posix compatible (POSIXLY_CORRECT is set).

(kre)

2017-05-27 12:15:34 UTC MAIN commitmail json YAML

Revert to previous as what was the HIRES_BELL option is now the only
choice.

Suggested by jmcneill@.

(nat)

2017-05-27 12:04:44 UTC MAIN commitmail json YAML

The high resolution bell is the only option.  The 8 kHz version has been
removed.

Suggested by jmcneill@.

(nat)

2017-05-27 11:19:57 UTC MAIN commitmail json YAML

More standard (and saner) implementation of the ! reserved word.
Unless the shell is compiled with the (compilation time) option
BOGUS_NOT_COMMAND (as in CFLAGS+=-DBOGUS_NOT_COMMAND) which it
will not normally be, the ! command (reserved word) will only
be permitted at the start of a pipeline (which includes the
degenerate pipeline with no '|'s in it of course - ie: a simple cmd)
and not in the middle of a pipeline sequence (no "cmd | ! cmd" nonsense.)
If the latter is really required, then "cmd | { ! cmd; }" works as
a standard equivalent.

In POSIX mode, permit only one !  ("! pipeline" is ok. "! ! pipeline" is not).
Again, if needed (and POSIX conformance is wanted) "! { ! pipeline; }"
works as an alternative - and is safer, some shells treat "! ! cmd" as
being identical to "cmd" (this one did until recently.)

(kre)

2017-05-27 11:10:24 UTC MAIN commitmail json YAML

Document the HIRES_BELL option.

(nat)

2017-05-27 10:54:47 UTC MAIN commitmail json YAML

The audio bell is now in 16 bit slinear format.

It is possible to use a frequency of 44.1 kHz as apposed to 8 kHz if
you specifiy:

options HIRES_BELL

in your kernel config file.

Changes to the way in which the wave is generated help reducing pops and
ticks in the bell.

The output of the high resolution bell has been tested extensively using
frequency spectographs generated by pkgsrc package audio/audacity.

This addresses PR kern/51784.

(nat)

2017-05-27 10:43:30 UTC MAIN commitmail json YAML

Add missing sc_bytes_count.

(nat)

2017-05-27 10:04:57 UTC MAIN commitmail json YAML

Streaming channel is now opened in blocking mode again.
Removal of a hack in sbc_encode now that pad(4) is fixed.

(nat)

2017-05-27 10:02:26 UTC MAIN commitmail json YAML

Rework of previous.
Math for BYTESTOSLEEP and TIMENEXTREAD is now correct.

(nat)

2017-05-27 06:32:12 UTC MAIN commitmail json YAML

It turns out that most shells do not do variable value/attribute
inheritance when a variable is declared local, but instead leave
the local var unset (if not given a value) in the function.
Only ash derived shells do inheritance it seems.

So, to compensate for that, and get one step closer to making
"local" part of POSIX, so we can really rely upon it, a compromise
has been suggested, where "local x" is implementation defined
when it comes to this issue, and we add "local -I x" to specify
inheritance, and "local -N x" to specify "not" (something...)
(not inherited, or not set, or whatever you prefer to imagine!)
The option names took a lot of hunting to find something reasonable
that no shell (we know of) had already used for some other purpose...
The I was easy, but 'u' 'U' 'X' ... all in use somewhere.

This implements that (well, semi-) agreement.

While here, add "local -x" (which many other shells already have)
which causes the local variable to be made exported.  Not a lot
of gain in that (since "export x" can always be done immediately
after "local x") but it is very cheap to add and allows more other
scripts to work with out shell.

Note that while 'local x="${x}"' always works to specify inheritance
(while making the shell work harder), "local x; unset x" does not
always work to specify the alternative, as some shells have
"re-interpreted" unset of a local variable to mean something that
would best be described as "unlocal" instead - ie: after the unset
you might be back with the variable from the outer scope, rather
than with an unset local variable.

Also add "unset -x" to allow unsetting a variable without removing
any exported status it has.

There are gazillions of other options that are not supported here!

(kre)

2017-05-26 22:56:50 UTC MAIN commitmail json YAML

Use MACHINE_ARCH for the sparc check.

(joerg)

2017-05-26 22:50:35 UTC MAIN commitmail json YAML

2017-05-26 21:17:46 UTC MAIN commitmail json YAML

2017-05-26 20:14:17 UTC MAIN commitmail json YAML

Match nvidia,tegra210-pcie compat string.

(jmcneill)

2017-05-26 20:08:02 UTC MAIN commitmail json YAML

Match nvidia,tegra210-ictlr compat string.

(jmcneill)

2017-05-26 20:04:56 UTC MAIN commitmail json YAML

Adjust a comment that refers to Tegra124; this code can be used on more
than one Tegra SoC.

(jmcneill)

2017-05-26 18:58:55 UTC MAIN commitmail json YAML

Don't try to use memory above 4GB PA.

(jmcneill)

2017-05-26 18:56:27 UTC MAIN commitmail json YAML

Handle reg values beyond 4GB for platforms with 32-bit bus_addr_t.

fdtbus_get_reg will do a range check and return ERANGE if addr+size
exceeds 4GB.

Add fdtbus_get_reg64 to allow for fetching raw values w/o range check.

(jmcneill)

2017-05-26 15:40:27 UTC MAIN commitmail json YAML

Enable carp packets early during boot, to avoid gratuitous failovers.

Okayed by christos@

(hauke)

2017-05-26 14:40:09 UTC MAIN commitmail json YAML

Check VOP_INACTIVE contract with a judicious assert.

(riastradh)

2017-05-26 14:39:20 UTC MAIN commitmail json YAML

2017-05-26 14:34:20 UTC MAIN commitmail json YAML

2017-05-26 14:22:53 UTC MAIN commitmail json YAML

Welcome to 7.99.74, courtesy assertable VOP_RECLAIM.

(riastradh)

2017-05-26 14:21:55 UTC MAIN commitmail json YAML

2017-05-26 14:21:02 UTC MAIN commitmail json YAML

Make VOP_RECLAIM do the last unlock of the vnode.

VOP_RECLAIM naturally has exclusive access to the vnode, so having it
locked on entry is not strictly necessary -- but it means if there
are any final operations that must be done on the vnode, such as
ffs_update, requiring exclusive access to it, we can now kassert that
the vnode is locked in those operations.

We can't just have the caller release the last lock because some file
systems don't use genfs_lock, and require the vnode to remain valid
for VOP_UNLOCK to work, notably unionfs.

(riastradh)

2017-05-26 11:16:18 UTC MAIN commitmail json YAML

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: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 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 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 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)