]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc.rootfs: support multiple lower layers
authorChristian Brauner <christianvanbrauner@gmail.com>
Wed, 20 Jan 2016 00:02:59 +0000 (01:02 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 28 Jan 2016 11:01:18 +0000 (12:01 +0100)
commit9208af160e931025c147f0945b7d7f959f777764
tree956c19821803f4d5378a4b40640faca8dd748b8e
parentf267d6668e3a95cb2247accb169cf1bc7f8ffcab
lxc.rootfs: support multiple lower layers

Do it in a safe way by using strstr() to check for the substring ":/" should
':' be part of a pathname. This should be a safer implementation than the one
originally suggested in #547.

Signed-off-by: Christian Brauner <christian.brauner@mailbox.org>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/bdev/lxcoverlay.c