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=-20.4 required=3.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FSL_HELO_FAKE, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable 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 D3DA7C4320A for ; Sun, 8 Aug 2021 05:24:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AB31860E78 for ; Sun, 8 Aug 2021 05:24:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229613AbhHHFYk (ORCPT ); Sun, 8 Aug 2021 01:24:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59288 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229473AbhHHFYj (ORCPT ); Sun, 8 Aug 2021 01:24:39 -0400 Received: from mail-pj1-x1036.google.com (mail-pj1-x1036.google.com [IPv6:2607:f8b0:4864:20::1036]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 07C30C0613CF for ; Sat, 7 Aug 2021 22:24:20 -0700 (PDT) Received: by mail-pj1-x1036.google.com with SMTP id u13-20020a17090abb0db0290177e1d9b3f7so29138105pjr.1 for ; Sat, 07 Aug 2021 22:24:19 -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:mime-version:content-disposition; bh=weUprCBwFfjQMVJBJInA1XbVDuOO3h8lvwnjNPGt2dg=; b=Vb3VoFQAJS0bxS60ApFK3/BSX9xoP+Ysai6D3/Leot03CmnsF9XBQ+Bn/3e47o/E/R IcQfet52sS+AomzAZ/qZ2kHgE/dajxH6TCtGf7l7if/nvBeN7rvXXQdYfyRdTpKHtLbb p1ZhktFsPG9pC0UMGV+QIvxQS3QwSeVKOIxOmtfqmw3c/FQkhwsXIdPJXbtRSZrGBT6/ OdSvv//LUl/c5/m7Sru22v+gdhMmrc5IIg26mqr4oPvXjYNKGfw/YkG8mSX3Ucvf6GvD SQNsH+6pui4+vgseDVLi8po2PzwX5EQ6X+Ix3zeodSXjPnqX7yC5jcScspMo85L3n+vC Fwzg== 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:mime-version :content-disposition; bh=weUprCBwFfjQMVJBJInA1XbVDuOO3h8lvwnjNPGt2dg=; b=lW9WspFG9VMQ3OtB4CJenIm7+blRaTht3ueyPZVEWqWVdd7hh8w+EF+RyMfK+ok+pN e8QicvKFaCLDo22+PK+s0fVWejjMt0q0jckbMpdF4DKrnl94fWv8Rx71htiQB9E9DT86 kz3zDKDnigNfrWaRpsLUptoO4wV3EXnEzp46mP88O2A7MeJwGTggPmJ4MYHU0BtZ806H vTBlX/mxxrpDHJ762ZW1JT2jJNND61axMLjX3HWFK9TYmGsahHOwgqGxND6ME0JHsCH2 0gDfbTjnOy0LB9sIGbCZ0/iGvdfojaWBsYwDOitZydccaopVI8+MlWO3QNCYHgwo5hqC id7Q== X-Gm-Message-State: AOAM530nniO5Lxmi06lgaLFLY7gwgdsyzOkmfXcEtWGrPYtW9BZ0aMII OQxDyU7DuwoiJ1b1aB+v4NZYEg== X-Google-Smtp-Source: ABdhPJxK7p1TPtwlzB9vGYb8EY70gMf0cFDzWZ35S6ZPStSq2r0UYglJS/KNqLvMF0C7wl2Kyz9PZQ== X-Received: by 2002:a17:90a:5515:: with SMTP id b21mr6962572pji.142.1628400259117; Sat, 07 Aug 2021 22:24:19 -0700 (PDT) Received: from google.com ([2401:fa00:9:211:c29e:146d:490d:33cc]) by smtp.gmail.com with ESMTPSA id k6sm18912307pgk.1.2021.08.07.22.24.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 07 Aug 2021 22:24:18 -0700 (PDT) Date: Sun, 8 Aug 2021 15:23:59 +1000 From: Matthew Bobrowski To: jack@suse.cz, amir73il@gmail.com, christian.brauner@ubuntu.com Cc: linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org Subject: [PATCH v4 0/5] Add pidfd support to the fanotify API Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Hey Jan/Amir, This is V5 of the FAN_REPORT_PIDFD patch series. It contains the minor comment/commit description fixes that were picked up by Amir in the last series review [0, 1]. LTP tests for this API change can be found here [2]. Man page updates for this change can be found here [3]. [0] https://lore.kernel.org/linux-fsdevel/CAOQ4uxhnCk+FXK_e_GA=jC_0HWO+3ZdwHSi=zCa2Kpb0NDxBSg@mail.gmail.com/ [1] https://lore.kernel.org/linux-fsdevel/CAOQ4uxgO3oViTSFZ0zs6brrHrmw362r1C9SQ7g6=XgRwyrzMuw@mail.gmail.com/ [2] https://github.com/matthewbobrowski/ltp/tree/fanotify_pidfd_v2 [3] https://github.com/matthewbobrowski/man-pages/tree/fanotify_pidfd_v1 Matthew Bobrowski (5): kernel/pid.c: remove static qualifier from pidfd_create() kernel/pid.c: implement additional checks upon pidfd_create() parameters fanotify: minor cosmetic adjustments to fid labels fanotify: introduce a generic info record copying helper fanotify: add pidfd support to the fanotify API fs/notify/fanotify/fanotify_user.c | 251 ++++++++++++++++++++--------- include/linux/fanotify.h | 3 + include/linux/pid.h | 1 + include/uapi/linux/fanotify.h | 13 ++ kernel/pid.c | 15 +- 5 files changed, 204 insertions(+), 79 deletions(-) -- 2.32.0.605.g8dce9f2422-goog /M