After opening required descriptors, savecore only plays in one directory
authorderaadt <deraadt@openbsd.org>
Mon, 24 Sep 2018 21:26:38 +0000 (21:26 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 24 Sep 2018 21:26:38 +0000 (21:26 +0000)
commite18d1965d1668bb971d3a78c151d2ed11d29b64a
treef4ca744e4e13ed2b6c24e6c3a1a7cd9312c9b741
parentc91129808d7b6e89d9eda0dac677825779614b86
After opening required descriptors, savecore only plays in one directory
so use unveil(2).
sbin/savecore/savecore.c