Ubuntu Pastebin

Paste from zyga at Mon, 14 Sep 2015 18:05:34 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
(amd64)ubuntu@localhost:/var/lib/apparmor/profiles$ cat click_hostapd.sideload_hostapd_2.4-1 
# Description: unconfined AppArmor template
# Usage: restricted

# vim:syntax=apparmor

#include <tunables/global>

# Define vars with unconfined since autopilot rules may reference them
# Specified profile variables
@{APP_APPNAME}="hostapd"
@{APP_ID_DBUS}="hostapd_2esideload_5fhostapd_5f2_2e4_2d1"
@{APP_PKGNAME_DBUS}="hostapd_2esideload"
@{APP_PKGNAME}="hostapd.sideload"
@{APP_VERSION}="2.4-1"
@{CLICK_DIR}="{/apps,/oem}"

# TODO: when v3 userspace lands, use:
# profile "hostapd.sideload_hostapd_2.4-1" (unconfined) {}

# v2 compatible wildly permissive profile
profile "hostapd.sideload_hostapd_2.4-1" (attach_disconnected) {
  capability,
  network,
  / rwkl,
  /** rwlkm,
  /** pix,

  mount,
  remount,
  umount,
  pivot_root,
  dbus,
  signal,
  ptrace,
  unix,
}
Download as text