Function modinsert::try_load [] [src]

pub fn try_load(module: &CStr)

Try to load a host kernel module via the modprobe userspace helper.

This triggers a modprobe execution in the host namespace. Caller must have the CAP_SYS_MODULE capability in order to load a module. There is no way to know if the module has been properly loaded, as the kernel does not return such information.