Re: vmd send nameserver only once

2018-08-16 Thread Carlos Cardenas
On Wed, Aug 15, 2018 at 03:43:06PM +0200, Martijn van Duren wrote: > When running vmd with a local interface it sends the nameservers twice, > which seems a bit redundant to me and always annoys me when editing > resolv.conf manually inside the vm. > Diff below removes one of the two instances. >

Re: php 5.6 and php 7 using php-fpm ?

2018-08-16 Thread Elias M. Mariani
That hit the spot. Thanks! 2018-08-16 18:57 GMT-03:00 Stuart Henderson : > To run the two versions concurrently, use the rc.conf.local flags variables > (php56_fpm_flags/php70_fpm_flags) to give them different config files (-y > /path/to/fpm.conf). > > -- > Sent from a phone, apologies for poor

Re: ubcmtp: fix multi-finger on type4 devices, pass in proper pressure

2018-08-16 Thread Ulf Brosziewski
Hi Joshua, this patch breaks ubcmtp on the MacBook Pro 8.2. There is no problem with the padding, but the pressure value is always 0, and wsmouse doesn't register any touches. I believe only type4 models fill the 'pressure' field. At least for now, it's better to use the width value

Re: php 5.6 and php 7 using php-fpm ?

2018-08-16 Thread Stuart Henderson
To run the two versions concurrently, use the rc.conf.local flags variables (php56_fpm_flags/php70_fpm_flags) to give them different config files (-y /path/to/fpm.conf). -- Sent from a phone, apologies for poor formatting. On 16 August 2018 22:09:57 "Elias M. Mariani" wrote: Hi, Somebody

PCI segment support for ACPI

2018-08-16 Thread Mark Kettenis
So the 24-core arm64 machine I have now contains two PCI host bridges. And since this isn't a PeeCee those are exposed as two separate PCI "segments". This means I need to add support for muliple segments to the ACPI code. The diff does this by adding a segment argument to the pci_mcfg_init()

php 5.6 and php 7 using php-fpm ?

2018-08-16 Thread Elias M. Mariani
Hi, Somebody knows how to set up 2 different socks, one with php56 and another with php70 ? Yo can just run rcctl start php56_fpm php70_fpm Because they would use the same fpm.sock. And this is configured in /etc/php-fpm.conf, I did not found another place to configure this. Cheers. Elias.

Re: pflogd unveil

2018-08-16 Thread Bryan Steele
On Thu, Aug 16, 2018 at 04:28:03PM -0400, Bryan Steele wrote: > On Thu, Aug 16, 2018 at 04:20:54PM -0400, Bryan Steele wrote: > > This adds unveil to pflogd(8) > > > > pflogd(8) is a special case, residing in /sbin, it's a static PIE. As > > such, I thought it might be worth experimenting with

Re: pflogd unveil

2018-08-16 Thread Theo de Raadt
Bryan Steele wrote: > The privileged part of pflogd(8) is now disallowed from accessing most > of the filesystem, veiled except for read-only opening of /dev/bpf, and > rwc for the log file, typically /var/log/pflog. This process cannot yet > pledge(2), so special care is needed to make sure no

Re: pflogd unveil

2018-08-16 Thread Bryan Steele
On Thu, Aug 16, 2018 at 04:20:54PM -0400, Bryan Steele wrote: > This adds unveil to pflogd(8) > > pflogd(8) is a special case, residing in /sbin, it's a static PIE. As > such, I thought it might be worth experimenting with execpromises here. > This allows re-exec after privdrop, and removes

pflogd unveil

2018-08-16 Thread Bryan Steele
This adds unveil to pflogd(8) pflogd(8) is a special case, residing in /sbin, it's a static PIE. As such, I thought it might be worth experimenting with execpromises here. This allows re-exec after privdrop, and removes chroot(2) in favour of only unveil(2) and pledge(2). I've left the code there

frag6_slowtimo: push netlock into frag6_freef

2018-08-16 Thread Scott Cheloha
Hi, short version: push the netlock from frag6_slowtimo into frag6_freef around icmp6_error. long version: visa removed the netlock from frag6_slowtimo() entirely in frag6.c 1.79. bluhm reintroduced it soon after, in 1.81, because of a lock assertion in rt_match(). Although mpi removed *that*

Using shift on external keyboards in softraid passphrases from efiboot

2018-08-16 Thread Frank Groeneveld
Hello all, I haven't been able to type the passphrase of my softraid device on boot when using an external keyboard on my Thinkpad X260. Finally I had some time to debug this problem and this is what I discovered. On a different laptop with EFI, the ReadKeyStroke call will not return a packet

Re: Remove unused variable in usr.bin/openssl/apps.c

2018-08-16 Thread Theo Buehler
On Thu, Aug 16, 2018 at 05:56:47PM +0200, Ingo Schwarze wrote: [..] > this commit seems wrong to me. I agree. Thanks for paying attention, Ingo. This commit should be reverted. I think this is a bug that was introduced in r1.45 when free guards were removed, a few of them a bit too aggressively.

Re: Remove unused variable in usr.bin/openssl/apps.c

2018-08-16 Thread Ingo Schwarze
Hi, this commit seems wrong to me. The function verify_callback() in the file s_cb.c contains this code: switch (err) { /* ... */ case X509_V_ERR_NO_EXPLICIT_POLICY: policies_print(bio_err, ctx); break; } if (err ==

Re: umsm(4) and umb(4) separate loading for the same composite USB modem device

2018-08-16 Thread Gerhard Roth
On Thu, 16 Aug 2018 13:56:13 +0300 Denis wrote: > I can change AT!UDUSBCOMP modes for MC7304 and MC7455 I have in production. > > But how to make full dump of all the USB device descriptors for each > UDUSBCOMP mode? Can I make it by usbdevs - or how? Hi Denis, no that won't work. You

Re: umsm(4) and umb(4) separate loading for the same composite USB modem device

2018-08-16 Thread Denis
I can change AT!UDUSBCOMP modes for MC7304 and MC7455 I have in production. But how to make full dump of all the USB device descriptors for each UDUSBCOMP mode? Can I make it by usbdevs - or how? Denis On 8/15/2018 5:41 PM, Mark Kettenis wrote: >> Date: Wed, 15 Aug 2018 09:56:50 +0100 >>

Re: Remove unused variable in usr.bin/openssl/apps.c

2018-08-16 Thread Rob Pierce
On Thu, Aug 16, 2018 at 06:14:06PM +0800, Nan Xiao wrote: > Hi tech@, > > The `free_out' variable seems redundant, so this patch removes it: > > Index: apps.c > === > RCS file: /cvs/src/usr.bin/openssl/apps.c,v > retrieving revision

Remove unused variable in usr.bin/openssl/apps.c

2018-08-16 Thread Nan Xiao
Hi tech@, The `free_out' variable seems redundant, so this patch removes it: Index: apps.c === RCS file: /cvs/src/usr.bin/openssl/apps.c,v retrieving revision 1.47 diff -u -p -r1.47 apps.c --- apps.c 7 Feb 2018 08:57:25 -

Re: [PATCH] qcow2 disk format

2018-08-16 Thread Ori Bernstein
Updated style from feedback from off-list. Also added checks and erroring for incompatible extensions. --- usr.sbin/vmd/Makefile | 2 +- usr.sbin/vmd/vioqcow2.c| 546 + usr.sbin/vmd/vioqcow2.h| 6 + usr.sbin/vmd/vioscribble.c | 143 ++