Re: [PATCHv1.5 2/8] storage: Add witness for checking storage volume use in security driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 07/22/2014 05:20 AM, Peter Krempa wrote:
> With my intended use of storage driver assist to chown files on remote
> storage we will need a witness that will tell us whether the given
> storage volume supports operations needed by the storage driver.
> ---
>  src/storage/storage_driver.c | 30 ++++++++++++++++++++++++++++++
>  src/storage/storage_driver.h |  2 ++
>  2 files changed, 32 insertions(+)
> 
> diff --git a/src/storage/storage_driver.c b/src/storage/storage_driver.c
> index efd79b9..b397c6e 100644
> --- a/src/storage/storage_driver.c
> +++ b/src/storage/storage_driver.c
> @@ -2357,6 +2357,36 @@ virStorageFileSupportsBackingChainTraversal(virStorageSourcePtr src)
>             backend->storageFileAccess;
>  }
> 
> +
> +/**
> + * virStorageFileSupportsSecurityDriver:
> + *
> + * @src: a storage file structure
> + *
> + * Check if a storage file supports operations needed by the security
> + * driver to perform labelling */

NIT: Closing comment on new line.


ACK

John

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]