Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 18 Nov 2012 20:25:48 +0000
From: Justin Cormack <>
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.


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.