Re: [PATCH v4 5/9] rust: security: add abstraction for secctx

From: Martin Rodriguez Reboredo
Date: Wed Feb 07 2024 - 19:36:35 EST


On 2/2/24 07:55, Alice Ryhl wrote:
Adds an abstraction for viewing the string representation of a security
context.

This is needed by Rust Binder because it has feature where a process can
view the string representation of the security context for incoming
transactions. The process can use that to authenticate incoming
transactions, and since the feature is provided by the kernel, the
process can trust that the security context is legitimate.

Reviewed-by: Benno Lossin <benno.lossin@xxxxxxxxx>
Signed-off-by: Alice Ryhl <aliceryhl@xxxxxxxxxx>
---
[...]

Reviewed-by: Martin Rodriguez Reboredo <yakoyoku@xxxxxxxxx>