OpenBSD cvs log

created 2019-05-08T03:54:06Z
begin 2017-12-12T00:00:00Z
end 2017-12-13T00:00:00Z
path src/sys
commits 13

date 2017-12-12T00:24:21Z
author jcs
files src/sys/net80211/ieee80211_node.c log diff annotate
message Fix the behavior of preferring weaker-but-still-good 5Ghz APs over
2Ghz APs because the 5Ghz band is generally less saturated.

The previous implementation was dependent upon the order of walking

ok stsp

date 2017-12-12T01:12:34Z
author deraadt
files src/sys/kern/kern_exec.c log diff annotate
src/sys/kern/kern_fork.c log diff annotate
src/sys/kern/kern_pledge.c log diff annotate
src/sys/kern/syscalls.master log diff annotate
src/sys/sys/pledge.h log diff annotate
src/sys/sys/proc.h log diff annotate
message pledge()'s 2nd argument becomes char *execpromises, which becomes the
pledge for a new execve image immediately upon start. Also introduces
"error" which makes violations return -1 ENOSYS instead of killing the
program ("error" may not be handed to a setuid/setgid program, which
may be missing/ignoring syscall return values and would continue with
inconsistant state)
Discussion with many
florian has used this to improve the strictness of a daemon

date 2017-12-12T01:13:14Z
author deraadt
files src/sys/kern/init_sysent.c log diff annotate
src/sys/kern/syscalls.c log diff annotate
src/sys/sys/syscall.h log diff annotate
src/sys/sys/syscallargs.h log diff annotate
message sync

date 2017-12-12T07:55:36Z
author deraadt
files src/sys/sys/proc.h log diff annotate
message stray , snuck in

date 2017-12-12T10:25:39Z
author kettenis
files src/sys/dev/fdt/sxiccmu_clocks.h log diff annotate
message Fix typo. Unbreaks building a kernel on arm64/clang.

date 2017-12-12T11:18:32Z
author mpi
files src/sys/dev/pci/mpii.c log diff annotate
message Remove unused variable defined with an unexisting type.

Found with ctfconv(1).

ok jsg@, dlg@

date 2017-12-12T12:33:36Z
author krw
files src/sys/dev/ic/aic79xx.c log diff annotate
src/sys/dev/ic/aic79xx.h log diff annotate
src/sys/dev/ic/aic79xx_openbsd.c log diff annotate
src/sys/dev/ic/aic79xx_openbsd.h log diff annotate
src/sys/dev/ic/aic7xxx.c log diff annotate
src/sys/dev/ic/aic7xxx_openbsd.c log diff annotate
src/sys/dev/ic/aic7xxx_openbsd.h log diff annotate
src/sys/dev/ic/aic7xxxvar.h log diff annotate
message Nuke some forward-only struct's and functions and functions thereby
made empty. Found by new ctfconv(1) feature and validated by clang.

ok mpi@

date 2017-12-12T13:38:10Z
author phessler
files src/sys/net80211/ieee80211_node.c log diff annotate
message Allow interfaces that aren't SCANNALLBAND drivers to benefit from the
strongest received signal.

OK stsp@

date 2017-12-12T13:58:19Z
author stsp
files src/sys/net80211/ieee80211_node.c log diff annotate
message Don't dereference IEEE80211_CHAN_ANYC pointer in ieee80211_node_checkrssi().

Problem reported by Gregoire Jadi on bugs@

date 2017-12-12T15:50:39Z
author stsp
files src/sys/net80211/ieee80211_var.h log diff annotate
message Make IEEE80211_CHAN_ANYC be a NULL pointer instead of a pointer to 0xffff.
Should speed up debugging.
ok phessler patrick

date 2017-12-12T15:52:49Z
author stsp
files src/sys/net80211/ieee80211.c log diff annotate
message Make ieee80211_chan2ieee() panic if a bogus channel pointer is detected.
ok patrick@

date 2017-12-12T15:57:11Z
author stsp
files src/sys/net80211/ieee80211_input.c log diff annotate
message Only trigger background scans while we are in RUN state, and do not update
a node's RSSI info while we are still in INIT state.

ok phessler@

date 2017-12-12T22:31:44Z
author kettenis
files src/sys/dev/fdt/sxiccmu.c log diff annotate
src/sys/dev/fdt/sxiccmu_clocks.h log diff annotate
message Add more Allwinner A80 clocks.