EXAMPLES/general/badname.meta
raw| 1 | title: Bad Filename Filter |
| 2 | name: badname.stp |
| 3 | version: 1.0 |
| 4 | keywords: filesystem guru |
| 5 | author: Josh Stone |
| 6 | subsystem: filesystem |
| 7 | status: experimental |
| 8 | exit: user-controlled |
| 9 | output: none |
| 10 | scope: system-wide |
| 11 | description: The badname.stp script shows how one could prevent the creation of files with undesirable names using guru mode. |
| 12 | test_check: stap -g -p4 badname.stp |
| 13 | test_installcheck: stap -g badname.stp -c "touch /tmp/myXXXbadnameXXXfile.$$ 2>&1 | grep denied" |