| 1 |
title: Disable ptrace from Hierarchies of Processes |
| 2 |
name: noptrace.stp |
| 3 |
keywords: process security guru |
| 4 |
subsystem: process |
| 5 |
description: Blocks ptrace(2) attempts from processes identified by stap -c/-x, as also specifiable from /proc/systemtap/stap_XXX/ control files. Processes may be added or removed from the blocked list. |
| 6 |
test_support: test -e /etc/redhat-release && grep -v "Nahant" /etc/redhat-release |
| 7 |
test_check: stap -gp4 noptrace.stp -x $$ |
| 8 |
test_installcheck: stap -g noptrace.stp -c 'strace ls || true' |