Re: changelist: add tmux.conf

2023-04-24 Thread Stuart Henderson
On 2023/04/24 16:24, Klemens Nanni wrote: > Would be nice to have a backup of it and track changes. > > OK? No? ok > Index: changelist > === > RCS file: /cvs/src/etc/changelist,v > retrieving revision 1.135 > diff -u -p -r1.135 chan

changelist: add tmux.conf

2023-04-24 Thread Klemens Nanni
Would be nice to have a backup of it and track changes. OK? No? Index: changelist === RCS file: /cvs/src/etc/changelist,v retrieving revision 1.135 diff -u -p -r1.135 changelist --- changelist 18 Apr 2023 08:50:37 - 1.135 +

Introduce `rtlabel_mtx' mutex(9) ...

2023-04-24 Thread Vitaliy Makkoveev
... and use it to protect route labels storage. This time it is not clean, which lock protects it because we holding kernel and net locks in various combinations while accessing it. I see no reason to put kernel lock to all the places. Also netlock could not be used, because rtfree() which calls rt

Re: vmd: silence error on missing optional config

2023-04-24 Thread Mike Larkin
On Mon, Apr 24, 2023 at 02:29:38PM +, Klemens Nanni wrote: > On Mon, Apr 24, 2023 at 01:46:17PM +, Klemens Nanni wrote: > > I have on vm.conf, vmd does not need it, but complains: > > Apr 23 17:12:50 atar vmd[79320]: failed to open /etc/vm.conf: No such file > > or directory > > > > We've

Re: vmd: silence error on missing optional config

2023-04-24 Thread Dave Voutila
Klemens Nanni writes: > On Mon, Apr 24, 2023 at 01:46:17PM +, Klemens Nanni wrote: >> I have on vm.conf, vmd does not need it, but complains: >> Apr 23 17:12:50 atar vmd[79320]: failed to open /etc/vm.conf: No such file >> or directory >> >> We've fixed the same for dhcpleased a year ago,

Re: vmd: silence error on missing optional config

2023-04-24 Thread Klemens Nanni
On Mon, Apr 24, 2023 at 01:46:17PM +, Klemens Nanni wrote: > I have on vm.conf, vmd does not need it, but complains: > Apr 23 17:12:50 atar vmd[79320]: failed to open /etc/vm.conf: No such file or > directory > > We've fixed the same for dhcpleased a year ago, port the diff from there. > > W

acpithinkpad: do not report fans running at 65535 rpm

2023-04-24 Thread Miod Vallat
After suspending a machine with acpithinkpad(4) and resuming, the fan senors report a value of 65535 (i.e. 0x) for a few seconds, and then start reporting correct values. The following diff marks the sensor as invalid when such a value is read. Index: acpithinkpad.c ==

vmd: silence error on missing optional config

2023-04-24 Thread Klemens Nanni
I have on vm.conf, vmd does not need it, but complains: Apr 23 17:12:50 atar vmd[79320]: failed to open /etc/vm.conf: No such file or directory We've fixed the same for dhcpleased a year ago, port the diff from there. Works for me with good, with bad and without /etc/vm.conf. Feedback? OK? Ind

Re: AX88179A fallback to cdce(4)

2023-04-24 Thread Stefan Sperling
On Mon, Apr 24, 2023 at 05:32:28AM -0600, bent...@openbsd.org wrote: > Hi, > > The AX88179A, which has the same product ID as AX88179, shows up as axen(4), > but doesn't work: > > "axen0: invalid buffer(pkt#1), continue" > https://marc.info/?l=openbsd-bugs&m=164832882524713&w=2 > > gerhard@ sent

Re: in_ioctl*: hoist identical privilege checks

2023-04-24 Thread Alexander Bluhm
On Sun, Apr 23, 2023 at 11:33:57PM +, Klemens Nanni wrote: > > > I can't think of a scenario where returning EPERM (this diff) instead of > > > whatever errno the currently earlier sanity checks yield would break. It would surprise me if some userland would rely on the error code when the ioct

AX88179A fallback to cdce(4)

2023-04-24 Thread bentley
Hi, The AX88179A, which has the same product ID as AX88179, shows up as axen(4), but doesn't work: "axen0: invalid buffer(pkt#1), continue" https://marc.info/?l=openbsd-bugs&m=164832882524713&w=2 gerhard@ sent a diff in that thread that checks the revision and makes this device fall back to cdce

Re: ps: accept numerical user IDs

2023-04-24 Thread Klemens Nanni
On Sun, Apr 16, 2023 at 01:37:30AM +, Klemens Nanni wrote: > ps(1) -U expects names, top(1) and pgrep(1) -U take numbers as well. > > With the new tree view, I start using 'ps -fU55' more often instead of > 'top -U55' to watch ports builds, but keep doing > > $ ps -fU55 > ps: p55:

Re: Add eoip keepalive in ifconfig.8

2023-04-24 Thread David Gwynne
ok > On 24 Apr 2023, at 17:55, Masato Asou wrote: > > The eoip interface has SIOC[SG]ETKALIVE as below: > > $ man eoip | grep KALIVE >SIOCSETKALIVE struct ifkalivereq * >SIOCGETKALIVE struct ifkalivereq * > > Can I append eoip to keepalive option? > > comment, ok? > -- > ASOU

Add eoip keepalive in ifconfig.8

2023-04-24 Thread Masato Asou
The eoip interface has SIOC[SG]ETKALIVE as below: $ man eoip | grep KALIVE SIOCSETKALIVE struct ifkalivereq * SIOCGETKALIVE struct ifkalivereq * Can I append eoip to keepalive option? comment, ok? -- ASOU Masato Index: sbin/ifconfig/ifconfig.8 ===