Date: Thu, 8 Jul 2004 03:10:05 GMT From: KOIE Hidetaka (=?iso-2022-jp?B?GyRCOHE5PjFRTjQhdz90TX01OzgmGyhC?=) <koie@suri.co.jp> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/68690: write(2) returns wrong vlalue when EFAULT Message-ID: <200407080310.i683A5Pn053876@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/68690; it has been noted by GNATS. From: KOIE Hidetaka (=?iso-2022-jp?B?GyRCOHE5PjFRTjQhdz90TX01OzgmGyhC?=) <koie@suri.co.jp> To: bde@zeta.org.au Cc: freebsd-gnats-submit@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/68690: write(2) returns wrong vlalue when EFAULT Date: Thu, 08 Jul 2004 12:07:56 +0900 (JST) Thanks for your inspection. Message-Id: <20040707172014.C3185@gamplex.bde.org> Date: Wed, 7 Jul 2004 18:23:57 +1000 (EST) From: Bruce Evans <bde@zeta.org.au> Subject: Re: kern/68690: write(2) returns wrong vlalue when EFAUL.. | Do you actually see the file pointer advanced? This may be file system | dependent. ffs is supposed to back out of the write, and it does so | for me. Output: | | %%% | pos=0 | write(20480)->-1 (should be 12288) | write: Bad address | pos=0 (should be 12288) | %%% I was unaware of examining on NFS. %%% pos=0 write(20480)->-1 (should be 12288) write: Bad address pos=8192 (should be 12288) %%% The file pointer is not backed. | > >Fix: I understand some problems exist. -- KOIE Hidetaka / koie@suri.co.jp / SURIGIKEN Co.,LTD.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407080310.i683A5Pn053876>