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

Add a restricted security policy for CRIU #16314

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ZainabF92
Copy link

Signed-off-by: Zainab Fatmi [email protected]

*/
public static void setCRIURestoreMode() {
RestrictedSecurityConfigurator.disable();
if (null != systemProps) {
Security.removeProvider("CRIUSEC");
// Note that CRIUSEC was set as security.provider.1 in the method
Copy link
Member

Choose a reason for hiding this comment

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

systemProps.remove("security.provider.1");

should this be adopted to the Restricted Security Mode?

Copy link
Author

Choose a reason for hiding this comment

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

No, CRIUSEC is also security.provider.1 in the restricted security mode, configured the java.security file:

RestrictedSecurity2.jce.provider.1 = openj9.internal.criu.CRIUSEC

@JasonFengJ9 JasonFengJ9 added comp:vm criu Used to track CRIU snapshot related work labels Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:vm criu Used to track CRIU snapshot related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants