]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
conf: s/lxc_setup_devpts_parent/lxc_recv_devpts_from_child/g
authorChristian Brauner <christian.brauner@ubuntu.com>
Thu, 29 Jul 2021 09:00:51 +0000 (11:00 +0200)
committerChristian Brauner <christian.brauner@ubuntu.com>
Thu, 29 Jul 2021 13:41:00 +0000 (15:41 +0200)
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
src/lxc/conf.c

index d5f40f6fd580502b30cb4c143ba812434688ed24..c6c9397e215e3b370043e6e01edd5caef3c3eb02 100644 (file)
@@ -1645,7 +1645,7 @@ static const struct id_map *find_mapped_nsid_entry(const struct lxc_conf *conf,
        return retmap;
 }
 
-static int lxc_setup_devpts_parent(struct lxc_handler *handler)
+static int lxc_recv_devpts_from_child(struct lxc_handler *handler)
 {
        int ret;
 
@@ -4089,7 +4089,7 @@ int lxc_sync_fds_parent(struct lxc_handler *handler)
        if (ret < 0)
                return syserror_ret(ret, "Failed to receive seccomp notify fd from child");
 
-       ret = lxc_setup_devpts_parent(handler);
+       ret = lxc_recv_devpts_from_child(handler);
        if (ret < 0)
                return syserror_ret(ret, "Failed to receive devpts fd from child");