]> git.proxmox.com Git - mirror_qemu.git/commit
virtiofsd: Add an option to enable/disable security label
authorVivek Goyal <vgoyal@redhat.com>
Tue, 8 Feb 2022 20:48:13 +0000 (15:48 -0500)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Thu, 17 Feb 2022 17:22:26 +0000 (17:22 +0000)
commit963061dc11e762285a6c1825b9c09e48cc8c6f5f
tree5fbdd36aea6bef62612687d0480d3bbc4adc2320
parenta675c9a600389d210882fd1511edc2be65d53cdc
virtiofsd: Add an option to enable/disable security label

Provide an option "-o security_label/no_security_label" to enable/disable
security label functionality. By default these are turned off.

If enabled, server will indicate to client that it is capable of handling
one security label during file creation. Typically this is expected to
be a SELinux label. File server will set this label on the file. It will
try to set it atomically wherever possible. But its not possible in
all the cases.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Message-Id: <20220208204813.682906-11-vgoyal@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
docs/tools/virtiofsd.rst
tools/virtiofsd/helper.c
tools/virtiofsd/passthrough_ll.c