Use unveil(2). These programs fit together in various strange ways,
authorderaadt <deraadt@openbsd.org>
Mon, 24 Sep 2018 21:26:00 +0000 (21:26 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 24 Sep 2018 21:26:00 +0000 (21:26 +0000)
commitc91129808d7b6e89d9eda0dac677825779614b86
tree872818c0ed370e4eb96e725dcf4d1def5ed6bd90
parent628ca1c4b6c8050e916e3233fd28550904a9efee
Use unveil(2).  These programs fit together in various strange ways,
so if a problem is encountered with this the whole set needs backout
and study.
sbin/fsck/fsck.c
sbin/fsck/fsutil.c
sbin/fsck/fsutil.h
sbin/fsck_ext2fs/main.c
sbin/fsck_ffs/main.c
sbin/fsck_ffs/setup.c
sbin/fsck_msdos/check.c
sbin/fsck_msdos/main.c