Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
memfd: make memfd_open() skip fd attributes not needed for vma mapping
There is only one user of memfd_open() outside of memfd.c: open_filemap(). It is restoring a file-backed mapping and doesn't need to F_SETOWN nor update the fd's position. Signed-off-by: Michał Mirosław <emmir@google.com>
- Loading branch information