Re: Remove path support from OpenBSD::Pledge

2017-09-08 Thread Philip Guenther
On Fri, Sep 8, 2017 at 8:40 PM, Andrew Fresh wrote: > This removes path support from the OpenBSD::Pledge perl module in > preparation for the hot new thing. > > I don't believe anyone could be using this as it would have just thrown > errors if you tried, but thought I should ask for an ok. > > s

[patch] Remove redundant operation in pctr.c

2017-09-08 Thread Nan Xiao
Hi tech@, Remove setting null-terminated string operation, since bzero() has done this operation before. Sorry if I miss some points. Thanks! Best Regards Nan Xiao Index: pctr.c === RCS file: /cvs/src/usr.bin/pctr/pctr.c,v retrievi

ld.so: delete obsolete __plt_{start,end} handling

2017-09-08 Thread Philip Guenther
It's been a year since the ldscripts have created __plt_start or __plt_end symbols, so references to them will never resolve. Just delete the _dl_protect_segment() calls that are dependent on one or both of those symbols. ok? Philip Guenther Index: libexec/ld.so/alpha/rtld_machine.c ==

Remove path support from OpenBSD::Pledge

2017-09-08 Thread Andrew Fresh
This removes path support from the OpenBSD::Pledge perl module in preparation for the hot new thing. I don't believe anyone could be using this as it would have just thrown errors if you tried, but thought I should ask for an ok. so OK? Index: gnu/usr.bin/perl/cpan/OpenBSD-Pledge//Pledge.xs

mg: fix line numbering bug

2017-09-08 Thread Martin Wanvik
When inserting a newline, only increment dotline for windows that are displaying the same buffer as the current one. Index: usr.bin/mg/line.c === RCS file: /cvs/src/usr.bin/mg/line.c,v retrieving revision 1.58 diff -u -p -u -r1.58 l

acpithinkpad fixes for brand new machines

2017-09-08 Thread joshua stein
Revision 1.50 of acpithinkpad.c made inteldrm defer to acpithinkpad for screen brightness adjustments instead of handling it natively. That was needed to avoid some synchronization issues on machines where the hardware buttons do the backlight adjustment on their own, and just notify acpithinkpad o

[PATCH] urng.4 - Altusmetrum -> Altus Metrum

2017-09-08 Thread Raf Czlonka
Hi all, According to their web pages[0][1] Altus Metrum name comprises two words - both capitalised. [0] http://altusmetrum.org/ [1] http://shop.gag.com/about-magento-demo-store Regards, Raf Index: share/man/man4/urng.4 === RCS fi

pflogd fork+exec (redux)

2017-09-08 Thread Bryan Steele
>From lessons learned with tcpdump and talking to deraadt@ and bluhm@, this reworks pflogd to re-exec its unpriv child instead of the priv parent, my initial understanding of the syslogd privsep design was off and pflogd doesn't need any such clever approach. I can also send a diff with my previou

Re: SSE2 instructions emitted in libcompiler_rt

2017-09-08 Thread Patrick Wildt
On Fri, Sep 08, 2017 at 10:15:25AM -0700, Mike Larkin wrote: > On Thu, Sep 07, 2017 at 06:52:34PM +0200, Christian Weisgerber wrote: > > Christian Weisgerber: > > > > > > Maybe this would already help? Would at least not throw stones into the > > > > way of the next person doing an upgrade of com

Re: SSE2 instructions emitted in libcompiler_rt

2017-09-08 Thread Mike Larkin
On Thu, Sep 07, 2017 at 06:52:34PM +0200, Christian Weisgerber wrote: > Christian Weisgerber: > > > > Maybe this would already help? Would at least not throw stones into the > > > way of the next person doing an upgrade of compiler-rt... > > -snip- > > > > Yes, that's better... but errors out: >

/usr/src/distrib/notes/arm64/whatis

2017-09-08 Thread Stuart Henderson
The arm64 hardware file listing the actual supported systems was updated recently, but the "whatis" file still has this: "OpenBSD/arm64 runs on the Pine64 and the Raspberry Pi 3. Hardware support is currently limited, but this port is a heavy work in progress." I don't think it needs an actual l

Re: more pax warning fixes

2017-09-08 Thread Alexander Bluhm
On Fri, Sep 08, 2017 at 07:01:03AM +0200, Otto Moerbeek wrote: > Indeed, better diff, OK bluhm@ > Index: tar.c > === > RCS file: /cvs/src/bin/pax/tar.c,v > retrieving revision 1.63 > diff -u -p -r1.63 tar.c > --- tar.c 26 Aug 201

Re: more pax warning fixes

2017-09-08 Thread Todd C. Miller
On Fri, 08 Sep 2017 07:01:03 +0200, Otto Moerbeek wrote: > Indeed, better diff, OK millert@ - todd

Re: SSE2 instructions emitted in libcompiler_rt

2017-09-08 Thread Christian Weisgerber
On 2017-09-07, Christian Weisgerber wrote: > However, I don't know how to test that these functions actually work. FWIW, I checked all *.o files from a make build of base, but there are no references to __float(di|undi)[dsx]f. I guess nothing uses these functions and clang doesn't generate code

Re: [patch] Remove local nameservers from dhclient.conf during an upgrade.

2017-09-08 Thread Jesper Wallin
On Fri, Sep 08, 2017 at 12:29:57PM +0100, Raf Czlonka wrote: > > One small comment regarding your patch - since a good while, sed(1) > can do in place file edits so the above is a useless use of cat :^) > Hehe, that too. Thanks for pointing it out! It's been a long week with way too little slee

Re: [patch] Remove local nameservers from dhclient.conf during an upgrade.

2017-09-08 Thread Jesper Wallin
On Fri, Sep 08, 2017 at 06:39:55AM -0400, Jiri B wrote: > > ^^ if you would append a dns server which it provided by dhcp to your > regular /etc/dhclient.conf, then it should work find, shouldn't it? > it would try first one, fail, try second one. > > and your changed doesn't work for servers wit

Re: vmd(8): Improve RFC 2132 compliance (DHCP)

2017-09-08 Thread Reyk Floeter
Hi, thank you for the patch and the detailed explanation. I knew that Android is having similar problems under vmd, maybe that's also because of busybox' udhcpc. I have to clarify that vmd does not implement "DHCP" but "BOOTP". I picked BOOTP because it was simpler to implement and totally suffi

Re: [patch] Remove local nameservers from dhclient.conf during an upgrade.

2017-09-08 Thread Jiri B
On Fri, Sep 08, 2017 at 12:12:09PM +0200, Jesper Wallin wrote: > Hi all, > > I have a local unbound running for caching purposes as well as ensuring > that my DNS traffic is encrypted, using DNS-over-TLS. This works just > fine, except for when I try to run the snapshot upgrade process. > > The

[patch] Remove local nameservers from dhclient.conf during an upgrade.

2017-09-08 Thread Jesper Wallin
Hi all, I have a local unbound running for caching purposes as well as ensuring that my DNS traffic is encrypted, using DNS-over-TLS. This works just fine, except for when I try to run the snapshot upgrade process. The installer will copy my on-disk configuration and try to setup the network, us

vmd(8): Improve RFC 2132 compliance (DHCP)

2017-09-08 Thread Anthony Coulter
The DHCP client available in the Alpine Linux installer (udhcpc, part of BusyBox) does not accept responses that do not include the DHCP message type option. Worse, it expects the message type to be DHCPOFFER in some circumstances and DHCPREQUEST in others. The DHCP server in vmd omits this option

Re: [PATCH v3 2/2] VMD: Prevent vmd crashing when stopping a stopped vm

2017-09-08 Thread Mike Larkin
On Thu, Sep 07, 2017 at 04:47:53PM -0700, Carlos Cardenas wrote: > * Fix logic handling stopping a VM. Prevents VMD from crashing. > * Add additional error code to notify the user that a vm cannot be > stopped when not running. > * Add additional log_debug statements. > I split this one into a