Add simple privilege separation to file(1). Two processes, file
authornicm <nicm@openbsd.org>
Mon, 27 Apr 2015 13:41:45 +0000 (13:41 +0000)
committernicm <nicm@openbsd.org>
Mon, 27 Apr 2015 13:41:45 +0000 (13:41 +0000)
commit8d974f085b8de60f0b4571ddbd0b09c827559f17
treee3cd058f25b1c1b90274d5e1fd40197c36afe3c2
parent65ffbbf604b7e3584122fe15d26ad667d1edbd08
Add simple privilege separation to file(1). Two processes, file
descriptors and a few other bits are opened in parent and passed to
child using imsg. Child currently drops to "nobody" but this will change.
usr.bin/file/Makefile
usr.bin/file/file.c
usr.bin/file/file.h