Build a linux module without source code

后端 未结 3 1704
一生所求
一生所求 2021-01-25 20:28

I just wonder, whether it is possible to build/ to insert a module without the source code. Say I have downloaded an openSuse operating system, and the kernel source code did no

3条回答
  •  情话喂你
    2021-01-25 20:40

    To build a module you need the kernel headers not the entire source code. NVidia rebuilds it's kernel module this way, so this would be one way of how the industry has solved the problem. Linux is not very friendly to binary only modules and in fact the kernel developers used to routinely change ABIs and structures to break binary only modules.

提交回复
热议问题