Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1299621ybd; Sun, 23 Jun 2019 04:33:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqwIGH/hbNAzlh4ZZJiM4mcNrFKBV032L9vjlbbhWoXKOkpCy6A42M5eOdNhdHvArzfLqOsQ X-Received: by 2002:a17:902:2a29:: with SMTP id i38mr114734512plb.46.1561289617291; Sun, 23 Jun 2019 04:33:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561289617; cv=none; d=google.com; s=arc-20160816; b=PG1E6U29xp2d5damXRnpo8rDGU08mV+w7gozTIKT8/hTby343rMrxsT0cBur+7p0/P mbb78ATPGDnIIutwkDbjCEukQIFIi2P1yzp9iNNPWUonxrwswqeasSfFC+EIb7WKY2KV g0Hm2n1nEjfy3jlzOoycpJRYoE3iFTQIzWwrGsc0/WgayRtVKkcbhYWNRp8K+29UFUtu sfa4FcdaeP+fJC8DuBdcPE4nXcFOAEzc7ZFJk8qpIxk7tzTDEHs5ADap9NQQTxixuDpy pDJXD5eaFmo75MHgxewyqCBlyO+SWexVqcWQ8dICTWvSM5WV+xFTjhOJoIlh9tsLIcpU aeXg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=IIy2oWO7QP4kSdlUeU3z0+u8oj56GEcsoq1rpQHrPNw=; b=ziDDY3hK1Tyo4vPCMTII/S+SjEwGWBwwdgPK1yI1UtUe7iITiJQ/aGGMMBbKiudtbK JbNLA8H3NeYl+ACqX40KBnF518Cd7dYXtMxEy1eNwf4mlLlHkmaCrBqRFfLYB29MrsM2 U4VjkTQN5ikpRTkPA0vUmVOi5xWkMA6SMTzkByT9jsHAglk2HY5W4UVIoe1o6+DgZxbX IC/Qg2yBO1u8ZCC8QV3dEqIRUuQtj9L/08HZRUjTEgbSj/76wFMMz9yAmI3vd2NjyI5R eMWiooVyYe43TcbuwyrqyoPrUMKrKQPDImE6fJrW2ndUw9RfTeJTuHVGh31GHACLry1v au4Q== 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 18si3757865pgn.70.2019.06.23.04.33.21; Sun, 23 Jun 2019 04:33:37 -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 S1726597AbfFWLce (ORCPT + 99 others); Sun, 23 Jun 2019 07:32:34 -0400 Received: from vmicros1.altlinux.org ([194.107.17.57]:44088 "EHLO vmicros1.altlinux.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726350AbfFWLce (ORCPT ); Sun, 23 Jun 2019 07:32:34 -0400 Received: from mua.local.altlinux.org (mua.local.altlinux.org [192.168.1.14]) by vmicros1.altlinux.org (Postfix) with ESMTP id E597372CC6C; Sun, 23 Jun 2019 14:32:30 +0300 (MSK) Received: by mua.local.altlinux.org (Postfix, from userid 508) id BD7567CCE2E; Sun, 23 Jun 2019 14:32:30 +0300 (MSK) Date: Sun, 23 Jun 2019 14:32:30 +0300 From: "Dmitry V. Levin" To: Christian Brauner Cc: Jann Horn , Oleg Nesterov , Arnd Bergmann , linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] samples: make pidfd-metadata fail gracefully on older kernels Message-ID: <20190623113230.GC20697@altlinux.org> References: <20190620103105.cdxgqfelzlnkmblv@brauner.io> <20190620110037.GA4998@altlinux.org> <20190620111036.asi3mbcv4ax5ekrw@brauner.io> <20190621170613.GA26182@altlinux.org> <20190621221339.6yj4vg4zexv4y2j7@brauner.io> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="SLDf9lqlvOQaIe6s" Content-Disposition: inline In-Reply-To: <20190621221339.6yj4vg4zexv4y2j7@brauner.io> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --SLDf9lqlvOQaIe6s Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jun 22, 2019 at 12:13:39AM +0200, Christian Brauner wrote: [...] > Out of curiosity: what makes the new flag different than say > CLONE_NEWCGROUP or any new clone flag that got introduced? > CLONE_NEWCGROUP too would not be detectable apart from the method I gave > you above; same for other clone flags. Why are you so keen on being able > to detect this flag when other flags didn't seem to matter that much. I wasn't following uapi changes closely enough those days. ;) --=20 ldv --SLDf9lqlvOQaIe6s Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIcBAEBCAAGBQJdD2NOAAoJEAVFT+BVnCUIynwQANQg2+3d1f3l3bLNZVQ5QcSi TXyKC5vKPf+zMj/1U2worLzq75AC6r+cfM7dVZoTb6zVCqN3CiQMQUuVXJHItA3N uwFq3KM4DLR0ofIyRoyYq9MnWDpBUWNt0xdUZxLYPYMiRfaueAaqDfvFOAhexDcX PouLJj3ixzVP5JXmzxzZer//oj+gyy+8Of2Z5QTg7K4mJMyrthS/3/qg9q7Ys1jR N9LysvxIVUn8UgmtWxIk1vKcwiVjCNmrqM63NWfhm6gX8YhaDzP+k9AwdYBO3MIV U58OZwWsQ4lrsnKEjQd74ACZPyuZk1ics50oK9bfFwk9HJBVgIp1WfEP2z1//VZM auZtI5SYix3svGX2MIV8l16nKj/FP3IY+IfyYwSxlermffcM9olR+hRNoEdYAxEt SBC7mSfozIeNLqokGNXr81SMx2w+QT0GawDdk2P8WB9ZJNAARDgLxOUw69Eu7p7q 0lBb0bPqUrCrp6XPJ3zVDpi6W+DbVBd7748iTxlorSKepFfVbWIsKLE591pfmOe/ m+tWajRVbMHQ080kualKehGgFLyahPpCzqUEmyThibInTlxShvZ50iFoNWRUxiID 6BF7OzGRoVG6Y4qSS4EalX1Mzo7xwh6+dcQPLxshSU0J32FG2alLxyQKOEChzAQ9 YQ8V+SuiitfJh3VPHBE6 =Eosu -----END PGP SIGNATURE----- --SLDf9lqlvOQaIe6s--