diff options
author | Daniel Colascione <dancol@google.com> | 2021-01-08 23:22:23 +0100 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2021-01-14 23:40:57 +0100 |
commit | b537900f1598b67bcb8acac20da73c6e26ebbf99 (patch) | |
tree | 1341b0ece4e5557e6e58d8b8408d56f1c38944fb /fs/fhandle.c | |
parent | selinux: teach SELinux about anonymous inodes (diff) | |
download | linux-b537900f1598b67bcb8acac20da73c6e26ebbf99.tar.xz linux-b537900f1598b67bcb8acac20da73c6e26ebbf99.zip |
userfaultfd: use secure anon inodes for userfaultfd
This change gives userfaultfd file descriptors a real security
context, allowing policy to act on them.
Signed-off-by: Daniel Colascione <dancol@google.com>
[LG: Remove owner inode from userfaultfd_ctx]
[LG: Use anon_inode_getfd_secure() in userfaultfd syscall]
[LG: Use inode of file in userfaultfd_read() in resolve_userfault_fork()]
Signed-off-by: Lokesh Gidra <lokeshgidra@google.com>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'fs/fhandle.c')
0 files changed, 0 insertions, 0 deletions