From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wfhigh4-smtp.messagingengine.com (wfhigh4-smtp.messagingengine.com [64.147.123.155]) (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 E462179D3; Mon, 17 Jun 2024 06:36:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.155 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718606185; cv=none; b=Qja91+46j8NDekBbf9AmWUnrc60ddWf8ovzaSqkV+QzO0SAUBw00dMu3q8qUuyJdhTBeIxKCv4U3q3R/3XRgIzxs7UT09AkY8KGz1V6XESUyMYjfqE+GAUDa+gK3V/FtCcnyPPPPU+nFySHZJIdxtk4wfUa9EmWY9XyDG9wsTYM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718606185; c=relaxed/simple; bh=LesqrcRAV/4/c3Sfk1y7gMK+fZWVSQ8qF9tdeEoHRLs=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=RB8GTFawpa2gwfP8EapdrGBM+a9ixsECTq7nX9P8LlRqze5FySRunQnA0z7OIynGHXUYxHdVWVk+4Lky4QcTM//Bt1RC6Uhwr4CNsmJ294jV5f/+tJ0WfIRDws9a8RvfB07iPKLndD/2YFkyB+onPMZzrl5KqUdwsV0Jm0a6phE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=Z0GKrHEL; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=mE9L4mGc; arc=none smtp.client-ip=64.147.123.155 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="Z0GKrHEL"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="mE9L4mGc" Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.west.internal (Postfix) with ESMTP id 590DA18000B3; Mon, 17 Jun 2024 02:36:22 -0400 (EDT) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Mon, 17 Jun 2024 02:36:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1718606181; x=1718692581; bh=8+FywWapc3 z4ZbGE7d/673rjs096swl6YfrxaP7mzMc=; b=Z0GKrHELQJBzl93uTlwRbxQur9 tNZlaKmhS0oBHMNg5jNdGgkV2cZLgu1Dgut6ziKvcuOmdkfNn9VImM9ml55MneDV eEBCZT8sOR49O8yg9GLhbnAwi0qoupl+u2dVHqE+D75wxoDlr+YHf6iEK4WgO/1q spnT98TYmukMlJ2wxD1oBqOHDp+SNIkpPWwhXSWqrryEPXQ4Lw7oU9R3sCqcpChC o9pGjMtExv5+rSbF6/HuKIlf5xinaESFjgKcnO8p2cWqLdOskPCErNFDDeA1wcJq OXYoDV7K9jcike1nFyDUvcrWM6sLEJ7T5pEYaBxNFt8uVid7fH9gMDT0/Yrg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1718606181; x=1718692581; bh=8+FywWapc3z4ZbGE7d/673rjs096 swl6YfrxaP7mzMc=; b=mE9L4mGcDVEUg3ZRcSiw+7y7pLyme0TuzkiISoulnI65 /JDTzc2O9//N84f1ttuPM83wJH/FyHu2fLeopMc/ginbY+BjvqqjOtFeR4u5Km9c v7S2gO3Rno64hJl/XAQUEw+Gq2REdGrEDWdB9yALo983On4v4wZ5Pkbfz2MujksZ ScxKuZONcsGrRuS8AbOVHvpHSPhFU66/lOPSDBpjY1paZmA0ULc3gQX0xMPk369O HybcO2G9hPaw6WkRw5waunLYbQtNCTSsya0SmECdMaXS6uHguQmDdq1DVthU5Cmi 0xv8zZUAYovgckvG76HMH3WEB7WQg6YqiwHMrdc5EA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfedvgedgkeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvfevufgtsehttdertderredtnecuhfhrohhmpedftehr nhguuceuvghrghhmrghnnhdfuceorghrnhgusegrrhhnuggsrdguvgeqnecuggftrfgrth htvghrnhepleffueeiiedufeffteetleeuueefveefgfffteegvdekfeetkedtudffhefh hfeunecuffhomhgrihhnpehsvggrrhgthhhfohigrdhorhhgnecuvehluhhsthgvrhfuih iivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghrnhgusegrrhhnuggsrdguvg X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 207AAB6008D; Mon, 17 Jun 2024 02:36:20 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-515-g87b2bad5a-fm-20240604.001-g87b2bad5 Precedence: bulk X-Mailing-List: linux-arch@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <4fd0531d-e8f8-4a4c-9136-50fcc31ba5f2@app.fastmail.com> In-Reply-To: References: <20240511100157.2334539-1-chenhuacai@loongson.cn> <56ace686-d4b4-4b4c-a8a6-af06ec0d48f2@app.fastmail.com> <08ff168afc09fd108ec489a3c9360d4e704fa7dc.camel@xry111.site> Date: Mon, 17 Jun 2024 08:35:58 +0200 From: "Arnd Bergmann" To: "Xi Ruoyao" , "Huacai Chen" Cc: "Huacai Chen" , loongarch@lists.linux.dev, Linux-Arch , "Xuefeng Li" , guoren , "WANG Xuerui" , "Jiaxun Yang" , linux-kernel@vger.kernel.org, loongson-kernel@lists.loongnix.cn, stable@vger.kernel.org Subject: Re: [PATCH] LoongArch: Define __ARCH_WANT_NEW_STAT in unistd.h Content-Type: text/plain On Sat, Jun 15, 2024, at 15:12, Xi Ruoyao wrote: > On Sat, 2024-06-15 at 20:12 +0800, Xi Ruoyao wrote: >> >> [Firefox]:https://searchfox.org/mozilla-central/source/security/sandbox/linux/SandboxFilter.cpp#364 > > Just spent some brain cycles to make a quick hack adding a new statx > flag. Patch attached. > Thanks for the prototype. I agree that this is not a good API but that it would address the issue and I am fine with merging something like this if you can convince the VFS maintainers. Arnd