[lxc-devel] [lxc/lxc] 5f2412: commands: cleanup error handling and variable naming

Stéphane Graber noreply at github.com
Fri Feb 26 03:12:23 UTC 2021


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

  Changed paths:
    M src/lxc/commands.c

  Log Message:
  -----------
  commands: cleanup error handling and variable naming

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


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

  Changed paths:
    M src/lxc/commands.c

  Log Message:
  -----------
  commands: rsp_one_fd_{reap,keep}() and rsp_many_fds_reap()

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


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

  Changed paths:
    M src/lxc/commands.c

  Log Message:
  -----------
  commands: fix indentation

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


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

  Changed paths:
    M src/lxc/commands.c

  Log Message:
  -----------
  commands: unify fd retrieval commands

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


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

  Changed paths:
    M src/lxc/af_unix.c
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup2_devices.c
    M src/lxc/commands.c
    M src/lxc/confile.c
    M src/lxc/log.h

  Log Message:
  -----------
  tree-wide: s/syerrno_set()/syserror_set()/g

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


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

  Changed paths:
    M src/lxc/af_unix.c
    M src/lxc/attach.c
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup2_devices.c
    M src/lxc/commands.c
    M src/lxc/conf.c
    M src/lxc/confile_utils.c

  Log Message:
  -----------
  tree-wide: start replacing instances of syserrno() with syserror()

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


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

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup2_devices.c
    M src/lxc/commands.c
    M src/lxc/log.h

  Log Message:
  -----------
  tree-wide: replace remaining instances of syserrno() with syserror_ret()

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


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

  Changed paths:
    M src/lxc/log.h

  Log Message:
  -----------
  log: mark logging helpers to use

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


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

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/commands.c
    M src/lxc/log.h

  Log Message:
  -----------
  tree-wide: use new logging helpers

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


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

  Changed paths:
    M src/lxc/commands.c
    M src/lxc/log.h

  Log Message:
  -----------
  tree-wide: replace old systrace logging helpers

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


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

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

  Log Message:
  -----------
  tree-wide: replace old-style sysinfo logging return helper

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


  Commit: 32d40452522df15bcdcb2a62f246cbfcd948f7f3
      https://github.com/lxc/lxc/commit/32d40452522df15bcdcb2a62f246cbfcd948f7f3
  Author: Stéphane Graber <stgraber at ubuntu.com>
  Date:   2021-02-25 (Thu, 25 Feb 2021)

  Changed paths:
    M src/lxc/af_unix.c
    M src/lxc/attach.c
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup2_devices.c
    M src/lxc/commands.c
    M src/lxc/conf.c
    M src/lxc/confile.c
    M src/lxc/confile_utils.c
    M src/lxc/log.h

  Log Message:
  -----------
  Merge pull request #3698 from brauner/2021-02-25/fixes

tree-wide: some more logging fixes


Compare: https://github.com/lxc/lxc/compare/cca31bf0ac6d...32d40452522d


More information about the lxc-devel mailing list