Skip to content
Commit b537900f authored by Daniel Colascione's avatar Daniel Colascione Committed by Paul Moore
Browse files

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: default avatarDaniel 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: default avatarLokesh Gidra <lokeshgidra@google.com>
Reviewed-by: default avatarEric Biggers <ebiggers@google.com>
Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent 29cd6591
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment