Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp107140pxb; Mon, 13 Sep 2021 14:17:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwliiH/9oUJcsIFR+rqW2K2eGvNnGmlwpnR80GHAZ36COX7/CKbrPNm9iioy5gBJOPND1fk X-Received: by 2002:aa7:d392:: with SMTP id x18mr3054017edq.334.1631567846153; Mon, 13 Sep 2021 14:17:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631567846; cv=none; d=google.com; s=arc-20160816; b=HWiY0uju8GVMNCSCWEW3W66WqRMGz1/XMN9zeGv9iINAiyX1jdD+ZpzOZ1Z1xATele h/4OQPAJDCSCWku4NZ0s+t3FWph74tyr1G5Rn8gmVSbUUtTfI4uNz3Ho3jkAlvTX2Eb1 uRlu3A9ezB9trF2pJzRG8K424Q060M6Sn87euBOdvoI5FzIPSPonGFVSuklbfnaBC5Q1 jldMI6PXZdGmB35+V/OZdsaj+6hqlaXZnd2+B+ZIRpE3sDCWJvBkBE6cRktenzPfG0WF He76EPol0cTww7EpqzDu61f7OPIRZ/GiCOCR4oW/taybUIyIL020KkWCZW0TcSPJOROv dExA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=aBjIIvcb5dunWtRsVviIpL9DBOBpPMCvEHR7NyeCpew=; b=OcgUmEXUSEGCAISFru+towURGE/04DzJmZIDw3PYa9l+yrZRgCQGHAEtkSJ3rNM3kz pfcxcJVAtfDuZTPa5kqpGbwnT7oBrLB265MD6+af3lwtS2RldNRvQgoiPlk8XimpLyny BDqufBpYTlgc3x1GnoTzgEFQS7gFyi/coObzaV9i9flbLsEqrXnqiq8i9BIryHmjRuUw 4am6czzTZF1X9CqxmORVnO3QS/jE/Y0nSs0EQ+Boi/NjBvpLvd/+IsXVJLxBVTgcY84t IZ1bcvss8OoKB7MJEqrtdUU8PfG5FxGzM2B+0uf0/3UPJdUB93kHwhLempYAEKxlDi3k gsjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=R0ZsdT0X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id kv13si7092294ejc.284.2021.09.13.14.16.54; Mon, 13 Sep 2021 14:17:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=R0ZsdT0X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343539AbhIMNzX (ORCPT + 99 others); Mon, 13 Sep 2021 09:55:23 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:21164 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242516AbhIMNwS (ORCPT ); Mon, 13 Sep 2021 09:52:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631541061; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=aBjIIvcb5dunWtRsVviIpL9DBOBpPMCvEHR7NyeCpew=; b=R0ZsdT0X/e6yWi8hCQWcVjAFz8l2CrvK3wqJ78Tb71MEtKPNYNW0OAMVEMcMH3fgG83O2j 0knf+w5c5WdnZQHMcc1QZlQRIimVR9PEAshGtaPm6WVqDr5L/YfoI17EMBbKFiOwb7fNDw eOKhxJJqrQgrg7iKv3SINShLIRQ52Qw= Received: from mail-yb1-f199.google.com (mail-yb1-f199.google.com [209.85.219.199]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-59-SQnitZwrMSCZ5aSgZsu2IA-1; Mon, 13 Sep 2021 09:50:42 -0400 X-MC-Unique: SQnitZwrMSCZ5aSgZsu2IA-1 Received: by mail-yb1-f199.google.com with SMTP id v66-20020a25abc8000000b0059ef57c3386so13044845ybi.1 for ; Mon, 13 Sep 2021 06:50:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=aBjIIvcb5dunWtRsVviIpL9DBOBpPMCvEHR7NyeCpew=; b=DsnW4cvtA6xpIgt4s0DkHMO05+dSqRhM6TTgI3OsHhnsVgLCyXRvhSB6V7Usrbkbfr LvMx59peZQERA66c+7ypvxBfKNC7AhP4n5HFXDPfLo1ZJWusRRlbKqYdqrE5zZ4jPP4p f2MYTwXrw44ZmmzZx9os5CF2sElZgVNoHgBLd/m+x3HdEdrI+Wp0SauLhL2wdEw4LlXe tsmn+D81u3a3y+mRuh7n+W0v8wHjrYMp/g8Ek0hrGyAREzl7eozs1GIgUWxWwKFUBNuv AefIZpsJ07r/pb57xoeBwQyVYPYiyYuV2ToVzvSGxTLX030Agb37A466P+tUNQUd+yWb whzw== X-Gm-Message-State: AOAM5331XhlxsyOMrh7UCZN+vNJlEBs1MiM2536q0ftGZQgVg3yxvw05 Azeamo8NyZy1E/b4hGbJOPb/9qZxhSKg6fsoZXZGDEOjjMc/8GqQVO8Dp5c9BOnfuKd+zBrVl0I n2y3BR4SYVhcwhN+0XtuwAfStWZuOMeKQXUpaPjxy X-Received: by 2002:a25:6913:: with SMTP id e19mr15482530ybc.25.1631541032785; Mon, 13 Sep 2021 06:50:32 -0700 (PDT) X-Received: by 2002:a25:6913:: with SMTP id e19mr15482493ybc.25.1631541032487; Mon, 13 Sep 2021 06:50:32 -0700 (PDT) MIME-Version: 1.0 References: <20210912122234.GA22469@asgard.redhat.com> <20210913102316.GA30886@asgard.redhat.com> In-Reply-To: <20210913102316.GA30886@asgard.redhat.com> From: Ondrej Mosnacek Date: Mon, 13 Sep 2021 15:50:21 +0200 Message-ID: Subject: Re: [PATCH v2] include/uapi/linux/xfrm.h: Fix XFRM_MSG_MAPPING ABI breakage To: Eugene Syromiatnikov Cc: Steffen Klassert , Herbert Xu , "David S. Miller" , Antony Antony , Christian Langrock , Nicolas Dichtel , SElinux list , Paul Moore , Stephen Smalley , Eric Paris , network dev , Linux kernel mailing list , "Dmitry V. Levin" , Linux API Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 13, 2021 at 12:23 PM Eugene Syromiatnikov wro= te: > On Mon, Sep 13, 2021 at 09:16:39AM +0200, Ondrej Mosnacek wrote: > > Perhaps it would be a good idea to put a comment here to make it less > > likely that this repeats in the future. Something like: > > > > /* IMPORTANT: Only insert new entries right above this line, otherwise > > you break ABI! */ > > Well, this statement is true for (almost) every UAPI-exposed enum, and > netlink is vast and relies on enums heavily. I think it is already > mentioned somewhere in the documentation, and in the end it falls on the > shoulders of the maintainers=E2=80=94to pay additional attention to UAPI = changes. Ok, fair enough. --=20 Ondrej Mosnacek Software Engineer, Linux Security - SELinux kernel Red Hat, Inc.