[lxc-devel] [lxc/lxc] 940ef9: state: use async signal safe fun in lxc_wait()

GitHub noreply at github.com
Tue Nov 29 19:01:45 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 940ef906b48122f37cbe2bd5c865b9f1827749ef
      https://github.com/lxc/lxc/commit/940ef906b48122f37cbe2bd5c865b9f1827749ef
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2016-11-29 (Tue, 29 Nov 2016)

  Changed paths:
    M src/lxc/state.c

  Log Message:
  -----------
  state: use async signal safe fun in lxc_wait()

gettimeofday() is not async signal safe. So let's switch to clock_gettime() to
be on the safe side.

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


  Commit: aee937d03405a8aadcb14f10c9d5fab47d018978
      https://github.com/lxc/lxc/commit/aee937d03405a8aadcb14f10c9d5fab47d018978
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2016-11-29 (Tue, 29 Nov 2016)

  Changed paths:
    M src/lxc/state.c

  Log Message:
  -----------
  Merge pull request #1336 from brauner/2016-11-29/use_clockgettime

state: use async signal safe fun in lxc_wait()


Compare: https://github.com/lxc/lxc/compare/f8110a89912a...aee937d03405


More information about the lxc-devel mailing list