cvs commit: src/sys/compat/linux linux_stats.c
Konstantin Belousov
kib at FreeBSD.org
Sat Dec 29 06:25:30 PST 2007
kib 2007-12-29 14:25:29 UTC
FreeBSD src repository
Modified files:
sys/compat/linux linux_stats.c
Log:
Apply the LCONVPATH() to the (old) linux_stat() and linux_lstat() syscalls.
Without it, code has two problems:
- behaviour of the old and new [l]stat are different with regard of
the /compat/linux
- directly accessing the userspace data from the kernel asks for
the panics.
Reported and tested by: Peter Holm
Reviewed by: rdivacky
MFC after: 3 days
Revision Changes Path
1.89 +12 -3 src/sys/compat/linux/linux_stats.c
More information about the cvs-src
mailing list