Skip to content

policy: Implement Clone() for the PolicyCalculator#434

Open
Foxboron wants to merge 1 commit into
google:mainfrom
Foxboron:morten/clone-calc
Open

policy: Implement Clone() for the PolicyCalculator#434
Foxboron wants to merge 1 commit into
google:mainfrom
Foxboron:morten/clone-calc

Conversation

@Foxboron
Copy link
Copy Markdown
Contributor

When implementing nested policies, like systemd-pcrlock, it's practical to clone the current PolicyCalculator to transfer the state of the previous policy without mutation.

When implementing nested policies, like systemd-pcrlock, it's practical
to clone the current PolicyCalculator to transfer the state of the
previous policy without mutation.

Signed-off-by: Morten Linderud <morten@linderud.pw>
@Foxboron Foxboron requested review from a team, alexmwu and jkl73 as code owners May 20, 2026 15:02
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.

1 participant