![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /opt/rh/gcc-toolset-11/root/usr/share/systemtap/examples/general/ |
title: Bad Filename Filter name: badname.stp version: 1.0 keywords: filesystem guru 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"