16.09.2011 18:09, Thomas Meyer wrote:
+        if (pkt_len % 8) {
+                if (strcmp(un.machine, "alpha") == 0 ||
+                    strcmp(un.machine, "ia64") == 0 ||
+                    strcmp(un.machine, "x86_64") == 0 ||
+                    strcmp(un.machine, "ppc64") == 0)
+                        pkt_len += 4;

[the words below are not based on any tests]

Won't this fail if my initramfs runs systemd (and thus everything else) under the linux32 wrapper?

IMHO the kernel should be fixed, even if this means creating a new version of the packet structure or an ioctl that returns the correct size even under linux32.

--
Alexander E. Patrakov

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to