[lxc-devel] [lxc/lxc] 6a49f0: conf: copy mountinfo for remount_all_slave()

GitHub noreply at github.com
Mon Jun 4 14:36:45 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 6a49f05eb8184827bef4ae4cb5d8ae7ba83496a0
      https://github.com/lxc/lxc/commit/6a49f05eb8184827bef4ae4cb5d8ae7ba83496a0
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-06-04 (Mon, 04 Jun 2018)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  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 at samsung.com
Reported-by: Donghwa Jeong dh48.jeong at samsung.com
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 2095b6d83acbb61bfd3c4a33dd88a6532148a23b
      https://github.com/lxc/lxc/commit/2095b6d83acbb61bfd3c4a33dd88a6532148a23b
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2018-06-04 (Mon, 04 Jun 2018)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  Merge pull request #2374 from brauner/2018-06-04/fix_remount_all_slave

conf: copy mountinfo for remount_all_slave()


Compare: https://github.com/lxc/lxc/compare/fe96566a4b21...2095b6d83acb
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the lxc-devel mailing list