]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/core/main.c
label: Introduce LabelOps to do pre/post labelling operations
[thirdparty/systemd.git] / src / core / main.c
index 08d416bc14949d36b1c9658d0427c666f9f471da..c69f9b9afeed8e5dfb139196df7b5f8db19fa83a 100644 (file)
@@ -2849,8 +2849,8 @@ int main(int argc, char *argv[]) {
                                         goto finish;
                         }
 
-                        if (mac_selinux_init() < 0) {
-                                error_message = "Failed to initialize SELinux support";
+                        if (mac_init() < 0) {
+                                error_message = "Failed to initialize MAC support";
                                 goto finish;
                         }
 
@@ -2922,8 +2922,8 @@ int main(int argc, char *argv[]) {
                  * operate. */
                 capability_ambient_set_apply(0, /* also_inherit= */ false);
 
-                if (mac_selinux_init() < 0) {
-                        error_message = "Failed to initialize SELinux support";
+                if (mac_init() < 0) {
+                        error_message = "Failed to initialize MAC support";
                         goto finish;
                 }
         }