Check file sizes only for regular files. The current code breaks savecore
authortobias <tobias@openbsd.org>
Fri, 16 Oct 2015 16:54:38 +0000 (16:54 +0000)
committertobias <tobias@openbsd.org>
Fri, 16 Oct 2015 16:54:38 +0000 (16:54 +0000)
commit1b9417bb627d90cee2fed3f82e34d8d0524f485b
tree95f54d9f7ec4f290f4467c183a7eea397583bae3
parentc9ec0abe94e8a66cea008ed1a5f4d5b477e78bcf
Check file sizes only for regular files. The current code breaks savecore
due to its kvm handling.

ok deraadt
distrib/common/elfrd_size.c
lib/libc/gen/nlist.c
usr.sbin/installboot/i386_nlist.c