[PATCH 01/10] security: Fix alignment

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

 



Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 src/security/security_manager.c | 14 +++++++-------
 src/security/security_manager.h | 16 ++++++++--------
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/src/security/security_manager.c b/src/security/security_manager.c
index afd41f1c20..24f2f3d3dc 100644
--- a/src/security/security_manager.c
+++ b/src/security/security_manager.c
@@ -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);
 
diff --git a/src/security/security_manager.h b/src/security/security_manager.h
index 97add3294d..a416af3215 100644
--- a/src/security/security_manager.h
+++ b/src/security/security_manager.h
@@ -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,
-- 
2.44.0
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




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

  Powered by Linux