Ubuntu Pastebin

Paste from jdstrand at Thu, 3 Mar 2016 15:48:58 +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
38
39
40
41
42
43
44
$ cat ./snapcraft.yaml
name: snappy-interfaces-security
version: 0.2
summary: Test package
description: Test package
icon: icon.png
architectures: [all]

apps:
  test:
    command: bin/test.sh
    slots: [unconfined]
  test2:
    command: bin/test.sh
    slots: [syscall]
  test3:
    command: bin/test.sh
    slots: [custom]
  bad1:
    command: bin/test.sh
    slots: [custom, syscall]

slots:
  unconfined:
    interface: old-security
    security-template: unconfined
  syscall:
    interface: old-security
    caps:
    - mir-client
    security-override:
      syscalls:
      - sendto
  custom:
    interface: old-security
    security-policy:
      apparmor: custom.aa
      seccomp: custom.sc

parts:
  test:
    plugin: copy
    files:
      bin/test.sh: bin/test.sh
Download as text