lkml.org 
[lkml]   [1999]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: UW7 crash(1) and pread(2)/pread64(2) under iBCS
Date
From
Tigran Aivazian <tigran@sco.COM> wrote:
> Hello again Mike,
>
> I now have my doubts too. In fact, more than doubts. The pread()/pwrite()
> which are currently (2.2.0-pre8 I know it is ancient...) in Linux are
> wrong.

Not so ``ancient'' in this regard. That interface hasn't changed
for quite a while.

> ... Most of the required (by Single UNIX v2) error checking is missing.

Right. I will have a look as a part of my LFS(*) patches.
The kernel interface is in fact pread64()/pwrite64() even though not
*named* so, thus the difference in between user-space calls of pread()
and pread64() is library issue.

Perhaps the iBCS needs some carefull updating ?

...
> Also, in write() the use of struct inode * inode makes things tidier than
> not using it in pwrite(). So, that can be tidied up as well.

Well, marginally.

> Regards,
> ------
> Tigran A. Aivazian | http://www.sco.com
> Escalations Research Group | tel: +44-(0)1923-813796
> Santa Cruz Operation Ltd | http://www.aivazian.demon.co.uk

/Matti Aarnio <matti.aarnio@sonera.fi>

(*) ftp://mea.tmt.tele.fi/linux/LFS/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.057 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site