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

Move from_read() and from_write() into AccessFs #66

Merged
merged 1 commit into from
May 31, 2024

Conversation

l0kod
Copy link
Member

@l0kod l0kod commented May 31, 2024

The from_read() and from_write() methods make sense for AccessFs but not for the upcomming AccessNet: #55

This is a breaking change because the Access trait's signature is modified. In practice, it should not be an issue for most users. Only those implementing helpers explicitly using Access::from_read() or Access::from_write() should be concerned. In this case, they should just use AccessFs instead.

The from_read() and from_write() methods make sense for AccessFs but not
for the upcoming AccessNet.

This is a breaking change because the Access trait's signature is
modified.  In practice, it should not be an issue for most users.  Only
those implementing helpers explicitly using Access::from_read() or
Access::from_write() should be concerned.  In this case, they should
just use AccessFs instead.

Fix a typo in the from_all() comment.

Signed-off-by: Mickaël Salaün <[email protected]>
@l0kod l0kod merged commit 68f066e into landlock-lsm:main May 31, 2024
5 checks passed
@l0kod l0kod deleted the access-from branch May 31, 2024 16:04
@l0kod l0kod mentioned this pull request Jun 19, 2024
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