diff options
| author | 2026-04-02 14:18:28 +0000 | |
|---|---|---|
| committer | 2026-04-05 19:58:40 -0500 | |
| commit | 415c5b8c9a41e3fc40e0e110c8fadf26c51df5c5 (patch) | |
| tree | b5de5250ad522fb663b06928654731ac10c45cf9 /include/linux/surface_aggregator/ssh:/git@git.zx2c4.com | |
| parent | smb/client: annotate nterr.h with DOS error codes (diff) | |
smb/client: autogenerate SMB1 NT status to DOS error mapping
Introduce `gen_smb1_mapping` script to autogenerate the NT status to
DOS error mapping table for SMB1. This script parses nterr.h to
generate smb1_mapping_table.c, which is then directly included as
the content of the ntstatus_to_dos_map[] array at compile time.
The generated array is numerically sorted during the build process to
ensure a consistent structure, providing the necessary groundwork for
future introduction of binary search lookups.
Signed-off-by: Huiwen He <hehuiwen@kylinos.cn>
Reviewed-by: ChenXiaoSong <chenxiaosong@kylinos.cn>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'include/linux/surface_aggregator/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
