CVSROOT: /cvs Module name: src Changes by: nat...@cvs.openbsd.org 2016/02/26 01:56:11
Modified files: sys/sys : mount.h sys/ufs/ext2fs : ext2fs_readwrite.c ext2fs_vnops.c sys/ufs/ffs : ffs_vfsops.c ffs_vnops.c Log message: Convert mnt_maxsymlinklen to unsigned. This allows to remove some truncating casts in symlink handling code. Also, validate fs_maxsymlinklen in the superblock at mount time and on fsck to make sure we don't use bogus data. discussion & ok millert@, stefan@