From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/2307 Path: news.gmane.org!not-for-mail From: Justin Cormack Newsgroups: gmane.linux.lib.musl.general Subject: sysinfo padding question Date: Sun, 18 Nov 2012 20:25:48 +0000 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1353270360 21242 80.91.229.3 (18 Nov 2012 20:26:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Nov 2012 20:26:00 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-2308-gllmg-musl=m.gmane.org@lists.openwall.com Sun Nov 18 21:26:11 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TaBRT-0002IP-8c for gllmg-musl@plane.gmane.org; Sun, 18 Nov 2012 21:26:11 +0100 Original-Received: (qmail 7375 invoked by uid 550); 18 Nov 2012 20:26:01 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 7367 invoked from network); 18 Nov 2012 20:26:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=specialbusservice.com; s=google; h=mime-version:date:message-id:subject:from:to:content-type; bh=XCMA4JpWSqXxHRfKIpZw8OgSOgywOjR09TiW8uBlQOA=; b=giYs2LxpkwtEptA5H6uG251w6/UxCTnO9l2E4gQpwGWTVN81Bk2e76lywptYPEmVCu 7qhmWqSZDmNsQ0Hjci2YeGc4M1LPDmQWp80AA5p78vhutH1lZ2KOoz1GYKQy0TtA3BpZ lao5RGpaICltuVR8K7XXkUcYu4mwi4bC6Cnvk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=XCMA4JpWSqXxHRfKIpZw8OgSOgywOjR09TiW8uBlQOA=; b=VUqfw0ubkIrUgJwqVf56XWE4em6v/rHfun8mOOcUOXK/vjOdeaJfwY9j9102TcAAd2 2NtFCQZJq3MGt3+2V4fjIu6hh/wqH8d1Z2CliQFu81ywQFhVkY2PbTw9gdCUr/Ly0YJ4 Bk9RhvKOZjLiIpsoNVZta2Rqiw/uVgO2HWN9XjBpSa7jivqBmUcj3E/MvKzVinQdTL8t YfGBlvXoVMyIa0KjSnGx6jNvLYyodhQDdhR1EIlp2zQSGbHAyn8T8qShywiJc6I7rIVk 0hlMayfkbJ2t8EIg5bmOtFrehAvOX9/yWCxR8dCoUAHP69xm2MB7BozE4pKWuJ93p8v7 SQfQ== X-Gm-Message-State: ALoCoQlP89jfQn+net5TblsOVPGBKLo+BhkY3UYXdx3PnYAtNiYRxHFQONPWUm0DncMp5V2WsEYs Xref: news.gmane.org gmane.linux.lib.musl.general:2307 Archived-At: 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