New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
memfd_secret: add memfd-secret file support #2247
base: criu-dev
Are you sure you want to change the base?
Conversation
7354e48
to
9ce08d2
Compare
9ce08d2
to
9cdc544
Compare
9cdc544
to
0e0c0eb
Compare
6ca1998
to
72687b2
Compare
72687b2
to
4992514
Compare
8c259b7
to
f73cefa
Compare
Patch naming is not confirming to our usual style of patches to zdtm: |
2e8fba6
to
3123230
Compare
58938e1
to
d98451b
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## criu-dev #2247 +/- ##
============================================
- Coverage 70.85% 70.22% -0.63%
============================================
Files 133 134 +1
Lines 32734 33683 +949
============================================
+ Hits 23193 23655 +462
- Misses 9541 10028 +487 ☔ View full report in Codecov by Sentry. |
d98451b
to
d1183e6
Compare
fa7dc9b
to
09af0cf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall LGTM, there a few nits here and there
f1c308b
to
ae06b26
Compare
e7f3ddc
to
3673c4b
Compare
3673c4b
to
8fdd26a
Compare
A friendly reminder that this PR had no activity for 30 days. |
Adds protobuf definitions needed to checkpoint and restore memfd_secret fd. Signed-off-by: Dhanuka Warusadura <csx@tuta.io>
Adds support to save secretmem page stats when C/R a memfd_secret fd containing process. Updates images/stats.proto to add statistics about C/R memfd_secret fd. Signed-off-by: Dhanuka Warusadura <csx@tuta.io>
See "man 2 memfd_secret". Fixes: checkpoint-restore#2188 Signed-off-by: Dhanuka Warusadura <csx@tuta.io>
These changes update `check_pages_counts()` to support `secmempages_written` stat. Signed-off-by: Dhanuka Warusadura <csx@tuta.io>
Adds a zdtm test to test checkpoint/restore a memfd_secret fd containing process. Signed-off-by: Dhanuka Warusadura <csx@tuta.io>
8fdd26a
to
b20cf07
Compare
Fixes: #2188