smtpd.conf manpage typo

2018-10-07 Thread Michael Mikonos
OK? Index: smtpd.conf.5 === RCS file: /cvs/src/usr.sbin/smtpd/smtpd.conf.5,v retrieving revision 1.205 diff -u -p -u -r1.205 smtpd.conf.5 --- smtpd.conf.524 Sep 2018 16:14:34 - 1.205 +++ smtpd.conf.58 Oct

Re: yacc + unveil

2018-10-07 Thread Michael Mikonos
Hello, Forwarding a newer patch that I came up with. This time unveil()s are done before pledge() so no subsequent pledge() is needed to remove the unveil promise. * temporary files are created & unlinked in /tmp, so unveil the directory * output_file_name is either -o PATH or the default of

Re: Reuse VM ids.

2018-10-07 Thread Mischa Peters
No idea if the code works yet. Hopefully I can try later. But love the idea. Mischa > On 8 Oct 2018, at 04:31, Ori Bernstein wrote: > > Keep a list of known vms, and reuse the VM IDs. This means that when using > '-L', the IP addresses of the VMs are stable. > > diff --git

Re: locate.mklocatedb broken with LC_ALL!=C

2018-10-07 Thread Todd C. Miller
On Sun, 07 Oct 2018 17:08:06 +0200, Marc Espie wrote: > Specifically, the only part that cares about > locale is sort, and it's definitely correct in fixing > it's not run on an utf-8 file. Agreed. How about the following? - todd Index: usr.bin/locate/locate/mklocatedb.sh

Reuse VM ids.

2018-10-07 Thread Ori Bernstein
Keep a list of known vms, and reuse the VM IDs. This means that when using '-L', the IP addresses of the VMs are stable. diff --git usr.sbin/vmd/config.c usr.sbin/vmd/config.c index af12b790002..522bae32501 100644 --- usr.sbin/vmd/config.c +++ usr.sbin/vmd/config.c @@ -61,7 +61,10 @@

Re: lib/libfuse: Handle signals that get sent to any thread

2018-10-07 Thread Rian Hunter
(re-posting because I realized the last patch didn't apply cleanly) lib/libfuse/fuse.c was using a EINTR return from kevent() to detect when a signal had occurred, but in a multi-threaded process the signal may not have been delivered to the thread blocking on kevent(). This changes makes it so

Re: pf: honor quick on anchor rules

2018-10-07 Thread Klemens Nanni
On Fri, Oct 05, 2018 at 11:53:08PM +0200, Klemens Nanni wrote: > On Fri, Oct 05, 2018 at 10:38:48PM +0200, Fabian Mueller-Knapp wrote: > > If i read man correctly it means "evaluate the rules inside and stop if > > any rule within matched". > While it's own description is quite clear and

Re: locate.mklocatedb broken with LC_ALL!=C

2018-10-07 Thread Marc Espie
On Sun, Oct 07, 2018 at 09:43:05AM +0200, Giovanni Bechis wrote: > Hi, > after setting LC_ALL=en_US.UTF-8 on my env locate.mklocatedb seems broken, > resetting LC_ALL=C is a workaround. > > $ export LC_ALL=en_US.UTF-8 > $ doas /usr/libexec/locate.updatedb > sort: Illegal byte sequence >

Re: locate.mklocatedb broken with LC_ALL!=C

2018-10-07 Thread Giovanni Bechis
On Sun, Oct 07, 2018 at 10:06:35AM +0200, Stefan Sperling wrote: > On Sun, Oct 07, 2018 at 09:43:05AM +0200, Giovanni Bechis wrote: > > Hi, > > after setting LC_ALL=en_US.UTF-8 on my env locate.mklocatedb seems broken, > > resetting LC_ALL=C is a workaround. > > > > $ export LC_ALL=en_US.UTF-8 >

Re: locate.mklocatedb broken with LC_ALL!=C

2018-10-07 Thread Stefan Sperling
On Sun, Oct 07, 2018 at 09:43:05AM +0200, Giovanni Bechis wrote: > Hi, > after setting LC_ALL=en_US.UTF-8 on my env locate.mklocatedb seems broken, > resetting LC_ALL=C is a workaround. > > $ export LC_ALL=en_US.UTF-8 > $ doas /usr/libexec/locate.updatedb > sort: Illegal byte sequence >

locate.mklocatedb broken with LC_ALL!=C

2018-10-07 Thread Giovanni Bechis
Hi, after setting LC_ALL=en_US.UTF-8 on my env locate.mklocatedb seems broken, resetting LC_ALL=C is a workaround. $ export LC_ALL=en_US.UTF-8 $ doas /usr/libexec/locate.updatedb sort: Illegal byte sequence locate.mklocatedb: cannot build locate database $ export LC_ALL=C $ doas