-
Notifications
You must be signed in to change notification settings - Fork 35
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
apply ACPERM rules in order #427
Conversation
Signed-off-by: Tariq Kurd <[email protected]>
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.
I think this is correct, but I'd like @LawrenceEsswood to have a look as well.
Co-authored-by: Alexander Richardson <[email protected]> Signed-off-by: Tariq Kurd <[email protected]>
@tomaird @jamie-melling - I can't add you as reviewers but can you check this one? |
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.
This looks good to me now - but I'll wait a bit for other to comment on this before merging.
clarify confusing text Signed-off-by: Tariq Kurd <[email protected]>
If we start with the following perms set: Then apply the new rules:
So we only cleared ASR. This leaves us with So I think we possibly need a new rule to clear X in this case so we end up in quadrant 3, or remove C+LM+EL to stay in quadrant 1 as |
Good catch - |
One thing to consider is what happens if SL is cleared but is in a N/A state, we could just ignore it |
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.
Minor comment otherwise LGTM
I think I agree with Alex on Quads 3/4. The encoding was meant to align certain bits with SL (possibly inverted). |
Co-authored-by: Alexander Richardson <[email protected]> Signed-off-by: Tariq Kurd <[email protected]>
Co-authored-by: Alexander Richardson <[email protected]> Signed-off-by: Tariq Kurd <[email protected]>
Co-authored-by: Alexander Richardson <[email protected]> Signed-off-by: Tariq Kurd <[email protected]>
Co-authored-by: Alexander Richardson <[email protected]> Signed-off-by: Tariq Kurd <[email protected]>
…-7 value of SL to match the rules
fixes #426
fixes #428