kettenis [Sun, 2 Jul 2017 20:58:55 +0000 (20:58 +0000)]
Enable MIPI/DSI support for inteldrm(4). Makes the display on my ASUS
Transformer Book T100HA work (with some ugly error/warning messages).
mlarkin [Sun, 2 Jul 2017 19:49:31 +0000 (19:49 +0000)]
re-enable PAT
discussed with deraadt a month or so ago, this has been sitting in my
tree since then.
tobias [Sun, 2 Jul 2017 19:06:12 +0000 (19:06 +0000)]
Fixed a typo in error message.
ok jmc@
espie [Sun, 2 Jul 2017 18:11:28 +0000 (18:11 +0000)]
repair the tree, make sure y.tab.h is there before compiling yacc files.
problem noticed by deraadt@
espie [Sun, 2 Jul 2017 17:55:14 +0000 (17:55 +0000)]
somehow, I did NOT commit the patch I sent to tb@. Matthieu noticed it.
commit the right DEPS definition.
espie [Sun, 2 Jul 2017 17:03:45 +0000 (17:03 +0000)]
document new depends somewhat.
I asked jmc, told me to go ahead and he'd review it when he can.
schwarze [Sun, 2 Jul 2017 15:31:48 +0000 (15:31 +0000)]
add warning "cross reference to self"; inspired by mdoclint
benno [Sun, 2 Jul 2017 15:28:26 +0000 (15:28 +0000)]
Second diff to rename additional "always" variable in struct ifsd_config.
from Rob Pierce.
Requested by stsp@
kevlo [Sun, 2 Jul 2017 14:48:19 +0000 (14:48 +0000)]
Add the definition of IEEE80211_DUR_DS_SHSLOT.
From IEEE Std. 802.11-2016, Table 18-5 "ERP characteristics", p. 2332:
aSlotTime characteristic:
If dont11OperatingClassesRequired is false:
Long = 20 us
Short = 9 us
ok stsp@
benno [Sun, 2 Jul 2017 14:30:35 +0000 (14:30 +0000)]
Remove unused variable from header file.
from Rob Pierce.
ok stsp@ and me
benno [Sun, 2 Jul 2017 14:28:45 +0000 (14:28 +0000)]
Remove variable assignment in declaration and add whitespace to improve
readability. No functional change.
from Rob Pierce.
ok stsp@ and me
benno [Sun, 2 Jul 2017 14:27:30 +0000 (14:27 +0000)]
Rename one of the "always" variables to "body" for improved readability.
No functional change.
from Rob Pierce.
ok stsp@ and me
rpe [Sun, 2 Jul 2017 12:45:43 +0000 (12:45 +0000)]
Shorter version of the same.
based on a mail from Klemens Nanni on tech@
rpe [Sun, 2 Jul 2017 11:53:35 +0000 (11:53 +0000)]
Tweak comment
rpe [Sun, 2 Jul 2017 11:52:44 +0000 (11:52 +0000)]
NIFS is checked inside start_cgiinfo() already.
No need to do this check twice.
from Klemens Nanni
brynet [Sun, 2 Jul 2017 10:58:15 +0000 (10:58 +0000)]
Replace fgetln with POSIX getline, even though file was using fgetln in
the idiomatic safe way. Also, check for stream errors with ferror and
err(1, "") in that case.
with feedback from joerg@, schwarze@, nicm@
ok nicm "code is shorter anyway", and joerg@ for an earlier diff
krw [Sun, 2 Jul 2017 09:11:13 +0000 (09:11 +0000)]
Unbreak tree by putting revised resolv_conf_priority() declaration in
correct place and passing the invocation the correct parameters.
Noticed by & initial diff from matthieu@
visa [Sun, 2 Jul 2017 07:46:05 +0000 (07:46 +0000)]
Fix the set of octmmc.4.
visa [Sun, 2 Jul 2017 07:42:58 +0000 (07:42 +0000)]
sync
visa [Sun, 2 Jul 2017 07:27:16 +0000 (07:27 +0000)]
Add octciu(4) manual page.
krw [Sat, 1 Jul 2017 23:27:55 +0000 (23:27 +0000)]
Eliminate multiple socket openings/closings and pass
fd'd from main loops as required. One socket to do
ioctl's per process (called ioctlfd) and one socket to
do route messages per socket (called routefd).
Clean up local variable declaration lists in passing.
djm [Sat, 1 Jul 2017 22:55:44 +0000 (22:55 +0000)]
actually remove these files
brynet [Sat, 1 Jul 2017 21:07:13 +0000 (21:07 +0000)]
close open fd after testing files, ensuring that fd isn't stdin.
ok nicm@
sf [Sat, 1 Jul 2017 19:42:59 +0000 (19:42 +0000)]
Use absolute pointers in codepatch entries
Instead of offsets to KERNBASE, store absolute pointers in the
codepatch entries. KERNBASE will go away when ASLR is introduced.
Requested by deraadt@
sf [Sat, 1 Jul 2017 19:38:41 +0000 (19:38 +0000)]
Use absolute pointers in codepatch entries
Instead of offsets to KERNBASE, store absolute pointers in the
codepatch entries. This makes the resulting kernel a few KB larger on
amd64, but KERNBASE will go away when ASLR is introduced.
Requested by deraadt@
deraadt [Sat, 1 Jul 2017 18:00:01 +0000 (18:00 +0000)]
provide both TRAP and NOP values for our architectures, then change
elf.sc to FILL .text segment with TRAP. .init/.fini remain NOP FILL.
It is possible that some of these TRAP values aren't perfect yet, but
they can be changed. When doing so also change the ld.script and gap.o
TRAP value.
discussions with mortimer, ok kettenis
kettenis [Sat, 1 Jul 2017 16:14:10 +0000 (16:14 +0000)]
Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).
Tested by many.
kettenis [Sat, 1 Jul 2017 16:12:03 +0000 (16:12 +0000)]
Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).
Tested by many.
kettenis [Sat, 1 Jul 2017 16:00:25 +0000 (16:00 +0000)]
Update inteldrm(4) to code based on Linux 4.4.70. This brings us support for
Skylake and Cherryview and better support for Broadwell and Valleyview. Also
adds MST support. Some tweaks to the TTM code and radeondrm(4) to keep it
working with the updated generic DRM code needed for inteldrm(4).
Tested by many.
kevlo [Sat, 1 Jul 2017 15:56:11 +0000 (15:56 +0000)]
- Avoid possible use of uninitialized variable; noticed by jsg@
- Only set value in R92C_FAST_EDCA_CTRL register if the device is
combo WiFi/Bluetooth; confirmed by Yan-Hsuan Chuan from Realtek
- There's no need to set the default value for the R92C_PIFS since
default value is 0x1c; confirmed by Yan-Hsuan Chuan from Realtek
- Disable usb Rx aggregation mode for rtl8188cu/rtl8192cu;
vendor drivers use DMA Rx aggregation mode for rtl8188cu/rtl8192cu/rtl8188eu
and use USB Rx aggregation mode for later chipsets.
Tested by stsp and me.
ok stsp@
espie [Sat, 1 Jul 2017 14:41:54 +0000 (14:41 +0000)]
effectively kill depend as an independant target (there are a few corners
where a separate depend step is still needed, mostly gcc3 and mesa).
Use of BUILDFIRST is mostly enough to make sure important stuff is built
first.
Otherwise, this makes use of -M* compiler options to generate dependencies
on the fly. There is a bit of behind-the-scene for targets with several
steps (like yacc and/or libraries) and the compiler needs extra hand-holding
with assembler files (don't know why, don't care).
Idea based on guenther@'s initial kernel work, loads of input from
drahn, aoyama, tb, etc.
okay tb@
"why wait" deraadt@
espie [Sat, 1 Jul 2017 14:37:25 +0000 (14:37 +0000)]
missed BUILDFIRST. Allow stuff to proceed without depends
as found by krw@
brynet [Sat, 1 Jul 2017 14:34:29 +0000 (14:34 +0000)]
magicfp is fclosed where it was opened, remove fclose from magic_load()
ok nicm deraadt
djm [Sat, 1 Jul 2017 13:50:45 +0000 (13:50 +0000)]
remove post-SSHv1 removal dead code from rsa.c and merge the
remaining bit that it still used into ssh-rsa.c; ok markus
schwarze [Sat, 1 Jul 2017 13:17:09 +0000 (13:17 +0000)]
delete -p options, the relevant parts are now covered by mandoc;
OK jmc@
schwarze [Sat, 1 Jul 2017 12:53:56 +0000 (12:53 +0000)]
When checking cross references with -Tlint, ultimately fall back to
looking in the current working directory. Not a security issue
because the files are never open(2)ed, only access(2)ed.
Requested by jmc@ and inspired by mdoclint(1).
This cannot be perfect because it only works for files having the
exact filename ./pagename.sec - mandoc has no way to figure out
which files might contain a manual for multiple names, or that files
in autohell might be called ./pagename.man.in instead, or which
subdirectories might contain additional source files. Also, it may
hide messages if you have bogus stuff lying around in the directory
where you run mandoc -Tlint. But jmc@ considers it important, and
good enough for everyday use.
Also avoid leaking the memory for the file name while here.
espie [Sat, 1 Jul 2017 12:23:22 +0000 (12:23 +0000)]
go thru POSIX::Termios to turn off kerninfo.
wasn't even aware that stuff existed, thanks nicm@
NOKERNINFO hardcoded, because it's not in the POSIX module, shouldn't be
a big issue.
okay millert@
schwarze [Sat, 1 Jul 2017 12:00:12 +0000 (12:00 +0000)]
When checking the validity of cross references with -Tlint,
fall back from database search to file system search
just like man(1) does when looking up manuals.
This is not too expensive because on a system having up-to-date
mandoc.db(5) files, it only prolongs the time needed to check
*invalid* references - and you are supposed to have many of those,
right? And on a system with missing or invalid mandoc.db(5) files,
spending a bit of time and warning loudly about the real problem
is also better than quickly issuing bogus warnings about cross
references that are actually valid.
schwarze [Sat, 1 Jul 2017 09:47:23 +0000 (09:47 +0000)]
Basic reporting of .Xrs to manual pages that don't exist
in the base system, inspired by mdoclint(1).
We are able to do this because (1) the -mdoc parser, the -Tlint validator,
and the man(1) manual page lookup code are all in the same program
and (2) the mandoc.db(5) database format allows fast lookup.
Feedback from, previous versions tested by, and OK jmc@.
A few features will be added to this in the tree, step by step.
nicm [Fri, 30 Jun 2017 22:37:35 +0000 (22:37 +0000)]
Don't write over right border.
nicm [Fri, 30 Jun 2017 22:36:11 +0000 (22:36 +0000)]
Fix previous when we end up able to show no panes.
nicm [Fri, 30 Jun 2017 22:24:08 +0000 (22:24 +0000)]
Try to show a better preview of sessions and windows in tree mode.
rpe [Fri, 30 Jun 2017 17:06:03 +0000 (17:06 +0000)]
Improve reorder_kernel()
- check for and exit if /usr/share is on a nfs mounted filesystem
- add trap handlers that mail the logfile to the admin user
- use $_compile instead of $_compile_dir like in the installer
- use $_compile/$_kernel instead of $_kernel_dir
- remove the now redundant sha256 -h ... after make newinstall
- write stdout/stderr of the background subshell to a logfile
OK tb@ deraadt@
rpe [Fri, 30 Jun 2017 16:46:02 +0000 (16:46 +0000)]
Create a unique kernel to boot from during install and upgrade.
- update the linkkit directory
- chroot and relink/install new kernel using the linkkit Makefile
Idea from and OK deraadt@
OK tb@
bluhm [Fri, 30 Jun 2017 14:56:08 +0000 (14:56 +0000)]
Build and run libexpat regress tests from src/lib/libexpat/tests.
bluhm [Fri, 30 Jun 2017 14:43:26 +0000 (14:43 +0000)]
Add test suite source files for expat 2.2.1.
bentley [Fri, 30 Jun 2017 14:42:05 +0000 (14:42 +0000)]
Add mdoc(7) macros to vi's built-in lists of roff paragraph/section macros.
ok jmc@, no objection schwarze@
bluhm [Fri, 30 Jun 2017 13:25:02 +0000 (13:25 +0000)]
AmigaOS and pre-X Mac OS support has been dropped in upstream
libexpat. Remove obsolete header files, missed in previous commit.
bluhm [Fri, 30 Jun 2017 11:29:15 +0000 (11:29 +0000)]
In OpenBSD 6.0 we had the check (ip6_forward_rt.ro_tableid !=
m->m_pkthdr.ph_rtableid) after going to reroute in ip6_forward().
As this had been lost during refactoring, the old route was used
after pf has changed the routing table. Solution is to reset the
route, then it is not valid and will be reallocated.
from markus@; OK mpi@
bluhm [Fri, 30 Jun 2017 11:25:29 +0000 (11:25 +0000)]
Update libexpat to version 2.2.1 which has some security fixes.
- CVE-2017-9233 CVE-2016-9063 CVE-2016-5300 CVE-2016-4472 CVE-2016-0718
CVE-2015-2716 CVE-2015-1283 CVE-2012-6702 CVE-2012-0876 have been
addressed. Not all of them affect OpenBSD as we had fixes before.
- Upstream uses arc4random_buf(3) now. Delete all code for other
entropy sources to make sure to compile the correct one. Our
library already used arc4random(3) before.
- The overflow fixes in rev 1.11 and 1.12 of lib/xmlparse.c
have been commited upstream in a different way. Use the upstream
code to make maintenance easier.
- Although it should be ABI compatible, there is a new global
symbol align_limit_to_full_utf8_characters. As it is in
lib/internal.h, add a Symbols.map to restrict the export. Do not
bump the shared library version.
- Use the internal expat's siphash.h.
ports build ajacoutot@; move ahead deraadt@
mestre [Fri, 30 Jun 2017 08:39:16 +0000 (08:39 +0000)]
Add missing rot13 function prototype
mlarkin [Fri, 30 Jun 2017 06:25:29 +0000 (06:25 +0000)]
Fix a format string specifier error in a debug printf.
Noticed and reported by Fasse:
fasse dot f2 at gmail dot com
Thanks.
mlarkin [Fri, 30 Jun 2017 06:17:47 +0000 (06:17 +0000)]
Remove unused variables
dtucker [Fri, 30 Jun 2017 04:17:23 +0000 (04:17 +0000)]
Only call close once in confree(). ssh_packet_close will close the FD
so only explicitly close non-SSH channels. bz#2734, from
bagajjal at microsoft.com, ok djm@
nicm [Thu, 29 Jun 2017 22:02:19 +0000 (22:02 +0000)]
Use 100 as the example for command-alias because the defaults are from 0
to (currently) 5.
krw [Thu, 29 Jun 2017 21:37:43 +0000 (21:37 +0000)]
Nuke undocumented long-deprecated and/or unsupported lease
fields 'hardware', 'alias', 'media', 'medium', 'ethernet'.
Also remove now-unused parse_ethernet().
Making these parsing failures will smoke out anybody with
leases or conf files from the last century.
deraadt [Thu, 29 Jun 2017 17:36:16 +0000 (17:36 +0000)]
kill RCSID macros; discussed with millert
deraadt [Thu, 29 Jun 2017 17:17:28 +0000 (17:17 +0000)]
Put asm-generated strings into .rodata
ok millert
espie [Thu, 29 Jun 2017 16:51:35 +0000 (16:51 +0000)]
put SYSTEM_SWAP_DEP out of its misery, it died in 1997, along with config.old
"go for it" deraadt@
martijn [Thu, 29 Jun 2017 16:49:58 +0000 (16:49 +0000)]
Increase the input line buffer to 4096 bytes.
Sounds good to deraadt@
OK anton@
schwarze [Thu, 29 Jun 2017 16:30:47 +0000 (16:30 +0000)]
Skip whitespace at the beginning of eqn(7) nodes,
in particular ~ and ^ that misrendered;
found by bentley@ in glCopyTexSubImage1D(3); also affected
glAccum(3), glClipPlane(3), glDrawPixels(3), glEvalMesh(3), and others.
anton [Thu, 29 Jun 2017 16:20:49 +0000 (16:20 +0000)]
Mention TIOCSTAT in tty(4).
ok deraadt@ millert@
jmc [Thu, 29 Jun 2017 15:32:36 +0000 (15:32 +0000)]
some kernel relink bits, tweaked by deraadt;
schwarze [Thu, 29 Jun 2017 15:21:46 +0000 (15:21 +0000)]
warn about some non-portable idioms in .Bl -column;
triggered by a question from Yuri Pankov (illumos)
krw [Thu, 29 Jun 2017 13:55:53 +0000 (13:55 +0000)]
delete_addresses(), interface_status(), addressinuse(),
lease_as_string() and rewrite_option_db() only use the
interface name, so supply just the name.
Tweak interface_link_forceup() to use the same param
name as other functions taking the interface name.
schwarze [Thu, 29 Jun 2017 13:16:39 +0000 (13:16 +0000)]
Clarify that .Ta as a line macro is a portability problem,
even though mandoc(1) handles it;
triggered by a question from Yuri Pankov (illumos).
deraadt [Thu, 29 Jun 2017 13:04:09 +0000 (13:04 +0000)]
0xd4d4d4d4 is a useful 'trap instruction' on arm64, but not on arm32.
0xffffffff seems better in userland and kernel. still not exactly happy
with the situation.
long discussion with kettenis. anyone else have an opinion?
visa [Thu, 29 Jun 2017 10:56:18 +0000 (10:56 +0000)]
Always use the maximum permissible frame size for Rx size limit.
This lets a change of interface MTU take effect immediately without
link cycling and brings cnmac(4) into line with other jumbo frame
capable NIC drivers.
Prompted by Joe Holden on misc@
OK dlg@
tb [Thu, 29 Jun 2017 08:45:20 +0000 (08:45 +0000)]
Move <fcntl.h> to its alphabetic spot and add __dead attribute to usage()
ok mestre
mlarkin [Thu, 29 Jun 2017 08:24:10 +0000 (08:24 +0000)]
add some comments, no functional change
mlarkin [Thu, 29 Jun 2017 08:14:36 +0000 (08:14 +0000)]
suppress local symbols in mptramp. Matches a similar diff in
acpi_wakecode.s that was committed previously. Also remove an extra
symbol (mp_tramp_pdirpa) that was duplicated with mp_pdirpa.
Tested MP boot, un-zzz, un-ZZZ, no issues seen.
mlarkin [Thu, 29 Jun 2017 07:51:59 +0000 (07:51 +0000)]
suppress local symbols in mptramp. Matches a similar diff in
acpi_wakecode.s that was committed previously.
Tested MP boot, un-zzz, un-ZZZ, no issues seen.
mlarkin [Thu, 29 Jun 2017 07:19:40 +0000 (07:19 +0000)]
Remove a block of "#if 0" code that has been in the file since r1.1, 13
years ago. This was part of the original reset code port from i386, and
we've never been able to reset amd64 in the way the code tries to do in
the #if 0 block since we don't have a 'PTD' variable in amd64.
I thought to keep this around for diffability with i386, but that's pretty
pointless now as the diff between the two machdep.c files is over 5000
lines already...
mlarkin [Thu, 29 Jun 2017 07:11:24 +0000 (07:11 +0000)]
Remove an "#if 1" that had been in the code for 16 years. I think it's
safe to say it's been enabled long enough to warrant permanent inclusion.
jmc [Thu, 29 Jun 2017 07:01:49 +0000 (07:01 +0000)]
spelling fix; from greg lehey, freebsd r320427;
mlarkin [Thu, 29 Jun 2017 06:15:30 +0000 (06:15 +0000)]
hide some locore0 symbols that are only used inside locore0.
ok deraadt
deraadt [Thu, 29 Jun 2017 05:40:35 +0000 (05:40 +0000)]
TEMPORARILY disable gap compilation, until lld is fixed/updated to
newer code with a variety of ld.script bugs fixed.
bentley [Thu, 29 Jun 2017 04:24:31 +0000 (04:24 +0000)]
Fix incorrectly swapped labels of left/right arrows.
ok schwarze@
deraadt [Thu, 29 Jun 2017 04:23:12 +0000 (04:23 +0000)]
Switch TIOCSTAT to _IO(). Two decades ago it was mistakenly defined to
take an argument. Discussed with millert and tedu.
deraadt [Thu, 29 Jun 2017 04:10:07 +0000 (04:10 +0000)]
Due to risks known for decades, TIOCSTI now performs no action, and simply
returns EIO. The base system has been cleaned of TIOCSTI uses (collaboration
between anton and I), and the ports tree appears mostly clean. A few
stragglers may be discovered and cleaned up later...
In a month or so, we should see if the #define can be removed entirely.
ok anton tedu, support from millert
tedu [Thu, 29 Jun 2017 03:48:44 +0000 (03:48 +0000)]
set c.c_maxrxlen to something. apparently lost a line somewhere.
maybe it works now? :)
from Colin Stolley via Paul B. Henson
dlg [Thu, 29 Jun 2017 01:25:59 +0000 (01:25 +0000)]
take const off the timeval argument in the pending functions.
event_pending, evtimer_pending, and signal_pending all write to the
timeval because that's how they tell the caller when the event is
meant to fire.
ok deraadt@ millert@ jmc@ schwarze@
mikeb [Wed, 28 Jun 2017 19:30:24 +0000 (19:30 +0000)]
Introduce a simple mechanism to select the appropriate queue manager
Discussed with and OK henning@ at d2k17 as a part of a larger diff.
mikeb [Wed, 28 Jun 2017 19:27:42 +0000 (19:27 +0000)]
Tighten up FQ-CoDel vs HFSC checks
PFQS_FLOWQUEUE is about to become a flag that HFSC classes may specify
as well; thus a better way of telling FQ-CoDel and HFSC apart needs to
be found. At the moment its derived from the queue specification.
Discussed with and OK henning@ at d2k17 as a part of a larger diff.
mikeb [Wed, 28 Jun 2017 19:13:35 +0000 (19:13 +0000)]
Provide pf queue manager API
Discussed with and OK henning@ at d2k17 as a part of a larger diff.
mikeb [Wed, 28 Jun 2017 18:31:03 +0000 (18:31 +0000)]
Extend pf queueing ops to include queue manager hooks
Discussed with and OK henning@ at d2k17 as a part of a larger diff.
mikeb [Wed, 28 Jun 2017 18:24:02 +0000 (18:24 +0000)]
hfsc.c should depend on pf instead of inet
Discussed with and OK henning@ at d2k17 as a part of a larger diff.
jmc [Wed, 28 Jun 2017 17:54:31 +0000 (17:54 +0000)]
reinstate .El removed in previous;
nicm [Wed, 28 Jun 2017 17:28:39 +0000 (17:28 +0000)]
Test for file from stdin.
brynet [Wed, 28 Jun 2017 17:14:15 +0000 (17:14 +0000)]
Fix stdin file read support, accidentally broken in my last commit.
krw [Wed, 28 Jun 2017 16:31:52 +0000 (16:31 +0000)]
Only pass required fields of interface_info to priv_* functions
and friends. i.e. ifi->name, ifi->rdomain, or both.
krw [Wed, 28 Jun 2017 15:45:32 +0000 (15:45 +0000)]
delete_route() doesn't need any info from its struct interface_info
parameter as the route message already has the correct tableid. So
eliminate the useless parameter.
deraadt [Wed, 28 Jun 2017 15:42:49 +0000 (15:42 +0000)]
remove excess #include
deraadt [Wed, 28 Jun 2017 15:40:54 +0000 (15:40 +0000)]
perform an initial pledge very early on, and drop tzset to later.
ok nicm brynet
krw [Wed, 28 Jun 2017 15:23:19 +0000 (15:23 +0000)]
resolv_conf_priority() is a function local to kroute.c, no
need to expose its definition in dhcpd.h. While here change
the parameter from struct interface_info to int and just pass
the only field used (rdomain).
anton [Wed, 28 Jun 2017 15:09:41 +0000 (15:09 +0000)]
Add regression tests for mail.
anton [Wed, 28 Jun 2017 14:58:23 +0000 (14:58 +0000)]
Replace usage of TIOCSTI in mail while editing headers using a more common
IO-loop where ICANON is disabled and a single char of input is read at a time.
This requires the line editing capabilities provided when ICANON is enabled to
be implemented.
ok deraadt@
schwarze [Wed, 28 Jun 2017 14:49:26 +0000 (14:49 +0000)]
Remove the nonsensical "-s - -" in the third example; quirk reported
by Redouan Ait Mallouk <raitmallouk at gmail dot com>.
The paste(1) utility allows two equivalent solutions for many tasks
involving only one input stream; while here, make that more obvious
by always showing both solutions.
krw [Wed, 28 Jun 2017 14:35:43 +0000 (14:35 +0000)]
Stop trying to clean up addresses, routes and "-L" file
whenever dhclient dies. Eliminates differences in handling
and thus need to intercept signals INT, TERM, USR1,
USR2. Eliminates need for 'zapzombies' field and thus
entire struct imsg_flushroutes. Eliminates need for 'imsg'
parameter to and associated logic in priv_flush_routes().
Address, routes and '-L' file are still cleaned out when
binding a lease.
jmc [Wed, 28 Jun 2017 14:07:11 +0000 (14:07 +0000)]
remove a contradictory sentence (see dhcp-options(5)) which claims
hostnames which resolve to muliple ip addresses are all forwarded to
the client;
issue reported by edgar pettijohn;
discussed with dhcpd's de facto maintainer, kenneth westerback;