]> git.ipfire.org Git - thirdparty/lxc.git/commit
conf: copy mountinfo for remount_all_slave() 2374/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 4 Jun 2018 10:49:05 +0000 (12:49 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 4 Jun 2018 11:15:16 +0000 (13:15 +0200)
commit6a49f05eb8184827bef4ae4cb5d8ae7ba83496a0
treebcbd9ed2ff20829dee40d9a6ca22c261b2f0ccd8
parent224d1fd25fafc1d1aba10d7767b778ce9fbeb6ee
conf: copy mountinfo for remount_all_slave()

While a container reads mountinfo from proc fs, the mountinfo can be changed by
the kernel anytime. This has caused critical issues on some devices.

Signed-off-by: Donghwa Jeong dh48.jeong@samsung.com
Reported-by: Donghwa Jeong dh48.jeong@samsung.com
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/conf.c