diff options
author | bde <bde@FreeBSD.org> | 1998-06-06 03:06:55 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-06-06 03:06:55 +0000 |
commit | 2048f8ec6ce4916fa85a428ceab6faa3e6c1cbf4 (patch) | |
tree | de032caa1ae69f433d5506f3bcd2a4d9e6e4c945 /Makefile | |
parent | 8df5660106e9161f906ef63580b7842477dd4bc1 (diff) | |
download | FreeBSD-src-2048f8ec6ce4916fa85a428ceab6faa3e6c1cbf4.zip FreeBSD-src-2048f8ec6ce4916fa85a428ceab6faa3e6c1cbf4.tar.gz |
Don't attempt to copy the whole slices "struct" for DIOCGSLICEINFO.
The slices "struct" isn't really a struct; we allocate only part of
it in the fully dangerously dedicated case. Since the "struct" is
malloced, the page beyond it may not be mapped, so attempts to copy
it would crash. This problem became larger when the full struct was
bloated from < 1K to > 3K by the addition of (mostly unused) DEVFS
tokens some time before 2.2.0 was released.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions