Re: patch unveil fail

2023-10-25 Thread Todd C . Miller
On Wed, 25 Oct 2023 13:38:37 +0200, Alexander Bluhm wrote: > Since 7.4 patch(1) does not work if an explicit patchfile is given on > command line. > > https://marc.info/?l=openbsd-cvs=168941770509379=2 OK millert@ - todd

installer: suggest CDN if ftplist1 doesn't work

2023-10-25 Thread Job Snijders
Dear all, In case no mirror was previously configured (aka, this is a fresh install) and ftplist1.openbsd.org is unreachable, perhaps it's useful to suggest a default mirror to expedite the installation process. Terminal transcript on a machine that's not able to reach ftplist1, doing 'enter

Re: patch unveil fail

2023-10-25 Thread Florian Obser
reads correct, OK florian On 2023-10-25 13:38 +02, Alexander Bluhm wrote: > Hi, > > Since 7.4 patch(1) does not work if an explicit patchfile is given on > command line. > > https://marc.info/?l=openbsd-cvs=168941770509379=2 > > root@ot14:.../~# patch /usr/src/usr.bin/patch/patch.c

Re: patch unveil fail

2023-10-25 Thread Omar Polo
On 2023/10/25 13:38:37 +0200, Alexander Bluhm wrote: > Index: patch.c > === > RCS file: /data/mirror/openbsd/cvs/src/usr.bin/patch/patch.c,v > diff -u -p -r1.74 patch.c > --- patch.c 19 Jul 2023 13:26:20 - 1.74 > +++

Re: dhcpd(8): Parse lease database after dropping privileges

2023-10-25 Thread Stephen Fox
Hello, I just wanted to double check if there is any additional feedback on the patch. I am happy to make changes or discuss alternative approaches. Thank you, Stephen On Tue, Oct 3, 2023 at 11:33 PM Stephen Fox wrote: > > Hello, > > I received feedback from deraadt that the first two

Re: patch unveil fail

2023-10-25 Thread Alexander Bluhm
On Wed, Oct 25, 2023 at 07:00:28PM +0200, Omar Polo wrote: > On 2023/10/25 13:38:37 +0200, Alexander Bluhm wrote: > > @@ -213,11 +214,27 @@ main(int argc, char *argv[]) > > perror("unveil"); > > my_exit(2); > > } > > - if (filearg[0] != NULL)

Re: ibuf free fd on close

2023-10-25 Thread Theo Buehler
On Tue, Oct 24, 2023 at 04:00:42PM +0200, Claudio Jeker wrote: > On Tue, Oct 24, 2023 at 03:50:47PM +0200, Theo Buehler wrote: > > On Tue, Oct 24, 2023 at 03:01:26PM +0200, Claudio Jeker wrote: > > > When I added ibuf_get_fd() the idea was to make sure that ibuf_free() will > > > close any fd

Re: malloc: micro optimizations

2023-10-25 Thread Masato Asou
Hi, It works fine for me. ok asou@ -- ASOU Masato From: Otto Moerbeek Date: Wed, 25 Oct 2023 11:04:01 +0200 > Hi, > > a few micro-optimization, including getting rid of some statistics > that are not actualy very interesting. > > Speedup amounts to a few tenths of percents to a few percents,

make(1): document VPATH variable

2023-10-25 Thread Alexandre Ratchov
I just noticed that our make(1) supports VPATH, but is not documented. OK? Index: make.1 === RCS file: /cvs/src/usr.bin/make/make.1,v diff -u -p -r1.141 make.1 --- make.1 10 Aug 2023 10:56:34 - 1.141 +++ make.1 25

Re: boot loaders: softraid volumes must be on RAID partitions

2023-10-25 Thread Klemens Nanni
10/24/23 14:03, Crystal Kolipe пишет: > On Tue, Oct 24, 2023 at 01:44:08AM +, Klemens Nanni wrote: >> Rereading the code, I now question why it checks the 'a' label type at all. >> >> Taking your sd0d example through devboot(): >> >> |#ifdef SOFTRAID >> |/* >> | * Determine the

OpenBSD Errata: October 25, 2023 (xserver msplit)

2023-10-25 Thread Alexander Bluhm
Errata patches for X11 server and kernel mbuf handling have been released for OpenBSD 7.3 and 7.4. Binary updates for the amd64, arm64 and i386 platform are available via the syspatch utility. Source code patches can be found on the respective errata page:

malloc: micro optimizations

2023-10-25 Thread Otto Moerbeek
Hi, a few micro-optimization, including getting rid of some statistics that are not actualy very interesting. Speedup amounts to a few tenths of percents to a few percents, depending on how biased the benchmark is. -Otto Index: stdlib/malloc.c

patch unveil fail

2023-10-25 Thread Alexander Bluhm
Hi, Since 7.4 patch(1) does not work if an explicit patchfile is given on command line. https://marc.info/?l=openbsd-cvs=168941770509379=2 root@ot14:.../~# patch /usr/src/usr.bin/patch/patch.c patch-unveil.diff Hmm... Looks like a unified diff to me... The text leading up to this was:

Re: IPv4 on ix(4) slow/nothing - 7.4

2023-10-25 Thread Alexander Bluhm
On Thu, Oct 19, 2023 at 04:04:26PM +0200, Jan Klemkow wrote: > On Wed, Oct 18, 2023 at 08:53:44PM +0200, Alexander Bluhm wrote: > > On Wed, Oct 18, 2023 at 08:19:29PM +0200, Mischa wrote: > > > It's indeed something like that: ix -> vlan (tagged) -> veb > > > > When vlan is added to veb, kernel