[lxc-devel] [lxc/lxc] 0c5d9c: conf: always send response to parent waiting for d...

Christian Brauner noreply at github.com
Wed Oct 21 20:52:23 UTC 2020


  Branch: refs/heads/stable-4.0
  Home:   https://github.com/lxc/lxc
  Commit: 0c5d9c4579a44ae73c637b04f1f5b716833b78a3
      https://github.com/lxc/lxc/commit/0c5d9c4579a44ae73c637b04f1f5b716833b78a3
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-10-21 (Wed, 21 Oct 2020)

  Changed paths:
    M src/lxc/conf.c
    M src/lxc/conf.h
    M src/lxc/start.c

  Log Message:
  -----------
  conf: always send response to parent waiting for devptfs_fd

When no devpts devices are requested we used to return early but did not send a
response to the parent. This is a problem because the parent will be waiting
for a devpts fd to be sent. Make sure to always send a response.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: fd40394adcc2e0ca9e9ebd2a10f3acc0122ddaa4
      https://github.com/lxc/lxc/commit/fd40394adcc2e0ca9e9ebd2a10f3acc0122ddaa4
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-10-21 (Wed, 21 Oct 2020)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  conf: account for early return when sending devpts fd

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/90a3b1da8177...fd40394adcc2


More information about the lxc-devel mailing list