lkml.org 
[lkml]   [2000]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] Wrong errno out of memory in open syscall
Date
From
> Thus: if open fails because of lack of memory, the natural thing
> to do is to return ENOMEM, and a very confusing thing to do is
> to return EACCES.
>
> I have not checked the precise cause of error in this particular case,
> but if it really is lack of memory then both the old and the new
> situation are admissible, and the new (patched) version is preferable.

Nod. Brandon reports SYS5 reports EAGAIN (temp out of resources), that seems
as sane as ENOMEM and matches us to the legacy platforms


-
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:56    [W:0.612 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site