Convert hw_sysctl to sysctl_bounded_args

2020-11-07 Thread Greg Steuck
This one is surprisingly a minor loss if one were to simply add bytes on amd64: .text+.data+.bss+.rodata before 0x64b0+0x40+0x14+0x338 = 0x683c after 0x6440+0x48+0x14+0x3b8 = 0x6854 OK? >From f93b64d701aed8a72256a7bc0bd343fcc16a2aa8 Mon Sep 17 00:00:00 2001 From: Greg Steuck Date: Sat, 7

Convert kern_sysctl to sysctl_bounded_args

2020-11-07 Thread Greg Steuck
This one is a tiny bit different in its using separate static ints to store some constants previously in .text immediate operands. Tested by diff'ing sysctl kern outputs and probing to write the sysctl_int's. OK? >From fe000c108d1695b48c4651dddf586d224be66fe8 Mon Sep 17 00:00:00 2001 From: Greg

unbound.conf.5.in: remove reference to default pidfile

2020-11-07 Thread Martin Vahlensieck
Hi Unbound on OpenBSD does not have a pidfile, so remove the reference in the manual. As the variable is empty, it also incorrectly formats the description as italic. Best, Martin Index: unbound.conf.5.in === RCS file: /cvs/src/usr

dhcpd: Put return type on its own line

2020-11-07 Thread Martin Vahlensieck
Hi Put the return type on its own line. Found while checking dhcpd.h. Best, Martin Index: memory.c === RCS file: /cvs/src/usr.sbin/dhcpd/memory.c,v retrieving revision 1.29 diff -u -p -r1.29 memory.c --- memory.c6 Apr 2020 17:0

base64.c: Remove trailing whitespace

2020-11-07 Thread Martin Vahlensieck
Hi Remove trailing whitespace. Best, Martin Index: base64.c === RCS file: /cvs/src/lib/libc/net/base64.c,v retrieving revision 1.8 diff -u -p -r1.8 base64.c --- base64.c16 Jan 2015 16:48:51 - 1.8 +++ base64.c7 Nov

dhcpd: Remove prototypes without implementation

2020-11-07 Thread Martin Vahlensieck
Hi pretty_print_option: Removed in options.c in revision 1.4 parse_timestamp: Removed in confpars.c in revision 1.13 tree_host_lookup: Removed in tree.c in revision 1.11 enter_dns_host: Removed in tree.c in revision 1.11 getLong: Removed in convert.c in revision 1.4 getShort: Removes in convert.c

Re: Fix ilogb(3)

2020-11-07 Thread Philip Guenther
On Fri, Nov 6, 2020 at 4:51 PM George Koehler wrote: > Your ilogb fix is ok gkoehler@ > It's annoying that C and/or ieee754 and the original hardware implementation in the x87 instructions diverged in their definitions, but the former is what matters and libm needs to follow that. ok guenther@