Re: return codes standardized?

Jeremy Allison <[email protected]>
Newsgroups gmane.linux.file-systems.cifs
Message-ID <20090604184329.GB11913@jeremy-laptop>
On Thu, Jun 04, 2009 at 06:52:34PM +0200, Björn JACKE wrote:
> Hi,
> 
> I've seen that the POSIX test in the samba build farm fails on some non-Linux
> platforms. One of the reasons is that different OSes return different errnos on
> posix open calls on symlinks. The torture test expects to receive
> NT_STATUS_OBJECT_PATH_NOT_FOUND from the server but the return codes of other
> Unixes are mapped to different NT status codes. I wonder where is defined that
> NT_STATUS_OBJECT_PATH_NOT_FOUND is the right bit that we should return on a
> posix open on a symlink. Do we have an RFC draft or anything like that which
> covers this?

No, the torture test is being too strict here. Do you have
a list of error codes that the different UNIXes return here ?

Jeremy.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.