Function selinux_sys::avc_get_initial_sid [−][src]
pub unsafe extern "C" fn avc_get_initial_sid(
name: *const c_char,
sid: *mut security_id_t
) -> c_int
avc_get_initial_sid - get SID for an initial kernel security identifier @name: input name of initial kernel security identifier @sid: pointer to a SID reference
Get the context for an initial kernel security identifier specified by @name using security_get_initial_context() and then call avc_context_to_sid() to get the corresponding SID.