[lxc-devel] [lxc/lxc] 3e7d1b: lxc/log: Adds error_log_errno macro

Christian Brauner noreply at github.com
Thu Jul 11 12:41:03 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 3e7d1bd171de081d4dbcc944993d7ad068ce9647
      https://github.com/lxc/lxc/commit/3e7d1bd171de081d4dbcc944993d7ad068ce9647
  Author: Thomas Parrott <thomas.parrott at canonical.com>
  Date:   2019-07-11 (Thu, 11 Jul 2019)

  Changed paths:
    M src/lxc/log.h

  Log Message:
  -----------
  lxc/log: Adds error_log_errno macro

Suggested usage:

	return error_log_errno(err, "Failed: %s", "some error");

It sets errno to the value of err, then calls SYSERROR with the format and remaining args.

It always returns -1.

Suggested-by: Christian Brauner <christian.brauner at ubuntu.com>
Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>


  Commit: 3f0ed090d62b491eff45fc0dcf7d33a053589ded
      https://github.com/lxc/lxc/commit/3f0ed090d62b491eff45fc0dcf7d33a053589ded
  Author: Thomas Parrott <thomas.parrott at canonical.com>
  Date:   2019-07-11 (Thu, 11 Jul 2019)

  Changed paths:
    M src/lxc/confile.c
    M src/lxc/confile_utils.c
    M src/lxc/confile_utils.h
    M src/lxc/macro.h
    M src/lxc/network.h

  Log Message:
  -----------
  network: Adds mode param (bridge, router) to veth network setting

Defaulting to bridge mode.

Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>


  Commit: 6dfa9581aff00cc949b75a94760ad1503ba9d626
      https://github.com/lxc/lxc/commit/6dfa9581aff00cc949b75a94760ad1503ba9d626
  Author: Thomas Parrott <thomas.parrott at canonical.com>
  Date:   2019-07-11 (Thu, 11 Jul 2019)

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

  Log Message:
  -----------
  network: Adds veth router mode static routes and proxy entries

Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>


  Commit: 3e5c2e691bc3993800a37591512ba3e0e88f1fd5
      https://github.com/lxc/lxc/commit/3e5c2e691bc3993800a37591512ba3e0e88f1fd5
  Author: tomponline <tomp at tomp.uk>
  Date:   2019-07-11 (Thu, 11 Jul 2019)

  Changed paths:
    M doc/api-extensions.md
    M doc/lxc.container.conf.sgml.in
    M src/lxc/api_extensions.h

  Log Message:
  -----------
  doc: Documents the lxc.net.[i].veth.mode option

Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>


  Commit: 8b4aaf8b53f25e1338e5ccfbc5fdba6293189182
      https://github.com/lxc/lxc/commit/8b4aaf8b53f25e1338e5ccfbc5fdba6293189182
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-07-11 (Thu, 11 Jul 2019)

  Changed paths:
    M doc/api-extensions.md
    M doc/lxc.container.conf.sgml.in
    M src/lxc/api_extensions.h
    M src/lxc/confile.c
    M src/lxc/confile_utils.c
    M src/lxc/confile_utils.h
    M src/lxc/log.h
    M src/lxc/macro.h
    M src/lxc/network.c
    M src/lxc/network.h

  Log Message:
  -----------
  Merge pull request #2921 from tomponline/tp-2019-03-26/routedveth

Adds veth router mode


Compare: https://github.com/lxc/lxc/compare/bc554fdff9ae...8b4aaf8b53f2


More information about the lxc-devel mailing list