From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.4 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FSL_HELO_FAKE, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 864A5C4338F for ; Tue, 27 Jul 2021 00:16:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 68B6260C51 for ; Tue, 27 Jul 2021 00:16:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234339AbhGZXg0 (ORCPT ); Mon, 26 Jul 2021 19:36:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234306AbhGZXg0 (ORCPT ); Mon, 26 Jul 2021 19:36:26 -0400 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99A31C061760 for ; Mon, 26 Jul 2021 17:16:53 -0700 (PDT) Received: by mail-pl1-x62a.google.com with SMTP id e14so13743149plh.8 for ; Mon, 26 Jul 2021 17:16:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=DvAL8BIZtn88pM1FbAWa7kkXzZwzfNMWuqomFCIceN0=; b=Es6DFZy4zA4Yx73Y4HyMMk3U4wwTn/Yqx9MSEdsz4y9BsDNhNzXH3FDSq/g0bW2mlZ bOtKoScWDFiggx1qTO+bHbRSU7BxA4g19FbTp0XPjTsh+plMIMO4egJNAMyt1mpAwlCz +86WQ1JcMYWCTC3LnycQWAiBHNeDStcaaj1O3Gnjnj9GAOQCJUhGm0UI4lAoeiFelH5J ptX7/zoeTy4D9fErwHmMyvhUqd92QTXpplNR4I0ieTOVTfSUGJjGxCUdzfA7ShkKPvzF B1S9ZZZVJVkun8dReAic/ST/zPMbRE98QcHuSpIT2CvzFSKRN0fIU9oCoTr7xX8v1RAD 9Scw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=DvAL8BIZtn88pM1FbAWa7kkXzZwzfNMWuqomFCIceN0=; b=ZYHqJnRKaYF8M+WrvAHxx8rfFCxe3X+5qyf0WtNditNzvPOKYs+7XYojBIqpLAlOXj 9DSzIpvu7eX/1Kot/HJKB70Yi9najBpM3ZKNDdqdk1uOlc/4tKqKdHpv7NPqJv1k0nM7 HkTmIF0nOK1uCLrU30N183+r7TmCM+3it2PKKZtuzcJtrtTZB8DxBKxqNUpy+jdymlDI 8TqAoX1taOklSWUkethdUDvlB5G7e4Q3Kx49l78IZEELiSEOI10o/WgGiNGqd1mSefFM 9IBJPJp8NCAws4tkFZSKjMh+2LvpzDpVe4bsgt7VwQtvJ5m5L18BMri/lwS+pNk1sZGc KHag== X-Gm-Message-State: AOAM531TS+Yh+1Ulk9p5jV1s357lrh6bZggs64wEijC09QT6JoKVjiwh HneoVvA7yZ8pVMe433GXrgwQLA== X-Google-Smtp-Source: ABdhPJx3wIWowyiMyZmSHpcZHV2ZvUtudEuQ0/0dgMqpqCKyDTJ2cp2yQ8K4umidx0HSxjRDac02xA== X-Received: by 2002:a63:594e:: with SMTP id j14mr20779817pgm.249.1627345012845; Mon, 26 Jul 2021 17:16:52 -0700 (PDT) Received: from google.com ([2401:fa00:9:211:c253:e6ea:83ee:c870]) by smtp.gmail.com with ESMTPSA id o192sm1226116pfd.78.2021.07.26.17.16.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 26 Jul 2021 17:16:52 -0700 (PDT) Date: Tue, 27 Jul 2021 10:16:40 +1000 From: Matthew Bobrowski To: Amir Goldstein Cc: Jan Kara , Christian Brauner , linux-fsdevel , Linux API Subject: Re: [PATCH v3 0/5] Add pidfd support to the fanotify API Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-api@vger.kernel.org On Tue, Jul 27, 2021 at 09:07:28AM +1000, Matthew Bobrowski wrote: > On Wed, Jul 21, 2021 at 10:06:56AM +0300, Amir Goldstein wrote: > > On Wed, Jul 21, 2021 at 9:17 AM Matthew Bobrowski wrote: > > > > > > Hey Jan/Amir/Christian, > > > > > > This is an updated version of the FAN_REPORT_PIDFD series which contains > > > the addressed nits from the previous review [0]. As per request, you can > > > also find the draft LTP tests here [1] and man-pages update for this new > > > API change here [2]. > > > > > > [0] https://lore.kernel.org/linux-fsdevel/cover.1623282854.git.repnop@google.com/ > > > [1] https://github.com/matthewbobrowski/ltp/commits/fanotify_pidfd_v2 > > > [2] https://github.com/matthewbobrowski/man-pages/commits/fanotify_pidfd_v1 > > > > FWIW, those test and man page drafts look good to me :) > > Fantastic, thanks for the review! > > I will adjust the minor comments/documentation on patch 5/5 and send > through an updated series. Alright, so I've fixed up the git commit message and comment in the source code so that it's more accurate in terms of when/why FAN_NOPIDFD is reported. I'm going to hold with sending through v4 until I have Jan also look peek and poke at v3 as I want to avoid doing any unnecessary round trips. /M