driver: added error mapping for symlink outside filesystem
also fixed print_open_error() to check STATUS_ values, since map_open_errors() is called first Signed-off-by: Casey Bodley <cbodley@citi.umich.edu>
This commit is contained in:
parent
b8f0f5673f
commit
f70e454988
2 changed files with 15 additions and 16 deletions
|
|
@ -2529,6 +2529,7 @@ static NTSTATUS map_open_errors(DWORD status, int len)
|
|||
case ERROR_FILENAME_EXCED_RANGE: return STATUS_NAME_TOO_LONG;
|
||||
case ERROR_NETWORK_ACCESS_DENIED: return STATUS_NETWORK_ACCESS_DENIED;
|
||||
case ERROR_PATH_NOT_FOUND: return STATUS_OBJECT_PATH_NOT_FOUND;
|
||||
case ERROR_BAD_NETPATH: return STATUS_BAD_NETWORK_PATH;
|
||||
case ERROR_SHARING_VIOLATION: return STATUS_SHARING_VIOLATION;
|
||||
case ERROR_REPARSE: return STATUS_REPARSE;
|
||||
case ERROR_TOO_MANY_LINKS: return STATUS_TOO_MANY_LINKS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue