]> git.ipfire.org Git - thirdparty/lxc.git/commit
Fix ABI compatibility
authorStéphane Graber <stgraber@ubuntu.com>
Fri, 29 May 2015 15:39:25 +0000 (11:39 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 2 Jun 2015 23:04:20 +0000 (19:04 -0400)
commitd24095e46ad68ae5a770cbd23ac29dce22da3fd8
treefbfcedc0fc627b8a4c30596d329b5279aa715526
parent31a882ef3a5e35ae891d76adc0351bad0f2540f2
Fix ABI compatibility

Until we bump the SONAME to liblxc2, only symbol additions and struct
member additions are allowed.

Adding struct members in the middle of the struct breaks backward
compatibility.

This commit makes it clear when struct members were added and moves a
few members that were added in the middle of the 1.0 struct to the end
of it.

Note that unfortunately that means we're breaking backward compatibility
between LXC 1.1.0 and the state after this commit, given 1.1 is
reasonably new, this is the least damaging way of fixing the problem.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/lxccontainer.h