Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Sep 2008 21:38:16 +0200
From:      MITA Yoshio <mita@ee.t.u-tokyo.ac.jp>
To:        Chagin Dmitry <dchagin@freebsd.org>, freebsd-emulation@freebsd.org
Subject:   Re: kern/117010: [linux] linux_getdents() get something like buffer overflow or else
Message-ID:  <7o4p4q4edz.wl%mita@ee.t.u-tokyo.ac.jp>
In-Reply-To: <20080907211228.GA51816@dchagin.dialup.corbina.ru>
References:  <200809072030.m87KU44I064646@freefall.freebsd.org> <20080907211228.GA51816@dchagin.dialup.corbina.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello,

> Please, try a patch bellow:
> 
> diff --git a/src/sys/compat/linux/linux_file.c b/src/sys/compat/linux/linux_file.c
> index 303bc3f..413e597 100644
> --- a/src/sys/compat/linux/linux_file.c
> +++ b/src/sys/compat/linux/linux_file.c
[Snip]

>Roman, I think that this patch can be commited (if testing passes :))
>thnx!

Yes, this works also nicely!  Tested both on multi-core machine
(Core2Duo 6550 2.33GHz) and single-core notebook (Pentium M
1.30GHz) under 7.0-RELEASE(-p4)


>-- 
>Have fun!  chd

Thank you very much!
---
MITA Yoshio



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7o4p4q4edz.wl%mita>