Re: [PATCH 08/33] vfs: Add LSM hooks for the new mount API [ver #11]

2018-08-01 Thread David Howells
James Morris wrote: > > (2) A hook to snoop source specifications. > > > What are source specifications? "/dev/sda1" or "my.nfs.server:/foo/bar". Actually, this hook is now gone. Source specification is done by way of a parameter with key of "source" and this can be specified multiple tim

Re: [PATCH 08/33] vfs: Add LSM hooks for the new mount API [ver #11]

2018-08-01 Thread James Morris
On Wed, 1 Aug 2018, David Howells wrote: > (2) A hook to snoop source specifications. What are source specifications? -- James Morris

[PATCH 08/33] vfs: Add LSM hooks for the new mount API [ver #11]

2018-08-01 Thread David Howells
Add LSM hooks for use by the new mount API and filesystem context code. This includes: (1) Hooks to handle allocation, duplication and freeing of the security record attached to a filesystem context. (2) A hook to snoop source specifications. There may be multiple of these if the fil