Turn simple sysctl_rdint into cpuctl_vars entries

2020-11-18 Thread Greg Steuck
Tested with the usual diff of sysctl machdep. OK? >From 0d628f5c7eb69f7964beca7945f634d26af34834 Mon Sep 17 00:00:00 2001 From: Greg Steuck Date: Wed, 18 Nov 2020 20:33:37 -0800 Subject: [PATCH] Turn simple sysctl_rdint into cpuctl_vars entries --- sys/arch/amd64/amd64/machdep.c | 17 +++--

Re: smtpd: relax ORCPT check again

2020-11-18 Thread gilles
November 18, 2020 10:17 PM, "Joerg Jung" wrote: > On Wed, Nov 18, 2020 at 08:57:48PM +, gil...@poolp.org wrote: > >> November 18, 2020 9:54 PM, "Joerg Jung" wrote: >> >> Hi, >> >> in my opinion revision 1.423 of smtp_session.c went a bit too far. >> Enforcing that ORCPT has to have domain

Re: smtpd: relax ORCPT check again

2020-11-18 Thread gilles
November 18, 2020 9:54 PM, "Joerg Jung" wrote: > Hi, > > in my opinion revision 1.423 of smtp_session.c went a bit too far. > Enforcing that ORCPT has to have domain results in breakage in real > world usage. For example, sending from root user cron jobs mails > via Postfix aliased to an addres

Re: Fewer uvmexp

2020-11-18 Thread Jeremie Courreges-Anglas
On Wed, Nov 18 2020, Martin Pieuchot wrote: > While auditing the various uses of the uvmexp fields I came across > those under #ifdet notyet. May I delete them so I don't have to give > them some MP love? Ok? ok jca@, but while here shouldn't the rest of cpu_vm_init() go too? Unless I'm missing

Dell XPS 9310 succesful install but bootloader can't read disk label

2020-11-18 Thread Noth
Hi,   I've got a brand new Dell XPS 9310 and I've tried to get 6.7, 6.8 and the latest snapshot on it. Installation works fine but neither the 3.50, 3.54 or 3.55 UEFI bootloaders can read the disk label so it's unbootable. I of course disactivated Secure Boot and anything in the BIOS that loo

Locking of uvm_pageclean()

2020-11-18 Thread Martin Pieuchot
I found another race related to some missing locking, this time around uvm_pageclean(). Diff below fixes the two places in /sys/uvm where the page queue lock should be taken. To prevent further corruption I added some assertions and documented some global data structures that are currently prote

Re: [patch] httpd remove unused struct

2020-11-18 Thread Joerg Jung
On Sat, May 23, 2020 at 07:47:20PM -0500, Edgar Pettijohn wrote: > Remove an unused struct from parse.y. Yes, this seems correct. Updated diff against -current below. OK? Index: parse.y === RCS file: /cvs/src/usr.sbin/httpd/parse.y

Re: smtpd: relax ORCPT check again

2020-11-18 Thread Joerg Jung
On Wed, Nov 18, 2020 at 08:57:48PM +, gil...@poolp.org wrote: > November 18, 2020 9:54 PM, "Joerg Jung" wrote: > > > Hi, > > > > in my opinion revision 1.423 of smtp_session.c went a bit too far. > > Enforcing that ORCPT has to have domain results in breakage in real > > world usage. For exa

smtpd: relax ORCPT check again

2020-11-18 Thread Joerg Jung
Hi, in my opinion revision 1.423 of smtp_session.c went a bit too far. Enforcing that ORCPT has to have domain results in breakage in real world usage. For example, sending from root user cron jobs mails via Postfix aliased to an address handled by OpenSMTPD will fail. RFC leaves some room for

Re: uvm_fault: refactoring for case 2 faults

2020-11-18 Thread Mark Kettenis
> Date: Tue, 17 Nov 2020 09:25:10 -0300 > From: Martin Pieuchot > > Here's another refactoring that moves the remaining logic of uvm_fault() > handling lower faults, case 2, to its own function. This logic shouldn't > be modified in the first step of unlocking amap & anon and will still be > exe

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-18 Thread Peter J. Philipp
Sorry I apologize, I had my kern.audio.record set to 0. It works for me. *red faced* -peter On Wed, Nov 18, 2020 at 04:12:25PM +0100, Peter J. Philipp wrote: > On Wed, Nov 18, 2020 at 11:00:17AM +0100, Alexandre Ratchov wrote: > > Thanks; semarie suggested a similar diff, so below is an attempt

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-18 Thread Peter J. Philipp
On Wed, Nov 18, 2020 at 11:00:17AM +0100, Alexandre Ratchov wrote: > Thanks; semarie suggested a similar diff, so below is an attempt to > take into account all the suggestions: > > - add AUDIOPLAYDEVICE, to handle play-only devices as well. We've the > very same problem for them. > > - use AUD

Re: Screen flickering on ThinkPad X270

2020-11-18 Thread Sine Astris
On 18/11/2020 07:05, Jonathan Gray wrote: > On Wed, Nov 18, 2020 at 01:51:39AM +, Sine Astris wrote: >> Hi, >> >> I was suffering from a subtle (yet annoying once noticed) problem with >> screen flickering whilst using xenocara on my ThinkPad X270. >> >> It was only distinctly apparent with c

Fewer uvmexp

2020-11-18 Thread Martin Pieuchot
While auditing the various uses of the uvmexp fields I came across those under #ifdet notyet. May I delete them so I don't have to give them some MP love? Ok? Index: arch/amd64//amd64/cpu.c === RCS file: /cvs/src/sys/arch/amd64/amd6

Re: Unable to adjust beep volume on ThinkPad X270

2020-11-18 Thread Sine Astris
Enabling for all Realtek codecs sounds like a good idea to me. I was overcautious when applying it to only my vendor/product ID. On 18/11/2020 03:50, Jonathan Gray wrote: > On Wed, Nov 18, 2020 at 01:41:49AM +, Sine Astris wrote: >> Hi, >> >> I wasn't able to adjust the volume of the keyboard

Re: AUDIORECDEVICE environment variable in sndio lib

2020-11-18 Thread Alexandre Ratchov
On Tue, Nov 17, 2020 at 05:09:28PM +, Stuart Henderson wrote: > On 2020/11/17 17:13, Peter J. Philipp wrote: > > Hi, > > > > I have a mic on snd/1 and speakers on snd/0. I had tried a lot of different > > settings with audacity port but couldn't get this to work, so I chose the > > method of