Function linux_personality::get_personality [] [src]

pub fn get_personality() -> Result<Personality, ()>

This function only gets the current persona.

Return value

On success returns the Previous persona is returned. On failure returns Err(()) if the kernel was unable to retrieve personality.