From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14232 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Benjamin Wright Newsgroups: gmane.linux.lib.musl.general Subject: Removing sys/sysmacros.h from sys/types.h Date: Fri, 14 Jun 2019 13:20:21 -0700 Message-ID: Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d9d301058b4e60ba" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="264688"; mail-complaints-to="usenet@blaine.gmane.org" To: musl@lists.openwall.com Original-X-From: musl-return-14248-gllmg-musl=m.gmane.org@lists.openwall.com Fri Jun 14 22:24:42 2019 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.89) (envelope-from ) id 1hbska-0016g1-Bi for gllmg-musl@m.gmane.org; Fri, 14 Jun 2019 22:24:40 +0200 Original-Received: (qmail 28341 invoked by uid 550); 14 Jun 2019 20:24:38 -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 23993 invoked from network); 14 Jun 2019 20:20:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=dK6DlM1QK1w+hPsz9QcJTrfkwydLtedrMgBt+qGFQcg=; b=YJXcN1e1RIc0B0p9yCOq504BXtYabZB/SmFMiQqeVZGRGQRb4uXOd6Vsk4UzOsD156 tWKPoK3cIhY3bUyouaGspjknCvFxH7wy2HZs1OjKYHWLsGwnWCLMxcGmcFzX/BqTofo3 yriaUQJ2/pN8WPZStdOz7LbwpwQZxR/k0X7o1KHoWEHQhu20eVj6Ds9Lj/61i5oBNPGq 4KQQryt3/IEhVKmd2BilKxEw2IcsgMbVAYUGXqOSpHPSnkot1WenHxfcmaYjxPK0m3qd UZxm4UG0O6//T24n4xkg+4Ufz+dBWJmH11RmtSJR0k8ykOaYxjxbTeGgy2DaF8Pjx/dN cKsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=dK6DlM1QK1w+hPsz9QcJTrfkwydLtedrMgBt+qGFQcg=; b=GkoELkjtNwpTmPSb8riUBJxPqkUz1Hj0ZHHWXAlKwn6z12YwvzgPPtAQYDVehfmnf6 +emxXRRnNPyTeeBsR5VMAplFlQZAuKqKL+UukbmeCnvHfjUtZEuByyFRB9NkQ/KECoJq nnHlxgpD4WNjiYTKXdC220AODbaBTgRSpzTz45rdrCJd4aXUeSzYcekY1YLAU1HAXgRb qZwXs6FvpIvPq8AGiaKK2k6Hfl8Valan69zSuxMNwmtmLNNrLfl013o3Ru48sIa2KCSP EHult941hen84ugjSMh+Av05mYpjr6fkA51tkuX1QD650DISwKtOtvaioetZuwiJebMT FnHA== X-Gm-Message-State: APjAAAXWRi4Hp/qtnhMq8jYINsTZiC83/iOxfIErn4CpTElUAZdImV2g Trw3bMiRki5Y/a4GKlCrELSdL/wIx703P/cKzpK2j22XS0yR1A== X-Google-Smtp-Source: APXvYqwaSO8LoL2zve67bBe/buvIgQR8O1sc5DLIqpnf7hIqvteg3dcc1/82v4DLGBmIYBoIciiVKVrHIglInvKrArg= X-Received: by 2002:a5d:8c97:: with SMTP id g23mr15932616ion.250.1560543632126; Fri, 14 Jun 2019 13:20:32 -0700 (PDT) Xref: news.gmane.org gmane.linux.lib.musl.general:14232 Archived-At: --000000000000d9d301058b4e60ba Content-Type: text/plain; charset="UTF-8" Hello, Would it be possible to remove the sys/sysmacros.h include from sys/types.h? This change was added in 2011 - https://git.musl-libc.org/cgit/musl/commit/include/sys/types.h?id=f552c792c7ce5a560f214e1104d93ee5b0833967 However it appears to have been removed from other standard libc implementations around ~2015 based on this announcement: https://sourceware.org/ml/libc-alpha/2015-11/msg00253.html This can cause issues with user defined symbol collision of the symbols major, minor or makedev. Thanks, Ben --000000000000d9d301058b4e60ba Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hello,

Would it be possible to remove the sys/sysma= cros.h include from sys/types.h?

This change was added in 2011 -=C2= =A0https://git.musl-libc.org/= cgit/musl/commit/include/sys/types.h?id=3Df552c792c7ce5a560f214e1104d93ee5b= 0833967

However it appears to have been removed from other stand= ard libc implementations around ~2015 based on this announcement:
https://so= urceware.org/ml/libc-alpha/2015-11/msg00253.html

This can cause = issues with user defined symbol collision of the symbols major, minor or ma= kedev.

Thanks,
Ben

--000000000000d9d301058b4e60ba--