[apparmor] [patch] [4/9] Add support for dbus events in parse_event()
Seth Arnold
seth.arnold at canonical.com
Fri May 20 23:08:54 UTC 2016
On Sun, Dec 27, 2015 at 04:07:19PM +0100, Christian Boltz wrote:
> Hello,
>
> this patch adds the dbus-specific details to the event data returned by
> parse_event().
>
>
> [ 55-handle-dbus-events-in-parse_event.diff ]
Acked-by: Seth Arnold <seth.arnold at canonical.com>
Thanks
>
> === modified file ./utils/apparmor/logparser.py
> --- utils/apparmor/logparser.py 2015-12-21 00:13:57.211799567 +0100
> +++ utils/apparmor/logparser.py 2015-12-25 16:43:56.958718997 +0100
> @@ -142,6 +142,12 @@
> ev['peer'] = event.peer
> elif ev['operation'] and ev['operation'] == 'ptrace':
> ev['peer'] = event.peer
> + elif ev['operation'] and ev['operation'].startswith('dbus_'):
> + ev['peer_profile'] = event.peer_profile
> + ev['bus'] = event.dbus_bus
> + ev['path'] = event.dbus_path
> + ev['interface'] = event.dbus_interface
> + ev['member'] = event.dbus_member
>
> LibAppArmor.free_record(event)
>
>
> Regards,
>
> Christian Boltz
> --
> > Das ist uebrigens genau der "Trick" den reiserfs verwendet!
> ...ich dachte immer, der "Trick" von reiserfs sei:
> if ($stromausfall) rm /* -r
> [> David Haller und Ratti in fontlinge-devel]
Sadly enough I've seen this even without stromausfall first :)
Thanks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/apparmor/attachments/20160520/58d1428d/attachment.pgp>
More information about the AppArmor
mailing list