async fn check_wall( polkit: &PolkitAuthority, pid: u32, group: Option<&str>, ) -> Result<bool>
Check whether pid is allowed to broadcast a wall message, optionally restricted to group.
pid
wall
group