Re: [PATCH 4/6] vfs: Allow mount information to be queried by fsinfo() [ver #15]

2019-07-02 Thread Ian Kent
On Wed, 2019-07-03 at 09:24 +0800, Ian Kent wrote: > On Wed, 2019-07-03 at 09:09 +0800, Ian Kent wrote: > > Hi Christian, > > > > About the propagation attributes you mentioned ... > > Umm ... how did you work out if a mount is unbindable from proc > mountinfo? > > I didn't notice anything that

Re: [PATCH 4/6] vfs: Allow mount information to be queried by fsinfo() [ver #15]

2019-07-02 Thread Ian Kent
On Wed, 2019-07-03 at 09:09 +0800, Ian Kent wrote: > Hi Christian, > > About the propagation attributes you mentioned ... Umm ... how did you work out if a mount is unbindable from proc mountinfo? I didn't notice anything that could be used for that when I was looking at this. > > On Fri,

Re: [PATCH 4/6] vfs: Allow mount information to be queried by fsinfo() [ver #15]

2019-07-02 Thread Ian Kent
Hi Christian, About the propagation attributes you mentioned ... On Fri, 2019-06-28 at 16:47 +0100, David Howells wrote: snip ... > + > +#ifdef CONFIG_FSINFO > +int fsinfo_generic_mount_info(struct path *path, struct fsinfo_kparams > *params) > +{ > + struct fsinfo_mount_info *p =

[PATCH 4/6] vfs: Allow mount information to be queried by fsinfo() [ver #15]

2019-06-28 Thread David Howells
Allow mount information, including information about the topology tree to be queried with the fsinfo() system call. Usage of AT_FSINFO_MOUNTID_PATH allows overlapping mounts to be queried. To this end, four fsinfo() attributes are provided: (1) FSINFO_ATTR_MOUNT_INFO. This is a structure