Module Name: src
Committed By: maxv
Date: Wed Apr 16 19:25:28 UTC 2014
Modified Files:
src/sys/kern: vfs_syscalls.c
Log Message:
Some fs's - like kernfs - set their vfs_min_mount_data to zero. Add a check
to prevent an (un)privileged user from requesting a zero-sized allocation
(and thus a panic).
To generate a diff of this commit:
cvs rdiff -u -r1.479 -r1.480 src/sys/kern/vfs_syscalls.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.