Re: [PATCH][V2] selftests/ftrace: check for do_sys_openat2 in user-memory test

From: Shuah Khan
Date: Tue Oct 27 2020 - 15:22:21 EST


On 10/8/20 2:48 PM, Steven Rostedt wrote:
On Fri, 2 Oct 2020 14:25:01 +0100
Colin King <colin.king@xxxxxxxxxxxxx> wrote:

From: Colin Ian King <colin.king@xxxxxxxxxxxxx>

More recent libc implementations are now using openat/openat2 system
calls so also add do_sys_openat2 to the tracing so that the test
passes on these systems because do_sys_open may not be called.

Thanks to Masami Hiramatsu for the help on getting this fix to work
correctly.

Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
---


Acked-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

Shuah,

Care to take this through your tree?


Yes - Will include in my next fixes pull request.

thanks,
-- Shuah