Simplify file(1) by removing the no longer necessary parent/child separation
authorbrynet <brynet@openbsd.org>
Wed, 28 Jun 2017 13:37:56 +0000 (13:37 +0000)
committerbrynet <brynet@openbsd.org>
Wed, 28 Jun 2017 13:37:56 +0000 (13:37 +0000)
commit09f2f01e9c82c802fea3a2c6b0c796d4a34d310e
tree0e5e119ed3166fad023c3c19bc3c7ddb9a5d1268
parent794f0c6802f4f4b7751d11683c2c9cd3ce2e237a
Simplify file(1) by removing the no longer necessary parent/child separation
and just drop privileges in the main process.

Also allows for a tighter "stdio" pledge.

passing regress tests still pass

ok nicm@ with helpful feedback
usr.bin/file/Makefile
usr.bin/file/file.c