[lxc-devel] [lxc/lxc] 7a4c56: macro: remove duplicated define

GitHub noreply at github.com
Tue Aug 14 13:52:07 UTC 2018


  Branch: refs/heads/stable-3.0
  Home:   https://github.com/lxc/lxc
  Commit: 7a4c56feb405485efa2922531884012a21c43cba
      https://github.com/lxc/lxc/commit/7a4c56feb405485efa2922531884012a21c43cba
  Author: 2xsec <dh48.jeong at samsung.com>
  Date:   2018-08-14 (Tue, 14 Aug 2018)

  Changed paths:
    M src/lxc/macro.h

  Log Message:
  -----------
  macro: remove duplicated define

Signed-off-by: 2xsec <dh48.jeong at samsung.com>


  Commit: d3bcd794fd7eeedc5fba46d83213662731780401
      https://github.com/lxc/lxc/commit/d3bcd794fd7eeedc5fba46d83213662731780401
  Author: 2xsec <dh48.jeong at samsung.com>
  Date:   2018-08-14 (Tue, 14 Aug 2018)

  Changed paths:
    M src/lxc/log.c
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  fix thread safe issue(localtime => localtime_r)

Signed-off-by: 2xsec <dh48.jeong at samsung.com>


  Commit: 2fc67556a5ce186b79d20177db907d6ea163f3f5
      https://github.com/lxc/lxc/commit/2fc67556a5ce186b79d20177db907d6ea163f3f5
  Author: 2xsec <dh48.jeong at samsung.com>
  Date:   2018-08-14 (Tue, 14 Aug 2018)

  Changed paths:
    M src/lxc/pam/pam_cgfs.c

  Log Message:
  -----------
  coverity: #1438392

Dereference before null check

Signed-off-by: 2xsec <dh48.jeong at samsung.com>


  Commit: b0f8ec9b2bb7d35cffa447cc1b1d265939c62b6b
      https://github.com/lxc/lxc/commit/b0f8ec9b2bb7d35cffa447cc1b1d265939c62b6b
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-08-14 (Tue, 14 Aug 2018)

  Changed paths:
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  lxccontainer: fix F_OFD_GETLK checks

When we check whether an open file description lock has been taken on a file we
need to set the l_pid field to 0 otherwise the kernel will send back EINVAL.
Additionally, the kernel will not do pid translation and simply set the l_pid
value to -1.

Fixes https://discuss.linuxcontainers.org/t/container-deleted-or-stopped-when-lxc-ls-executed-concurrently/2439

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


Compare: https://github.com/lxc/lxc/compare/fcfb1b3e4ee7...b0f8ec9b2bb7
      **NOTE:** This service has 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