Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: [netbsd-2-0] src/usr.bin/fstat
Module Name: src
Committed By: tron
Date: Fri Apr 2 14:54:17 UTC 2004
Modified Files:
src/usr.bin/fstat [netbsd-2-0]: fstat.c
Log Message:
Pull up revision 1.66 (requested by aymeric in ticket #50):
fix the way the ext2fs-specific size and mode variables are fetched:
they are indirectly gotten from kernel memory and as such should be read
with KVM_READ.
This fixes fstat core dumps when some process holds a reference in a Linux
ext2fs filesystem.
Thanks to Aleksy Schubert (alx.at.mimuw.dot.edu.dot.pl) for debugging this
with me.
To generate a diff of this commit:
cvs rdiff -r1.65 -r1.65.2.1 src/usr.bin/fstat/fstat.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Home |
Main Index |
Thread Index |
Old Index