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

cr: Task CapAmb support #2554

Open
wants to merge 1 commit into
base: criu-dev
Choose a base branch
from

Conversation

liuchao173
Copy link
Contributor

criu only dump and restore Ing, Prm, Eff, Bnd. Add the process of dumping and restoring the CapAmb by referring to the existing implementation.

@@ -16,13 +16,14 @@ message creds_entry {
repeated uint32 cap_prm = 10;
repeated uint32 cap_eff = 11;
repeated uint32 cap_bnd = 12;
repeated uint32 cap_amb = 13;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You cannot change protobuf IDs. That breaks backwards compatibility. Always add additional fields at the end.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@adrianreber
Copy link
Member

Take a look at the CI failures. Looks like your proposed change breaks a couple of our tests. They should not break.

Signed-off-by: Liu Chao <[email protected]>
@liuchao173
Copy link
Contributor Author

Take a look at the CI failures. Looks like your proposed change breaks a couple of our tests. They should not break.

Fixed. The rest tests do not seem to be related to this pull request.

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.

2 participants