Read the lease file into a statically sized buffer and pass it over to
authorflorian <florian@openbsd.org>
Sat, 27 Feb 2021 10:07:41 +0000 (10:07 +0000)
committerflorian <florian@openbsd.org>
Sat, 27 Feb 2021 10:07:41 +0000 (10:07 +0000)
commit6e93e3e975aac6b0d4f6d686352876a6c5faeda6
treeaeb84b71d2e73997f86ae7ab2c53d0df4f6c19f3
parent9cd4f3a55f2a6d6f69c7b6d26e397c1a5e05f45c
Read the lease file into a statically sized buffer and pass it over to
the engine process for parsing instead of passing an fd.
Let's us tighten the engine's pledge back down to "stdio".
sbin/dhcpleased/dhcpleased.c
sbin/dhcpleased/dhcpleased.h
sbin/dhcpleased/engine.c