~morphis/apparmor-easyprof-ubuntu/fix-hybris-linker-1.3

« back to all changes in this revision

Viewing changes to data/templates/ubuntu/1.3/ubuntu-sdk

  • Committer: Jamie Strandboge
  • Date: 2015-06-26 16:10:05 UTC
  • Revision ID: jamie@ubuntu.com-20150626161005-18a002280veskwb7
Tags: 1.3.11-stable-phone-overlay
[ James Henstridge ]
ubuntu/ubuntu-sdk: add rules to allow access to the new GetThumbnail
method

Show diffs side-by-side

added added

removed removed

Lines of Context:
331
331
  deny @{HOME}/.cache/tncache-write-text.null w, # silence access test
332
332
  # FIXME: this leaks running process. AppArmor kernel var could solve this
333
333
  owner @{PROC}/[0-9]*/attr/current r,
 
334
  # Allow communications with thumbnailer for thumbnailing local files
 
335
  dbus (send)
 
336
       bus=session
 
337
       interface="org.freedesktop.DBus.Introspectable"
 
338
       path="/com/canonical/Thumbnailer"
 
339
       member="Introspect"
 
340
       peer=(label=unconfined),
 
341
  dbus (send)
 
342
       bus=session
 
343
       path="/com/canonical/Thumbnailer"
 
344
       interface="com.canonical.Thumbnailer"
 
345
       member="GetThumbnail"
 
346
       peer=(label=unconfined),
334
347
 
335
348
  #
336
349
  # apps may always use vibrations