xenodm: Set MAIL environment variable

2021-07-12 Thread Leon Fischer
xenodm(1) sets the same standard environment variables as login(1) and ssh(1) in the user session, except for MAIL. Users may expect to receive mail notifications in X and miss them as a result. Here's the patch to add MAIL to the environment. As a side effect, it will enable ksh(1)'s periodic

ntpd: Remove -sS compat

2021-07-12 Thread Klemens Nanni
deraadt neutered these options in november 2019, I'd say it's time to remove them so the next release won't have it. Feedback? Objections? OK? diff --git a/usr.sbin/ntpd/ntpd.c b/usr.sbin/ntpd/ntpd.c index 134073117cb..1349234f66a 100644 --- a/usr.sbin/ntpd/ntpd.c +++ b/usr.sbin/ntpd/ntpd.c @@

Re: update xf86-video-amdgpu to latest git

2021-07-12 Thread Evan Burkey
On Thu, Jul 8, 2021, at 7:29 AM, Jonathan Gray wrote: > The latest xf86-video-amdgpu release was in 2019. > > xf86-video-amdgpu-19.1.0..origin/master Hi, Tested this patch on -current with a RX5600XT (Navi 10 XLE). It works great and seems to have fixed the occasional X crash that I would get.

Re: ddb trace: fix output for too many arguments

2021-07-12 Thread Mark Kettenis
> Date: Mon, 12 Jul 2021 20:11:30 +0200 > From: Jasper Lievisse Adriaanse > > On Sun, Jul 11, 2021 at 03:58:05PM +0200, Jasper Lievisse Adriaanse wrote: > > Hi, > > > > When printing a trace from ddb, some architectures are limited by the > > number of > > registers which are used to pass

Re: ddb trace: fix output for too many arguments

2021-07-12 Thread Jasper Lievisse Adriaanse
On Sun, Jul 11, 2021 at 03:58:05PM +0200, Jasper Lievisse Adriaanse wrote: > Hi, > > When printing a trace from ddb, some architectures are limited by the number > of > registers which are used to pass arguments. If the number of arguments to a > function > exceeded this number, the code in

Re: ipsec: remove unused `PolicyHead' from 'sockaddr_encap' structure

2021-07-12 Thread Tobias Heider
On Sun, Jul 11, 2021 at 05:33:18AM +0300, Vitaliy Makkoveev wrote: > This member is never set or used. Also I kept 'SENT_IP6' definition for > prevent the potential break of third party software. Is it ok to > redefine it to '0x0002'? At least openswan wants this [1]. > > 1. >

Re: gprof: Profiling a multi-threaded application

2021-07-12 Thread Yuichiro NAITO
Hi, Martin n 2021/07/10 16:55, Martin Pieuchot wrote: > Hello Yuichiro, thanks for your work ! Thanks for the response. >> On 2021/06/16 16:34, Yuichiro NAITO wrote: >>> When I compile a multi-threaded application with '-pg' option, I always get >>> no >>> results in gmon.out. With bad luck,