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

passthrough: add ability to disallow operations that could change fil… #88

Merged
merged 1 commit into from
Sep 9, 2022

Conversation

eryugey
Copy link
Contributor

@eryugey eryugey commented Aug 10, 2022

…e size

Introduce 'seal_size' flag prohibits operations which will change file
size or allocate file block exceed file size.

Signed-off-by: shayan.sy [email protected]
Signed-off-by: Eryu Guan [email protected]

@bergwolf
Copy link
Contributor

Same here. Maybe you need to rebase the PR?

…e size

Introduce 'seal_size' flag prohibits operations which will change file
size or allocate file block exceed file size.

This assumes the fuse server side is trustable, and client side is not
trusted and not allowed to change file size. For example, in virtiofs
case, we trust the host side and don't trust guest side.

Signed-off-by: shayan.sy <[email protected]>
Signed-off-by: Eryu Guan <[email protected]>
@eryugey
Copy link
Contributor Author

eryugey commented Sep 1, 2022

Same here. Maybe you need to rebase the PR?

Rebase done!

@jiangliu jiangliu merged commit 240dbd9 into cloud-hypervisor:master Sep 9, 2022
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.

3 participants