Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp433574rdb; Mon, 18 Sep 2023 22:39:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGMSgz4wpEJ95PMpzMlRbbomQel9MDRiuqG5PNDrB46hLdKNPo/jOsVmY2ghrbxZ81IjvGM X-Received: by 2002:a05:6a21:3390:b0:13a:dd47:c31a with SMTP id yy16-20020a056a21339000b0013add47c31amr1956526pzb.20.1695101993055; Mon, 18 Sep 2023 22:39:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695101993; cv=none; d=google.com; s=arc-20160816; b=ur2kJin5K2wu1gDdnyUAK2yI8+2dbwASAQm4ENYgODbL/bdChyGN7VeCMNi390JoBj BXlybHJQ5R86td1IOpNliB91FuTQqx0Yk2VL/1xiwrbqBSphRdNXwGPIqdmjoRTWHSlQ Q+ZEMa8BzI/AEc3HhEVzxvRF+TeEx9jfnARP+ks0d33xqaaDVsx5wYtiHXZiL1CMfkpf ED8CPftZm31Z0cUyR9DKe7r7DWmOyfpnJsV2o9ulftjJOXbGpBcVte9XaJ5RApXTRx/H Ue2o6cAknoqJwKsN+03qXO7rUH/BT2vOIb58dfM9d9iMyURuikITmvQBwLOSVrGZurwk nSgQ== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:dkim-signature; bh=dGxQuTqFmA8IizYiNQmAZsobnCdmatBjOS6CO3GvZaQ=; fh=cxeVNFDzqmOcGn5/lA7YTI8/xamOE8CY/J/THnm+bcM=; b=qLOOdI3K+T2v3xfXBIoEqGBZd2xI9v0llJINTCapqHS7nYUM8HvcOe6kjW2B1JF7q7 jFRX2HBZRZQaWLhd4GnEmDfII0WuiVeMLlmAQUwlprcxdwsAGQfMlPAjsFdTowXdLQ1a W57kZ7dkbcLjygibk2D0Ya4jGqbjZMzoWLlRF6ByrNyC9XXRVs7ZSvZ5Jta3sFqWuKc3 JXApu5QQ7m508k2um2CW4HhnSnLmiSH3eT44L/KcGLivWWNngq/Ke+sXyKRy1AvrXaDX Po2gh65BDiP8Frq4u7k1LSxujbDtT2bCf6Yw3PMyirmABnQP5ULug1c0pXqTclb+6mpR oumQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=1pYPX8mn; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id a5-20020a655c85000000b0057828b85ae6si2753742pgt.281.2023.09.18.22.39.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Sep 2023 22:39:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=1pYPX8mn; dkim=neutral (no key) header.i=@suse.cz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 16342801B394; Mon, 18 Sep 2023 09:57:05 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231232AbjIRQ5B (ORCPT + 99 others); Mon, 18 Sep 2023 12:57:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231240AbjIRQ46 (ORCPT ); Mon, 18 Sep 2023 12:56:58 -0400 Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76127112; Mon, 18 Sep 2023 09:56:51 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 3D38C21D17; Mon, 18 Sep 2023 14:23:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1695047000; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dGxQuTqFmA8IizYiNQmAZsobnCdmatBjOS6CO3GvZaQ=; b=1pYPX8mnItYfPUtWcyIvs1PT0FN6f/n1qxUFGg1eXYczDMlHemghdnZXWMhfHX8Y1OOC31 Hz9IscOVTaD3ghAUak2Y1+qgd3PtYB2f2OENJbB7JYUJicfF6Q3Oh+zmEvWmrTlWRI5IHA 6eo3jUVz0nAf4m5SndgN1Re8GoReodQ= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1695047000; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=dGxQuTqFmA8IizYiNQmAZsobnCdmatBjOS6CO3GvZaQ=; b=4vMlfLjKZkPWUiJwVAWZfqqNiaOkhC2jLSpjE+7xlPgvMct89C7fPodFxnyuIzx/NSGuQV KcejQHY9qI0bu2Cg== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 2AD7F13480; Mon, 18 Sep 2023 14:23:20 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 84FnClhdCGWwNQAAMHmgww (envelope-from ); Mon, 18 Sep 2023 14:23:20 +0000 Received: by quack3.suse.cz (Postfix, from userid 1000) id 98E9EA0759; Mon, 18 Sep 2023 16:23:19 +0200 (CEST) Date: Mon, 18 Sep 2023 16:23:19 +0200 From: Jan Kara To: Max Kellermann Cc: Jan Kara , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, amir73il@gmail.com Subject: Re: [PATCH 3/4] inotify_user: add system call inotify_add_watch_at() Message-ID: <20230918142319.kvzc3lcpn5n2ty6g@quack3> References: <20230918123217.932179-1-max.kellermann@ionos.com> <20230918123217.932179-3-max.kellermann@ionos.com> <20230918124050.hzbgpci42illkcec@quack3> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Mon, 18 Sep 2023 09:57:05 -0700 (PDT) On Mon 18-09-23 15:57:43, Max Kellermann wrote: > On Mon, Sep 18, 2023 at 2:40 PM 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? The manpage update is a good idea. I'm not sure about the MAINTAINERS status - we do have 'Obsolete' but I'm reluctant to mark inotify as obsolete as it's perfectly fine for existing users, we fully maintain it and support it but we just don't want to extend the API anymore. Amir, what are your thoughts on this? Honza -- Jan Kara SUSE Labs, CR