posix: implement memfd and file sealing - #418
Conversation
|
CI is failing right now because it depends on a definition of |
|
Addressed the issues raised above. |
|
Dropped some noops that are better served by |
|
Blocked on mesa not compiling with memfd present, due to it making direct Linux syscalls. |
I think I might be able to patch that out but with weston 10 crashing consistently I'm unable to properly test that. Feel free to ping me on discord at a later date so I can look at it. |
| if(logRequests) | ||
| std::cout << "posix: MEMFD_CREATE " << req->name() << std::endl; | ||
|
|
||
| std::cout << "posix: MEMFD_CREATE ignores some flags" << std::endl; |
There was a problem hiding this comment.
Shouldn't we return EINVAL for unsupported flags?
|
Pushed commits that fixed Dennis' issues. Weston 10 now works for both of us. |
avdgrinten
left a comment
There was a problem hiding this comment.
See below. Also, this PR contains commits that are not related to memfd and file sealing; this should be avoided.
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
Signed-off-by: Dennis Bonke <admin@dennisbonke.com>
|
Addressed the issues raised above. |
|
LGTM now |
avdgrinten
left a comment
There was a problem hiding this comment.
One small comment, can be merged afterwards.
The
MemoryFileused here is an adapted version of the same struct in tmpfs, stripped of some functionality not yet needed.