Re: [PATCH v8 1/3] Add a new LSM-supporting anonymous inode interface

2020-09-07 Thread Lokesh Gidra
On Tue, Sep 1, 2020 at 5:41 AM Christian Brauner wrote: > > On Wed, Aug 26, 2020 at 11:35:20PM -0700, Lokesh Gidra wrote: > > From: Daniel Colascione > > > > This change adds a new function, anon_inode_getfd_secure, that creates > > anonymous-node file with individual non-S_PRIVATE inode to which

Re: [PATCH v8 1/3] Add a new LSM-supporting anonymous inode interface

2020-09-01 Thread Christian Brauner
On Wed, Aug 26, 2020 at 11:35:20PM -0700, Lokesh Gidra wrote: > From: Daniel Colascione > > This change adds a new function, anon_inode_getfd_secure, that creates > anonymous-node file with individual non-S_PRIVATE inode to which security > modules can apply policy. Existing callers continue usin

[PATCH v8 1/3] Add a new LSM-supporting anonymous inode interface

2020-08-26 Thread Lokesh Gidra
From: Daniel Colascione This change adds a new function, anon_inode_getfd_secure, that creates anonymous-node file with individual non-S_PRIVATE inode to which security modules can apply policy. Existing callers continue using the original singleton-inode kind of anonymous-inode file. We can tran