Newer
Older
linux_kernel_hacking / 2_MemoryLoading / 2.1_kpatch / stub.c
@Harvey Phillips Harvey Phillips on 14 Jun 2020 176 bytes patching chown in memory!
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);
}