diff options
author | sunliming <sunliming@kylinos.cn> | 2023-06-26 13:13:44 +0200 |
---|---|---|
committer | Steven Rostedt (Google) <rostedt@goodmis.org> | 2023-06-28 17:01:35 +0200 |
commit | d34a271accf8fad00e05aad2cecb9fb53a840a94 (patch) | |
tree | 613c36d7fcace7820affc84e9885612b45f68e0a /kernel | |
parent | selftests/user_events: Enable the event before write_fault test in ftrace sel... (diff) | |
download | linux-d34a271accf8fad00e05aad2cecb9fb53a840a94.tar.xz linux-d34a271accf8fad00e05aad2cecb9fb53a840a94.zip |
selftests/user_events: Add test cases when event is disabled
When user_events are disabled, it's write operation should return -EBADF.
Add this test cases.
Link: https://lkml.kernel.org/r/20230626111344.19136-4-sunliming@kylinos.cn
Acked-by: Beau Belgrave <beaub@linux.microsoft.com>
Signed-off-by: sunliming <sunliming@kylinos.cn>
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions