chiark / gitweb /
mac: rename apis with mac_{selinux/smack}_ prefix
[elogind.git] / src / core / execute.c
index f535b4778a5305fc863efe167ded4e1757d0f61e..caff2c6b5ce9c2fcf2a72ffb03c7d11ac73dd424 100644 (file)
@@ -1681,7 +1681,7 @@ static int exec_child(ExecCommand *command,
                         if (params->selinux_context_net && socket_fd >= 0) {
                                 _cleanup_free_ char *label = NULL;
 
-                                err = label_get_child_mls_label(socket_fd, command->path, &label);
+                                err = mac_selinux_get_child_mls_label(socket_fd, command->path, &label);
                                 if (err < 0) {
                                         *error = EXIT_SELINUX_CONTEXT;
                                         return err;