Merge lp:~intrigeri/apparmor-profiles/gstreamer-abstraction into lp:apparmor-profiles
Proposed by
intrigeri
Status: | Merged |
---|---|
Merged at revision: | 134 |
Proposed branch: | lp:~intrigeri/apparmor-profiles/gstreamer-abstraction |
Merge into: | lp:apparmor-profiles |
Diff against target: |
93 lines (+38/-16) 4 files modified
ubuntu/14.10/abstractions/gstreamer (+15/-0) ubuntu/14.10/abstractions/totem (+2/-9) ubuntu/14.10/gst_plugin_scanner (+21/-0) ubuntu/14.10/usr.bin.totem (+0/-7) |
To merge this branch: | bzr merge lp:~intrigeri/apparmor-profiles/gstreamer-abstraction |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
AppArmor Developers | Pending | ||
Review via email: mp+228398@code.launchpad.net |
Description of the change
OK, apparently it's easier for you folks to review stuff proposed on lp than submitted to the mailing-list, so... here we go :)
To post a comment you must log in.
On Sat, Jul 26, 2014 at 03:09:23PM -0000, intrigeri wrote:
> OK, apparently it's easier for you folks to review stuff proposed on lp than submitted to the mailing-list, so... here we go :)
> https:/ /code.launchpad .net/~intrigeri /apparmor- profiles/ gstreamer- abstraction/ +merge/ 228398
Sorry. Maybe it's just harder to lose track of...
This looks like a good cleanup to me. It does seem a bit strange that
/usr/bin/totem brings in a totem abstraction which then brings in the
gstreamer abstraction. And I don't understand why pkcs11 support is
included in any of these (but that's not new, I've never understood why
it's included.)
So while I don't want to block this on figuring out the totem abstraction
I do wonder if we want/need it, and wonder why we've got the p11-kit
abstraction included here.
Thanks
> === added file 'ubuntu/ 14.10/abstracti ons/gstreamer' 14.10/abstracti ons/gstreamer 1970-01-01 00:00:00 +0000 14.10/abstracti ons/gstreamer 2014-07-26 15:08:59 +0000 p11-kit> /shm/shmfd- * rw, data/+pci: * r, pci[0-9] */**/{busnum, devnum, descriptors, speed,uevent} r, }run/user/ [0-9]*/ orcexec. * mrw, 14.10/abstracti ons/totem' 14.10/abstracti ons/totem 2014-07-22 15:26:03 +0000 14.10/abstracti ons/totem 2014-07-26 15:08:59 +0000 gnome> gstreamer> nameservice> dbus-session> p11-kit> mnt,opt, srv}/** r, wildmidi. cfg r, @{multiarch} /libproxy/ */modules/ *.so mr, @{multiarch} /libvisual- [0-9].[ 0-9]/*/ *.so m, frei0r- [0-9]/* .so m, @{multiarch} /gstreamer[ 0-9].[0- 9]/gstreamer- [0-9].[ 0-9]/gst- plugin- scanner Pix, @{multiarch} /gstreamer[ 0-9].[0- 9]/gstreamer- [0-9].[ 0-9]/gst- plugin- scanner Cix -> gst_plugin_scanner, /.cache/ tracker/ meta.db k, /.cache/ tracker/ meta.db- shm k, 14.10/gst_ plugin_ scanner' 14.10/gst_ plugin_ scanner 1970-01-01 00:00:00 +0000 14.10/gst_ plugin_ scanner 2014-07-26 15:08:59 +0000 gstreamer> usb/devices/ r, wildmidi. cfg r, frei0r- [0-9]/* .so m, @{multiarch} /dri/** mr, @{multiarch} /libproxy/ */modules/ *.so m...
> --- ubuntu/
> +++ ubuntu/
> @@ -0,0 +1,15 @@
> +# vim:syntax=apparmor
> +
> + #include <abstractions/
> +
> + /etc/udev/udev.conf r,
> +
> + # /dev/shm is a symlink to /run/shm on ubuntu
> + owner /{dev,run}
> +
> + /run/udev/
> +
> + /sys/devices/
> +
> + owner /tmp/orcexec.* mrw,
> + owner /{,var/
>
> === modified file 'ubuntu/
> --- ubuntu/
> +++ ubuntu/
> @@ -16,9 +16,9 @@
> # a maintenance problem and doesn't work for files without extensions.
>
> #include <abstractions/
> + #include <abstractions/
> #include <abstractions/
> #include <abstractions/
> - #include <abstractions/
>
> # Allow read on all directories
> /**/ r,
> @@ -28,14 +28,7 @@
> /usr/share/** r,
> /{media,
>
> - owner /tmp/orcexec.* m,
> -
> - /etc/wildmidi/
> -
> - /usr/lib/
> - /usr/lib/
> - /usr/lib/
> - /usr/lib/
> + /usr/lib/
>
> owner @{HOME}
> owner @{HOME}
>
> === added file 'ubuntu/
> --- ubuntu/
> +++ ubuntu/
> @@ -0,0 +1,21 @@
> +# vim:syntax=apparmor
> +
> +profile gst_plugin_scanner {
> + #include <abstractions/base>
> + #include <abstractions/
> + #include <abstractions/X>
> +
> + /dev/ r,
> + /dev/bus/usb/ r,
> +
> + /sys/bus/ r,
> + /sys/bus/
> + /sys/class/ r,
> +
> + /etc/wildmidi/
> +
> + /usr/lib/
> + # /usr/lib/
> + /usr/lib/