Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp7156150ybi; Mon, 22 Jul 2019 08:02:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqyGMST5YrV83NSkZQDd6YDCiBBL/VrFhgZIzCAIqQSNWaVdlGuLs1j15yvzpbJhmwTx61TG X-Received: by 2002:a17:902:aa95:: with SMTP id d21mr72805414plr.185.1563807758486; Mon, 22 Jul 2019 08:02:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563807758; cv=none; d=google.com; s=arc-20160816; b=A0hqvvPL5NNfntKEFLJyd39Cq9Yd6x4AP8fdEU9bXAOr+ZYgrEq/nwJWJ52Xk0VFVM Jh1W9taU2/9E/mAiO1utgLrrwYU7X4r6aE8a1ZCH5mkE6ERlZoIeTlNX9AW4sDECrR8+ mpywG2CZnlGVUqTPm4H3dWzVUdDuGPxrOkz5i0IFkaBLzd/C6RqseXKc19wwVUHMVFM8 nYhjFowi05pN6HEpgvXkEa9Q1e/EHgEYKnjhqokwBXHz57h31y5wAyTSTgMvhwFfBrVi 1qNVNBTZaR7MEdK8vsYllGV80ELOaDZl5PqyppWTymVVrYpQN9sPvHsia/XbxjZ+QkDN ug3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id:date :subject:cc:to:from; bh=fgGAdW0XsDQ49D2oXOHBZqzcuGutH953nuVazUydWmE=; b=boA9dP+BXqYMznpw15+FOptZ8oCfL9s09bEyVqqffdZ2clcgtYIkgYz2TxMdQg/MqT lEUvB81ORi8xq9vO63eYYpagOLRfzf+xpDvfafvFPJjS/PXKcGXsfwAyr333U5F+uXrD J4fpH2FWtjYW02eWvGCihEacyKXsIiVIe8gWnSbM5LG0pp7dS1+OezZ2yYXuubrGFqCS +Emp0Ksrvy5Uxii+a+Tcgg/s70IZN/knrzxPHtRyXV7QHO6nlPQEhCm1Dz24sqUBbf8j sFQLcIJfD5PLtH3pkyH/jy5YcMDUaYoSn7N4eNu0ChQyVOfUSeETm0fDjyn5m51U2dTR eoIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w16si9002426pfi.31.2019.07.22.08.02.22; Mon, 22 Jul 2019 08:02:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729791AbfGVLbQ (ORCPT + 99 others); Mon, 22 Jul 2019 07:31:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:21629 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726339AbfGVLbP (ORCPT ); Mon, 22 Jul 2019 07:31:15 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 733C58535C; Mon, 22 Jul 2019 11:31:15 +0000 (UTC) Received: from oldenburg2.str.redhat.com (dhcp-192-200.str.redhat.com [10.33.192.200]) by smtp.corp.redhat.com (Postfix) with ESMTPS id D73EF9CD3; Mon, 22 Jul 2019 11:31:13 +0000 (UTC) From: Florian Weimer To: libc-alpha@sourceware.org, Sergei Trofimovich Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Arnd Bergmann , "David S. Miller" , mtk.manpages@gmail.com, linux-man@vger.kernel.org Subject: [PATCH glibc] Linux: Include in under __USE_MISC Date: Mon, 22 Jul 2019 13:31:12 +0200 Message-ID: <87ftmys3un.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Mon, 22 Jul 2019 11:31:15 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Subject: linux-headers-5.2 and proper use of SIOCGSTAMP To: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, libc-alpha@sourceware.org Cc: Arnd Bergmann , "David S. Miller" , mtk.manpages@gmail.com, linux-man@vger.kernel.org Date: Sat, 20 Jul 2019 17:48:44 +0100 (1 day, 18 hours, 40 minutes ago) Message-ID: <20190720174844.4b989d34@sf> I have tried to verify this against our 3.10 kernel headers and the 5.2 headers, and I do not see any failures in glibc itself (the latter with build-many-glibcs.py). Impact on application code is unclear at this point, of course. This patch depends on the earlier Linux 5.2 compatibility patch which introduced . ]]] 2019-07-22 Florian Weimer * sysdeps/unix/sysv/linux/bits/socket.h [__USE_MISC]: Include . diff --git a/sysdeps/unix/sysv/linux/bits/socket.h b/sysdeps/unix/sysv/linux/bits/socket.h index 082f8b9031..ff5b705f41 100644 --- a/sysdeps/unix/sysv/linux/bits/socket.h +++ b/sysdeps/unix/sysv/linux/bits/socket.h @@ -352,6 +352,7 @@ struct ucred #ifdef __USE_MISC # include # include +# include #else # define SO_DEBUG 1 # include