spawn_kernel_with_selinux_and_run

Function spawn_kernel_with_selinux_and_run 

Source
pub async fn spawn_kernel_with_selinux_and_run<F, R>(callback: F) -> R
where F: AsyncFnOnce(&mut Locked<Unlocked>, &mut CurrentTask, &Arc<SecurityServer>) -> R + Send + Sync + 'static, R: Send + Sync + 'static,
Expand description

Variant of spawn_kernel_and_run() that configures the kernel with SELinux enabled. The supplied callback is invoked with an additional argument providing test access to the SELinux security-server.