]> 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>
Wed, 1 Jul 2015 17:40:27 +0000 (13:40 -0400)
commitbf1a48dd5325cbe011ada80d18304a7ba13a5498
tree056d5a1719bc1f6bc891c9ff250cd8282d71b59e
parent419239829fe09c06f405226d7320bd2516cf88cd
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