[lxc-devel] [lxc/lxc] 03f064: wait_on_damonized-start: wait only on the pid we w...

GitHub noreply at github.com
Fri Nov 8 19:31:22 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 03f064ff7447816c89fff24de9b0a5076614dfd3
      https://github.com/lxc/lxc/commit/03f064ff7447816c89fff24de9b0a5076614dfd3
  Author: Serge Hallyn <serge.hallyn at ubuntu.com>
  Date:   2013-11-08 (Fri, 08 Nov 2013)

  Changed paths:
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  wait_on_damonized-start: wait only on the pid we want

Otherwise we can reap another thread's forked pid.

Changelog: Per Dwight's suggestion, use pid_t for argument.

Signed-off-by: Serge Hallyn <serge.hallyn at ubuntu.com>
Acked-by: Dwight Engen <dwight.engen at oracle.com>
Acked-by: S.Çağlar Onur <caglar at 10ur.org>





More information about the lxc-devel mailing list