lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 10 Feb 2021 21:09:39 -0500
From:   Steven Rostedt <>
Cc:     Ingo Molnar <>,
        Andrew Morton <>,
        Tom Zanussi <>
Subject: [for-next][PATCH 12/12] selftests/ftrace: Add !event synthetic event syntax check

From: Tom Zanussi <>

Add a check confirming that '!event' alone will remove a synthetic


Signed-off-by: Tom Zanussi <>
Signed-off-by: Steven Rostedt (VMware) <>
 .../trigger/inter-event/     | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/testing/selftests/ftrace/test.d/trigger/inter-event/ b/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
index 59216f3cfb12..2968cdc7df30 100644
--- a/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
+++ b/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
@@ -32,6 +32,10 @@ grep "myevent[[:space:]]u64 var1" synthetic_events
 # it is not possible to add same name event
 ! echo "myevent u64 var2" >> synthetic_events
+# make sure !synthetic event doesn't require a field
+echo "!myevent" >> synthetic_events
+echo "myevent u64 var1" >> synthetic_events
 # Non-append open will cleanup all events and add new one
 echo "myevent u64 var2" > synthetic_events

Powered by blists - more mailing lists