Linux kernel API changes/additions

2020-03-03 06:21发布

问题:

I'm not sure if this is the right place to ask this, but I'm trying to find a webpage or docs or XYZ that will allow me to see all the API changes/additions/removals between two kernel versions.

I found http://kernelnewbies.org/LinuxChanges , but I'm not sure it lists everything as I know that Netlink API changed somewhere between 3.5 and 3.6 but it doesn't appear on that page.

Regards

回答1:

See kernel API/ABI tracker here: http://abi-laboratory.pro/tracker/timeline/linux/

The analysis was done by the abi-compliance-checker and abi-dumper tools.

Analysis reports show added/removed symbols, detailed changes in parameters and data types in the vmlinux binary and basic modules. I maintain this page, so feel free to ask me to check any particular kernel versions.



回答2:

There is no concentrated effort to collect the details of all API changes.

The LinuxChanges page lists the following change:

packet: nlmon: virtual netlink monitoring device for packet sockets (commit)

LWN.net has overviews for all import changes in a merge window:
3.6 merge window part 1
3.6 merge window part 2
The conclusion of the 3.6 merge window

For 3.6, it has:

  • The NLMSG_NEW() and NLMSG_PUT() macros have been removed from the netlink interface.