Re: [PATCH v4 2/5] fs: Add fchmodat2()

2023-07-28 Thread dal...@libc.org
On Fri, Jul 28, 2023 at 08:43:58AM +, David Laight wrote: > > > FWIW, I agree with Christian that these behaviours are not ideal (and > > I'm working on a series that might allow for these things to be properly > > blocked in the future) but there's also the consistency argument -- I > > d

Re: [PATCH v4 2/5] fs: Add fchmodat2()

2023-07-27 Thread dal...@libc.org
On Thu, Jul 27, 2023 at 07:02:53PM +0200, Christian Brauner wrote: > On Thu, Jul 27, 2023 at 06:28:53PM +0200, Andreas Schwab wrote: > > On Jul 27 2023, David Laight wrote: > > > > > From: Aleksa Sarai > > >> Sent: 25 July 2023 17:36 > > > ... > > >> We almost certainly want to support AT_EMPTY_PA

Re: [PATCH v4 2/5] fs: Add fchmodat2()

2023-07-27 Thread dal...@libc.org
On Thu, Jul 27, 2023 at 09:01:06AM +, David Laight wrote: > From: Aleksa Sarai > > Sent: 25 July 2023 17:36 > > > We almost certainly want to support AT_EMPTY_PATH at the same time. > > Otherwise userspace will still need to go through /proc when trying to > > chmod a file handle they have