[lxc-devel] [lxc/lxc] a324e7: conf: fix temporary file creation

GitHub noreply at github.com
Fri Apr 6 14:24:27 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: a324e7eba0d954ab6f9dafad09efaa67f4aeaa9e
      https://github.com/lxc/lxc/commit/a324e7eba0d954ab6f9dafad09efaa67f4aeaa9e
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-04-06 (Fri, 06 Apr 2018)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: fix temporary file creation

lxc_make_tmpfile() uses mkstemp() internally, and thus expects the
template to contain 'XXXXXX' and be writable.

Signed-off-by: Thomas Moschny <thomas.moschny at gmx.de>
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 709384a02e74f76d59dc6f2903aab1679e9b2839
      https://github.com/lxc/lxc/commit/709384a02e74f76d59dc6f2903aab1679e9b2839
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-04-06 (Fri, 06 Apr 2018)

  Changed paths:
    M src/lxc/ringbuf.c

  Log Message:
  -----------
  ringbuf: fix temporary file creation

lxc_make_tmpfile() uses mkstemp() internally, and thus expects the
template to contain 'XXXXXX' and be writable.

Signed-off-by: Thomas Moschny <thomas.moschny at gmx.de>
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 5eda487c1cd88ae6cb521b6f8a923b9e9f109fb9
      https://github.com/lxc/lxc/commit/5eda487c1cd88ae6cb521b6f8a923b9e9f109fb9
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-04-06 (Fri, 06 Apr 2018)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/ringbuf.c

  Log Message:
  -----------
  Merge pull request #2261 from brauner/2018-04-06/thmo_patch_1

Fix temp file creation


Compare: https://github.com/lxc/lxc/compare/83ffaa1d3909...5eda487c1cd8


More information about the lxc-devel mailing list