Re: [PATCH v2 4/4] selftests/clone3: Avoid OS-defined clone_args

2020-09-21 Thread Christian Brauner
On Sat, Sep 19, 2020 at 01:06:37AM -0700, Kees Cook wrote: > As the UAPI headers start to appear in distros, we need to avoid outdated > versions of struct clone_args to be able to test modern features; > rename to "struct __clone_args". Additionally update the struct size > macro names to match UA

[PATCH v2 4/4] selftests/clone3: Avoid OS-defined clone_args

2020-09-19 Thread Kees Cook
As the UAPI headers start to appear in distros, we need to avoid outdated versions of struct clone_args to be able to test modern features; rename to "struct __clone_args". Additionally update the struct size macro names to match UAPI names. Signed-off-by: Kees Cook --- tools/testing/selftests/c