[linux-cifs-client] return codes standardized?
Jeremy Allison
jra at samba.org
Thu Jun 4 18:43:29 GMT 2009
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.
More information about the linux-cifs-client
mailing list