[lxc-devel] [lxc/lxc] b46771: tree-wide: s/sigprocmask/pthread_sigmask()/g

GitHub noreply at github.com
Thu May 24 20:54:07 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: b467714b33c6c132b38cbeb37c4f0d0b90d9f8f7
      https://github.com/lxc/lxc/commit/b467714b33c6c132b38cbeb37c4f0d0b90d9f8f7
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-05-24 (Thu, 24 May 2018)

  Changed paths:
    M src/lxc/cmd/lxc_init.c
    M src/lxc/cmd/lxc_monitord.c
    M src/lxc/start.c
    M src/lxc/terminal.c
    M src/lxc/utils.c

  Log Message:
  -----------
  tree-wide: s/sigprocmask/pthread_sigmask()/g

The behavior of sigprocmask() is unspecified in multi-threaded programs. Let's
use pthread_sigmask() instead.

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


  Commit: eabf1ea9cd66d99470214cd01486b7a56519d695
      https://github.com/lxc/lxc/commit/eabf1ea9cd66d99470214cd01486b7a56519d695
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-05-24 (Thu, 24 May 2018)

  Changed paths:
    M src/lxc/lxccontainer.c
    M src/lxc/utils.c

  Log Message:
  -----------
  utils: fix task_blocking_signal()

sscanf() skips whitespace anyway so don't account for tabs in case the file
layout changes.

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


  Commit: a055735adb6fd97738782b178809a5e8619f3203
      https://github.com/lxc/lxc/commit/a055735adb6fd97738782b178809a5e8619f3203
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2018-05-24 (Thu, 24 May 2018)

  Changed paths:
    M src/lxc/cmd/lxc_init.c
    M src/lxc/cmd/lxc_monitord.c
    M src/lxc/lxccontainer.c
    M src/lxc/start.c
    M src/lxc/terminal.c
    M src/lxc/utils.c

  Log Message:
  -----------
  Merge pull request #2348 from brauner/2018-05-24/pthread_sigmask

tree-wide: s/sigprocmask/pthread_sigmask()/g


Compare: https://github.com/lxc/lxc/compare/73b5b70eb7f0...a055735adb6f
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the lxc-devel mailing list