[lxc-devel] [lxc/lxc] 74ed30: mount_utils: move mount_at() and mount_from_at() o...

Stéphane Graber noreply at github.com
Fri Feb 5 18:40:38 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 74ed30d721ccc569b4e09e67f97fa0a1b42fe2a8
      https://github.com/lxc/lxc/commit/74ed30d721ccc569b4e09e67f97fa0a1b42fe2a8
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M src/lxc/Makefile.am
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/mount_utils.c
    M src/lxc/mount_utils.h
    M src/lxc/utils.c
    M src/lxc/utils.h
    M src/tests/Makefile.am

  Log Message:
  -----------
  mount_utils: move mount_at() and mount_from_at() over from utils.{c,h}

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 1f3eb959656a5a461d3d51083bad5c03bf04f9f1
      https://github.com/lxc/lxc/commit/1f3eb959656a5a461d3d51083bad5c03bf04f9f1
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M src/lxc/mount_utils.c
    M src/lxc/mount_utils.h

  Log Message:
  -----------
  mount_utils: add extended helpers for new mount api

fs_prepare()
fs_set_property()
fs_attach()
fs_mount()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: bfbfeedfab1b939993be166cadf52ac941bbed64
      https://github.com/lxc/lxc/commit/bfbfeedfab1b939993be166cadf52ac941bbed64
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: switch mount_autodev() to new mount api

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 23a20dbea863fa4ac2c8b2a4972a5d94fb7247bc
      https://github.com/lxc/lxc/commit/23a20dbea863fa4ac2c8b2a4972a5d94fb7247bc
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroups: switch tmpfs mounting to new mount api

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: a099c5db1c1a3a3ce20b717a3d7269d3a55a18b3
      https://github.com/lxc/lxc/commit/a099c5db1c1a3a3ce20b717a3d7269d3a55a18b3
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroups: switch __cg_mount_direct() to use the new mount api

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: ca9055b47399a2040a5e1c2a8da591832380b168
      https://github.com/lxc/lxc/commit/ca9055b47399a2040a5e1c2a8da591832380b168
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M src/lxc/mount_utils.c
    M src/lxc/mount_utils.h

  Log Message:
  -----------
  mount_utils: kill mount_at()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 041d1e30545a5e21fc9631b09daa1ab817e6ff15
      https://github.com/lxc/lxc/commit/041d1e30545a5e21fc9631b09daa1ab817e6ff15
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M src/lxc/mount_utils.c
    M src/lxc/mount_utils.h

  Log Message:
  -----------
  mount_utils: add support for bind-mounts through the new mount api

fd_bind_mount()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: d2c885f199a8ca6bd0f8f1acbbb2671cac04624f
      https://github.com/lxc/lxc/commit/d2c885f199a8ca6bd0f8f1acbbb2671cac04624f
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: use fd_bind_mount() in lxc_fill_autodev()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 55a85f4a1145a4a89354db65fbf4f3ba358cbde8
      https://github.com/lxc/lxc/commit/55a85f4a1145a4a89354db65fbf4f3ba358cbde8
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M src/lxc/mount_utils.c
    M src/lxc/mount_utils.h

  Log Message:
  -----------
  mount_utils: kill mount_from_at()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 87545854f7b641034cc79f61a03e05641b736048
      https://github.com/lxc/lxc/commit/87545854f7b641034cc79f61a03e05641b736048
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M src/lxc/mount_utils.h

  Log Message:
  -----------
  mount_utils: detect new mount api support

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 635e7bac019140ca33bf9f6768e4b82268ebee17
      https://github.com/lxc/lxc/commit/635e7bac019140ca33bf9f6768e4b82268ebee17
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/conf.c

  Log Message:
  -----------
  tree-wide: make use of new_mount_api() where it makes sense

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 338c2abe8392cdaf07cfa1cb8252cf19106220be
      https://github.com/lxc/lxc/commit/338c2abe8392cdaf07cfa1cb8252cf19106220be
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M src/lxc/Makefile.am
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/conf.c
    M src/lxc/mount_utils.c
    M src/lxc/mount_utils.h
    M src/lxc/utils.c
    M src/lxc/utils.h
    M src/tests/Makefile.am

  Log Message:
  -----------
  Merge pull request #3659 from brauner/2021-02-05/fixes

mount: extend support for the new mount api


Compare: https://github.com/lxc/lxc/compare/b5daeddc5afc...338c2abe8392


More information about the lxc-devel mailing list