Re: [s...@spacehopper.org: Re: Remove useless line from daemon class in login.conf]

2020-10-15 Thread Kurt Mosiejczuk
On Wed, Oct 14, 2020 at 02:41:51PM +0100, Stuart Henderson wrote: > Just found this in my local tree still, iirc danj liked it but there > wasn't much other enthusiasm. Any other comments? Should I just drop > the diff? Change 'a' to use 2^10 minimum? Change to fixed 2^10 with > no auto

Non-const basename: usr.bin/ftp

2020-10-15 Thread Christian Weisgerber
Accommodate POSIX basename(3) that takes a non-const parameter and may modify the string buffer. I've tried to follow the conventions of the existing code. ok? Index: usr.bin/ftp/fetch.c === RCS file: /cvs/src/usr.bin/ftp/fetch.c,v

Re: _exit(2), execve(2): cancel interval timers MP-safely

2020-10-15 Thread Mark Kettenis
> Date: Wed, 14 Oct 2020 20:14:18 -0500 > From: Scott Cheloha > > On Wed, Oct 14, 2020 at 08:06:52PM -0500, Scott Cheloha wrote: > > _exit(2) and execve(2) need to obey the locking protocol described in > > proc.h when manipulating the per-process interval timer state. > > > > While we're here

Re: _exit(2), execve(2): cancel interval timers MP-safely

2020-10-15 Thread Todd C . Miller
On Wed, 14 Oct 2020 20:06:50 -0500, Scott Cheloha wrote: > ... should I shove the for-loop into the helper function too? Maybe > call it "cancel_all_itimers()"? I have a vague feeling that showing > the reader that there are multiple timers is a good thing here, but > then again maybe I'm wrong

Re: Non-const basename: usr.bin/rcs

2020-10-15 Thread Todd C . Miller
On Wed, 14 Oct 2020 22:19:52 +0200, Christian Weisgerber wrote: > Accommodate POSIX basename(3) that takes a non-const parameter and > may in fact modify the string buffer. OK millert@ - todd

Re: Expose touchpad sensitivity in wsconsctl

2020-10-15 Thread Ulf Brosziewski
Thanks for these hints. I will consider reducing the default threshold for deceleration. The current default is a compromise that is several years old, it might well be that is not ideal for the average touchpad of today. On 10/14/20 11:24 PM, Brennan Vincent wrote: > People who prefer flatter

Re: sys/kernel.h: delete dead externs

2020-10-15 Thread Jonathan Gray
On Thu, Oct 15, 2020 at 03:17:22AM -0500, Scott Cheloha wrote: > Several of the externs in sys/kernel.h are for variables that don't > exist. I can't find global declarations for tickfix, tickfixinterval, > tickdelta, or timedelta. > > ok to delete these? These went away in 'unifdef -D

sys/kernel.h: delete dead externs

2020-10-15 Thread Scott Cheloha
Several of the externs in sys/kernel.h are for variables that don't exist. I can't find global declarations for tickfix, tickfixinterval, tickdelta, or timedelta. ok to delete these? Index: sys/kernel.h === RCS file:

relayd and TLS client cert verification

2020-10-15 Thread Ashe Connor
Hi there, A year or two ago I submitted a patch for adding TLS client certificate validation to relayd. At the time it didn't make it in, and I stopped pursuing it further. (https://marc.info/?l=openbsd-tech=154509330608643=2) I'd still like to see this landed, if at all possible. I'm