From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH glibc] Linux: Include in under __USE_MISC Date: Mon, 22 Jul 2019 13:34:48 +0200 Message-ID: References: <87ftmys3un.fsf@oldenburg2.str.redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: In-Reply-To: <87ftmys3un.fsf@oldenburg2.str.redhat.com> Sender: linux-kernel-owner@vger.kernel.org To: Florian Weimer Cc: GNU C Library , Sergei Trofimovich , Networking , Linux Kernel Mailing List , "David S. Miller" , Michael Kerrisk , linux-man List-Id: linux-man@vger.kernel.org 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. Looks good to me. I wonder if we should still do these two changes in the kernel: - include asm/socket.h from linux/socket.h for consistency - move the defines that got moved from asm/sockios.h to linux/sockios.h back to the previous location to help anyone who is user newer kernel headers with older glibc headers. Arnd