]> git.proxmox.com Git - mirror_lxc.git/commit
ringbuf: fix temporary file creation
authorChristian Brauner <christian.brauner@ubuntu.com>
Fri, 6 Apr 2018 08:54:41 +0000 (10:54 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Fri, 6 Apr 2018 08:54:41 +0000 (10:54 +0200)
commit709384a02e74f76d59dc6f2903aab1679e9b2839
treea5fb60bbd6f35ba913ea57de41c76862ad9f602e
parenta324e7eba0d954ab6f9dafad09efaa67f4aeaa9e
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@gmx.de>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/ringbuf.c