[CRIU] [PATCH] tests: remap_dead_pid[_root] -- Run in namespace only
Tycho Andersen
tycho.andersen at canonical.com
Fri Mar 25 14:21:41 PDT 2016
On Fri, Mar 25, 2016 at 11:51:35AM +0300, Cyrill Gorcunov wrote:
> These tests check for file descriptor being assigned
> to the pid which is freed already, so check them
> in PID namespace only, otherwise the kernel may
> give PID someone else and the check from
> commit c4cf5f0b7638a679be65b05bdb8269d34c2a4573
> might trigger and stop testing procedure.
>
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
Acked-by: Tycho Andersen <tycho.andersen at canonical.com>
> ---
> test/zdtm/static/remap_dead_pid.desc | 2 +-
> test/zdtm/static/remap_dead_pid_root.desc | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/test/zdtm/static/remap_dead_pid.desc b/test/zdtm/static/remap_dead_pid.desc
> index 63df42aa670a..59397060919d 100644
> --- a/test/zdtm/static/remap_dead_pid.desc
> +++ b/test/zdtm/static/remap_dead_pid.desc
> @@ -1 +1 @@
> -{'flavor': 'h'}
> +{'flavor': 'ns'}
> diff --git a/test/zdtm/static/remap_dead_pid_root.desc b/test/zdtm/static/remap_dead_pid_root.desc
> index 63df42aa670a..59397060919d 100644
> --- a/test/zdtm/static/remap_dead_pid_root.desc
> +++ b/test/zdtm/static/remap_dead_pid_root.desc
> @@ -1 +1 @@
> -{'flavor': 'h'}
> +{'flavor': 'ns'}
> --
> 2.5.5
>
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
More information about the CRIU
mailing list