Received: from smtp-42a8.mail.infomaniak.ch (smtp-42a8.mail.infomaniak.ch [84.16.66.168]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id AA04A2641F2; Tue, 11 Mar 2025 19:28:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=84.16.66.168 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741721340; cv=none; b=KjJgJ/uwkfDwIg9CGCgyqzE7pdo7OgY5FlSqd2HkbuNsmFaaHZ50qkL4AaxASD+pBPe2ohCaw0fv9sycavVPkZW6tDzlnSX5B3t3aWFlc60gR8w12s59iWra7GDVq4N/ddIcEihQd5AgNgW9T30+wfSwX8M89wcVg1QUtJR93fg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741721340; c=relaxed/simple; bh=ckOQ5DVeQ7G6zPTXIPWg0N+133mH477tzc8eWLtJ/uA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=MffSFgdgHmfT5ufnbp8Ge75M6DA/JfoqxPyRuaqw5pk7tlhlysokUe2G8fQ5LEZJqt7quAdwzzt9tB9vFGGhFnM3+RCGKCG+E9PoENmn6g7Cs1k0+HbZyTqDI07X7G2g31h+FslkaP+Te5DiWA4YJajJQyu5Kl9sEoNsFRKhc9k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=digikod.net; spf=pass smtp.mailfrom=digikod.net; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b=JuT4u340; arc=none smtp.client-ip=84.16.66.168 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=digikod.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=digikod.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b="JuT4u340" Received: from smtp-3-0001.mail.infomaniak.ch (unknown [IPv6:2001:1600:4:17::246c]) by smtp-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4ZC3hw5rkXzC41; Tue, 11 Mar 2025 20:28:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digikod.net; s=20191114; t=1741721328; bh=0Kv5AquxqTfaAo9UNPr4KiZ+3PfiqgdgmdtBkHrZlLs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JuT4u340X5FvPqcVpUrre/vXvc8uflgQ/iC0Ow2bt53sler5Jzad1mEsn9oMkopGv MZ9l7xMmGo+04jnPe5Ux4owLcgScWp+znpGpqGcMyr2pepAUjqVHTLv6wPZtJ2ZOiO CFiqK3d+cC0q/C6hhcfsFcv41w7o3aRGvQSlLLc8= Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4ZC3hw2cybz9ZZ; Tue, 11 Mar 2025 20:28:48 +0100 (CET) Date: Tue, 11 Mar 2025 20:28:47 +0100 From: =?utf-8?Q?Micka=C3=ABl_Sala=C3=BCn?= To: Tingmao Wang Cc: =?utf-8?Q?G=C3=BCnther?= Noack , Jan Kara , linux-security-module@vger.kernel.org, Amir Goldstein , Matthew Bobrowski , linux-fsdevel@vger.kernel.org, Tycho Andersen Subject: Re: [RFC PATCH 5/9] Define user structure for events and responses. Message-ID: <20250311.laiGhooquu1p@digikod.net> References: <20250304.eichiDu9iu4r@digikod.net> <543c242b-0850-4398-804c-961470275c9e@maowtm.org> Precedence: bulk X-Mailing-List: linux-fsdevel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <543c242b-0850-4398-804c-961470275c9e@maowtm.org> X-Infomaniak-Routing: alpha On Mon, Mar 10, 2025 at 12:39:04AM +0000, Tingmao Wang wrote: > On 3/6/25 03:05, Tingmao Wang wrote: > [...] > > This is also motivated by the potential UX I'm thinking of. For example, > > if a newly installed application tries to create ~/.app-name, it will be > > much more reassuring and convenient to the user if we can show something > > like > > > >     [program] wants to mkdir ~/.app-name. Allow this and future > >     access to the new directory? > > > > rather than just "[program] wants to mkdir under ~". (The "Allow this > > and future access to the new directory" bit is made possible by the > > supervisor knowing the name of the file/directory being created, and can > > remember them / write them out to a persistent profile etc) > > Another significant motivation, which I forgot to mention, is to auto-grant > access to newly created files/sockets etc under things like /tmp, > $XDG_RUNTIME_DIR, or ~/Downloads. What do you mean? What is not currently possible?