Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp88464rdb; Mon, 18 Sep 2023 08:57:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGKm0NUT3uBaLwhYwL2FjFnz3rOxD3NvxhQ5Z+60SvdCypPboQJMzaMEVKQLDZozt0j02KC X-Received: by 2002:a05:6830:208a:b0:6bf:1fed:95ce with SMTP id y10-20020a056830208a00b006bf1fed95cemr9477849otq.22.1695052673554; Mon, 18 Sep 2023 08:57:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695052673; cv=none; d=google.com; s=arc-20160816; b=i9qDSN0Vd3lPiKKC5jFn17l5p0tn/i6mRBedZJc+fbM14wl+UoNW8tTEODzqmLRBLo TJF+4id3sOPwb4NIycbrgdLmSGOJh+NQqbBRKyUGXQ/vqD+kNywJHUgkM9bXnDohOHfn h++Sipq2ygXtNb+1Z3sUJ8qCRJ8niLZuRGyA8Peis42IA4M9GHXCKCCMjzidspysEfg6 DJVoo2x7DeCRhof/LIFAfvA4wpoYrqM3zR18eBThTijR+a0PXQjSdF22UF99vwMNBICZ UNBKPqwaKMbDRI1SeNbkCu0pHRFOs9x1Vwo2tzAjwkwwgxjH3mbe6LC0UruIosKgDS2I zrcA== 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=9C9LMcgPXK0TzUHzj0llknV/i85+aKix5XO5smaiKOg=; fh=0Pmfv/I4mRlaH9sqW+suxpGGxOadHhQ1yO6Te03bGa8=; b=nb/3ZvJLVUPMG4XQvT1ySs5Iek0Qznl3I0xYOW/cmNMcUN4P8C4q96VqD+/fUntj0h nJLyCWiYKCtGibpUCHlFm64Pll7/NDSpp6Kmbf0WTcdfJGPTiyvcJg64OVhEpALeFMkz rCbJaC8Ev9B2qvoOlVlLwgw0098JF/RunlNBwyRjmuGiI1ZdVSFjqNzCzPrOrK1XIAyc 19b1Ne6lIcVqKjG0vDbKici6+2bwPIJc/1cHXclaGz9rB+iiUF0M9jLbvW9BEQEHQqsw uruGJY7lwIU5taglL2ekwP8Bu0vYHOUpwOQTr3F9Uw3k2exShPKwqHiGJAxJuP7GKuej Z52w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b=dWcdYG0b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id u25-20020a656719000000b0056fa5d8c2ffsi8051462pgf.325.2023.09.18.08.57.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 08:57:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b=dWcdYG0b; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 1928A809ECB4; Mon, 18 Sep 2023 08:47:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229800AbjIRPrH (ORCPT + 99 others); Mon, 18 Sep 2023 11:47:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44648 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229804AbjIRPrE (ORCPT ); Mon, 18 Sep 2023 11:47:04 -0400 Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 535F1E72 for ; Mon, 18 Sep 2023 08:45:55 -0700 (PDT) Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-530ea522f5eso1846121a12.3 for ; Mon, 18 Sep 2023 08:45:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ionos.com; s=google; t=1695051736; x=1695656536; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=9C9LMcgPXK0TzUHzj0llknV/i85+aKix5XO5smaiKOg=; b=dWcdYG0bWYWuLkkekdErc0mCmQeubj06fRU3g7NC7pFqEjv5jlka9NhyjhIs0z0MXD av3Qs8YffnXo/36arlTt/x30nkYAUje6JuVappy2H6KOlwqwoQ2p9/95btvhETCXSgV+ neYKFO9O1k96hwXpYMcy7PdyFWYplFSZnPTwEFG9y0Rn+BD0pzTd78wrVUjMpAK/QVzx mDE8z6ryfUf2UK2itrtzR2GIS4IF4vzLIp8I9boGCV+xRZswkiF0BFFHMMS/YDLR0v74 vc6anLYp26meUaXu/EvMSspgySmRtF7CwzfkGWXebP1L1o+OjZB3GuI5X036xyX0EzVi IV3g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695051736; x=1695656536; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=9C9LMcgPXK0TzUHzj0llknV/i85+aKix5XO5smaiKOg=; b=QTGJFiZzroqzoXPpi8LOeFya+DU+LgbXkLBI21ehkeSA6ILH2RFRl1iH0vR8iQgQ0N uUHyUsiWNzQ3DWYSKueoPjThIpWpDU6nHJgT3rYgHDqcpcKzEEAJJDoNR/1PEMOH+s1p 1uNyx2QimZvuZwrzD0FvR6/8SpR4KMgQ6tqyCHfVTJySJe6u7/s5VwIRreJjjHOtJYvs MikkWr0hSDyGsrJB5pdDzwLwMiZrfSSydN5c8gIqvKzbGtVrAr19pYXEd41ZrQkqHQM1 +4IYukD/7it03wPQC0m+0/fbAOsVrxlfXC8SpQYbbsw6Nam8NGQ4abj+G2gyiIXyLIx8 7G9Q== X-Gm-Message-State: AOJu0YxH9fYWxtHREzIBCiNsQZkxP6W/78dVPEDciOl3Nktwbj+MLsOI VLt9IvaUYhhgjQZhajyq1hda78HQOChe//JS+GYUpUdz+Fq/difX X-Received: by 2002:a2e:3e0e:0:b0:2b6:bc30:7254 with SMTP id l14-20020a2e3e0e000000b002b6bc307254mr7553866lja.13.1695045474573; Mon, 18 Sep 2023 06:57:54 -0700 (PDT) MIME-Version: 1.0 References: <20230918123217.932179-1-max.kellermann@ionos.com> <20230918123217.932179-3-max.kellermann@ionos.com> <20230918124050.hzbgpci42illkcec@quack3> In-Reply-To: <20230918124050.hzbgpci42illkcec@quack3> From: Max Kellermann Date: Mon, 18 Sep 2023 15:57:43 +0200 Message-ID: Subject: Re: [PATCH 3/4] inotify_user: add system call inotify_add_watch_at() To: Jan Kara Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, amir73il@gmail.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 18 Sep 2023 08:47:17 -0700 (PDT) On Mon, Sep 18, 2023 at 2:40=E2=80=AFPM Jan Kara wrote: > Note that since kernel 5.13 you > don't need CAP_SYS_ADMIN capability for fanotify functionality that is > more-or-less equivalent to what inotify provides. Oh, I missed that change - I remember fanotify as being inaccessible for unprivileged processes, and fanotify being designed for things like virus scanners. Indeed I should migrate my code to fanotify. If fanotify has now become the designated successor of inotify, that should be hinted in the inotify manpage, and if inotify is effectively feature-frozen, maybe that should be an extra status in the MAINTAINERS file? Max