diff options
author | Josh Stone <jistone@redhat.com> | 2009-09-16 15:52:17 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-09-16 15:52:17 -0700 |
commit | ac505f97f1e85d95c9fe2b0401a375c2c8cd1cb9 (patch) | |
tree | 2de027dca59eb1c2048ee4faf30b8bfc90a725f5 /testsuite/systemtap.examples/general/badname.meta | |
parent | 0fc4239f159fe56cf2637265797751427f08e09b (diff) | |
download | systemtap-steved-ac505f97f1e85d95c9fe2b0401a375c2c8cd1cb9.tar.gz systemtap-steved-ac505f97f1e85d95c9fe2b0401a375c2c8cd1cb9.tar.xz systemtap-steved-ac505f97f1e85d95c9fe2b0401a375c2c8cd1cb9.zip |
Add the badname.stp example
This is a toy script I wrote a while back to demonstrate how SystemTap
could be used to enforce filesystem naming rules.
Diffstat (limited to 'testsuite/systemtap.examples/general/badname.meta')
-rw-r--r-- | testsuite/systemtap.examples/general/badname.meta | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/systemtap.examples/general/badname.meta b/testsuite/systemtap.examples/general/badname.meta new file mode 100644 index 00000000..9b4e7390 --- /dev/null +++ b/testsuite/systemtap.examples/general/badname.meta @@ -0,0 +1,13 @@ +title: Bad Filename Filter +name: badname.stp +version: 1.0 +keywords: filesystem hack +author: Josh Stone +subsystem: filesystem +status: experimental +exit: user-controlled +output: none +scope: system-wide +description: The badname.stp script shows how one could prevent the creation of files with undesirable names. +test_check: stap -p4 badname.stp +test_installcheck: stap badname.stp -c "sleep 0.2" |