summaryrefslogtreecommitdiff
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorMasami Hiramatsu (Google) <mhiramat@kernel.org>2024-09-04 18:30:21 +0300
committerShuah Khan <skhan@linuxfoundation.org>2024-09-05 00:08:18 +0300
commitf0a6ecebd858658df213d114b0530f8f0b96e396 (patch)
treeffccd7fc8762626303ff330665349eb1ae77a9c9 /rust/helpers/task.c
parentb4bcdff7e839237d89a2aa15b6042b96b0240ac4 (diff)
downloadlinux-f0a6ecebd858658df213d114b0530f8f0b96e396.tar.xz
selftests/ftrace: Fix eventfs ownership testcase to find mount point
Fix eventfs ownership testcase to find mount point if stat -c "%m" failed. This can happen on the system based on busybox. In this case, this will try to use the current working directory, which should be a tracefs top directory (and eventfs is mounted as a part of tracefs.) If it does not work, the test is skipped as UNRESOLVED because of the environmental problem. Fixes: ee9793be08b1 ("tracing/selftests: Add ownership modification tests for eventfs") Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org> Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions