Re: [PATCH v1 13/23] virLockDriver: Introduce virLockDriverRemember and virLockDriverRecall

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

 



On Mon, Oct 12, 2015 at 12:25:58 +0200, Michal Privoznik wrote:
> These are just internal APIs that will pass the data back and
> forth to and from virtlockd.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/locking/lock_driver.h | 36 ++++++++++++++++++++++++++++++++++++
>  1 file changed, 36 insertions(+)
> 
> diff --git a/src/locking/lock_driver.h b/src/locking/lock_driver.h
> index f8fd38e..4a2bbe4 100644
> --- a/src/locking/lock_driver.h
> +++ b/src/locking/lock_driver.h
> @@ -285,6 +285,39 @@ typedef int (*virLockDriverInquire)(virLockManagerPtr man,
>                                      unsigned int flags);
>  
>  
> +/**
> + * virLockDriverRemember:
> + * @man: the lock manager context
> + * @path: path to the file
> + * @model: security label model
> + * @label: security label to remember
> + *
> + * Remember given security label.

As top level functions these would deserve a bit more documentation.

> + *
> + * Returns 0 on success, or -1 on failure.

Peter

Attachment: signature.asc
Description: Digital signature

--
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]