Stop info gathering attack pointed out by Alan Cox <alan@cymru.net>
authormillert <millert@openbsd.org>
Thu, 5 Dec 1996 23:14:27 +0000 (23:14 +0000)
committermillert <millert@openbsd.org>
Thu, 5 Dec 1996 23:14:27 +0000 (23:14 +0000)
commit074594f004a490e865950db1bd9559afe2e8c46c
treeeae93d9ca675fdf94eed5f2e0f7676104742628b
parent46470994c7dc8496b068a11e502c2abe8c8a0954
Stop info gathering attack pointed out by Alan Cox <alan@cymru.net>
Only return ENOENT if the dir trying to be mounted is really exported
to the client.  Return EACCESS if not exported.
sbin/mountd/mountd.c