Newer
Older
linux_kernel_hacking / 2_MemoryLoading / 2.0_no_arguments / stub.c
@Harvey Phillips Harvey Phillips on 12 Jun 2020 176 bytes dynamically inject an LKM
int main(void)
{
	int result;

	result = init_module(example_ko, example_ko_len, args);

	if( result != 0 )
	{
		printf("Error: %d\n", result);
		return(-1);
	}

	return(0);
}