diff options
author | 2024-10-14 13:00:48 +0200 | |
---|---|---|
committer | 2025-01-29 16:52:25 -0600 | |
commit | 438e2116d7bd3095184d1997b367380c4f465164 (patch) | |
tree | 5041b2620f944b17235af1a8b89523cfa219b4a8 /scripts/generate_rust_analyzer.py | |
parent | cifs: Change translation of STATUS_NOT_A_REPARSE_POINT to -ENODATA (diff) | |
download | wireguard-linux-438e2116d7bd3095184d1997b367380c4f465164.tar.xz wireguard-linux-438e2116d7bd3095184d1997b367380c4f465164.zip |
cifs: Change translation of STATUS_PRIVILEGE_NOT_HELD to -EPERM
STATUS_PRIVILEGE_NOT_HELD indicates that user does not have privilege to
issue some operation, for example to create symlink.
Currently STATUS_PRIVILEGE_NOT_HELD is translated to -EIO. Change it to
-EPERM which better describe this error code.
Note that there is no ERR* code usable in ntstatus_to_dos_map[] table which
can be used to -EPERM translation, so do explicit translation in
map_smb_to_linux_error() function.
Signed-off-by: Pali Rohár <pali@kernel.org>
Acked-by: Tom Talpey <tom@talpey.com>
Acked-by: Paulo Alcantara (Red Hat) <pc@manguebit.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions