Re: acme-client -t switch?

2017-03-11 Thread Kristaps Dzonsons
>>> Since this came up.. what does anyone think about adding the original >>> version back to ports? (personally, I could do with moving things away >>> from the python version, but I need dns-01..) >> >> I'm planing on re-introducing the [-t switch] functinality. > > What direction are you

Re: fix ifconfig scan confusing WEP and WPA

2017-03-11 Thread Stefan Sperling
On Sat, Mar 11, 2017 at 09:55:15AM +0900, Stefan Sperling wrote: > While a wifi interface is configured to use WEP 'ifconfig scan' will > mistakenly show all WPA APs as WEP ones. Fix below. > > This is a small ABI change in struct ieee80211_nodereq. My diff has been committed but tb@ noticed

Re: Improved support for Apple trackpads: tests needed

2017-03-11 Thread Joerg Jung
On Fri, Mar 10, 2017 at 12:47:37AM +0100, Ulf Brosziewski wrote: > This patch for ubcmtp makes it use the multitouch-input functions of > wsmouse. It's the first driver that would apply the "tracking" variant > (wsmouse_mtframe). > > No wonders will result from the change, but the two-finger

Re: disklabel template on miniroot

2017-03-11 Thread Rivo Nurges
Hi! It looks a bit silly to copy the template from one folder to another with ftp, but yeah, it works. Thanks for the hint. Rivo On 12/03/2017, 00:13, "owner-t...@openbsd.org on behalf of Theo Buehler" wrote: On Sat, Mar 11, 2017 at

Re: disklabel template on miniroot

2017-03-11 Thread Theo Buehler
On Sat, Mar 11, 2017 at 09:59:09PM +, Rivo Nurges wrote: > Hi! > > Following will add support for disklabel template on miniroot. Can't you achieve the same by adding URL to autopartitioning template for disklabel = file:///disklabel.auto to your auto_{install,upgrade}.conf ? > > Rivo >

disklabel template on miniroot

2017-03-11 Thread Rivo Nurges
Hi! Following will add support for disklabel template on miniroot. Rivo Index: distrib/miniroot/install.sub === RCS file: /cvs/src/distrib/miniroot/install.sub,v retrieving revision 1.987 diff -u -p -r1.987 install.sub ---

httpd: expand HTTP Host

2017-03-11 Thread Rivo Nurges
Hi! Following will add possibility to expand $HTTP_HOST to the HTTP Host header in "block return". In my setup I have relayd on port 443 and httpd on 80. This patch allows me to redirect http(httpd) to https(relayd) without knowing the host. /etc/httpd.conf: server "redirect" { listen on *

Re: arm64 setjmp/longjmp once again.

2017-03-11 Thread Theo de Raadt
> > setjmp.S and _setjmp.S were modified to save the full 128 bit floating > > point registers instead of only the 64 bit portion of the registers. > > Both Linux and Android > > * Save x19-x30 + sp (x31) > * Save d8-d15 (so only the 64-bit portion of the registers) > * Do not save fpcr. > > I

Re: arm64 setjmp/longjmp once again.

2017-03-11 Thread Mark Kettenis
> Date: Fri, 10 Mar 2017 02:14:00 -0500 > From: Dale Rahn > > Yesterday's comments about setjmp caused me to dig more deeply into the > function today. Here are several fixes. There is still one possibly > outstanding issue with fpsr. When reading thru the calling convention

Re: Empty usb vendor and product strings

2017-03-11 Thread Martin Pieuchot
On 11/03/17(Sat) 16:39, Mark Kettenis wrote: > The GL3521 USB 3 hub on the odroid XU4 returns empty vendor and > product strings. That makes us skip the lookup in our own tables and > print a "vendor 0x05e3 pruduct 0x0616" string. Not sure if that's > intentional (can't think of a good reason).

Re: pledge vs. sockopt IP_HDRINCL

2017-03-11 Thread Theo de Raadt
> pledge() currently forbids IP_HDRINCL in setsockopt(). > > If I allow it in "inet", I can pledge /usr/ports/net/mtr (a traceroute tool) > to "stdio rpath inet dns tty". > > Is this safe? Should I require something else than "inet"? No. It blocks it intentionally. We don't want "inet"

Empty usb vendor and product strings

2017-03-11 Thread Mark Kettenis
The GL3521 USB 3 hub on the odroid XU4 returns empty vendor and product strings. That makes us skip the lookup in our own tables and print a "vendor 0x05e3 pruduct 0x0616" string. Not sure if that's intentional (can't think of a good reason). If it isn't, I propose the diff below. ok? Index:

OF_getindex() API

2017-03-11 Thread Mark Kettenis
A recurring pattern in device trees is that there is a "xxx-names" property that allows you to lookup an entry in the corresponding "xxx" property by names. Examples that we already use in our tree are "clock-names", "reset-names" and "pinctrl-names". There is duplicated code to do this for all

Re: dynamic RTS threshold in 11n mode

2017-03-11 Thread Stefan Sperling
On Sat, Mar 11, 2017 at 08:55:54AM +0900, Stefan Sperling wrote: > On Sat, Mar 04, 2017 at 10:04:51PM +0100, Stefan Sperling wrote: > > This diff makes the RTS threshold dynamic in 11n mode. > > It flips the RTS threshold between DEFAULT (512 bytes) and MAX (the > > maximum size of a

Re: special sequences %a, %c, %m, %v in PKG_PATH [Was: Re: Fix broken example link in packages.7]

2017-03-11 Thread Marc Espie
On Sat, Mar 11, 2017 at 08:42:37AM +, Raf Czlonka wrote: > Hi all, > > Ping. > > How about something like this? > > Recreated verbatim from pkg.conf.5: > > Index: usr.sbin/pkg_add/pkg_add.1 > === > RCS file:

Re: "user" chroot (patch)

2017-03-11 Thread Mateusz Guzik
On Sat, Mar 11, 2017 at 05:02:14AM +, Kristaps Dzonsons wrote: > In running risky non-root applications, it'd be great to chroot(2) > without needing to be root. But the manpage says no. So I added a > system call, uchroot(2), that does the following: > > (1) performs the change-root w/o

tcpmd5: unique SPIs necessary?

2017-03-11 Thread Stuart Henderson
Does anyone reading know about how SPIs are handled? I have a patch for BIRD to adapt their existing Linux/FreeBSD support for tcpmd5. It was originally written for Linux which requires a fixed SPI (0x1000) and they do the same on FreeBSD, they don't have a way to store SPI with the peer (and

Re: pledge vs. sockopt IP_HDRINCL

2017-03-11 Thread Sebastien Marie
On Sat, Mar 11, 2017 at 05:44:51PM +0900, Stefan Sperling wrote: > pledge() currently forbids IP_HDRINCL in setsockopt(). > > If I allow it in "inet", I can pledge /usr/ports/net/mtr (a traceroute tool) > to "stdio rpath inet dns tty". > IP_HDRINCL is used in net/mtr to avoid defining multiples

pledge vs. sockopt IP_HDRINCL

2017-03-11 Thread Stefan Sperling
pledge() currently forbids IP_HDRINCL in setsockopt(). If I allow it in "inet", I can pledge /usr/ports/net/mtr (a traceroute tool) to "stdio rpath inet dns tty". Is this safe? Should I require something else than "inet"? Index: kern_pledge.c

special sequences %a, %c, %m, %v in PKG_PATH [Was: Re: Fix broken example link in packages.7]

2017-03-11 Thread Raf Czlonka
Hi all, Ping. How about something like this? Recreated verbatim from pkg.conf.5: Index: usr.sbin/pkg_add/pkg_add.1 === RCS file: /cvs/src/usr.sbin/pkg_add/pkg_add.1,v retrieving revision 1.142 diff -u -p -r1.142 pkg_add.1 ---