From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/10470 Path: news.gmane.org!.POSTED!not-for-mail From: Daniel Sabogal Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] fix type for ifc_ifcu.ifcu_buf field of struct ifconf Date: Thu, 15 Sep 2016 17:42:48 -0400 Message-ID: References: <20160915152731.4897-1-dsabogalcc@gmail.com> <20160915152731.4897-2-dsabogalcc@gmail.com> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1473975790 21931 195.159.176.226 (15 Sep 2016 21:43:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 15 Sep 2016 21:43:10 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-10483-gllmg-musl=m.gmane.org@lists.openwall.com Thu Sep 15 23:43:06 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1bkeQw-0004iq-PG for gllmg-musl@m.gmane.org; Thu, 15 Sep 2016 23:43:02 +0200 Original-Received: (qmail 25770 invoked by uid 550); 15 Sep 2016 21:43:01 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 25724 invoked from network); 15 Sep 2016 21:43:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=liu6+cuq+TM1jeVK7TluNP9BSWoG2x5S4IxyNBod6uU=; b=JPVcTewXQlv+1mNnIfMbIFjlypxZif+ZTyZ9Cgb89m+OO6vmNv+dSOfEffOj3Hscc8 gPQYDwwUsrDUZd6AS+MU3M2RrwK4ZngpFGZOLN6vPcW18Yoo4XyX8PJDdhznYmfNP9Nf uHF7J2mWHd1S0rMPS0Yv2K+4i8PASnpL6PFHZptZ0ds6wtWFQt+6o8AhlarIRBnc3Cee ud4uDdVo1UiAcd01PFC75Mv0ekOLx9SHHXdyzNF9ManVVIWpPuToSrEBRbO+onRpXggV 2dhaABHCoM+V2mAH5i/ESp5Lbkyj8urUaXPRJCjpCt6KxQNSKoDyrSDLFN7IM0xVIA7l vUsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=liu6+cuq+TM1jeVK7TluNP9BSWoG2x5S4IxyNBod6uU=; b=OG4RIdHo5ySKKj9pOfL2LVWmgNdFIK/O3Yox/ONVGBDJ/ofUkQuXZ4q0A9YMz1KMes 8mDQl6jao67H1Vq83dXABdubKi7TLaijjjJ6A4eltvWgvhFGRCidb2ccwKQKDR5urroo Ay67ebNkUN2S2rDLicZU4/nZkpMzLKiIn7IFrfVLQ35iJbo+0Pc6ogYZ6H2F9WWZg6IT DNi8O0sanxfhXNlrT9u6gnaPZB2uzkponEYQ+cIc6GWVHX62aGzGGlYNR2NF6Tyxx62/ YoL0RTjiYuR4cNbyzIUUljGuDGViVDL7N62M27RYY4YzYrCO7LMsgl0tKOa9pRZq+9tc KY5Q== X-Gm-Message-State: AE9vXwPD9/c24pJMHf4mAkM+sHM7oHmTSqUiK9zJr9wF/YFc3sc1jiJ6BB1IF+rFDTA0n/Eyl4SthlYwqithWA== X-Received: by 10.202.95.87 with SMTP id t84mr10304147oib.116.1473975769015; Thu, 15 Sep 2016 14:42:49 -0700 (PDT) In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:10470 Archived-At: On Thu, Sep 15, 2016 at 4:25 PM, Alexander Monakov wrote: > On Thu, 15 Sep 2016, Daniel Sabogal wrote: >> linux, glibc, freebsd, and openbsd use a character pointer for this field >> --- a/include/net/if.h >> +++ b/include/net/if.h >> @@ -116,7 +116,7 @@ struct ifreq { >> struct ifconf { >> int ifc_len; >> union { >> - void *ifcu_buf; >> + char *ifcu_buf; > > Declaration of 'ifru_data' in that header has the same issue. I originally considered changing this one but had left it out since linux disagree on the type (void *).