Fix readlink(2) on FFS and ext2 filesystems to consistently return
authormatthew <matthew@openbsd.org>
Mon, 2 Aug 2010 02:03:21 +0000 (02:03 +0000)
committermatthew <matthew@openbsd.org>
Mon, 2 Aug 2010 02:03:21 +0000 (02:03 +0000)
commit1330d409f940b760c224d3420b641cd246358e8b
tree26d2282378f685d7f8e17562de4e5e53b5043185
parentecb5675a96dfe43726db5a320345c8e06eb018db
Fix readlink(2) on FFS and ext2 filesystems to consistently return
EFAULT when appropriate.

ok deraadt@, miod@
sys/ufs/ext2fs/ext2fs_vnops.c
sys/ufs/ufs/ufs_vnops.c