public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.4.19-rc1 broke OSF binaries on alpha
@ 2002-06-28 10:54 Ivan Kokshaysky
  2002-06-28 20:31 ` Marcelo Tosatti
  2002-06-29  2:26 ` Alan Cox
  0 siblings, 2 replies; 16+ messages in thread
From: Ivan Kokshaysky @ 2002-06-28 10:54 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: Alan Cox, linux-kernel

Hi Marcelo, Alan,

IIRC, the problem is that BSD and OSF readv/writev(2) manuals
explicitly talked of 32 bit iov_len, thus allowing the application
to pass junk in an upper half of the 64 bit word.
This change broke widely used netscape and acrobat reader,
please revert it until we have a better solution:

<alan@lxorguk.ukuu.org.uk> (02/06/06 1.537.2.37)
	[PATCH] PATCH; make readv/writev SuS compliant

Ivan.

^ permalink raw reply	[flat|nested] 16+ messages in thread
* Re: 2.4.19-rc1 broke OSF binaries on alpha
@ 2002-06-29  4:39 Chris Adams
  0 siblings, 0 replies; 16+ messages in thread
From: Chris Adams @ 2002-06-29  4:39 UTC (permalink / raw)
  To: linux-kernel

Once upon a time, Ivan Kokshaysky  <ink@jurassic.park.msu.ru> said:
>IIRC, the problem is that BSD and OSF readv/writev(2) manuals
>explicitly talked of 32 bit iov_len, thus allowing the application
>to pass junk in an upper half of the 64 bit word.
>This change broke widely used netscape and acrobat reader,
>please revert it until we have a better solution:

The Tru64 4.0G and 5.1A man pages say that if the sum of the iov_len
values is negative or overflows a 32 bit integer that EINVAL will be
returned, but I think this is only for the backwards compatible
interface where iov_len was defined as int.  It is now defined as size_t
and the rest of the man page never says anything about a 32 bit iov_len
and the upper half being ignored.
-- 
Chris Adams <cmadams@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2002-07-03  0:29 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-28 10:54 2.4.19-rc1 broke OSF binaries on alpha Ivan Kokshaysky
2002-06-28 20:31 ` Marcelo Tosatti
2002-06-29  2:28   ` Alan Cox
2002-06-29 23:50     ` Ivan Kokshaysky
2002-07-01  7:54       ` Kurt Garloff
2002-07-01 16:17         ` Jeff Garzik
2002-07-01 13:03       ` jlnance
2002-07-01 14:02         ` Ivan Kokshaysky
2002-07-01 19:40           ` Måns Rullgård
2002-07-02 15:05             ` Ivan Kokshaysky
2002-07-02 23:13               ` Richard Henderson
2002-07-03  0:31                 ` Ivan Kokshaysky
2002-06-29  2:26 ` Alan Cox
2002-06-29 22:45   ` Ivan Kokshaysky
2002-07-02 20:56     ` Marcelo Tosatti
  -- strict thread matches above, loose matches on Subject: below --
2002-06-29  4:39 Chris Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox