rc: Broken autoconf default route sleeping

2021-07-28 Thread Leon Fischer
Revision 1.552 of etc/rc broke the pause for autoconf interfaces that use "rdomain" or "metric" by matching only for "mtu" after the flags. An interface may look like this: lo1: flags=8008 rdomain 1 metric 1 mtu 32768 Source: sbin/ifconfig/ifconfig.c:status():

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

cwm: Exclude ignored windows from search menu

2021-06-12 Thread Leon Fischer
There is no use in listing ignored windows, which are generally used as for "status bars", in the window search menu (M-slash). It clutters up the menu with persistent windows that the user would very rarely want to focus. This patch excludes them from menu-window and menu-window-hidden. They

Re: Pledge violations caused by editline

2021-06-10 Thread Leon Fischer
> From: "Theo de Raadt" > Date: Thu, 10 Jun 2021 16:11:57 -0600 > > I would argue for deleting that code. Here's the diff for that. > > A flag for el_set which *allows it* might work for me, but I anticipate > this is a crazy feature that programs using the library would not expect, > and the

Pledge violations caused by editline

2021-06-10 Thread Leon Fischer
The editline(7) library has a little known feature: vi-histedit. When invoked, the command creates a file in /tmp and spawns vi(1) to edit it. This behavior is unaccounted for in the pledge(2) promises of bc(1) and fsdb(8). Steps to reproduce: $ echo "bind -v" >> ~/.editrc $ bc Abort trap (core

mkuboot.8: Add missing arm64 architecture

2021-05-31 Thread Leon Fischer
The mkuboot(8) man page was not updated after this commit: RCS file: /cvs/src/usr.sbin/mkuboot/mkuboot.c,v revision 1.7 date: 2016/12/20 11:27:11; author: jsg; state: Exp; lines: +3 -1; commitid: fELL92HBrGHkYVvc; Add the u-boot arm64 architecture number and map

69.html: rsync(1) -> openrsync(1)

2021-04-22 Thread Leon Fischer
Found a small mistake in the 6.9 changelog. Index: 69.html === RCS file: /cvs/www/69.html,v retrieving revision 1.70 diff -u -p -r1.70 69.html --- 69.html 22 Apr 2021 17:59:45 - 1.70 +++ 69.html 22 Apr 2021 20:34:16