]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - fs/cifs/cifsacl.h
Merge tag 'hyperv-next-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/hyper...
[mirror_ubuntu-jammy-kernel.git] / fs / cifs / cifsacl.h
index 21d7dee98d014d5350ff697e0f3196d0aead4622..17562ea00e18c030174ad7c5a716ba6834d0fc6f 100644 (file)
@@ -176,6 +176,21 @@ struct smb3_acl {
        __le16 Sbz2; /* MBZ */
 } __packed;
 
+/*
+ * Used to store the special 'NFS SIDs' used to persist the POSIX uid and gid
+ * See See http://technet.microsoft.com/en-us/library/hh509017(v=ws.10).aspx
+ */
+struct owner_sid {
+       u8 Revision;
+       u8 NumAuth;
+       u8 Authority[6];
+       __le32 SubAuthorities[3];
+} __packed;
+
+struct owner_group_sids {
+       struct owner_sid owner;
+       struct owner_sid group;
+} __packed;
 
 /*
  * Minimum security identifier can be one for system defined Users