security: Fix alignment

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Andrea Bolognani 2023-11-21 17:17:10 +01:00
parent bd58ce0ce3
commit 24914690c7
2 changed files with 15 additions and 15 deletions

View File

@ -412,9 +412,9 @@ virSecurityManagerGetPrivileged(virSecurityManager *mgr)
*/
int
virSecurityManagerRestoreImageLabel(virSecurityManager *mgr,
virDomainDef *vm,
virStorageSource *src,
virSecurityDomainImageLabelFlags flags)
virDomainDef *vm,
virStorageSource *src,
virSecurityDomainImageLabelFlags flags)
{
VIR_LOCK_GUARD lock = virObjectLockGuard(mgr);
@ -1082,8 +1082,8 @@ virSecurityManagerDomainRestorePathLabel(virSecurityManager *mgr,
*/
int
virSecurityManagerSetMemoryLabel(virSecurityManager *mgr,
virDomainDef *vm,
virDomainMemoryDef *mem)
virDomainDef *vm,
virDomainMemoryDef *mem)
{
VIR_LOCK_GUARD lock = virObjectLockGuard(mgr);
@ -1108,8 +1108,8 @@ virSecurityManagerSetMemoryLabel(virSecurityManager *mgr,
*/
int
virSecurityManagerRestoreMemoryLabel(virSecurityManager *mgr,
virDomainDef *vm,
virDomainMemoryDef *mem)
virDomainDef *vm,
virDomainMemoryDef *mem)
{
VIR_LOCK_GUARD lock = virObjectLockGuard(mgr);

View File

@ -43,8 +43,8 @@ typedef enum {
VIR_SECURITY_MANAGER_PRIVILEGED)
virSecurityManager *virSecurityManagerNew(const char *name,
const char *virtDriver,
unsigned int flags);
const char *virtDriver,
unsigned int flags);
virSecurityManager *virSecurityManagerNewStack(virSecurityManager *primary);
int virSecurityManagerStackAddNested(virSecurityManager *stack,
@ -73,10 +73,10 @@ typedef int
virSecurityManager *virSecurityManagerNewDAC(const char *virtDriver,
uid_t user,
gid_t group,
unsigned int flags,
virSecurityManagerDACChownCallback chownCallback);
uid_t user,
gid_t group,
unsigned int flags,
virSecurityManagerDACChownCallback chownCallback);
int virSecurityManagerPreFork(virSecurityManager *mgr);
void virSecurityManagerPostFork(virSecurityManager *mgr);
@ -184,8 +184,8 @@ int virSecurityManagerSetMemoryLabel(virSecurityManager *mgr,
virDomainDef *vm,
virDomainMemoryDef *mem);
int virSecurityManagerRestoreMemoryLabel(virSecurityManager *mgr,
virDomainDef *vm,
virDomainMemoryDef *mem);
virDomainDef *vm,
virDomainMemoryDef *mem);
int virSecurityManagerSetInputLabel(virSecurityManager *mgr,
virDomainDef *vm,