Allow for us to do a CREATE style lookup on a read only filesystem
authorbeck <beck@openbsd.org>
Mon, 30 Jul 2018 00:16:59 +0000 (00:16 +0000)
committerbeck <beck@openbsd.org>
Mon, 30 Jul 2018 00:16:59 +0000 (00:16 +0000)
commit31d4eb94b0ffbfdd02141dc2a7527f2d61926589
tree849cb1a54f093ab4e935325025ecb1dfed1cb035
parent93768d176ed575687fc8543048b12cc31ffa86ea
Allow for us to do a CREATE style lookup on a read only filesystem
if and only if we are unveil doing it. Fixes an issue noticed
by kn@ where unveil would fail with EROFS on a read only filesystem
sys/kern/vfs_lookup.c