Re: [PATCH glibc] Linux: Include in under __USE_MISC

2019-07-22 Thread Szabolcs Nagy
On 22/07/2019 14:44, Florian Weimer wrote: > * Szabolcs Nagy: > >> (note: in musl these ioctl macros are in sys/ioctl.h >> which is not a posix header so namespace rules are >> less strict than for sys/socket.h and users tend to >> include it for ioctl()) > > can be confusing because some of the

Re: [PATCH glibc] Linux: Include in under __USE_MISC

2019-07-22 Thread Florian Weimer
* Szabolcs Nagy: > (note: in musl these ioctl macros are in sys/ioctl.h > which is not a posix header so namespace rules are > less strict than for sys/socket.h and users tend to > include it for ioctl()) can be confusing because some of the constants may depend on types that aren't declared by

Re: [PATCH glibc] Linux: Include in under __USE_MISC

2019-07-22 Thread Szabolcs Nagy
On 22/07/2019 12:34, Arnd Bergmann wrote: > On Mon, Jul 22, 2019 at 1:31 PM Florian Weimer wrote: >> >> Historically, (which is included from ) >> provided ioctl operations for sockets. User code accessed them >> through . The kernel UAPI headers have removed these >> definitions in favor of .

Re: [PATCH glibc] Linux: Include in under __USE_MISC

2019-07-22 Thread Arnd Bergmann
On Mon, Jul 22, 2019 at 1:31 PM Florian Weimer wrote: > > Historically, (which is included from ) > provided ioctl operations for sockets. User code accessed them > through . The kernel UAPI headers have removed these > definitions in favor of . This commit makes them > available via again.

[PATCH glibc] Linux: Include in under __USE_MISC

2019-07-22 Thread Florian Weimer
Historically, (which is included from ) provided ioctl operations for sockets. User code accessed them through . The kernel UAPI headers have removed these definitions in favor of . This commit makes them available via again. [[[ This is related to this thread: From: Sergei Trofimovich Subj