httpd(8): patch to allow FastCGI chroots in sub-directories

2020-01-08 Thread Nazar Zhuk
httpd(8) expects FastCGI processes to have the same chroot as httpd. I propose a feature that allows multiple FastCGI processes chrooted in separate directories under /var/www (/var/www/site1, /var/www/site2, etc.) This would better isolate multiple applications. Configuration: fastcgi strip

Re: pcidevs and usbdevs in Dell r7515

2020-01-08 Thread Jonathan Gray
On Wed, Jan 08, 2020 at 06:51:26PM +0100, Hrvoje Popovski wrote: > Hi all, > > in attachment you can find diff with some new AMD devices found in Dell > R7515. > > pcidevs are from > https://raw.githubusercontent.com/pciutils/pciids/master/pci.ids > > and usbdevs are from >

Re: rdate/ntp.c: unused attempts

2020-01-08 Thread Theo Buehler
On Tue, Jan 07, 2020 at 10:21:33PM +0200, Artturi Alm wrote: > Hi, > > been there unused since import, and counting accepts+rejects has been enough, > so here's a diff for cleaning it away. Assuming that `attempts = accepts + rejects` was intended, i.e., while (accepts < MAX_QUERIES &&

Re: [PATCH] [src] - usr.sbin/bind/configure{,.in} - /dev/arandom no longer exists

2020-01-08 Thread Theo de Raadt
No. All of that connective tissue is going to be destroyed. Raf Czlonka wrote: > Hi all, > > This effectively reinstates what has been nuked[0] by the recent > import. > > [0] > https://cvsweb.openbsd.org/src/usr.sbin/bind/configure.diff?r1=1.15=1.16=h > > Regards, > > Raf > > Index:

Re: pfioctl needs to ignore unknown af

2020-01-08 Thread Alexander Bluhm
On Wed, Jan 08, 2020 at 07:18:54PM +0100, Benjamin Baier wrote: > pfioctl() needs to ignore unknown af supplied from userland (root only) > which can lead to kernel panic. > > This fixes syzbot+92be143c2dd1746cf...@syzkaller.appspotmail.com >

[PATCH] [src] - usr.sbin/bind/configure{,.in} - /dev/arandom no longer exists

2020-01-08 Thread Raf Czlonka
Hi all, This effectively reinstates what has been nuked[0] by the recent import. [0] https://cvsweb.openbsd.org/src/usr.sbin/bind/configure.diff?r1=1.15=1.16=h Regards, Raf Index: usr.sbin/bind/configure === RCS file:

Re: Sleeps of 1sec of more

2020-01-08 Thread Alexander Bluhm
On Wed, Jan 08, 2020 at 04:29:02PM +0100, Martin Pieuchot wrote: > Convert sleeps of 1sec or more that follow the '* hz' idiom to > tsleep_nsec(9). > > Ok? OK bluhm@ > Index: dev/acpi/tipmic.c > === > RCS file:

pfioctl needs to ignore unknown af

2020-01-08 Thread Benjamin Baier
Hi. pfioctl() needs to ignore unknown af supplied from userland (root only) which can lead to kernel panic. This fixes syzbot+92be143c2dd1746cf...@syzkaller.appspotmail.com https://syzkaller.appspot.com/bug?id=18bd5fa9e22c139d0a4c34dd6c7c1f3fd6eec42a -- Ben Index: pf_ioctl.c

Re: patch: Enable dock audio on Thinkpad dock (Thinkpad L460)

2020-01-08 Thread Abel Abraham Camarillo Ojeda
On Mon, Dec 30, 2019 at 1:24 PM Abel Abraham Camarillo Ojeda < acam...@verlet.org> wrote: > The following enables audio via the dock station port in my thinkpad L460. > But, anyone knows if its possible to automatically disable the laptop > speaker > when I plug in the audio port in the dock? it

pcidevs and usbdevs in Dell r7515

2020-01-08 Thread Hrvoje Popovski
Hi all, in attachment you can find diff with some new AMD devices found in Dell R7515. pcidevs are from https://raw.githubusercontent.com/pciutils/pciids/master/pci.ids and usbdevs are from https://usb-ids.gowdy.us/read/UD/1604/10c0 https://certification.ubuntu.com/catalog/component/1604:10c0

Sleeps of 1sec of more

2020-01-08 Thread Martin Pieuchot
Convert sleeps of 1sec or more that follow the '* hz' idiom to tsleep_nsec(9). Ok? Index: dev/acpi/tipmic.c === RCS file: /cvs/src/sys/dev/acpi/tipmic.c,v retrieving revision 1.4 diff -u -p -r1.4 tipmic.c --- dev/acpi/tipmic.c 4

Re: More infinite sleeps

2020-01-08 Thread Alexander Bluhm
On Wed, Jan 08, 2020 at 01:53:25PM +0100, Martin Pieuchot wrote: > Use tsleep_nsec(9) for multiline infinite sleeps as well! > > ok? OK bluhm@ > Index: kern/sysv_sem.c > === > RCS file: /cvs/src/sys/kern/sysv_sem.c,v > retrieving

Re: Fwd: Patch to pcidevs for a SSD drive ADATA product.

2020-01-08 Thread Todd C . Miller
On Wed, 08 Jan 2020 11:04:55 +0100, Dariusz Sendkowski wrote: > Do you want me to send a new patch with all the corrections included > or it is not necessary any more? No need. - todd

More infinite sleeps

2020-01-08 Thread Martin Pieuchot
Use tsleep_nsec(9) for multiline infinite sleeps as well! ok? Index: kern/sysv_sem.c === RCS file: /cvs/src/sys/kern/sysv_sem.c,v retrieving revision 1.56 diff -u -p -r1.56 sysv_sem.c --- kern/sysv_sem.c 4 Feb 2019 07:04:28

Re: ospf(6)d.conf: define interface parameters per area or globally

2020-01-08 Thread Denis Fondras
On Wed, Jan 08, 2020 at 09:14:48AM +0100, Remi Locherer wrote: > > I have a diff to allow parameters after interface or area definition. > > Not sure if we want to do that though. > > I would appreciate that! ;-) > The ospfd diff needs some more work. Crypt authentication handling is not

Re: Fwd: Patch to pcidevs for a SSD drive ADATA product.

2020-01-08 Thread Dariusz Sendkowski
Do you want me to send a new patch with all the corrections included or it is not necessary any more? śr., 8 sty 2020 o 04:35 Todd C. Miller napisał(a): > > On Wed, 08 Jan 2020 14:29:11 +1100, Jonathan Gray wrote: > > > The non-pro product supposedly is 126f:2262 going by > >

Re: ldom.conf.5: Mention default boot disk

2020-01-08 Thread Klemens Nanni
On Wed, Jan 08, 2020 at 09:33:09AM +, Andrew Grillet wrote: > Yes - I like the alias idea. > > The example you give exactly matches most of my setups. Cool. > Would it be possible to pass the actual filename to boot from via OBP? You mean specifying the absolute file path of the primary

Re: ldom.conf.5: Mention default boot disk

2020-01-08 Thread Andrew Grillet
Yes - I like the alias idea. The example you give exactly matches most of my setups. Would it be possible to pass the actual filename to boot from via OBP? (Perhaps if enabled/forced by a null or "*" as the filename). This would make it possible to add/replace a disk to a guest after the config

Re: fix confusion between rtlabel and rtable / rdomain

2020-01-08 Thread Klemens Nanni
On Wed, Jan 08, 2020 at 09:50:09AM +0100, Claudio Jeker wrote: > Yes, the label is only applied to routes added after the rtlabel was added > to the interface. Changing this behaviour is outside of the scope of this > fix. Since nobody noticed that ifconfig rtlabel was totally broken for > some

Re: fix confusion between rtlabel and rtable / rdomain

2020-01-08 Thread Claudio Jeker
On Wed, Jan 08, 2020 at 09:27:27AM +0100, Klemens Nanni wrote: > On Wed, Jan 08, 2020 at 08:45:50AM +0100, Claudio Jeker wrote: > > rt_ifa_add() and rt_ifa_del() have a major confusion when it comes to > > rtlabelid (as in labels on a route) vs rtableid (as in routing table id). > > Because of

Re: fix confusion between rtlabel and rtable / rdomain

2020-01-08 Thread Klemens Nanni
On Wed, Jan 08, 2020 at 08:45:50AM +0100, Claudio Jeker wrote: > rt_ifa_add() and rt_ifa_del() have a major confusion when it comes to > rtlabelid (as in labels on a route) vs rtableid (as in routing table id). > Because of this 'ifconfig rtlabel XYZ' fails to add route labels to > the routing

Re: ospf(6)d.conf: define interface parameters per area or globally

2020-01-08 Thread Remi Locherer
On Sat, Jan 04, 2020 at 11:34:45PM +0100, Denis Fondras wrote: > On Sat, Jan 04, 2020 at 11:11:36PM +0100, Remi Locherer wrote: > > Hi, > > > > interface-specific parameters can be defined globally or per area. > > But they are applied to the interfaces only if the interfaces are > > declared

Re: correctly detach rdomain in lo(4) destroy

2020-01-08 Thread Klemens Nanni
On Wed, Jan 08, 2020 at 09:06:50AM +0100, Claudio Jeker wrote: > In loop_clone_destroy() the routing table is reset too early. The issue is > that if_detach does all the route cleanup and so the rdomain should not be > changed until if_detach() finished. > > My previoous diff (fixing the rtlabel

correctly detach rdomain in lo(4) destroy

2020-01-08 Thread Claudio Jeker
In loop_clone_destroy() the routing table is reset too early. The issue is that if_detach does all the route cleanup and so the rdomain should not be changed until if_detach() finished. My previoous diff (fixing the rtlabel confusion) adds a KASSERT() in rt_ifa_del() which triggers because of