2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-22 10:07:12 +00:00

Add a test_multi testcase for dbus eavesdrop

The log line (with a different profile=...) was sitting around on my
disk since a year, so let's do something useful with it ;-)


Acked-by: Seth Arnold <seth.arnold@canonical.com>
This commit is contained in:
Christian Boltz 2016-11-02 21:56:43 +01:00
parent bb403893ac
commit 193bc28c15
4 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1 @@
Jul 31 17:10:35 dbusdev-saucy-amd64 dbus[1692]: apparmor="DENIED" operation="dbus_method_call" bus="session" name="org.freedesktop.DBus" path="/org/freedesktop/DBus" interface="org.freedesktop.DBus" member="Hello" mask="eavesdrop" pid=2922 profile="/usr/sbin/whatever" peer_profile="unconfined"

View File

@ -0,0 +1,13 @@
START
File: testcase_dbus_07.in
Event type: AA_RECORD_DENIED
Operation: dbus_method_call
Denied Mask: eavesdrop
Profile: /usr/sbin/whatever
Peer profile: unconfined
Name: org.freedesktop.DBus
PID: 2922
DBus bus: session
DBus path: /org/freedesktop/DBus
DBus interface: org.freedesktop.DBus
DBus member: Hello

View File

@ -0,0 +1,4 @@
/usr/sbin/whatever {
dbus eavesdrop bus=session,
}