From a174e684957327327e36b22581e855496d71da625cf7424d895032f18fda90b8 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 18 Feb 2013 08:30:23 +0000 Subject: [PATCH 1/4] Accepting request 155692 from home:msmeissn:branches:GNOME:Factory - additions to the AA profile (bnc#803281) - allow /proc/*/cgroup r (unkown why) - allow reading all /sys/class/video4linux/** r (video4linux devices) - allow user local ICC files @{HOME}/.local/share/icc/*.icc r @{HOME}/.local/share/color/*.icc r OBS-URL: https://build.opensuse.org/request/show/155692 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/colord?expand=0&rev=57 --- colord.changes | 10 ++++++++++ usr.lib.colord | 5 +++++ 2 files changed, 15 insertions(+) diff --git a/colord.changes b/colord.changes index 1cb3eec..37e3470 100644 --- a/colord.changes +++ b/colord.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Mon Feb 18 08:16:46 UTC 2013 - meissner@suse.com + +- additions to the AA profile (bnc#803281) + - allow /proc/*/cgroup r (unkown why) + - allow reading all /sys/class/video4linux/** r (video4linux devices) + - allow user local ICC files + @{HOME}/.local/share/icc/*.icc r + @{HOME}/.local/share/color/*.icc r + ------------------------------------------------------------------- Fri Jan 11 11:00:10 UTC 2013 - meissner@suse.com diff --git a/usr.lib.colord b/usr.lib.colord index dc9d3ea..84bfd1b 100644 --- a/usr.lib.colord +++ b/usr.lib.colord @@ -14,10 +14,12 @@ /etc/fstab r, /etc/udev/udev.conf r, /proc/*/mounts r, + /proc/*/cgroup r, /run/udev/data/* r, /sys/bus/ r, /sys/bus/usb/devices/ r, /sys/class/ r, + /sys/class/video4linux/** r, /sys/devices/** r, /usr/lib/colord mr, /usr/share/color/**/ r, @@ -34,4 +36,7 @@ /var/lib/colord/mapping.db-journal rw, /var/lib/colord/storage.db rwk, /var/lib/colord/storage.db-journal rw, + + @{HOME}/.local/share/icc/*.icc r, + @{HOME}/.local/share/color/*.icc r, } From 658d7a6a3a0cad6f10ac706703cb0f26354607fd2a1e954941b4c1dde202ec03 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 18 Feb 2013 08:32:13 +0000 Subject: [PATCH 2/4] tweak OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/colord?expand=0&rev=58 --- colord.changes | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/colord.changes b/colord.changes index 37e3470..a69a3a7 100644 --- a/colord.changes +++ b/colord.changes @@ -1,12 +1,13 @@ ------------------------------------------------------------------- Mon Feb 18 08:16:46 UTC 2013 - meissner@suse.com -- additions to the AA profile (bnc#803281) - - allow /proc/*/cgroup r (unkown why) - - allow reading all /sys/class/video4linux/** r (video4linux devices) - - allow user local ICC files - @{HOME}/.local/share/icc/*.icc r - @{HOME}/.local/share/color/*.icc r +- Additions to the AA profile (bnc#803281) + + allow /proc/*/cgroup r (unkown why). + + allow reading all /sys/class/video4linux/** r (video4linux + devices). + + allow user local ICC files: + - @{HOME}/.local/share/icc/*.icc r + - @{HOME}/.local/share/color/*.icc r ------------------------------------------------------------------- Fri Jan 11 11:00:10 UTC 2013 - meissner@suse.com From 2bfdfe89c6e5b24246b05a7b8b3aa4bd9e5497f42f2b91a3c4b3612dfe9d7e5f Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 18 Feb 2013 21:15:52 +0000 Subject: [PATCH 3/4] Accepting request 155749 from home:abergmann:branches:GNOME:Factory - Adjusted last editions to AppAmor profile. (bnc#803281) Replaced - @{HOME}/.local/share/color/*.icc r with - @{HOME}/.local/share/color/icc/*.icc r Added allow reading all /sys/class/video4linux/ r OBS-URL: https://build.opensuse.org/request/show/155749 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/colord?expand=0&rev=59 --- colord.changes | 11 +++++++++++ usr.lib.colord | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/colord.changes b/colord.changes index a69a3a7..e0cb000 100644 --- a/colord.changes +++ b/colord.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Mon Feb 18 15:10:01 UTC 2013 - abergmann@novell.com + +- Adjusted last editions to AppAmor profile. (bnc#803281) + Replaced + - @{HOME}/.local/share/color/*.icc r + with + - @{HOME}/.local/share/color/icc/*.icc r + Added + allow reading all /sys/class/video4linux/ r + ------------------------------------------------------------------- Mon Feb 18 08:16:46 UTC 2013 - meissner@suse.com diff --git a/usr.lib.colord b/usr.lib.colord index 84bfd1b..53af117 100644 --- a/usr.lib.colord +++ b/usr.lib.colord @@ -20,6 +20,7 @@ /sys/bus/usb/devices/ r, /sys/class/ r, /sys/class/video4linux/** r, + /sys/class/video4linux/ r, /sys/devices/** r, /usr/lib/colord mr, /usr/share/color/**/ r, @@ -38,5 +39,5 @@ /var/lib/colord/storage.db-journal rw, @{HOME}/.local/share/icc/*.icc r, - @{HOME}/.local/share/color/*.icc r, + @{HOME}/.local/share/color/icc/*.icc r, } From a746482f868da477c7f6fafd14fccd60bb7cdd44ac63511bedf168419e30b23f Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 18 Feb 2013 21:17:30 +0000 Subject: [PATCH 4/4] OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/colord?expand=0&rev=60 --- colord.changes | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/colord.changes b/colord.changes index e0cb000..bcffad8 100644 --- a/colord.changes +++ b/colord.changes @@ -1,13 +1,13 @@ ------------------------------------------------------------------- Mon Feb 18 15:10:01 UTC 2013 - abergmann@novell.com -- Adjusted last editions to AppAmor profile. (bnc#803281) - Replaced - - @{HOME}/.local/share/color/*.icc r - with - - @{HOME}/.local/share/color/icc/*.icc r - Added - allow reading all /sys/class/video4linux/ r +- Adjusted last editions to AppAmor profile (bnc#803281): + + Replaced + - @{HOME}/.local/share/color/*.icc r + with + - @{HOME}/.local/share/color/icc/*.icc r + + Added + - allow reading all /sys/class/video4linux/ r ------------------------------------------------------------------- Mon Feb 18 08:16:46 UTC 2013 - meissner@suse.com