Re: [PATCH v5 0/3] SELinux support for anonymous inodes and UFFD

From: James Morris
Date: Wed Jun 03 2020 - 23:56:48 EST


On Wed, 1 Apr 2020, Daniel Colascione wrote:

> Daniel Colascione (3):
> Add a new LSM-supporting anonymous inode interface
> Teach SELinux about anonymous inodes
> Wire UFFD up to SELinux
>
> fs/anon_inodes.c | 191 ++++++++++++++++++++++------
> fs/userfaultfd.c | 30 ++++-
> include/linux/anon_inodes.h | 13 ++
> include/linux/lsm_hooks.h | 11 ++
> include/linux/security.h | 3 +
> security/security.c | 9 ++
> security/selinux/hooks.c | 53 ++++++++
> security/selinux/include/classmap.h | 2 +
> 8 files changed, 267 insertions(+), 45 deletions(-)

Applied to
git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git secure_uffd_v5.9
and next-testing.

This will provide test coverage in linux-next, as we aim to get this
upstream for v5.9.

I had to make some minor fixups, please review.


--
James Morris
<jmorris@xxxxxxxxx>