OpenBSD cvs log

created 2018-11-30T01:51:49Z
begin 2018-08-13T00:00:00Z
end 2018-08-14T00:00:00Z
path src/sys
commits 13

date 2018-08-13T14:24:49Z
author mpi
files src/sys/dev/usb/usbdevs log diff annotate
message Sierra Wireless MC7304/MC7354, from Denis Lapshin.

date 2018-08-13T14:25:24Z
author mpi
files src/sys/dev/usb/usbdevs.h log diff annotate
src/sys/dev/usb/usbdevs_data.h log diff annotate
message regen

date 2018-08-13T14:32:46Z
author mpi
files src/sys/dev/usb/umsm.c log diff annotate
message Attach to Sierra Wireless MC7304/MC7354 & EM7455, from Denis Lapshin.

date 2018-08-13T14:35:29Z
author mpi
files src/sys/kern/sys_pipe.c log diff annotate
message Make it possible to run pipe(2) and pipe2(2) mostly w/o KERNEL_LOCK():

- Update counters atomatically
- Use IPL_MPFLOOR for pipe's pool.
- Grab the KERNEL_LOCK() before calling km_alloc(9) & km_free(9)

Inputs from kettenis@, ok visa@

date 2018-08-13T15:05:31Z
author stsp
files src/sys/dev/pci/if_iwm.c log diff annotate
message Prevent iwm(4) from writing back the former BSS channel
if the current BSS has been changed by ieee80211_input().
Needed for upcoming band-steering support in net80211.
ok phessler@ mpi@

date 2018-08-13T15:14:27Z
author patrick
files src/sys/dev/ofw/ofw_regulator.c log diff annotate
message Support GPIO-based voltage regulators.

ok kettenis@

date 2018-08-13T15:15:02Z
author patrick
files src/sys/dev/fdt/imxccm.c log diff annotate
src/sys/dev/fdt/imxccm_clocks.h log diff annotate
message Support CPU frequency scaling on NXP i.MX8M.

ok kettenis@

date 2018-08-13T15:19:52Z
author stsp
files src/sys/net80211/ieee80211_node.c log diff annotate
src/sys/net80211/ieee80211_node.h log diff annotate
src/sys/net80211/ieee80211_proto.c log diff annotate
message Add support for band-steering access points to net80211.

Some access points have a feature called "band steering" where they
will try to push clients from 2 GHz channels to 5 GHz channels.
If a client sends probe-requests on both 2 GHz and 5GHz channels, and
then attempts to authenticate on a 2 GHz channel, such APs will deny
authentication and hope that the client will come back on a 5 GHz channel.

So if we fail to AUTH for any reason, and if there is a different
AP with the same ESSID that we haven't tried yet, try that AP next.
Keep trying until no APs are left, and only then continue scanning.

APs with support for this feature were provided by Mischa Peters.

ok phessler@ mpi@

date 2018-08-13T15:26:17Z
author visa
files src/sys/kern/init_main.c log diff annotate
src/sys/kern/kern_exit.c log diff annotate
src/sys/kern/vfs_bio.c log diff annotate
src/sys/kern/vfs_sync.c log diff annotate
src/sys/sys/buf.h log diff annotate
src/sys/sys/proc.h log diff annotate
src/sys/sys/vnode.h log diff annotate
message Simplify the startup of the cleaner, reaper and update threads by
passing the main function directly to kthread_create(9). The start_*
functions are mere stepping stones nowadays and can be pruned.
They used to contain more logic in the pre-kthread era.

While here, set `cleanerproc' and `syncerproc' during the thread
creation rather than expect the threads to set the proc pointer.
Also, rename `sched_sync' to `syncer_thread' to reduce confusion
with the scheduler-related functions.

OK kettenis@, deraadt@, mpi@

date 2018-08-13T20:31:38Z
author deraadt
files src/sys/kern/kern_pledge.c log diff annotate
message The first panic in pledge_namei should only be for ni_pledge == 0
(the other cause is implausible, and crashes with a nice *NULL)

date 2018-08-13T20:36:35Z
author deraadt
files src/sys/kern/vfs_syscalls.c log diff annotate
message in sys_statfs(), BYPASSUNVEIL can be passed to NDINIT in the "flags"
argument, rather than manually |= afterwards. Observed by semarie

date 2018-08-13T23:11:44Z
author deraadt
files src/sys/kern/vfs_lookup.c log diff annotate
src/sys/sys/namei.h log diff annotate
message More clear version of previous namei/pledge/chroot solution. namei flag
KERNELPATH indicates this operation is being done on behalf of the kernel,
not a process, so ignore chroot of the current process context, start at /,
and skip unveil and pledge checks. Discussed with beck and semarie

date 2018-08-13T23:12:39Z
author deraadt
files src/sys/dev/firmload.c log diff annotate
message Instead of using BYPASSUNVEIL at NDINIT time, use KERNELPATH to indicate
we want to skip all userland-related checks. Discussed with beck and
semarie, tested by stsp.