Skip to content

rust: add support for calling some security functions. - #411

Merged
ojeda merged 1 commit into
Rust-for-Linux:rustfrom
wedsonaf:lsms
Jul 2, 2021
Merged

rust: add support for calling some security functions.#411
ojeda merged 1 commit into
Rust-for-Linux:rustfrom
wedsonaf:lsms

Conversation

@wedsonaf

Copy link
Copy Markdown

This allows drivers to call functions in security modules that take
objects for which we have abstractions (e.g., files and tasks) as
arguments.

Based on #410.

Signed-off-by: Wedson Almeida Filho wedsonaf@google.com

@ksquirrel

This comment has been minimized.

@wedsonaf
wedsonaf marked this pull request as draft July 1, 2021 22:03
@bjorn3

Copy link
Copy Markdown
Member

Looks like I was a bit too eager to approve. The rust side changes LGTM, but as the CI shows this still needs the C side to be implemented.

@wedsonaf

Copy link
Copy Markdown
Author

Looks like I was a bit too eager to approve. The rust side changes LGTM, but as the CI shows this still needs the C side to be implemented.

It looks like some architectures don't define the C functions. I'll update this PR to include C helpers.

This allows drivers to call functions in security modules that take
objects for which we have abstractions (e.g., files and tasks) as
arguments.
Signed-off-by: Wedson Almeida Filho <wedsonaf@google.com>
@ksquirrel

Copy link
Copy Markdown
Member

Review of 99cedeb11151:

@wedsonaf
wedsonaf marked this pull request as ready for review July 2, 2021 18:13
@ojeda
ojeda merged commit dcf2391 into Rust-for-Linux:rustJul 2, 2021
@wedsonaf
wedsonaf deleted the lsms branch July 2, 2021 18:58
Sign up for freeto 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.

4 participants

@wedsonaf@ksquirrel@bjorn3@ojeda