[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4b39cf528148470c934fb5823b35e9d5@AcuMS.aculab.com>
Date: Mon, 2 Jan 2023 14:01:38 +0000
From: David Laight <David.Laight@...LAB.COM>
To: 'Ameer Hamza' <ahamza@...ystems.com>,
"viro@...iv.linux.org.uk" <viro@...iv.linux.org.uk>,
"jlayton@...nel.org" <jlayton@...nel.org>,
"chuck.lever@...cle.com" <chuck.lever@...cle.com>,
"arnd@...db.de" <arnd@...db.de>,
"guoren@...nel.org" <guoren@...nel.org>,
"palmer@...osinc.com" <palmer@...osinc.com>,
"f.fainelli@...il.com" <f.fainelli@...il.com>,
"slark_xiao@....com" <slark_xiao@....com>,
"richard.henderson@...aro.org" <richard.henderson@...aro.org>,
"ink@...assic.park.msu.ru" <ink@...assic.park.msu.ru>,
"mattst88@...il.com" <mattst88@...il.com>,
"James.Bottomley@...senPartnership.com"
<James.Bottomley@...senPartnership.com>,
"deller@....de" <deller@....de>,
"davem@...emloft.net" <davem@...emloft.net>
CC: "linux-fsdevel@...r.kernel.org" <linux-fsdevel@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"linux-arch@...r.kernel.org" <linux-arch@...r.kernel.org>,
"awalker@...ystems.com" <awalker@...ystems.com>,
"sparclinux@...r.kernel.org" <sparclinux@...r.kernel.org>,
"linux-parisc@...r.kernel.org" <linux-parisc@...r.kernel.org>,
"linux-alpha@...r.kernel.org" <linux-alpha@...r.kernel.org>
Subject: RE: [PATCH v2] Add new open(2) flag - O_EMPTY_PATH
From: Ameer Hamza
> Sent: 31 December 2022 23:56
>
> This patch adds a new flag O_EMPTY_PATH that allows openat and open
> system calls to open a file referenced by fd if the path is empty,
> and it is very similar to the FreeBSD O_EMPTY_PATH flag. This can be
> beneficial in some cases since it would avoid having to grant /proc
> access to things like samba containers for reopening files to change
> flags in a race-free way.
>
But what does it do?
(Apart from add code to a common kernel code path.)
David
-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Powered by blists - more mailing lists