Skip to content

rust: add &File argument to open callback. #574

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

Merged
merged 1 commit into from
Nov 29, 2021

Conversation

wedsonaf
Copy link

This is for cases when drivers need to get information from File
during open, for example, the credentials. Such a need occurs is
Binder.

Signed-off-by: Wedson Almeida Filho [email protected]

Copy link
Member

@bjorn3 bjorn3 left a 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 fine.

This is for cases when drivers need to get information from `File`
during `open`, for example, the credentials. Such a need occurs is
Binder.

Signed-off-by: Wedson Almeida Filho <[email protected]>
@wedsonaf wedsonaf merged commit 9a15cd9 into Rust-for-Linux:rust Nov 29, 2021
@wedsonaf wedsonaf deleted the file-in-open branch November 29, 2021 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants