Repository: mesos Updated Branches: refs/heads/master c13644984 -> 3218f4cb5
Added a TODO in HealthChecker regarding use of custom clone function. Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/3218f4cb Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/3218f4cb Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/3218f4cb Branch: refs/heads/master Commit: 3218f4cb56b4356485607424638a6fc0e2bb33b6 Parents: c136449 Author: Alexander Rukletsov <al...@apache.org> Authored: Fri Sep 23 13:55:30 2016 +0200 Committer: Alexander Rukletsov <al...@apache.org> Committed: Fri Sep 23 13:55:30 2016 +0200 ---------------------------------------------------------------------- src/health-check/health_checker.cpp | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/3218f4cb/src/health-check/health_checker.cpp ---------------------------------------------------------------------- diff --git a/src/health-check/health_checker.cpp b/src/health-check/health_checker.cpp index 758cbb3..736725c 100644 --- a/src/health-check/health_checker.cpp +++ b/src/health-check/health_checker.cpp @@ -78,6 +78,8 @@ static const string DEFAULT_DOMAIN = "127.0.0.1"; #ifdef __linux__ +// TODO(alexr): Instead of defining this ad-hoc clone function, provide a +// general solution for entring namespace in child processes, see MESOS-6184. pid_t cloneWithSetns( const lambda::function<int()>& func, Option<pid_t> taskPid,