2014-10-18 15:47:32 +02:00
|
|
|
=== modified file 'profiles/apparmor.d/abstractions/X'
|
|
|
|
Index: profiles/apparmor.d/abstractions/X
|
|
|
|
===================================================================
|
- update to AppArmor 2.10.1 (2.10 branch r3326):
- fix incorrect output of child profile names (apparmor_parser -N) which
caused 'rcapparmor reload' to remove child profiles and hats (lp#1551950)
- fix a crash in aa-logprof / logparser.py for change_hat log events
(lp#1523297) and log events that look like file events, but aren't
(lp#1540562, lp#1525119, lp#1466812)
- write unix rules when saving a profile (lp#1522938, boo#954104#c3)
- several fixes for variable handling in aa-logprof
- map c (create) log events to w instead of a
- add python to the "no Px rule" list in logprof.conf
- let aa-logprof check for duplicate profiles
- let aa-status work without the apparmor.fail python module (boo#971917,
lp#1480492)
- add permissions in several profiles (including boo#948584, boo#948753,
boo#954959, boo#954958, boo#971790, boo#964971, boo#921098, boo#923201 and
boo#921098#c15).
- and many more fixes, see the full changelog at
http://wiki.apparmor.net/index.php/ReleaseNotes_2_10_1
- drop upstream(ed) patches:
- fix-initscript-aa_log_end_msg.diff
- syslog-ng-profile-boo948584.diff
- upstream-profile-updates-r3205-3241.diff
- refresh patches:
- apparmor-abstractions-no-multiline.diff
- apparmor-samba-include-permissions-for-shares.diff
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=147
2016-04-23 00:33:49 +02:00
|
|
|
--- profiles/apparmor.d/abstractions/X.orig 2016-04-22 22:35:12.416535187 +0200
|
|
|
|
+++ profiles/apparmor.d/abstractions/X 2016-04-22 22:35:46.556500929 +0200
|
2017-01-11 00:07:09 +01:00
|
|
|
@@ -25,12 +25,8 @@
|
2014-10-18 15:47:32 +02:00
|
|
|
|
|
|
|
# the unix socket to use to connect to the display
|
2017-01-11 00:07:09 +01:00
|
|
|
/tmp/.X11-unix/* rw,
|
2014-10-18 15:47:32 +02:00
|
|
|
- unix (connect, receive, send)
|
|
|
|
- type=stream
|
|
|
|
- peer=(addr="@/tmp/.X11-unix/X[0-9]*"),
|
- update to AppArmor 2.10.1 (2.10 branch r3326):
- fix incorrect output of child profile names (apparmor_parser -N) which
caused 'rcapparmor reload' to remove child profiles and hats (lp#1551950)
- fix a crash in aa-logprof / logparser.py for change_hat log events
(lp#1523297) and log events that look like file events, but aren't
(lp#1540562, lp#1525119, lp#1466812)
- write unix rules when saving a profile (lp#1522938, boo#954104#c3)
- several fixes for variable handling in aa-logprof
- map c (create) log events to w instead of a
- add python to the "no Px rule" list in logprof.conf
- let aa-logprof check for duplicate profiles
- let aa-status work without the apparmor.fail python module (boo#971917,
lp#1480492)
- add permissions in several profiles (including boo#948584, boo#948753,
boo#954959, boo#954958, boo#971790, boo#964971, boo#921098, boo#923201 and
boo#921098#c15).
- and many more fixes, see the full changelog at
http://wiki.apparmor.net/index.php/ReleaseNotes_2_10_1
- drop upstream(ed) patches:
- fix-initscript-aa_log_end_msg.diff
- syslog-ng-profile-boo948584.diff
- upstream-profile-updates-r3205-3241.diff
- refresh patches:
- apparmor-abstractions-no-multiline.diff
- apparmor-samba-include-permissions-for-shares.diff
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=147
2016-04-23 00:33:49 +02:00
|
|
|
- unix (connect, receive, send)
|
|
|
|
- type=stream
|
|
|
|
- peer=(addr="@/tmp/.ICE-unix/[0-9]*"),
|
2014-10-18 15:47:32 +02:00
|
|
|
+ unix (connect, receive, send) type=stream peer=(addr="@/tmp/.X11-unix/X[0-9]*"),
|
- update to AppArmor 2.10.1 (2.10 branch r3326):
- fix incorrect output of child profile names (apparmor_parser -N) which
caused 'rcapparmor reload' to remove child profiles and hats (lp#1551950)
- fix a crash in aa-logprof / logparser.py for change_hat log events
(lp#1523297) and log events that look like file events, but aren't
(lp#1540562, lp#1525119, lp#1466812)
- write unix rules when saving a profile (lp#1522938, boo#954104#c3)
- several fixes for variable handling in aa-logprof
- map c (create) log events to w instead of a
- add python to the "no Px rule" list in logprof.conf
- let aa-logprof check for duplicate profiles
- let aa-status work without the apparmor.fail python module (boo#971917,
lp#1480492)
- add permissions in several profiles (including boo#948584, boo#948753,
boo#954959, boo#954958, boo#971790, boo#964971, boo#921098, boo#923201 and
boo#921098#c15).
- and many more fixes, see the full changelog at
http://wiki.apparmor.net/index.php/ReleaseNotes_2_10_1
- drop upstream(ed) patches:
- fix-initscript-aa_log_end_msg.diff
- syslog-ng-profile-boo948584.diff
- upstream-profile-updates-r3205-3241.diff
- refresh patches:
- apparmor-abstractions-no-multiline.diff
- apparmor-samba-include-permissions-for-shares.diff
OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor?expand=0&rev=147
2016-04-23 00:33:49 +02:00
|
|
|
+ unix (connect, receive, send) type=stream peer=(addr="@/tmp/.ICE-unix/[0-9]*"),
|
2014-10-18 15:47:32 +02:00
|
|
|
|
|
|
|
/usr/include/X11/ r,
|
|
|
|
/usr/include/X11/** r,
|
|
|
|
Index: profiles/apparmor.d/abstractions/dbus-accessibility-strict
|
|
|
|
===================================================================
|
|
|
|
--- profiles/apparmor.d/abstractions/dbus-accessibility-strict.orig 2014-10-18 13:11:18.498652324 +0200
|
|
|
|
+++ profiles/apparmor.d/abstractions/dbus-accessibility-strict 2014-10-18 13:11:31.098494805 +0200
|
|
|
|
@@ -9,9 +9,4 @@
|
|
|
|
#
|
|
|
|
# ------------------------------------------------------------------
|
|
|
|
|
|
|
|
- dbus send
|
|
|
|
- bus=accessibility
|
|
|
|
- path=/org/freedesktop/DBus
|
|
|
|
- interface=org.freedesktop.DBus
|
|
|
|
- member={Hello,AddMatch,RemoveMatch,GetNameOwner,NameHasOwner,StartServiceByName}
|
|
|
|
- peer=(name=org.freedesktop.DBus),
|
|
|
|
+ dbus send bus=accessibility path=/org/freedesktop/DBus interface=org.freedesktop.DBus member={Hello,AddMatch,RemoveMatch,GetNameOwner,NameHasOwner,StartServiceByName} peer=(name=org.freedesktop.DBus),
|
|
|
|
Index: profiles/apparmor.d/abstractions/dbus-session-strict
|
|
|
|
===================================================================
|
2017-01-28 13:45:16 +01:00
|
|
|
--- profiles/apparmor.d/abstractions/dbus-session-strict.orig 2017-01-11 21:20:01.381935015 +0100
|
|
|
|
+++ profiles/apparmor.d/abstractions/dbus-session-strict 2017-01-11 21:20:07.641905170 +0100
|
|
|
|
@@ -14,16 +14,9 @@
|
2014-10-18 15:47:32 +02:00
|
|
|
/var/lib/dbus/machine-id r,
|
2017-01-28 13:45:16 +01:00
|
|
|
owner /run/user/*/bus rw,
|
2014-10-18 15:47:32 +02:00
|
|
|
|
|
|
|
- unix (connect, receive, send)
|
|
|
|
- type=stream
|
|
|
|
- peer=(addr="@/tmp/dbus-*"),
|
|
|
|
+ unix (connect, receive, send) type=stream peer=(addr="@/tmp/dbus-*"),
|
|
|
|
|
2016-08-27 00:07:45 +02:00
|
|
|
# dbus with systemd and --enable-user-session
|
|
|
|
owner /run/user/[0-9]*/bus rw,
|
|
|
|
|
2014-10-18 15:47:32 +02:00
|
|
|
- dbus send
|
|
|
|
- bus=session
|
|
|
|
- path=/org/freedesktop/DBus
|
|
|
|
- interface=org.freedesktop.DBus
|
|
|
|
- member={Hello,AddMatch,RemoveMatch,GetNameOwner,NameHasOwner,StartServiceByName}
|
|
|
|
- peer=(name=org.freedesktop.DBus),
|
|
|
|
+ dbus send bus=session path=/org/freedesktop/DBus interface=org.freedesktop.DBus member={Hello,AddMatch,RemoveMatch,GetNameOwner,NameHasOwner,StartServiceByName} peer=(name=org.freedesktop.DBus),
|
|
|
|
Index: profiles/apparmor.d/abstractions/dbus-strict
|
|
|
|
===================================================================
|
|
|
|
--- profiles/apparmor.d/abstractions/dbus-strict.orig 2014-10-18 13:11:18.498652324 +0200
|
|
|
|
+++ profiles/apparmor.d/abstractions/dbus-strict 2014-10-18 13:11:31.098494805 +0200
|
|
|
|
@@ -11,9 +11,4 @@
|
|
|
|
|
|
|
|
/{,var/}run/dbus/system_bus_socket rw,
|
|
|
|
|
|
|
|
- dbus send
|
|
|
|
- bus=system
|
|
|
|
- path=/org/freedesktop/DBus
|
|
|
|
- interface=org.freedesktop.DBus
|
|
|
|
- member={Hello,AddMatch,RemoveMatch,GetNameOwner,NameHasOwner,StartServiceByName}
|
|
|
|
- peer=(name=org.freedesktop.DBus),
|
|
|
|
+ dbus send bus=system path=/org/freedesktop/DBus interface=org.freedesktop.DBus member={Hello,AddMatch,RemoveMatch,GetNameOwner,NameHasOwner,StartServiceByName} peer=(name=org.freedesktop.DBus),
|
2017-01-28 13:45:16 +01:00
|
|
|
Index: profiles/apparmor.d/abstractions/fcitx-strict
|
2014-10-18 15:47:32 +02:00
|
|
|
===================================================================
|
2017-01-28 13:45:16 +01:00
|
|
|
--- profiles/apparmor.d/abstractions/fcitx-strict.orig 2017-01-11 21:44:55.726947350 +0100
|
|
|
|
+++ profiles/apparmor.d/abstractions/fcitx-strict 2017-01-11 21:45:02.830914856 +0100
|
|
|
|
@@ -11,11 +11,6 @@
|
2014-10-18 15:47:32 +02:00
|
|
|
|
2017-01-28 13:45:16 +01:00
|
|
|
#include <abstractions/dbus-session-strict>
|
2014-10-18 15:47:32 +02:00
|
|
|
|
2017-01-28 13:45:16 +01:00
|
|
|
- dbus send
|
|
|
|
- bus=fcitx
|
|
|
|
- path=/org/freedesktop/DBus
|
|
|
|
- interface=org.freedesktop.DBus
|
|
|
|
- member={Hello,AddMatch,RemoveMatch,GetNameOwner,NameHasOwner,StartServiceByName}
|
|
|
|
- peer=(name=org.freedesktop.DBus),
|
|
|
|
+ dbus send bus=fcitx path=/org/freedesktop/DBus interface=org.freedesktop.DBus member={Hello,AddMatch,RemoveMatch,GetNameOwner,NameHasOwner,StartServiceByName} peer=(name=org.freedesktop.DBus),
|
|
|
|
|
|
|
|
owner @{HOME}/.config/fcitx/dbus/* r,
|
|
|
|
Index: profiles/apparmor.d/abstractions/libpam-systemd
|
|
|
|
===================================================================
|
|
|
|
--- profiles/apparmor.d/abstractions/libpam-systemd.orig 2017-01-11 21:47:13.814315855 +0100
|
|
|
|
+++ profiles/apparmor.d/abstractions/libpam-systemd 2017-01-11 21:47:19.490289904 +0100
|
|
|
|
@@ -12,8 +12,4 @@
|
|
|
|
#include <abstractions/dbus-strict>
|
2014-10-18 15:47:32 +02:00
|
|
|
|
2017-01-28 13:45:16 +01:00
|
|
|
# libpam-systemd notifies systemd-logind about session logins/logouts
|
|
|
|
- dbus send
|
|
|
|
- bus=system
|
|
|
|
- path=/org/freedesktop/login1
|
|
|
|
- interface=org.freedesktop.login1.Manager
|
|
|
|
- member={CreateSession,ReleaseSession},
|
|
|
|
+ dbus send bus=system path=/org/freedesktop/login1 interface=org.freedesktop.login1.Manager member={CreateSession,ReleaseSession},
|
|
|
|
Index: profiles/apparmor.d/abstractions/ubuntu-unity7-base
|
|
|
|
===================================================================
|
|
|
|
--- profiles/apparmor.d/abstractions/ubuntu-unity7-base.orig 2017-01-11 21:20:07.641905170 +0100
|
|
|
|
+++ profiles/apparmor.d/abstractions/ubuntu-unity7-base 2017-01-11 21:20:52.197692834 +0100
|
|
|
|
@@ -21,78 +21,37 @@
|
2014-10-18 15:47:32 +02:00
|
|
|
#
|
|
|
|
# Access required for connecting to/communication with Unity HUD
|
|
|
|
#
|
|
|
|
- dbus (send)
|
|
|
|
- bus=session
|
|
|
|
- path="/com/canonical/hud",
|
|
|
|
- dbus (send)
|
|
|
|
- bus=session
|
|
|
|
- interface="com.canonical.hud.*",
|
|
|
|
- dbus (send)
|
|
|
|
- bus=session
|
|
|
|
- path="/com/canonical/hud/applications/*",
|
|
|
|
- dbus (receive)
|
|
|
|
- bus=session
|
|
|
|
- path="/com/canonical/hud",
|
|
|
|
- dbus (receive)
|
|
|
|
- bus=session
|
|
|
|
- interface="com.canonical.hud.*",
|
|
|
|
+ dbus (send) bus=session path="/com/canonical/hud",
|
|
|
|
+ dbus (send) bus=session interface="com.canonical.hud.*",
|
|
|
|
+ dbus (send) bus=session path="/com/canonical/hud/applications/*",
|
|
|
|
+ dbus (receive) bus=session path="/com/canonical/hud",
|
|
|
|
+ dbus (receive) bus=session interface="com.canonical.hud.*",
|
|
|
|
|
|
|
|
#
|
|
|
|
# Allow access for connecting to/communication with the appmenu
|
|
|
|
#
|
|
|
|
# dbusmenu
|
|
|
|
- dbus (send)
|
|
|
|
- bus=session
|
|
|
|
- interface="com.canonical.AppMenu.*",
|
|
|
|
- dbus (receive, send)
|
|
|
|
- bus=session
|
|
|
|
- path=/com/canonical/menu/**,
|
|
|
|
+ dbus (send) bus=session interface="com.canonical.AppMenu.*",
|
|
|
|
+ dbus (receive, send) bus=session path=/com/canonical/menu/**,
|
|
|
|
|
|
|
|
# gmenu
|
|
|
|
- dbus (receive, send)
|
|
|
|
- bus=session
|
|
|
|
- interface=org.gtk.Actions,
|
|
|
|
- dbus (receive, send)
|
|
|
|
- bus=session
|
|
|
|
- interface=org.gtk.Menus,
|
|
|
|
+ dbus (receive, send) bus=session interface=org.gtk.Actions,
|
|
|
|
+ dbus (receive, send) bus=session interface=org.gtk.Menus,
|
|
|
|
|
|
|
|
#
|
|
|
|
# Access required for using freedesktop notifications
|
|
|
|
#
|
|
|
|
- dbus (send)
|
|
|
|
- bus=session
|
|
|
|
- path=/org/freedesktop/Notifications
|
|
|
|
- member=GetCapabilities,
|
|
|
|
- dbus (send)
|
|
|
|
- bus=session
|
|
|
|
- path=/org/freedesktop/Notifications
|
|
|
|
- member=GetServerInformation,
|
|
|
|
- dbus (send)
|
|
|
|
- bus=session
|
|
|
|
- path=/org/freedesktop/Notifications
|
|
|
|
- member=Notify,
|
|
|
|
- dbus (receive)
|
|
|
|
- bus=session
|
|
|
|
- member="Notify"
|
|
|
|
- peer=(name="org.freedesktop.DBus"),
|
|
|
|
- dbus (receive)
|
|
|
|
- bus=session
|
|
|
|
- path=/org/freedesktop/Notifications
|
|
|
|
- member=NotificationClosed,
|
|
|
|
- dbus (send)
|
|
|
|
- bus=session
|
|
|
|
- path=/org/freedesktop/Notifications
|
|
|
|
- member=CloseNotification,
|
|
|
|
+ dbus (send) bus=session path=/org/freedesktop/Notifications member=GetCapabilities,
|
|
|
|
+ dbus (send) bus=session path=/org/freedesktop/Notifications member=GetServerInformation,
|
|
|
|
+ dbus (send) bus=session path=/org/freedesktop/Notifications member=Notify,
|
|
|
|
+ dbus (receive) bus=session member="Notify" peer=(name="org.freedesktop.DBus"),
|
|
|
|
+ dbus (receive) bus=session path=/org/freedesktop/Notifications member=NotificationClosed,
|
|
|
|
+ dbus (send) bus=session path=/org/freedesktop/Notifications member=CloseNotification,
|
|
|
|
|
|
|
|
# accessibility
|
|
|
|
- dbus (send)
|
|
|
|
- bus=session
|
|
|
|
- peer=(name=org.a11y.Bus),
|
|
|
|
- dbus (receive)
|
|
|
|
- bus=session
|
|
|
|
- interface=org.a11y.atspi*,
|
|
|
|
- dbus (receive, send)
|
|
|
|
- bus=accessibility,
|
|
|
|
+ dbus (send) bus=session peer=(name=org.a11y.Bus),
|
|
|
|
+ dbus (receive) bus=session interface=org.a11y.atspi*,
|
|
|
|
+ dbus (receive, send) bus=accessibility,
|
|
|
|
|
|
|
|
#
|
|
|
|
# Deny potentially dangerous access
|
|
|
|
Index: profiles/apparmor.d/abstractions/ubuntu-unity7-launcher
|
|
|
|
===================================================================
|
|
|
|
--- profiles/apparmor.d/abstractions/ubuntu-unity7-launcher.orig 2014-10-18 13:11:18.497652337 +0200
|
|
|
|
+++ profiles/apparmor.d/abstractions/ubuntu-unity7-launcher 2014-10-18 13:11:31.098494805 +0200
|
|
|
|
@@ -1,7 +1,4 @@
|
|
|
|
#
|
|
|
|
# Access required for connecting to/communicating with the Unity Launcher
|
|
|
|
#
|
|
|
|
- dbus (send)
|
|
|
|
- bus=session
|
|
|
|
- interface="com.canonical.Unity.LauncherEntry"
|
|
|
|
- member="Update",
|
|
|
|
+ dbus (send) bus=session interface="com.canonical.Unity.LauncherEntry" member="Update",
|
|
|
|
Index: profiles/apparmor.d/abstractions/ubuntu-unity7-messaging
|
|
|
|
===================================================================
|
|
|
|
--- profiles/apparmor.d/abstractions/ubuntu-unity7-messaging.orig 2014-10-18 13:11:18.498652324 +0200
|
|
|
|
+++ profiles/apparmor.d/abstractions/ubuntu-unity7-messaging 2014-10-18 13:11:31.099494792 +0200
|
|
|
|
@@ -2,6 +2,4 @@
|
|
|
|
# Access required for connecting to/communicating with the Unity messaging
|
|
|
|
# indicator
|
|
|
|
#
|
|
|
|
- dbus (receive, send)
|
|
|
|
- bus=session
|
|
|
|
- path="/com/canonical/indicator/messages/*",
|
|
|
|
+ dbus (receive, send) bus=session path="/com/canonical/indicator/messages/*",
|
|
|
|
Index: profiles/apparmor.d/abstractions/gnome
|
|
|
|
===================================================================
|
|
|
|
--- profiles/apparmor.d/abstractions/gnome.orig 2014-10-06 21:06:23.000000000 +0200
|
|
|
|
+++ profiles/apparmor.d/abstractions/gnome 2014-10-18 13:17:22.661505791 +0200
|
2017-01-28 13:45:16 +01:00
|
|
|
@@ -93,6 +93,4 @@
|
2014-10-18 15:47:32 +02:00
|
|
|
|
|
|
|
# Allow connecting to the GNOME vfs socket (still need corresponding DBus
|
|
|
|
# rules)
|
|
|
|
- unix (send, receive, connect)
|
|
|
|
- type=stream
|
|
|
|
- peer=(addr="@/dbus-vfs-daemon/socket-*"),
|
|
|
|
+ unix (send, receive, connect) type=stream peer=(addr="@/dbus-vfs-daemon/socket-*"),
|