Current and reliable documentation for kmod

General support questions
chemal
Posts: 776
Joined: 2013/12/08 19:44:49

Re: Current and reliable documentation for kmod

Post by chemal » 2019/01/18 16:42:00

afalanga wrote:
2019/01/18 15:33:41
From what Trevor says, it would seem that Red Hat isn't always able to keep this policy.
I'm not aware of any kABI breakage by RH. (But all kmods I've ever used also refer to some non-whitelisted symbols.)
it should be expected that a kmod built on 7.3 may fail to install, and even rebuild, in 7.5?
If your module uses only symbols from the whitelist, it is expected (actually guaranteed by RH) that a kmod built for 7.3 will install and work on 7.4 and later.

For symbols not whitelisted there are two possibilities: 1) the API is still the same, so you simply rebuild your kmod. 2) The API changed too. Your kmod doesn't compile with the new kernel or you get serious warnings. You have to adapt your code.

Post Reply