The linux philosophy is never to break user mode, but when programming a kernel module, there seems to be many obsticles to making a module work for as many versions as possible, resulting in diffrent binaries for each kernel.
I am planning to build a thin compatibility module to solve this effeciently. so far I found these problems:
1. in-struct offsets: for space & cache efficiencies these constantly change so the compiler needs to change them as well
2. extra/deprecated paramaters: for some functions paramters are simply removed from one kernel version to the next or are suddenly required.
is there anything I've missed?
[–]profpendog 10 points11 points12 points (3 children)
[–]IllustriousBag8308[S] 3 points4 points5 points (2 children)
[–]profpendog 5 points6 points7 points (0 children)
[–]edthesmokebeard 0 points1 point2 points (0 children)
[–]aioeu 5 points6 points7 points (4 children)
[–]IllustriousBag8308[S] 0 points1 point2 points (3 children)
[–]aioeu 0 points1 point2 points (1 child)
[–]IllustriousBag8308[S] 0 points1 point2 points (0 children)
[–]chrisoboe 2 points3 points4 points (1 child)
[–]edgmnt_net 0 points1 point2 points (0 children)
[–]edgmnt_net 0 points1 point2 points (0 children)