Skip to content

Commit

Permalink
s3: smbd: Add the definition for SMB2_FILE_POSIX_INFORMATION info level.
Browse files Browse the repository at this point in the history
Will be used by smb2_getinfo. Not yet used or available.

Signed-off-by: Jeremy Allison <[email protected]>
Reviewed-by: Andreas Schneider <[email protected]>
  • Loading branch information
jrasamba authored and cryptomilk committed Feb 1, 2022
1 parent 722d0d3 commit 0711040
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions source3/include/trans2.h
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,9 @@ Byte offset Type name description
#define FSCC_FILE_STANDARD_LINK_INFORMATION 54
#define FSCC_FILE_MAXIMUM_INFORMATION 55

/* As yet undefined FSCC_ code for POSIX info level. */
#define SMB2_FILE_POSIX_INFORMATION 100

/* MS-FSCC 2.4 File System Information Classes */

#define FSCC_FS_VOLUME_INFORMATION 1
Expand Down Expand Up @@ -408,6 +411,7 @@ Byte offset Type name description
#define SMB2_FILE_RENAME_INFORMATION_INTERNAL (FSCC_FILE_RENAME_INFORMATION + SMB2_INFO_SPECIAL)
#define SMB2_FILE_FULL_EA_INFORMATION (FSCC_FILE_FULL_EA_INFORMATION + SMB2_INFO_SPECIAL)
#define SMB2_FILE_ALL_INFORMATION (FSCC_FILE_ALL_INFORMATION + SMB2_INFO_SPECIAL)
#define SMB2_FILE_POSIX_INFORMATION_INTERNAL (SMB2_FILE_POSIX_INFORMATION + SMB2_INFO_SPECIAL)

/* NT passthough levels for qfsinfo. */

Expand Down

0 comments on commit 0711040

Please sign in to comment.