Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1904360pxu; Sun, 13 Dec 2020 07:08:31 -0800 (PST) X-Google-Smtp-Source: ABdhPJywh41GTEhgxSRfHNGeYwsxqLETaH3nxxzk1KHUTlMYKTlcYg6lYWNLCUs7ygTxdXAYsGqh X-Received: by 2002:a50:8004:: with SMTP id 4mr6616537eda.329.1607872111426; Sun, 13 Dec 2020 07:08:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1607872111; cv=none; d=google.com; s=arc-20160816; b=NDRZrpWbFg07rIgdF1GKeQL6BvxCS5VfC5DZX7ekwStu+UITuyIgJcDK3iOybLgsQs YhVDmcIm2dLvJfnRNV5Ce+jGFROhauqPcrpL4XmXG3cRGC+qqDmvz3udKhXoBrhPI0Kj gb0/RvY0NUfFB15MoZl3Oebf94WGfApfV9t1ZI6wWI1Ie/pmq9kOabDiTvbOJF4erOqr 8rbcx1zbfLySrsWkIAZquwzBxDtbMmUtIYgV3hLBZErxBfdUMH+F9nueotcB9+fCFkWe 8yE5FOztw0G/8+J9lyiopqCoeKCy1/HP4yOo2Hxw46oWWoZgkSF+0uEznCSCBdH+7ztE fV2Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=whtYLih3IDbInU6eplwew3GAdxpVkoql1FIahTlNxG0=; b=0OM9leu36Za81PUOxRHDrQJ23fbUAao7WcW7gMUsNRmlffufMbE+DJaBc4MgllkofD yX7tthWTRUn4bXGiwPaUuNyCAjjj9+Cuo82vTzrCGgm6/xEm26lD14Ckdv9tN5immO+E xNnsTeF3UE7nfscPsvdny2RqxmxcA/qIgISvoTy7mEjLyYJFdd9zzP5peTa7idGB76vG ZTPZKtWuv8iwYiboYIVUVVeFOz1MaDCgG5SILYy5yOexjRg29YYh/tWeX9URaEaajYR+ 4AuM9Dl5ZhPOheg4nkmKTOdlRzG9c38bJw6cFymgOayB5ZOTSuc/Wi/0Bnr+wdG75Qgr A7Ww== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u15si8853600edv.291.2020.12.13.07.08.08; Sun, 13 Dec 2020 07:08:31 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2438841AbgLLMRG (ORCPT + 99 others); Sat, 12 Dec 2020 07:17:06 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:55286 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2438832AbgLLMRG (ORCPT ); Sat, 12 Dec 2020 07:17:06 -0500 Received: from ip5f5af0a0.dynamic.kabel-deutschland.de ([95.90.240.160] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1ko3p2-0005u3-44; Sat, 12 Dec 2020 12:16:24 +0000 Date: Sat, 12 Dec 2020 13:16:23 +0100 From: Christian Brauner To: "Alejandro Colomar (man-pages)" Cc: Stephen Kitt , linux-man@vger.kernel.org, Michael Kerrisk , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] close_range.2: new page documenting close_range(2) Message-ID: <20201212121623.tqkobuaptzm3qdib@wittgenstein> References: <20201209220023.17912-1-steve@sk2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Dec 10, 2020 at 01:24:28AM +0100, Alejandro Colomar (man-pages) wrote: > Hi Stephen, > > A few more comments below. > > Michael, please have a look at them too. > > Christian, do you have any program that you used to test the syscall > that could be added as an example program to the page? As with all non-trivial feature patchsets going through my tree we've added selftests. :) tools/testing/selftests/core/close_range_test.c It should be fairly simply to extract a tinified example from there. Thanks! Christian