~ubuntu-branches/ubuntu/wily/apparmor-easyprof-ubuntu/wily

« back to all changes in this revision

Viewing changes to data/templates/ubuntu/1.1/ubuntu-webapp

  • Committer: Jamie Strandboge
  • Date: 2014-08-22 21:38:48 UTC
  • Revision ID: jamie@ubuntu.com-20140822213848-053sam7ab8d1f1b8
* ubuntu/1.2/accounts: online accounts now has Mir trusted session support
  so move accounts policy group to reserved (LP: #1230091)
* ubuntu/1.2/ubuntu-scope-network, pending/ubuntu-scope-local-content:
  - add DBus session and system accesses to scope templates like we have in
    the app templates. This allows scopes to talk to trusted helpers like
    online accounts and location-service. Actual communication with the
    services is still controlled by the respective policy groups.
  - add scope-specific access to /run/user/[0-9]*/scopes/leaf-{net,fs}/*
* ubuntu/1.2/ubuntu-scope-network, pending/ubuntu-scope-local-content:
  adjust path to settings, it was renamed to settings.ini (LP: #1356930)
* ubuntu/1.2/ubuntu-scope-network, pending/ubuntu-scope-local-content:
  - allow rk access to scope specific settings.db
  - explicitly noisy deny rw access to unconfined directory
* ubuntu/*: explicitly deny 'w' access to /dev/xLog (LP: #1352432)
* ubuntu/1.2/connectivity: update to use upcoming connectivity DBus API
  (LP: #1341548)
* ubuntu/1.[12]/contacts: remove workaround policy since address-book-app
  no longer uses the telepathy API (LP: #1227818)
* ubuntu/*: explicitly deny rw access to /dev/fb0. It is both dangerous and
  noisy with the camera app
* ubuntu/ubuntu-webapp: receive application-specific Open on
  org.freedesktop.Application to allow url-dispatcher working with already
  running webapps (LP: #1342129)
* ubuntu/*: explicitly deny noisy access to @{PROC}/xlog (LP: #1352432)

Show diffs side-by-side

added added

removed removed

Lines of Context:
208
208
       interface="com.canonical.URLDispatcher"
209
209
       member="DispatchURL",
210
210
 
 
211
  # This is needed when the app is already running and needs to be passed in
 
212
  # a URL to open. This is most often used with content-hub providers and
 
213
  # url-dispatcher, but is actually supported by Qt generally (though because
 
214
  # we don't allow the send a malicious app can't send this to another app).
 
215
  dbus (receive)
 
216
       bus=session
 
217
       path=/@{APP_ID_DBUS}
 
218
       interface="org.freedesktop.Application"
 
219
       member="Open",
 
220
 
211
221
  # This is needed for apps to interact with the Launcher (eg, for the counter)
212
222
  dbus (receive, send)
213
223
       bus=session
242
252
 
243
253
  # Explicitly deny dangerous access
244
254
  audit deny /dev/input/** rw,
 
255
  deny /dev/fb0 rw, # don't use 'audit' since it is too noisy with the camera
245
256
 
246
257
  # FIXME: ought to go in a dbus abstraction, but dbus-session is too loose
247
258
  /etc/machine-id r,
315
326
  deny /dev/log_radio w,
316
327
  deny /dev/log_events w,
317
328
  deny /dev/log_system w,
 
329
  # LP: #1352432
 
330
  deny /dev/xLog w,
 
331
  deny @{PROC}/xlog/  r,
 
332
  deny @{PROC}/xlog/* rw,
318
333
 
319
334
  # Lttng tracing. Can safely deny. LP: #1260491
320
335
  deny /{,var/}run/shm/lttng-ust-* r,