]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
console: they are really not necessary 2151/head
authorChristian Brauner <christian.brauner@ubuntu.com>
Sat, 10 Feb 2018 11:54:31 +0000 (12:54 +0100)
committerChristian Brauner <christian.brauner@ubuntu.com>
Sat, 10 Feb 2018 11:54:31 +0000 (12:54 +0100)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/console.c

index d613d79874defa6712ad3dcf906cd56144ebd95a..a16466ba3e2394dcc4c5692cd5e1d04a94724b0d 100644 (file)
@@ -398,10 +398,8 @@ static int lxc_console_peer_proxy_alloc(struct lxc_console *console, int sockfd)
        /* this is the proxy pty that will be given to the client, and that
         * the real pty master will send to / recv from
         */
-       process_lock();
        ret = openpty(&console->peerpty.master, &console->peerpty.slave,
                    console->peerpty.name, NULL, NULL);
-       process_unlock();
        if (ret) {
                SYSERROR("failed to create proxy pty");
                return -1;