Re: pluart(4): hardware console baudrate

2022-06-19 Thread Visa Hankala
On Wed, Jun 15, 2022 at 07:30:09AM +0200, Anton Lindqvist wrote: > pluart(4) does not report the correct baudrate for the hardware console > but instead defaults to 38400. This in turn causes the same baudrate to > end up in /etc/ttys during installation. Note that this is not a problem > as of now

Re: Fix lock order reversal in nfs_inactive()

2022-06-19 Thread Jeremie Courreges-Anglas
On Fri, Jun 17 2022, Jeremie Courreges-Anglas wrote: > On Thu, Jun 16 2022, Visa Hankala wrote: >> nfs_inactive() has a lock order reversal. When it removes the silly >> file, it locks the directory vnode while it already holds the lock >> of the argument file vnode. This clashes for example with

Re: Fix handling of ed addresses consisting only of separators

2022-06-19 Thread Sören Tempel
PING. I have executed the ed tests (available in bin/ed/test) with this patch applied and the proposed patch doesn't seem to introduce any new regressions. If the patch needs to be revised further, please let me know. The only thing I can think of right now is that it might make sense to rename t

Re: Fix lock order reversal in nfs_inactive()

2022-06-19 Thread Visa Hankala
On Sun, Jun 19, 2022 at 11:05:38AM +0200, Jeremie Courreges-Anglas wrote: > On Fri, Jun 17 2022, Jeremie Courreges-Anglas wrote: > > On Thu, Jun 16 2022, Visa Hankala wrote: > >> nfs_inactive() has a lock order reversal. When it removes the silly > >> file, it locks the directory vnode while it a

bgpctl use applymask()

2022-06-19 Thread Claudio Jeker
This diff uses applymask() instead of the IPv4 and IPv6 version. Makes the code a tiny bit simpler. -- :wq Claudio Index: parser.c === RCS file: /cvs/src/usr.sbin/bgpctl/parser.c,v retrieving revision 1.111 diff -u -p -r1.111 parser

Re: bgpctl use applymask()

2022-06-19 Thread Theo Buehler
On Sun, Jun 19, 2022 at 12:32:39PM +0200, Claudio Jeker wrote: > This diff uses applymask() instead of the IPv4 and IPv6 version. > Makes the code a tiny bit simpler. ok tb > > -- > :wq Claudio > > Index: parser.c > === > RCS file

pluart(4): change baud rate

2022-06-19 Thread Anton Lindqvist
Hi, This allows the pluart baud rate to be changed. There's one potential pitfall with this change as users will have the wrong baud rate in their /etc/ttys if not installed after revision 1.11 of dev/ic/pluart.c which landed today. This will make the serial console unusable until the expected baud

improve unwind memory usage

2022-06-19 Thread Florian Obser
Some time ago (it has been years actually), Otto instrumented malloc(3) to see where unwind is using a lot of memory when it's just sitting there. One of the remaining areas is struct config_file with its member outgoing_avail_ports: if(!(cfg->outgoing_avail_ports = (int*)calloc(65536, siz

Re: Fix lock order reversal in nfs_inactive()

2022-06-19 Thread Jeremie Courreges-Anglas
On Sun, Jun 19 2022, Visa Hankala wrote: > On Sun, Jun 19, 2022 at 11:05:38AM +0200, Jeremie Courreges-Anglas wrote: >> On Fri, Jun 17 2022, Jeremie Courreges-Anglas wrote: >> > On Thu, Jun 16 2022, Visa Hankala wrote: >> >> nfs_inactive() has a lock order reversal. When it removes the silly >>

X11 startup scripts: sync ssh key list

2022-06-19 Thread Christian Weisgerber
The X11 session startup files for xenodm and xinit share the same snippet which checks if any of the default ssh private key files exist, and if so, starts ssh-agent and runs ssh-add. The list of key files is outdated. SSH1 "identity" is gone, and "id_ecdsa_sk" and "id_ed25519_sk" have been added

Re: [PATCH] man - apmd(8) reference

2022-06-19 Thread wdaver
3rd time trying to send - this time trying the phone… Ah - mangl returns the "Alliance ProMotion video driver" page for apm(4) when searching and when clicking links. Maybe I need to use another tool... Should I send this as a bug to ports or bugs mailing list? — David Rinehart > On Jun 18

Re: [PATCH] man - apmd(8) reference

2022-06-19 Thread Ingo Schwarze
Hi, wdaver wrote on Sun, Jun 19, 2022 at 02:09:06PM -0700: > Ah - mangl returns Whoa, i wasn't even aware that "mangl" exists, but it appears it does exist and we even have a port for it: sysutils/mangl. It isn't very happy on my machine, though: schwarze@isnote $ mangl mangl Segmentation