Sophie

Sophie

distrib > Fedora > 17 > i386 > by-pkgid > e2ec330d3ecf5110b4aa890342e53d96 > files > 790

systemtap-client-2.1-2.fc17.i686.rpm

title: Bad Filename Filter
name: badname.stp
version: 1.0
keywords: filesystem
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"