Skip to main content

binder_get_context

Function binder_get_context 

Source
pub fn binder_get_context(
    current_task: &CurrentTask,
    source_creds: &Credentials,
) -> FsString
Expand description

Returns the serialized, NUL-terminated Security Context associated with the specified credentials, or an empty NUL-terminated string (b"\0") if SELinux is not active.