]> git.proxmox.com Git - qemu.git/blobdiff - fsdev/file-op-9p.h
hw/9pfs: Add fs driver specific details to fscontext
[qemu.git] / fsdev / file-op-9p.h
index 5221d6d798fc17614fc3fc558ae1bd2693791bf1..8de8abfd5b32955b4aa15a9a0f4ea74a338a0322 100644 (file)
@@ -50,12 +50,18 @@ typedef struct FsCred
 
 struct xattr_operations;
 
+/* FsContext flag values */
+#define PATHNAME_FSCONTEXT 0x1
+
 typedef struct FsContext
 {
+    int flags;
     char *fs_root;
     SecModel fs_sm;
     uid_t uid;
     struct xattr_operations **xops;
+    /* fs driver specific data */
+    void *private;
 } FsContext;
 
 typedef struct V9fsPath {