Re: archaic quotes in calendar

2019-01-29 Thread Anthony J. Bentley
Ted Unangst writes: > There's more to be found in the > calendar files themselves, but I'll leave that for someone who cares more. I care. Index: calendars/calendar.history === RCS file: /cvs/src/usr.bin/calendar/calendars/calendar.h

Re: fork rt_ifa_{add,del} for mpls local input routes

2019-01-29 Thread David Gwynne
I mean rdomain 0 below, not 1. > On 30 Jan 2019, at 11:48, David Gwynne wrote: > > mpls uses AF_MPLS routes with RTF_LOCAL set on them to know which tags > are used as input for the mpe and mpw interfaces. setting this up > currently goes through rt_ifa_add, but that has a couple of features > t

fork rt_ifa_{add,del} for mpls local input routes

2019-01-29 Thread David Gwynne
mpls uses AF_MPLS routes with RTF_LOCAL set on them to know which tags are used as input for the mpe and mpw interfaces. setting this up currently goes through rt_ifa_add, but that has a couple of features that are undesirable for mpls. Firstly, rt_ifa_add unconditionally sets RTF_MPATH on the rou

Re: archaic quotes in calendar

2019-01-29 Thread Todd C . Miller
On Tue, 29 Jan 2019 15:58:49 -0500, "Ted Unangst" wrote: > Run calendar without a calendar file. > > calendar: no calendar file: ``calendar'' or ``~/.calendar/calendar'' > > I think these fake double quotes are really ugly. It's been a long time since > the typical font rendered them symmetrically

Re: arm64: CRYPTO on ramdisk

2019-01-29 Thread Mark Kettenis
> Date: Tue, 29 Jan 2019 23:09:25 +0100 > From: Patrick Wildt > > Hi, > > I know some people might be wondering why I want crypto on the ramdisk > for those slow 64-bit ARMs, but,... I'd like to setup softraid crypto > on the pinebook. GENERIC allows it, but RAMDISK doesn't have it by > defaul

arm64: CRYPTO on ramdisk

2019-01-29 Thread Patrick Wildt
Hi, I know some people might be wondering why I want crypto on the ramdisk for those slow 64-bit ARMs, but,... I'd like to setup softraid crypto on the pinebook. GENERIC allows it, but RAMDISK doesn't have it by default. I'd like for arm64 to have sofraid crypto, so I need CRYPTO in the RAMDISK

archaic quotes in calendar

2019-01-29 Thread Ted Unangst
Run calendar without a calendar file. calendar: no calendar file: ``calendar'' or ``~/.calendar/calendar'' I think these fake double quotes are really ugly. It's been a long time since the typical font rendered them symmetrically. Also, fix another instance in the man page. There's more to be fo

athn(4): enable more calibration

2019-01-29 Thread Stefan Sperling
The diff below enables periodic ADC/IQ calibration on athn(4) devices. Without this calibration athn devices might perform suboptimally as they warm up during operation. The code is already there, it was just not being called yet. I don't know why it was left disabled but it seems to cause no harm

acme-client: add a check in parser

2019-01-29 Thread Sebastian Benoit
add an extra check for existing "api ..." line in the config. move the check of existing "account ..." line from main.c to the parser. The first one actually triggers a null deref later on if you have a broken config. ok? diff --git usr.sbin/acme-client/main.c usr.sbin/acme-client/main.c index d

Re: strlcpy() or strscpy()?

2019-01-29 Thread Martijn van Duren
On 1/29/19 3:35 PM, Theo de Raadt wrote: > Martijn van Duren wrote: > >> I think the others have given a decent explanation, but I would like to >> elaborate a little furter. > > I strongly agree with your points, but a few comments. > >> OK, so strscpy won't read any more data from src than co

Re: bwfm(4): show media mode, TX rate, and RSSI

2019-01-29 Thread Stefan Sperling
On Mon, Jan 21, 2019 at 10:54:24AM +0100, Stefan Sperling wrote: > Before committing this, I'd like to address the problem that this diff > cannot work for 11n rates which aren't mentioned in if_media.h. Rates using > SGI and those with a 40MHz channel can't be listed there because if_media.h > bau

Re: strlcpy() or strscpy()?

2019-01-29 Thread Theo de Raadt
Martijn van Duren wrote: > I think the others have given a decent explanation, but I would like to > elaborate a little furter. I strongly agree with your points, but a few comments. > OK, so strscpy won't read any more data from src than count bytes, which > could save you from reading from th

Re: sysctl(2): KERN_CACHEPCT is capped at ~3GB

2019-01-29 Thread Mark Kettenis
> Date: Tue, 29 Jan 2019 12:07:48 +0100 > From: Alex Holst > > Quoting Mark Kettenis (mark.kette...@xs4all.nl): > > > > > > Hi. It turns out there is a hard cap which might be worth documenting. > > > > That isn't true. > > I'm just informed the buffer cache limit is an amd64, arm64 and 32-bit

Re: pckbc(4) diff

2019-01-29 Thread Raphael Graf
On Mon, Jan 28, 2019 at 08:14:09PM +0100, Marcus Glocker wrote: > On some machines when the pckbc(4) keyboard controller driver attaches > to the console, it's possible to inject characters by moving your mouse > in to the keyboard channel. When injecting enough noise the keyboard > will stop oper

Re: sysctl(2): KERN_CACHEPCT is capped at ~3GB

2019-01-29 Thread Alex Holst
Quoting Mark Kettenis (mark.kette...@xs4all.nl): > > > > Hi. It turns out there is a hard cap which might be worth documenting. > > That isn't true. I'm just informed the buffer cache limit is an amd64, arm64 and 32-bit archs thing. sparc64 appears to have no such limit. Do you know the details

Re: add /etc/unwind.conf to changelist(5)

2019-01-29 Thread Florian Obser
OK florian@ On Tue, Jan 29, 2019 at 11:06:03AM +0100, Sebastien Marie wrote: > Hi, > > Does it make sens to add unwind.conf to changelist ? > > I am not proposing /etc/unwind/trustanchor/root.key as the content > change regulary (it has `last_queried' information in comment for > example). > >

Re: sysctl(2): KERN_CACHEPCT is capped at ~3GB

2019-01-29 Thread Mark Kettenis
> Date: Tue, 29 Jan 2019 11:14:20 +0100 > From: Alex Holst > > Hi. It turns out there is a hard cap which might be worth documenting. That isn't true. > Index: lib/libc/sys/sysctl.2 > === > RCS file: /cvs/src/lib/libc/sys/sysctl.2,

sysctl(2): KERN_CACHEPCT is capped at ~3GB

2019-01-29 Thread Alex Holst
Hi. It turns out there is a hard cap which might be worth documenting. Index: lib/libc/sys/sysctl.2 === RCS file: /cvs/src/lib/libc/sys/sysctl.2,v retrieving revision 1.11 diff -u -p -r1.11 sysctl.2 --- lib/libc/sys/sysctl.2 30

add /etc/unwind.conf to changelist(5)

2019-01-29 Thread Sebastien Marie
Hi, Does it make sens to add unwind.conf to changelist ? I am not proposing /etc/unwind/trustanchor/root.key as the content change regulary (it has `last_queried' information in comment for example). Thanks. -- Sebastien Marie Index: changelist =