[lxc-devel] [lxc/lxc] bc80f0: conf: non-functional changes

GitHub noreply at github.com
Thu Jun 1 22:29:57 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: bc80f0980b1d5077131cedebfe45698d6f0bc5af
      https://github.com/lxc/lxc/commit/bc80f0980b1d5077131cedebfe45698d6f0bc5af
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: non-functional changes

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


  Commit: 290531805eda28296a1e59f9328952f5335cad55
      https://github.com/lxc/lxc/commit/290531805eda28296a1e59f9328952f5335cad55
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: improve write_id_mapping()

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


  Commit: ea3a694fe1a64b3da0e20ff656e7389b3b568974
      https://github.com/lxc/lxc/commit/ea3a694fe1a64b3da0e20ff656e7389b3b568974
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

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

  Log Message:
  -----------
  utils: add run_command

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


  Commit: 986ef93023ba797a658a57bc9350250d9ebdecb7
      https://github.com/lxc/lxc/commit/986ef93023ba797a658a57bc9350250d9ebdecb7
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: rework lxc_map_ids()

Especially, in case the new{g,u}idmap is used we should try to gather
std{err,out} on error to better debug what is going on.

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


  Commit: 99d43365370351bf0fbb1ae183500d823988175a
      https://github.com/lxc/lxc/commit/99d43365370351bf0fbb1ae183500d823988175a
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: allow writing uid mappings with euid != 0

In case unprivileged users run containers via execute() or a start*() there are
valid cases where they may only want to map their own {g,u}id. Let's not block
them from doing so by requiring geteuid() == 0.

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


  Commit: f4f52cb53c943688eef19ec3b9cb91a8e086cf2f
      https://github.com/lxc/lxc/commit/f4f52cb53c943688eef19ec3b9cb91a8e086cf2f
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-05-30 (Tue, 30 May 2017)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: use run_command for lxc-usernsexec

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


  Commit: a9849a06852d0d89e772e5386017fcba0a174711
      https://github.com/lxc/lxc/commit/a9849a06852d0d89e772e5386017fcba0a174711
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2017-06-01 (Thu, 01 Jun 2017)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/utils.c
    M src/lxc/utils.h

  Log Message:
  -----------
  Merge pull request #1592 from brauner/2017-05-28/idmap_handling

idmap improvements


Compare: https://github.com/lxc/lxc/compare/ca3592eb15de...a9849a06852d


More information about the lxc-devel mailing list