Sophie

Sophie

distrib > Fedora > 14 > x86_64 > media > updates > by-pkgid > 8e87fca2f49595adc16d9aa519a6edad > files > 17

systemtap-1.6-1.fc14.x86_64.rpm

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 using guru mode.
test_check: stap -g -p4 badname.stp
test_installcheck: stap -g badname.stp -c "touch /tmp/myXXXbadnameXXXfile.$$ 2>&1 | grep denied"