summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2024-10-14 14:00:48 +0300
committerSteve French <stfrench@microsoft.com>2025-01-30 01:52:25 +0300
commit438e2116d7bd3095184d1997b367380c4f465164 (patch)
tree5041b2620f944b17235af1a8b89523cfa219b4a8 /scripts/gdb/linux/utils.py
parentf764fab72d98833b47d389ac2ed35bd000132d87 (diff)
downloadlinux-438e2116d7bd3095184d1997b367380c4f465164.tar.xz
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/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions