apparmor/parser/tst/simple_tests/ptrace/ok_19.sd
Steve Beattie 5cf1c6973d parser: add ptrace language tests
This patch adds a bunch of language parsing tests for ptrace rules.

Signed-off-by: Steve Beattie <steve@nxnw.org>
Acked-by: John Johansen <john.johansen@canonical.com>
2014-04-23 12:25:45 -07:00

15 lines
324 B
Text

#
#=Description ptrace peer w/perms rule
#=EXRESULT PASS
#
/usr/bin/foo {
ptrace read peer=/bin/sh,
ptrace write peer=/bin/true,
ptrace trace peer=/bin/false,
ptrace readby peer=/sbin/init,
ptrace tracedby peer=/usr/bin/gdb,
ptrace rw peer=/usr/bin/top,
ptrace (readby, tracedby) peer=/usr/bin/valgrind,
}