]> git.ipfire.org Git - thirdparty/lxc.git/commit
terminal: don't use ttyname_r() for native terminal allocation
authorChristian Brauner <christian.brauner@ubuntu.com>
Thu, 29 Jul 2021 13:46:17 +0000 (15:46 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Mon, 2 Aug 2021 12:45:04 +0000 (14:45 +0200)
commitd413c48628951d735e288e574971a0376e086a4c
treeacf3da6bf11b91003111dcca6cba0adb4f5220c0
parent011d6eaaaa2aaebe0c3d162d4cc69aa780447e17
terminal: don't use ttyname_r() for native terminal allocation

Since we can call that function from another mount namespace we need to
do this manually.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/terminal.c