In message <E12EEUh-00053m-00@the-village.bc.nu>, Alan Cox writes:
+-----
| > - return ERR_PTR(-EACCES);
| > + return ERR_PTR(-ENOMEM);
|
| ENOMEM isnt a valid return to open() except for a streams file. Quite why
| SuS specifies this I dont know.
+--->8
System V returns EAGAIN for this kind of condition, since it's considered a
"temporarily out of system resources" kind of error, FWIW. It would seem to
make a bit more sense than EACCES.
-- brandon s. allbery os/2,linux,solaris,perl allbery@kf8nh.apk.net system administrator kthkrb,heimdal,gnome,rt allbery@ece.cmu.edu carnegie mellon / electrical and computer engineering kf8nh We are Linux. Resistance is an indication that you missed the point.- 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/
This archive was generated by hypermail 2b29 : Mon Jan 31 2000 - 21:00:22 EST