Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp5055642ybi; Sat, 20 Jul 2019 11:55:24 -0700 (PDT) X-Google-Smtp-Source: APXvYqwGB9gx2w962yT9pgkCEAzS18EAjSW1b7ZQR3ROy3+VyDWeiKsP/b2jRQo7cbKW+U1Q8BmT X-Received: by 2002:a17:902:7686:: with SMTP id m6mr64270736pll.239.1563648924658; Sat, 20 Jul 2019 11:55:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563648924; cv=none; d=google.com; s=arc-20160816; b=zepv+cKtipVFVm1DlHsT6GdB3PRkcCXtJ+Kl5rnKsMZHmclsSdi31rCjhHNXOkUk/y QX4I0c4IDA2k60fFljVl8LrKRajRGQ/+oZyUbgQGP5ZIf2m1vdedN+Bl/PMcUiDsFfuk QwECQpaFjPZ4T1WNu4J7tGBDerXhnyf920IjXV2psG8ncJmcAl7VNkYjv2std8NHq/kD avPbTuD5GEzcpQ5sdTGxElUFVGd44jUcdb9KlTJ3bbw5wt8BBMa2BT2w3hBlro/yfoeq ebUWxILoYDuwyOUuds1QtqteBiDCsba6LQzooak3A5aJOiLc1GGwSy94klAX+h1SfLWU SKHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=K1DjJdNnl+zka9s8zl8TpnQj9JyccYfNCrdgUGT2JBc=; b=KtFxoPvLG+hUlnu3F/57O7nK+LzRwpHpMSmgFAlS1SmMvLmz+v+z34I7MH3dYfUf61 JSlhnWa+Ud8dVM1Xzo3lVPgTd1uRWJNlNRYrT1TJgnxUyFbabGtyMU/MOqgCXUXrWmV3 hDKSaHC0L2uPyCs5WJUuCJu21FI7OfNSjvrp6fRrGIok9La0Ml6ZYBPn9s+3Drrdl8AW QJAZm7yhBUKEbVHFhYStRhf5ezKicFoNDeecuCmcFmBv3AcGd4QaNoG7Uqr+sJ0vz3M0 Fx1TarKB9xfQCoExEeg+o+scooBz88wv0raWX7Ukamx+UVui4aFZnkALBaIXcJ2gyFnb Ucyg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h189si5611266pge.36.2019.07.20.11.55.08; Sat, 20 Jul 2019 11:55:24 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726029AbfGTSul (ORCPT + 99 others); Sat, 20 Jul 2019 14:50:41 -0400 Received: from mail-qk1-f179.google.com ([209.85.222.179]:45903 "EHLO mail-qk1-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725780AbfGTSul (ORCPT ); Sat, 20 Jul 2019 14:50:41 -0400 Received: by mail-qk1-f179.google.com with SMTP id s22so25755102qkj.12; Sat, 20 Jul 2019 11:50:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=K1DjJdNnl+zka9s8zl8TpnQj9JyccYfNCrdgUGT2JBc=; b=E0Z9AYzsZ5A+FkVMOHPFogm4Q3Zy261XHb3O8qqBw+NPtSFvrRR3r9pVDAogOIlLHA 0UtoVhxWsC/ziDJCqkqCypTBaL4SoK8wqXwBbJuG2es2KigAqB2th+fdX3p+1jGPSI5H kVNrplbfvGwAKoTpRtbYrBSgHTyHHg8Mj5cH1YteEA43gSa4HbpyhdHAMPYsUVGKfyfV B0zOFKof9uyzh6Ln1urU8CnzjrjUUhVwRR4UPS5CzKqAylTFUwOSfU9ItK5+ox8tgTIO ueUhn627l1gXxKK/AYv4OaB5wsJsTfQtRiTKrHHaukvnQsW09u4mr4m4MD8hRnFsvpev uxuA== X-Gm-Message-State: APjAAAXHIRaqQwCJ4qWtnjNfnR87+tFy/mdH9EQGiKHwihkIA0nI1XM1 zyHmygxLPizB5hkWsU3cuQFc/vNfmSgZ4uSsE/E= X-Received: by 2002:a37:76c5:: with SMTP id r188mr39763653qkc.394.1563648640160; Sat, 20 Jul 2019 11:50:40 -0700 (PDT) MIME-Version: 1.0 References: <20190720174844.4b989d34@sf> <87wogca86l.fsf@mid.deneb.enyo.de> In-Reply-To: <87wogca86l.fsf@mid.deneb.enyo.de> From: Arnd Bergmann Date: Sat, 20 Jul 2019 20:50:23 +0200 Message-ID: Subject: Re: linux-headers-5.2 and proper use of SIOCGSTAMP To: Florian Weimer Cc: Sergei Trofimovich , Networking , Linux Kernel Mailing List , GNU C Library , "David S. Miller" , Michael Kerrisk , linux-man Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 20, 2019 at 8:10 PM Florian Weimer wrote: > > * Sergei Trofimovich: > > > Should #include always be included by user app? > > Or should glibc tweak it's definition of '#include ' > > to make it available on both old and new version of linux headers? > > What is the reason for dropping SIOCGSTAMP from ? > > If we know that, it will be much easier to decide what to do about > . As far as I can tell, nobody thought it would be a problem to move it from asm/sockios.h to linux/sockios.h, as the general rule is that one should use the linux/*.h version if both exist, and that the asm/*.h version only contains architecture specific definitions. The new definition is the same across all architectures, so it made sense to have it in the common file. If the assumption was wrong, the obvious solution is to duplicate the definitions everywhere or move the common parts into asm-generic/sockios.h, but it would have been better to hear about that earlier. Arnd