|
Message-ID: <CAK4o1WxKAL-Tf+SnO5BS-jVv5D+xXeKF5WW7XcOQTkr0EaGimA@mail.gmail.com> Date: Sun, 18 Nov 2012 20:25:48 +0000 From: Justin Cormack <justin@...cialbusservice.com> To: musl@...ts.openwall.com Subject: sysinfo padding question Why is the padding for sysinfo for the kernel different from the libc one for Musl? /usr/include/linux/kernel.h has char _f[20-2*sizeof(long)-sizeof(int)]; /* Padding: libc5 uses this.. */ /usr/include/sys/sysinfo.h has char __reserved[256]; glibc just includes the kernel header from sys/sysinfo.h so both these structs are the same size there, so not sure I see any rationale. Justin
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.