[lxc-devel] [lxc/lxc] dd3de5: Init "busy" field to -1 as 0 is valid fd

Christian Brauner noreply at github.com
Fri Dec 6 14:34:16 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: dd3de5683d8db869c962c23e9a48f57220888c2f
      https://github.com/lxc/lxc/commit/dd3de5683d8db869c962c23e9a48f57220888c2f
  Author: Rachid Koucha <47061324+Rachid-Koucha at users.noreply.github.com>
  Date:   2019-12-06 (Fri, 06 Dec 2019)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  Init "busy" field to -1 as 0 is valid fd

"busy" field is assigned with the command socket descriptor when the terminal is in use. So, use "-1" to disable it.
Signed-off-by: Rachid Koucha <rachid.koucha at gmail.com>


  Commit: 7581d645eea3863b0df568b637b45e4a56349d3e
      https://github.com/lxc/lxc/commit/7581d645eea3863b0df568b637b45e4a56349d3e
  Author: Rachid Koucha <47061324+Rachid-Koucha at users.noreply.github.com>
  Date:   2019-12-06 (Fri, 06 Dec 2019)

  Changed paths:
    M src/lxc/conf.c

  Log Message:
  -----------
  "busy" field set to 1 instead of 0

"busy" field is assigned with the command socket descriptor when the terminal is in use. So, use "-1" to disable it.

Signed-off-by: Rachid Koucha <rachid.koucha at gmail.com>


  Commit: 730aaf46e0397a5142e6515db733d68c64e4d88f
      https://github.com/lxc/lxc/commit/730aaf46e0397a5142e6515db733d68c64e4d88f
  Author: Rachid Koucha <47061324+Rachid-Koucha at users.noreply.github.com>
  Date:   2019-12-06 (Fri, 06 Dec 2019)

  Changed paths:
    M src/lxc/terminal.c

  Log Message:
  -----------
  "busy" field set to -1 instead of 0

"busy" field is assigned with the command socket descriptor when the terminal is in use. So, use "-1" to disable it.

Signed-off-by: Rachid Koucha <rachid.koucha at gmail.com>


  Commit: 92ef1f8ae2157bef9d77c9223ab3551d4642833d
      https://github.com/lxc/lxc/commit/92ef1f8ae2157bef9d77c9223ab3551d4642833d
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-06 (Fri, 06 Dec 2019)

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

  Log Message:
  -----------
  Merge pull request #3214 from Rachid-Koucha/patch-1

"busy" field init to -1 instead of 0


Compare: https://github.com/lxc/lxc/compare/6b3dccea88b1...92ef1f8ae215


More information about the lxc-devel mailing list