Skip to content
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

C/R memfd file permissions #2230

Merged
merged 2 commits into from
Aug 1, 2023
Merged

Conversation

osctobe
Copy link
Contributor

@osctobe osctobe commented Jul 27, 2023

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Jul 27, 2023

Codecov Report

Patch coverage: 71.42% and project coverage change: +0.27% 🎉

Comparison is base (988a5f4) 70.36% compared to head (52d2376) 70.64%.
Report is 1 commits behind head on criu-dev.

❗ Current head 52d2376 differs from pull request most recent head c05dbc5. Consider uploading reports for the commit c05dbc5 to get more accurate results

Additional details and impacted files
@@             Coverage Diff              @@
##           criu-dev    #2230      +/-   ##
============================================
+ Coverage     70.36%   70.64%   +0.27%     
============================================
  Files           134      133       -1     
  Lines         34039    33318     -721     
============================================
- Hits          23952    23536     -416     
+ Misses        10087     9782     -305     
Files Changed Coverage Δ
criu/memfd.c 81.77% <71.42%> (-0.05%) ⬇️

... and 14 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

criu/memfd.c Show resolved Hide resolved
@avagin
Copy link
Member

avagin commented Aug 1, 2023

pls write in the commit message when memfd file permissions are matter. Commit messages can't be empty except very trivial patches.

memfd is created by default with +x permissions set. This can be changed
by a process using fchmod() and expected to prevent using this fd for
exec(). Migrate the permissions.

Signed-off-by: Michał Mirosław <[email protected]>
Signed-off-by: Michał Mirosław <[email protected]>
@osctobe
Copy link
Contributor Author

osctobe commented Aug 1, 2023

Done.

@avagin avagin merged commit 88249fe into checkpoint-restore:criu-dev Aug 1, 2023
33 of 37 checks passed
@osctobe osctobe deleted the memfd-mode branch August 2, 2023 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants