mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-09 06:25:19 +00:00
security_util: Document virSecurityMoveRememberedLabel
Signed-off-by: Michal Privoznik <mprivozn@redhat.com> Reviewed-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
8ced0909e5
commit
359c7c1e94
@ -244,6 +244,19 @@ virSecuritySetRememberedLabel(const char *name,
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* virSecurityMoveRememberedLabel:
|
||||||
|
* @name: security driver name
|
||||||
|
* @src: source file
|
||||||
|
* @dst: destination file
|
||||||
|
*
|
||||||
|
* For given security driver @name, move all XATTRs related to seclabel
|
||||||
|
* remembering from @src to @dst. However, if @dst is NULL, then XATTRs
|
||||||
|
* are just removed from @src.
|
||||||
|
*
|
||||||
|
* Returns: 0 on success,
|
||||||
|
* -1 otherwise.
|
||||||
|
*/
|
||||||
int
|
int
|
||||||
virSecurityMoveRememberedLabel(const char *name,
|
virSecurityMoveRememberedLabel(const char *name,
|
||||||
const char *src,
|
const char *src,
|
||||||
|
Loading…
Reference in New Issue
Block a user