mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
r11546: add more errno ntstatus mappings, to get more usefull errors from socket_wrapper
metze (This used to be commit 6375a9a95da1eb2d5fd60b265047d98b264ff93f)
This commit is contained in:
parent
f7183342c8
commit
c4a0e36143
@ -1319,6 +1319,21 @@ const struct unix_error_map unix_nt_errmap[] = {
|
||||
#endif
|
||||
#ifdef EFBIG
|
||||
{ EFBIG, NT_STATUS_DISK_FULL },
|
||||
#endif
|
||||
#ifdef EADDRNOTAVAIL
|
||||
{ EADDRNOTAVAIL,NT_STATUS_ADDRESS_NOT_ASSOCIATED },
|
||||
#endif
|
||||
#ifdef ESOCKTNOSUPPORT
|
||||
{ ESOCKTNOSUPPORT,NT_STATUS_INVALID_PARAMETER_MIX },
|
||||
#endif
|
||||
#ifdef EAFNOSUPPORT
|
||||
{ EAFNOSUPPORT, NT_STATUS_INVALID_PARAMETER_MIX },
|
||||
#endif
|
||||
#ifdef ENOPROTOOPT
|
||||
{ ENOPROTOOPT, NT_STATUS_INVALID_PARAMETER_MIX },
|
||||
#endif
|
||||
#ifdef ENODEV
|
||||
{ ENODEV, NT_STATUS_NO_SUCH_DEVICE },
|
||||
#endif
|
||||
{ 0, NT_STATUS_UNSUCCESSFUL }
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user