mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-05 17:01:00 +01:00

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>
14 lines
213 B
Text
14 lines
213 B
Text
#
|
|
#=Description basic ptrace peer perms rule
|
|
#=EXRESULT PASS
|
|
#
|
|
|
|
@{SHELL}=/bin/bash
|
|
|
|
/usr/bin/foo {
|
|
ptrace peer=/bin/true,
|
|
ptrace peer=/sbin/init,
|
|
ptrace peer=@{SHELL},
|
|
ptrace peer=SOME_OTHER_PROFILE,
|
|
|
|
}
|