cwm: add fvwm and tvm as default wm entries

2023-05-14 Thread Klemens Nanni
Both fvwm(1) and twm(1) have a restart menu that contains other window managers by default, which is useful if you want to switch around without restarting X and/or custom window manager config. cwm(1) only offers to restart into itself by deafult. Add the other two we ship by default so users can

Re: smtpd: nits to reduce the diff with -portable

2023-05-14 Thread Theo de Raadt
Omar Polo wrote: > On 2023/05/10 09:30:12 +0200, Theo Buehler wrote: > > > I forgot to include one off_t cast since it was in a different > > > directory and -even if off topic because it's not in portable- instead > > > of "const"-ify only tz why don't mark as const also the two arrays day > >

Re: smtpd: nits to reduce the diff with -portable

2023-05-14 Thread Theo de Raadt
> + (long long int)tv.tv_sec, tv.tv_usec, Please do not use that form. (long long) is enough.

Re: ix hardware tso

2023-05-14 Thread Hrvoje Popovski
On 14.5.2023. 11:24, Alexander Bluhm wrote: > On Sat, May 13, 2023 at 01:32:07AM +0200, Alexander Bluhm wrote: >> I have not yet investigated where the dropped counter 83 comes from. >> If you see that also, please report what you did. > This is an ENOBUFS error in this chunk. > > /* netwo

hardware TSO TCP/IP layer

2023-05-14 Thread Alexander Bluhm
Hi, I would like to commit the TCP/IP layer for TCP segmentation offload. The driver is not part of this diff, it should be reviewed separately. Also the ifconfig flags and pseudo interfaces capabilities discussion is excluded. I kept the wrong names IFXF_TSO and IFCAP_TSO as jan@'s diff will ma

missing malloc failure check at /src/lib/libcrypto/asn1/bio_ndef.c

2023-05-14 Thread Илья Шипицин
Hello, patch attached. Ilya From c996eebf03a4c5585d2c3045407c827de60c88d5 Mon Sep 17 00:00:00 2001 From: Ilya Shipitsin Date: Sun, 14 May 2023 17:45:36 +0200 Subject: [PATCH] LibreSSL: missing malloc failure check added found during LibreSSL code audit --- src/lib/libcrypto/asn1/bio_ndef.c | 4

Bail out on "id -R user"

2023-05-14 Thread Lucas
According to both usage() and id.1, "id -R" doesn't accept any positional arguments. This diff makes program behave like that. -Lucas diff refs/heads/master refs/heads/id-R-usage commit - 55055d619d36cc45f8c6891404c51cd405214e86 commit + 214ec9c042895b8482378b6ee43530ce4ffe9e21 blob - 30e2c58e08

Re: ksh, test: test -t file descriptor isn't optional

2023-05-14 Thread Lucas
Several months bump. Lucas wrote: > Hi tech@, > > Both test.1 and ksh.1 (under the non-POSIX compatibility flag) state > that `test -t` will default to test whether fd 1 is a TTY if the > argument is omitted. This isn't the case, and both treat `-t` as the > equivalent of `test -n -t`, ie, test

Re: ix hardware tso

2023-05-14 Thread Alexander Bluhm
On Sat, May 13, 2023 at 01:32:07AM +0200, Alexander Bluhm wrote: > I have not yet investigated where the dropped counter 83 comes from. > If you see that also, please report what you did. This is an ENOBUFS error in this chunk. /* network interface hardware will do TSO */ if (in_i

Re: malloc: better write-after-free detection for chunks

2023-05-14 Thread Otto Moerbeek
On Sun, May 14, 2023 at 10:42:34AM +0200, Otto Moerbeek wrote: > Hi, > > On free, chunks (the pieces of a pages used for smaller allocations) > are junked and then validated after they leave the delayed free list. > So after free, a chunk always contains junk bytes. This means that if > we start

malloc: better write-after-free detection for chunks

2023-05-14 Thread Otto Moerbeek
Hi, On free, chunks (the pieces of a pages used for smaller allocations) are junked and then validated after they leave the delayed free list. So after free, a chunk always contains junk bytes. This means that if we start with the right contents for a new page of chunks, we can *validate* instead