[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190319.144648.2244362851338248970.davem@davemloft.net>
Date: Tue, 19 Mar 2019 14:46:48 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: linux-api@...r.kernel.org, linux-arch@...r.kernel.org,
netdev@...r.kernel.org, labbott@...hat.com, fw@...eb.enyo.de,
pburton@...ecomp.com, deepa.kernel@...il.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] uapi: avoid namespace conflict in linux/posix_types.h
From: Arnd Bergmann <arnd@...db.de>
Date: Tue, 19 Mar 2019 17:51:09 +0100
> Florian Weimer points out an issue with including linux/posix_types.h
> from arbitrary other headers: if an application has defined a macro
> named 'fds_bits', it may stop compiling after a change in the kernel
> headers. Since fds_bits is a non-reserved identifier in C, that is
> considered a bug in the kernel headers.
>
> The structure definition does not really seem to be helpful here,
> as the kernel no longer provides macros to manipulate it.
...
> Fixes: a623a7a1a567 ("y2038: fix socket.h header inclusion")
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
Acked-by: David S. Miller <davem@...emloft.net>
Powered by blists - more mailing lists